In [ ]:
. ./nbs_header.ps1
. ./core.ps1
In [ ]:
{ . "$ScriptDir/../apps/builder/build.ps1" } | Invoke-Block

── markdown ────────────────────────────────────────────────────────────────────

╭──────────────────────────────────────────────────────────────────────────────╮

│ # DibParser (Polyglot)                                                       │

╰──────────────────────────────────────────────────────────────────────────────╯



── fsharp ──────────────────────────────────────────────────────────────────────

#!import ../../lib/fsharp/Testing.dib



── fsharp - import ─────────────────────────────────────────────────────────────

#r 

"C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.A

spNetCore.Html.Abstractions.dll"

#r 

"C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D

otNet.Interactive.dll"

#r 

"C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D

otNet.Interactive.FSharp.dll"

#r 

"C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D

otNet.Interactive.Formatting.dll"

open System

open System.IO

open System.Text

open Microsoft.DotNet.Interactive.Formatting



── fsharp - import ─────────────────────────────────────────────────────────────

#r 

"C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D

otNet.Interactive.FSharp.dll"

open Microsoft.DotNet.Interactive.FSharp.FSharpKernelHelpers

#r 

"C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D

otNet.Interactive.dll"

open type Microsoft.DotNet.Interactive.Kernel



── fsharp - import ─────────────────────────────────────────────────────────────

#r @"../../../../../../../.nuget/packages/expecto/10.1.0/lib/net6.0/Expecto.dll"



── fsharp - import ─────────────────────────────────────────────────────────────

//// test



Formatter.ListExpansionLimit <- 100



── fsharp - import ─────────────────────────────────────────────────────────────

//// test



type AssertExceptionFormatter (ex) =

    member _.Text =

        ex.ToString()

            .Replace("32m", "<span style=\"color: green;\">")

            .Replace("36m", "</span>")

            .Replace("31m", "<span style=\"color: red;\">")

            .Replace("\n", "<br/>\n")





Formatter.Register<AssertExceptionFormatter> ((fun (x : 

AssertExceptionFormatter) -> x.Text), "text/html")



── fsharp - import ─────────────────────────────────────────────────────────────

//// test



let inline __expect fn log expected actual =

    if log then printfn $"{actual.ToDisplayString ()}"

    try

        "Testing.__expect" |> fn actual expected

    with :? Expecto.AssertException as ex ->

        AssertExceptionFormatter(ex).Display () |> ignore

        failwith (ex.GetType().FullName)



let inline __contains log expected actual = __expect Expecto.Expect.contains log

expected actual

let inline _contains expected actual = __contains true expected actual



let inline __equal log expected actual = __expect Expecto.Expect.equal log 

expected actual

let inline _equal expected actual = __equal true expected actual



let inline __isGreaterThan log expected actual = __expect 

Expecto.Expect.isGreaterThan log expected actual

let ...



── fsharp - import ─────────────────────────────────────────────────────────────

//// test



let inline __isBetween log a b actual =

    let inline isBetween actual (a, b) _ =

        __isGreaterThanOrEqual log a actual

        __isLessThanOrEqual log b actual

    __expect isBetween log (a, b) actual

let inline _isBetween a b actual = __isBetween true a b actual



── fsharp ──────────────────────────────────────────────────────────────────────

#r 

@"../../../../../../../.nuget/packages/fsharp.control.asyncseq/3.2.1/lib/netstan

dard2.1/FSharp.Control.AsyncSeq.dll"

#r 

@"../../../../../../../.nuget/packages/system.reactive/6.0.1-preview.1/lib/net6.

0/System.Reactive.dll"

#r 

@"../../../../../../../.nuget/packages/system.reactive.linq/6.0.1-preview.1/lib/

netstandard2.0/System.Reactive.Linq.dll"

#r 

@"../../../../../../../.nuget/packages/argu/6.1.1/lib/netstandard2.0/Argu.dll"

#r 

@"../../../../../../../.nuget/packages/system.commandline/2.0.0-beta4.22272.1/li

b/net6.0/System.CommandLine.dll"

#r 

@"../../../../../../../.nuget/packages/fparsec/2.0.0-beta2/lib/netstandard2.1/FP

arsec.dll"

#r 

@"../../../../../../../.nuget/packages/fparsec/2.0.0-beta2/lib/netstandard2.1/FP

arsecCS.dll"



── fsharp ──────────────────────────────────────────────────────────────────────

#!import ../../lib/fsharp/Common.fs

#!import ../../lib/fsharp/CommonFSharp.fs

#!import ../../lib/fsharp/Async.fs

#!import ../../lib/fsharp/AsyncSeq.fs

#!import ../../lib/fsharp/Runtime.fs

#!import ../../lib/fsharp/FileSystem.fs



── fsharp - import ─────────────────────────────────────────────────────────────

#if !INTERACTIVE

namespace Polyglot

#endif



module Common =



    let nl = System.Environment.NewLine

    let q = @""""



    let inline cons head tail = head :: tail



    module String =

        let inline contains (value : string) (input : string) =

            input.Contains value



        let inline endsWith (value : string) (input : string) =

            input.EndsWith value



        let inline padLeft totalWidth paddingChar (input : string) =

            input.PadLeft (totalWidth, paddingChar)



        let inline replace (oldValue : string) (newValue : string) (input : 

string) =

            input.Replace (oldValue, newValue)



        let inline split separator (input : string) =

            input.Split separator



        let inline spli...



── fsharp - import ─────────────────────────────────────────────────────────────

#if !INTERACTIVE

namespace Polyglot

#endif



module CommonFSharp =



    open Common



    /// ## getUnionCaseName



    let inline getUnionCaseName<'T> (x: 'T) =

        match Reflection.FSharpValue.GetUnionFields(x, typeof<'T>) with

        | case, _ -> case.Name





── fsharp - import ─────────────────────────────────────────────────────────────

#if !INTERACTIVE

namespace Polyglot

#endif



module Async =



    open Common



    /// ## choice



    let inline choice asyncs = async {

        let e = Event<_> ()

        use cts = new System.Threading.CancellationTokenSource ()

        let fn =

            asyncs

            |> Seq.map (fun a -> async {

                let! x = a

                e.Trigger x

            })

            |> Async.Parallel

            |> Async.Ignore

        Async.Start (fn, cts.Token)

        let! result = Async.AwaitEvent e.Publish

        cts.Cancel ()

        return result

    }



    /// ## map



    let inline map fn a = async {

        let! x = a

        return fn x

    }



    /// ## catch



    let inline catch a =

        a

        |> Async.Catch

        ...



── fsharp - import ─────────────────────────────────────────────────────────────

#if !INTERACTIVE

namespace Polyglot

#endif



module AsyncSeq =



    open Common



    /// ## subscribeEvent



    let inline subscribeEvent (event: IEvent<'H, 'A>) map =

        let observable = System.Reactive.Linq.Observable.FromEventPattern<'H, 

'A>(event.AddHandler, event.RemoveHandler)

        System.Reactive.Linq.Observable.Select (observable, fun event -> map 

event.EventArgs)

        |> FSharp.Control.AsyncSeq.ofObservableBuffered



    let subscribeToken (token : System.Threading.CancellationToken) =

        let tcs = new System.Threading.Tasks.TaskCompletionSource ()

        System.Action tcs.SetResult |> token.Register |> ignore

        let start = System.DateTime.Now.Ticks

        FSharp.Control.AsyncSeq.unfoldAsync

            (fun (...



── fsharp - import ─────────────────────────────────────────────────────────────

#if !INTERACTIVE

namespace Polyglot

#endif



module Runtime =



    open Common



    /// ## isWindows



    let isWindows =

        fun () ->

            System.Runtime.InteropServices.RuntimeInformation.IsOSPlatform

                System.Runtime.InteropServices.OSPlatform.Windows

        |> memoize



    /// ## getExecutableSuffix



    let inline getExecutableSuffix () =

        if isWindows ()

        then ".exe"

        else ""



    /// ## splitCommand



    type private CommandParseStep =

        | Start

        | Path of quoted: bool

        | Arguments



    let splitCommand (command: string) =

        let rec loop (path, args) chars step =

            match chars, step with

            | ('"' | '\'') :: tail, _ when path = "" -> loop (pat...



── fsharp - import ─────────────────────────────────────────────────────────────

#if !INTERACTIVE

namespace Polyglot

#endif



module FileSystem =



    open Common



    /// ## Operators



    module Operators =

        let inline (</>) a b =

            System.IO.Path.Combine (a, b)



    open Operators



    /// ## createTempDirectoryName



    let inline createTempDirectoryName () =

        let root = System.Reflection.Assembly.GetEntryAssembly().GetName().Name



        System.IO.Path.GetTempPath ()

        </> $"!{root}"

        </> string (newGuidFromDateTime System.DateTime.Now)



    /// ## createTempDirectory



    let inline createTempDirectory () =

        let tempFolder = createTempDirectoryName ()

        let result = System.IO.Directory.CreateDirectory tempFolder



        if not result.Exists then

            let ge...



── fsharp ──────────────────────────────────────────────────────────────────────

open Common

open FParsec



── markdown ────────────────────────────────────────────────────────────────────

╭──────────────────────────────────────────────────────────────────────────────╮

│ ## escapeCell (test)                                                         │

╰──────────────────────────────────────────────────────────────────────────────╯



── fsharp ──────────────────────────────────────────────────────────────────────

//// test



let inline escapeCell input =

    input

    |> String.split [[| '\n' |]]

    |> Array.map (function

        | line when line |> String.startsWith "\\#!" || line |> 

String.startsWith "\\#r" ->

            System.Text.RegularExpressions.Regex.Replace (line, "^\\\\#", "#")

        | line -> line

    )

    |> String.concat "\n"



── fsharp ──────────────────────────────────────────────────────────────────────

//// test



$"a{nl}\\#!magic{nl}b{nl}"

|> escapeCell

|> _equal (

    $"a{nl}#!magic{nl}b{nl}"

)



╭─[ 53.08ms - stdout ]─────────────────────────────────────────────────────────╮

│ a                                                                            │

│ #!magic                                                                      │

│ b                                                                            │

│                                                                              │

│                                                                              │

╰──────────────────────────────────────────────────────────────────────────────╯



── markdown ────────────────────────────────────────────────────────────────────

╭──────────────────────────────────────────────────────────────────────────────╮

│ ## magicMarker                                                               │

╰──────────────────────────────────────────────────────────────────────────────╯



── fsharp ──────────────────────────────────────────────────────────────────────

let magicMarker : Parser<string, unit> = pstring "#!"



── fsharp ──────────────────────────────────────────────────────────────────────

//// test



"#!magic"

|> run magicMarker

|> _equal (

    Success ("#!", (), Position ("", 2, 1, 3))

)



╭─[ 51.22ms - stdout ]─────────────────────────────────────────────────────────╮

│ Success                                                                      │

│       Item1: #!                                                              │

│       Item2: <null>                                                          │

│       Item3: Position                                                        │

│         Index: 2                                                             │

│         Line: 1                                                              │

│         Column: 3                                                            │

│         StreamName:                                                          │

│                                                                              │

╰──────────────────────────────────────────────────────────────────────────────╯



── fsharp ──────────────────────────────────────────────────────────────────────

//// test



"##!magic"

|> run magicMarker

|> _equal (

    Failure (

        $"Error in Ln: 1 Col: 1{nl}##!magic{nl}^{nl}Expecting: '#!'{nl}",

        ParserError (

            Position ("", 0, 1, 1),

            (),

            ErrorMessageList (ExpectedString "#!")

        ),

        ()

    )

)



╭─[ 50.88ms - stdout ]─────────────────────────────────────────────────────────╮

│ Failure                                                                      │

│       Item1: Error in Ln: 1 Col: 1                                           │

│ ##!magic                                                                     │

│ ^                                                                            │

│ Expecting: '#!'                                                              │

│                                                                              │

│       Item2: ParserError                                                     │

│         Position: Position                                                   │

│           Index: 0                                                           │

│           Line: 1                                                            │

│           Column: 1                                                          │

│           StreamName:                                                        │

│         UserState: <null>                                                    │

│         Messages: ErrorMessageList                                           │

│           Head: ExpectedString                                               │

│             String: #!                                                       │

│             Type: ExpectedString                                             │

│           Tail: <null>                                                       │

│       Item3: <null>                                                          │

│                                                                              │

╰──────────────────────────────────────────────────────────────────────────────╯



── markdown ────────────────────────────────────────────────────────────────────

╭──────────────────────────────────────────────────────────────────────────────╮

│ ## magicCommand                                                              │

╰──────────────────────────────────────────────────────────────────────────────╯



── fsharp ──────────────────────────────────────────────────────────────────────

let magicCommand =

    magicMarker

    >>. manyTill anyChar newline

    |>> (System.String.Concat >> String.trim)



── fsharp ──────────────────────────────────────────────────────────────────────

//// test



"#!magic



a"

|> run magicCommand

|> _equal (

    Success ("magic", (), Position ("", 8, 2, 1))

)



╭─[ 35.92ms - stdout ]─────────────────────────────────────────────────────────╮

│ Success                                                                      │

│       Item1: magic                                                           │

│       Item2: <null>                                                          │

│       Item3: Position                                                        │

│         Index: 8                                                             │

│         Line: 2                                                              │

│         Column: 1                                                            │

│         StreamName:                                                          │

│                                                                              │

╰──────────────────────────────────────────────────────────────────────────────╯



── fsharp ──────────────────────────────────────────────────────────────────────

//// test



" #!magic



a"

|> run magicCommand

|> _equal (

    Failure (

        $"Error in Ln: 1 Col: 1{nl} #!magic{nl}^{nl}Expecting: '#!'{nl}",

        ParserError (

            Position ("", 0, 1, 1),

            (),

            ErrorMessageList (ExpectedString "#!")

        ),

        ()

    )

)



╭─[ 37.35ms - stdout ]─────────────────────────────────────────────────────────╮

│ Failure                                                                      │

│       Item1: Error in Ln: 1 Col: 1                                           │

│  #!magic                                                                     │

│ ^                                                                            │

│ Expecting: '#!'                                                              │

│                                                                              │

│       Item2: ParserError                                                     │

│         Position: Position                                                   │

│           Index: 0                                                           │

│           Line: 1                                                            │

│           Column: 1                                                          │

│           StreamName:                                                        │

│         UserState: <null>                                                    │

│         Messages: ErrorMessageList                                           │

│           Head: ExpectedString                                               │

│             String: #!                                                       │

│             Type: ExpectedString                                             │

│           Tail: <null>                                                       │

│       Item3: <null>                                                          │

│                                                                              │

╰──────────────────────────────────────────────────────────────────────────────╯



── markdown ────────────────────────────────────────────────────────────────────

╭──────────────────────────────────────────────────────────────────────────────╮

│ ## content                                                                   │

╰──────────────────────────────────────────────────────────────────────────────╯



── fsharp ──────────────────────────────────────────────────────────────────────

let content =

    (newline >>. magicMarker) <|> (eof >>. preturn "")

    |> attempt

    |> lookAhead

    |> manyTill anyChar

    |>> (System.String.Concat >> String.trim)



── fsharp ──────────────────────────────────────────────────────────────────────

//// test



"#!magic





a





"

|> run content

|> _equal (

    Success ("#!magic





a", (), Position ("", 14, 7, 1))

)



╭─[ 55.74ms - stdout ]─────────────────────────────────────────────────────────╮

│ Success                                                                      │

│       Item1: #!magic                                                         │

│                                                                              │

│                                                                              │

│ a                                                                            │

│       Item2: <null>                                                          │

│       Item3: Position                                                        │

│         Index: 14                                                            │

│         Line: 7                                                              │

│         Column: 1                                                            │

│         StreamName:                                                          │

│                                                                              │

╰──────────────────────────────────────────────────────────────────────────────╯



── markdown ────────────────────────────────────────────────────────────────────

╭──────────────────────────────────────────────────────────────────────────────╮

│ ## Block                                                                     │

╰──────────────────────────────────────────────────────────────────────────────╯



── fsharp ──────────────────────────────────────────────────────────────────────

type Block =

    {

        magic : string

        content : string

    }



── markdown ────────────────────────────────────────────────────────────────────

╭──────────────────────────────────────────────────────────────────────────────╮

│ ## block                                                                     │

╰──────────────────────────────────────────────────────────────────────────────╯



── fsharp ──────────────────────────────────────────────────────────────────────

let block =

    pipe2

        magicCommand

        content

        (fun magic content ->

            {

                magic = magic

                content = content

            })



── fsharp ──────────────────────────────────────────────────────────────────────

//// test



"#!magic





a





"

|> run block

|> _equal (

    Success (

        { magic = "magic"; content = "a" },

        (),

        Position ("", 14, 7, 1)

    )

)



╭─[ 39.74ms - stdout ]─────────────────────────────────────────────────────────╮

│ Success                                                                      │

│       Item1: Block                                                           │

│         magic: magic                                                         │

│         content: a                                                           │

│       Item2: <null>                                                          │

│       Item3: Position                                                        │

│         Index: 14                                                            │

│         Line: 7                                                              │

│         Column: 1                                                            │

│         StreamName:                                                          │

│                                                                              │

╰──────────────────────────────────────────────────────────────────────────────╯



── markdown ────────────────────────────────────────────────────────────────────

╭──────────────────────────────────────────────────────────────────────────────╮

│ ## blocks                                                                    │

╰──────────────────────────────────────────────────────────────────────────────╯



── fsharp ──────────────────────────────────────────────────────────────────────

let blocks =

    skipMany newline

    >>. sepEndBy block (skipMany1 newline)



── fsharp ──────────────────────────────────────────────────────────────────────

//// test





"#!magic1



a



\#!magic2



b



"

|> escapeCell

|> run blocks

|> _equal (

    Success (

        [[

            { magic = "magic1"; content = "a" }

            { magic = "magic2"; content = "b" }

        ]],

        (),

        Position ("", 26, 9, 1)

    )

)



╭─[ 42.92ms - stdout ]─────────────────────────────────────────────────────────╮

│ Success                                                                      │

│       Item1: FSharpList<Block>                                               │

│         - magic: magic1                                                      │

│           content: a                                                         │

│         - magic: magic2                                                      │

│           content: b                                                         │

│       Item2: <null>                                                          │

│       Item3: Position                                                        │

│         Index: 26                                                            │

│         Line: 9                                                              │

│         Column: 1                                                            │

│         StreamName:                                                          │

│                                                                              │

╰──────────────────────────────────────────────────────────────────────────────╯



── markdown ────────────────────────────────────────────────────────────────────

╭──────────────────────────────────────────────────────────────────────────────╮

│ ## Output                                                                    │

╰──────────────────────────────────────────────────────────────────────────────╯



── fsharp ──────────────────────────────────────────────────────────────────────

type Output =

    | Fs

    | Md

    | Spi

    | Spir



let inline kernelOutputs magic =

    match magic with

    | "fsharp" -> [[ Fs ]]

    | "markdown" -> [[ Md ]]

    | "spiral" -> [[ Spi; Spir ]]

    | _ -> [[]]



── markdown ────────────────────────────────────────────────────────────────────

╭──────────────────────────────────────────────────────────────────────────────╮

│ ## formatBlock                                                               │

╰──────────────────────────────────────────────────────────────────────────────╯



── fsharp ──────────────────────────────────────────────────────────────────────

let inline formatBlock output (block : Block) =

    match output, block with

    | output, { magic = "markdown"; content = content } ->

        let markdownComment =

            match output with

            | Spi | Spir -> "// // "

            | Fs -> "/// "

            | _ -> ""

        content

        |> String.split [[| '\n' |]]

        |> Array.map (String.trimEnd [[||]])

        |> Array.filter (String.endsWith " (test)" >> not)

        |> Array.map (function

            | "" -> markdownComment |> String.trim

            | line -> System.Text.RegularExpressions.Regex.Replace (line, 

"^\\s*", $"$&{markdownComment}")

        )

        |> String.concat "\n"

    | Fs, { magic = "fsharp"; content = content } ->

        let trimmedContent = content |> String.trim

        if trimmedContent |> String.startsWith "//// test" || trimmedContent |> 

String.startsWith "//// ignore"

        then ""

        else

            content

            |> String.split [[| '\n' |]]

            |> Array.filter (String.trimStart [[||]] >> String.startsWith "#r" 

>> not)

            |> String.concat "\n"

    | (Spi | Spir), { magic = "spiral"; content = content } ->

        let trimmedContent = content |> String.trim

        if trimmedContent |> String.startsWith "// // test" || trimmedContent |>

String.startsWith "// // ignore"

        then ""

        else content

    | _ -> ""



── fsharp ──────────────────────────────────────────────────────────────────────

//// test



"#!markdown





a



    b



c





\#!markdown





c





\#!fsharp





let a = 1"

|> escapeCell

|> run block

|> function

    | Success (block, _, _) -> formatBlock Fs block

    | Failure (msg, _, _) -> failwith msg

|> _equal "/// a

///

    /// b

///

/// c"



╭─[ 53.32ms - stdout ]─────────────────────────────────────────────────────────╮

│ /// a                                                                        │

│ ///                                                                          │

│     /// b                                                                    │

│ ///                                                                          │

│ /// c                                                                        │

│                                                                              │

╰──────────────────────────────────────────────────────────────────────────────╯



── markdown ────────────────────────────────────────────────────────────────────

╭──────────────────────────────────────────────────────────────────────────────╮

│ ## formatBlocks                                                              │

╰──────────────────────────────────────────────────────────────────────────────╯



── fsharp ──────────────────────────────────────────────────────────────────────

let inline formatBlocks output blocks =

    blocks

    |> List.map (formatBlock output)

    |> List.filter ((<>) "")

    |> String.concat "\n\n"

    |> fun s -> s + "\n"



── fsharp ──────────────────────────────────────────────────────────────────────

//// test



"#!markdown





a



b





\#!markdown





c





\#!fsharp





let a = 1



\#!markdown



d (test)



\#!fsharp



//// test



let a = 2



\#!markdown



e



\#!fsharp



let a = 3"

|> escapeCell

|> run blocks

|> function

    | Success (blocks, _, _) -> formatBlocks Fs blocks

    | Failure (msg, _, _) -> failwith msg

|> _equal "/// a

///

/// b



/// c



let a = 1



/// e



let a = 3

"



╭─[ 62.49ms - stdout ]─────────────────────────────────────────────────────────╮

│ /// a                                                                        │

│ ///                                                                          │

│ /// b                                                                        │

│                                                                              │

│ /// c                                                                        │

│                                                                              │

│ let a = 1                                                                    │

│                                                                              │

│ /// e                                                                        │

│                                                                              │

│ let a = 3                                                                    │

│                                                                              │

│                                                                              │

╰──────────────────────────────────────────────────────────────────────────────╯



── markdown ────────────────────────────────────────────────────────────────────

╭──────────────────────────────────────────────────────────────────────────────╮

│ ## parse                                                                     │

╰──────────────────────────────────────────────────────────────────────────────╯



── fsharp ──────────────────────────────────────────────────────────────────────

let inline parse output input =

    match run blocks input with

    | Success (blocks, _, _) ->

        let blocks =

            blocks

            |> List.filter (fun block ->

                block.magic |> kernelOutputs |> List.contains output || 

block.magic = "markdown"

            )

        

        match blocks with

        | { magic = "markdown"; content = content } :: _

            when output = Fs

            && content |> String.startsWith "# "

            && content |> String.endsWith ")"

            ->

            let inline indentBlock (block : Block) =

                { block with

                    content =

                        block.content

                        |> String.split [[| '\n' |]]

                        |> Array.fold

                            (fun (lines, isMultiline) line ->

                                let trimmedLine = line |> String.trim

                                if trimmedLine = ""

                                then "" :: lines, isMultiline

                                else

                                    let inline singleQuoteLine () =

                                        trimmedLine |> Seq.sumBy ((=) '"' >> 

System.Convert.ToInt32) = 1

                                        && trimmedLine |> String.contains 

@"'""'" |> not

                                        && trimmedLine |> String.endsWith "{" |>

not

                                        && trimmedLine |> String.endsWith "{|" 

|> not

                                        && trimmedLine |> String.startsWith "}" 

|> not

                                        && trimmedLine |> String.startsWith "|}"

|> not



                                    match isMultiline, trimmedLine |> 

String.splitString [[| $"{q}{q}{q}" |]] with

                                    | false, [[| _; _ |]] ->

                                        $"    {line}" :: lines, true



                                    | true, [[| _; _ |]] ->

                                        line :: lines, false



                                    | false, _ when singleQuoteLine () ->

                                        $"    {line}" :: lines, true



                                    | false, _ when line |> String.startsWith 

"#" && block.magic = "fsharp" ->

                                        line :: lines, false



                                    | false, _ ->

                                        $"    {line}" :: lines, false



                                    | true, _ when singleQuoteLine () && line |>

String.startsWith "    " ->

                                        $"    {line}" :: lines, false



                                    | true, _ when singleQuoteLine () ->

                                        line :: lines, false



                                    | true, _ ->

                                        line :: lines, true

                            )

                            ([[]], false)

                        |> fst

                        |> List.rev

                        |> String.concat "\n"

                }



            let moduleName, namespaceName =

                System.Text.RegularExpressions.Regex.Match (content, @"# (.*) 

\((.*)\)$")

                |> fun m -> m.Groups.[[1]].Value, m.Groups.[[2]].Value



            let moduleBlock =

                {

                    magic = "fsharp"

                    content =

                        $"#if !INTERACTIVE

namespace {namespaceName}

#endif



module {moduleName} ="

                }



            blocks

            |> List.indexed

            |> List.fold

                (fun blocks (index, block) ->

                    match index with

                    | 0 -> blocks

                    | 1 -> indentBlock block :: moduleBlock :: blocks

                    | _ -> indentBlock block :: blocks

                )

                [[]]

            |> List.rev

        | _ -> blocks

        |> Result.Ok

    | Failure (errorMsg, _, _) -> Result.Error errorMsg



── fsharp ──────────────────────────────────────────────────────────────────────

//// test



let example1 =

    $"""#!meta



{{"kernelInfo":{{"defaultKernelName":"fsharp","items":[[{{"aliases":[[]],"name":

"fsharp"}},{{"aliases":[[]],"name":"fsharp"}}]]}}}}



\#!markdown



# TestModule (TestNamespace)



\#!fsharp



\#!import file.dib



\#!fsharp



\#r "nuget:Expecto"



\#!markdown



## ParserLibrary



\#!fsharp



open System



\#!markdown



## x (test)



\#!fsharp



//// ignore



let x = 1



\#!spiral



// // test



inl x = 0i32



\#!spiral



inl x = 0i32



\#!markdown



### TextInput



\#!fsharp



let str1 = "abc

def"



let str2 =

    "abc\

def"



let str3 =

    $"1{{

        1

    }}1"



let str4 =

    $"1{{({{|

        a = 1

    |}}).a}}1"



let str5 =

    "abc \

        def"



let x =

    match '"' with

    | '"' -> true

    | _ -> false



let long1 = {q}{q}{q}a{q}{q}{q}



let long2 =

    {q}{q}{q}

a

{q}{q}{q}



\#!fsharp



type Position =

    {{

#if INTERACTIVE

        line : string

#else

        line : int

#endif

        column : int

    }}"""

    |> escapeCell



── fsharp ──────────────────────────────────────────────────────────────────────

//// test



example1

|> parse Fs

|> Result.toOption

|> Option.get

|> (formatBlocks Fs)

|> _equal $"""#if !INTERACTIVE

namespace TestNamespace

#endif



module TestModule =



    /// ## ParserLibrary



    open System



    /// ### TextInput



    let str1 = "abc

def"



    let str2 =

        "abc\

def"



    let str3 =

        $"1{{

            1

        }}1"



    let str4 =

        $"1{{({{|

            a = 1

        |}}).a}}1"



    let str5 =

        "abc \

            def"



    let x =

        match '"' with

        | '"' -> true

        | _ -> false



    let long1 = {q}{q}{q}a{q}{q}{q}



    let long2 =

        {q}{q}{q}

a

{q}{q}{q}



    type Position =

        {{

#if INTERACTIVE

            line : string

#else

            line : int

#endif

            column : int

        }}

"""



╭─[ 159.77ms - stdout ]────────────────────────────────────────────────────────╮

│ #if !INTERACTIVE                                                             │

│ namespace TestNamespace                                                      │

│ #endif                                                                       │

│                                                                              │

│ module TestModule =                                                          │

│                                                                              │

│     /// ## ParserLibrary                                                     │

│                                                                              │

│     open System                                                              │

│                                                                              │

│     /// ### TextInput                                                        │

│                                                                              │

│     let str1 = "abc                                                          │

│ def"                                                                         │

│                                                                              │

│     let str2 =                                                               │

│         "abc\                                                                │

│ def"                                                                         │

│                                                                              │

│     let str3 =                                                               │

│         $"1{                                                                 │

│             1                                                                │

│         }1"                                                                  │

│                                                                              │

│     let str4 =                                                               │

│         $"1{({|                                                              │

│             a = 1                                                            │

│         |}).a}1"                                                             │

│                                                                              │

│     let str5 =                                                               │

│         "abc \                                                               │

│             def"                                                             │

│                                                                              │

│     let x =                                                                  │

│         match '"' with                                                       │

│         | '"' -> true                                                        │

│         | _ -> false                                                         │

│                                                                              │

│     let long1 = """a"""                                                      │

│                                                                              │

│     let long2 =                                                              │

│         """                                                                  │

│ a                                                                            │

│ """                                                                          │

│                                                                              │

│     type Position =                                                          │

│         {                                                                    │

│ #if INTERACTIVE                                                              │

│             line : string                                                    │

│ #else                                                                        │

│             line : int                                                       │

│ #endif                                                                       │

│             column : int                                                     │

│         }                                                                    │

│                                                                              │

│                                                                              │

╰──────────────────────────────────────────────────────────────────────────────╯



── fsharp ──────────────────────────────────────────────────────────────────────

//// test



example1

|> parse Md

|> Result.toOption

|> Option.get

|> (formatBlocks Md)

|> _equal "# TestModule (TestNamespace)



## ParserLibrary



### TextInput

"



╭─[ 139.94ms - stdout ]────────────────────────────────────────────────────────╮

│ # TestModule (TestNamespace)                                                 │

│                                                                              │

│ ## ParserLibrary                                                             │

│                                                                              │

│ ### TextInput                                                                │

│                                                                              │

│                                                                              │

╰──────────────────────────────────────────────────────────────────────────────╯



── fsharp ──────────────────────────────────────────────────────────────────────

//// test



example1

|> parse Spi

|> Result.toOption

|> Option.get

|> (formatBlocks Spi)

|> _equal "// // # TestModule (TestNamespace)



// // ## ParserLibrary



inl x = 0i32



// // ### TextInput

"



╭─[ 140.59ms - stdout ]────────────────────────────────────────────────────────╮

│ // // # TestModule (TestNamespace)                                           │

│                                                                              │

│ // // ## ParserLibrary                                                       │

│                                                                              │

│ inl x = 0i32                                                                 │

│                                                                              │

│ // // ### TextInput                                                          │

│                                                                              │

│                                                                              │

╰──────────────────────────────────────────────────────────────────────────────╯



── markdown ────────────────────────────────────────────────────────────────────

╭──────────────────────────────────────────────────────────────────────────────╮

│ ## parseDibCode                                                              │

╰──────────────────────────────────────────────────────────────────────────────╯



── fsharp ──────────────────────────────────────────────────────────────────────

let inline parseDibCode output file = async {

    let getLocals () = $"output: {output} / file: {file} / {getLocals ()}"

    trace Debug (fun () -> "parseDibCode") getLocals

    let! input = file |> FileSystem.readAllTextAsync

    match parse output input with

    | Result.Ok blocks -> return blocks |> formatBlocks output

    | Result.Error msg -> return failwith msg

}



── markdown ────────────────────────────────────────────────────────────────────

╭──────────────────────────────────────────────────────────────────────────────╮

│ ## writeDibCode                                                              │

╰──────────────────────────────────────────────────────────────────────────────╯



── fsharp ──────────────────────────────────────────────────────────────────────

let inline writeDibCode output path = async {

    let getLocals () = $"output: {output} / path: {path} / {getLocals ()}"

    trace Debug (fun () -> "writeDibCode") getLocals

    let! result = parseDibCode output path

    let outputPath = path |> String.replace ".dib" $".{output |> string |> 

String.toLower}"

    do! result |> FileSystem.writeAllTextAsync outputPath

}



── markdown ────────────────────────────────────────────────────────────────────

╭──────────────────────────────────────────────────────────────────────────────╮

│ ## Arguments                                                                 │

╰──────────────────────────────────────────────────────────────────────────────╯



── fsharp ──────────────────────────────────────────────────────────────────────

[[<RequireQualifiedAccess>]]

type Arguments =

    | [[<Argu.ArguAttributes.MainCommand; Argu.ArguAttributes.Mandatory>]]

        File of file : string * Output



    interface Argu.IArgParserTemplate with

        member s.Usage =

            match s with

            | File _ -> nameof File



── fsharp ──────────────────────────────────────────────────────────────────────

//// test



Argu.ArgumentParser.Create<Arguments>().PrintUsage ()



╭─[ 101.06ms - return value ]──────────────────────────────────────────────────╮

│ USAGE: dotnet.exe [--help] <file> <fs|md|spi|spir>                           │

│                                                                              │

│ FILE:                                                                        │

│                                                                              │

│     <file> <fs|md|spi|spir>                                                  │

│                           File                                               │

│                                                                              │

│ OPTIONS:                                                                     │

│                                                                              │

│     --help                display this list of options.                      │

│                                                                              │

╰──────────────────────────────────────────────────────────────────────────────╯



── markdown ────────────────────────────────────────────────────────────────────

╭──────────────────────────────────────────────────────────────────────────────╮

│ ## main                                                                      │

╰──────────────────────────────────────────────────────────────────────────────╯



── fsharp ──────────────────────────────────────────────────────────────────────

let main args =

    let argsMap = args |> Runtime.parseArgsMap<Arguments>



    let files =

        argsMap.[[nameof Arguments.File]]

        |> List.map (function

            | Arguments.File (path, output) -> path, output

        )



    files

    |> List.map (fun (path, output) -> path |> writeDibCode output)

    |> Async.Parallel

    |> Async.Ignore

    |> Async.runWithTimeout 30000

    |> function

        | Some () -> 0

        | None -> 1



── fsharp ──────────────────────────────────────────────────────────────────────

//// test



let args =

    System.Environment.GetEnvironmentVariable "ARGS"

    |> Runtime.splitArgs

    |> Seq.toArray



match args with

| [[||]] -> 0

| args -> if main args = 0 then 0 else failwith "main failed"



╭─[ 148.34ms - return value ]──────────────────────────────────────────────────╮

│ <div class="dni-plaintext"><pre>0</pre></div><style>                         │

│ .dni-code-hint {                                                             │

│     font-style: italic;                                                      │

│     overflow: hidden;                                                        │

│     white-space: nowrap;                                                     │

│ }                                                                            │

│ .dni-treeview {                                                              │

│     white-space: nowrap;                                                     │

│ }                                                                            │

│ .dni-treeview td {                                                           │

│     vertical-align: top;                                                     │

│     text-align: start;                                                       │

│ }                                                                            │

│ details.dni-treeview {                                                       │

│     padding-left: 1em;                                                       │

│ }                                                                            │

│ table td {                                                                   │

│     text-align: start;                                                       │

│ }                                                                            │

│ table tr {                                                                   │

│     vertical-align: top;                                                     │

│     margin: 0em 0px;                                                         │

│ }                                                                            │

│ table tr td pre                                                              │

│ {                                                                            │

│     vertical-align: top !important;                                          │

│     margin: 0em 0px !important;                                              │

│ }                                                                            │

│ table th {                                                                   │

│     text-align: start;                                                       │

│ }                                                                            │

│ </style>                                                                     │

╰──────────────────────────────────────────────────────────────────────────────╯



╭─[ 160.17ms - stdout ]────────────────────────────────────────────────────────╮

│ 00:00:00 #1 [Debug] writeDibCode / output: Fs / path: Builder.dib            │

│ 00:00:00 #2 [Debug] parseDibCode / output: Fs / file: Builder.dib            │

│                                                                              │

╰──────────────────────────────────────────────────────────────────────────────╯



── markdown ────────────────────────────────────────────────────────────────────

╭──────────────────────────────────────────────────────────────────────────────╮

│ # Builder (Polyglot)                                                         │

╰──────────────────────────────────────────────────────────────────────────────╯



── fsharp ──────────────────────────────────────────────────────────────────────

#!import ../../lib/fsharp/Testing.dib



── fsharp - import ─────────────────────────────────────────────────────────────

#r 

"C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.A

spNetCore.Html.Abstractions.dll"

#r 

"C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D

otNet.Interactive.dll"

#r 

"C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D

otNet.Interactive.FSharp.dll"

#r 

"C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D

otNet.Interactive.Formatting.dll"

open System

open System.IO

open System.Text

open Microsoft.DotNet.Interactive.Formatting



── fsharp - import ─────────────────────────────────────────────────────────────

#r 

"C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D

otNet.Interactive.FSharp.dll"

open Microsoft.DotNet.Interactive.FSharp.FSharpKernelHelpers

#r 

"C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D

otNet.Interactive.dll"

open type Microsoft.DotNet.Interactive.Kernel



── fsharp - import ─────────────────────────────────────────────────────────────

#r @"../../../../../../../.nuget/packages/expecto/10.1.0/lib/net6.0/Expecto.dll"



── fsharp - import ─────────────────────────────────────────────────────────────

//// test



Formatter.ListExpansionLimit <- 100



── fsharp - import ─────────────────────────────────────────────────────────────

//// test



type AssertExceptionFormatter (ex) =

    member _.Text =

        ex.ToString()

            .Replace("32m", "<span style=\"color: green;\">")

            .Replace("36m", "</span>")

            .Replace("31m", "<span style=\"color: red;\">")

            .Replace("\n", "<br/>\n")





Formatter.Register<AssertExceptionFormatter> ((fun (x : 

AssertExceptionFormatter) -> x.Text), "text/html")



── fsharp - import ─────────────────────────────────────────────────────────────

//// test



let inline __expect fn log expected actual =

    if log then printfn $"{actual.ToDisplayString ()}"

    try

        "Testing.__expect" |> fn actual expected

    with :? Expecto.AssertException as ex ->

        AssertExceptionFormatter(ex).Display () |> ignore

        failwith (ex.GetType().FullName)



let inline __contains log expected actual = __expect Expecto.Expect.contains log

expected actual

let inline _contains expected actual = __contains true expected actual



let inline __equal log expected actual = __expect Expecto.Expect.equal log 

expected actual

let inline _equal expected actual = __equal true expected actual



let inline __isGreaterThan log expected actual = __expect 

Expecto.Expect.isGreaterThan log expected actual

let ...



── fsharp - import ─────────────────────────────────────────────────────────────

//// test



let inline __isBetween log a b actual =

    let inline isBetween actual (a, b) _ =

        __isGreaterThanOrEqual log a actual

        __isLessThanOrEqual log b actual

    __expect isBetween log (a, b) actual

let inline _isBetween a b actual = __isBetween true a b actual



── fsharp ──────────────────────────────────────────────────────────────────────

#r 

@"../../../../../../../.nuget/packages/fsharp.control.asyncseq/3.2.1/lib/netstan

dard2.1/FSharp.Control.AsyncSeq.dll"

#r 

@"../../../../../../../.nuget/packages/system.reactive/6.0.1-preview.1/lib/net6.

0/System.Reactive.dll"

#r 

@"../../../../../../../.nuget/packages/system.reactive.linq/6.0.1-preview.1/lib/

netstandard2.0/System.Reactive.Linq.dll"

#r 

@"../../../../../../../.nuget/packages/argu/6.1.1/lib/netstandard2.0/Argu.dll"

#r 

@"../../../../../../../.nuget/packages/system.commandline/2.0.0-beta4.22272.1/li

b/net6.0/System.CommandLine.dll"



── fsharp ──────────────────────────────────────────────────────────────────────

#!import ../../lib/fsharp/Common.fs

#!import ../../lib/fsharp/CommonFSharp.fs

#!import ../../lib/fsharp/Async.fs

#!import ../../lib/fsharp/AsyncSeq.fs

#!import ../../lib/fsharp/Networking.fs

#!import ../../lib/fsharp/Runtime.fs

#!import ../../lib/fsharp/FileSystem.fs



── fsharp - import ─────────────────────────────────────────────────────────────

#if !INTERACTIVE

namespace Polyglot

#endif



module Common =



    let nl = System.Environment.NewLine

    let q = @""""



    let inline cons head tail = head :: tail



    module String =

        let inline contains (value : string) (input : string) =

            input.Contains value



        let inline endsWith (value : string) (input : string) =

            input.EndsWith value



        let inline padLeft totalWidth paddingChar (input : string) =

            input.PadLeft (totalWidth, paddingChar)



        let inline replace (oldValue : string) (newValue : string) (input : 

string) =

            input.Replace (oldValue, newValue)



        let inline split separator (input : string) =

            input.Split separator



        let inline spli...



── fsharp - import ─────────────────────────────────────────────────────────────

#if !INTERACTIVE

namespace Polyglot

#endif



module CommonFSharp =



    open Common



    /// ## getUnionCaseName



    let inline getUnionCaseName<'T> (x: 'T) =

        match Reflection.FSharpValue.GetUnionFields(x, typeof<'T>) with

        | case, _ -> case.Name





── fsharp - import ─────────────────────────────────────────────────────────────

#if !INTERACTIVE

namespace Polyglot

#endif



module Async =



    open Common



    /// ## choice



    let inline choice asyncs = async {

        let e = Event<_> ()

        use cts = new System.Threading.CancellationTokenSource ()

        let fn =

            asyncs

            |> Seq.map (fun a -> async {

                let! x = a

                e.Trigger x

            })

            |> Async.Parallel

            |> Async.Ignore

        Async.Start (fn, cts.Token)

        let! result = Async.AwaitEvent e.Publish

        cts.Cancel ()

        return result

    }



    /// ## map



    let inline map fn a = async {

        let! x = a

        return fn x

    }



    /// ## catch



    let inline catch a =

        a

        |> Async.Catch

        ...



── fsharp - import ─────────────────────────────────────────────────────────────

#if !INTERACTIVE

namespace Polyglot

#endif



module AsyncSeq =



    open Common



    /// ## subscribeEvent



    let inline subscribeEvent (event: IEvent<'H, 'A>) map =

        let observable = System.Reactive.Linq.Observable.FromEventPattern<'H, 

'A>(event.AddHandler, event.RemoveHandler)

        System.Reactive.Linq.Observable.Select (observable, fun event -> map 

event.EventArgs)

        |> FSharp.Control.AsyncSeq.ofObservableBuffered



    let subscribeToken (token : System.Threading.CancellationToken) =

        let tcs = new System.Threading.Tasks.TaskCompletionSource ()

        System.Action tcs.SetResult |> token.Register |> ignore

        let start = System.DateTime.Now.Ticks

        FSharp.Control.AsyncSeq.unfoldAsync

            (fun (...



── fsharp - import ─────────────────────────────────────────────────────────────

#if !INTERACTIVE

namespace Polyglot

#endif



module Networking =



    open Common



    /// ## testPortOpen



    let inline testPortOpen port = async {

        let! ct = Async.CancellationToken

        use client = new System.Net.Sockets.TcpClient ()

        try

            do! client.ConnectAsync ("127.0.0.1", port, ct) |> 

Async.awaitValueTaskUnit

            return true

        with ex ->

            trace Verbose (fun () -> $"testPortOpen / ex: {ex |> 

printException}") getLocals

            return false

    }



    let inline testPortOpenTimeout timeout port = async {

        let! result =

            testPortOpen port

            |> Async.runWithTimeoutAsync timeout

        return

            match result with

            | None -> false

 ...



── fsharp - import ─────────────────────────────────────────────────────────────

#if !INTERACTIVE

namespace Polyglot

#endif



module Runtime =



    open Common



    /// ## isWindows



    let isWindows =

        fun () ->

            System.Runtime.InteropServices.RuntimeInformation.IsOSPlatform

                System.Runtime.InteropServices.OSPlatform.Windows

        |> memoize



    /// ## getExecutableSuffix



    let inline getExecutableSuffix () =

        if isWindows ()

        then ".exe"

        else ""



    /// ## splitCommand



    type private CommandParseStep =

        | Start

        | Path of quoted: bool

        | Arguments



    let splitCommand (command: string) =

        let rec loop (path, args) chars step =

            match chars, step with

            | ('"' | '\'') :: tail, _ when path = "" -> loop (pat...



── fsharp - import ─────────────────────────────────────────────────────────────

#if !INTERACTIVE

namespace Polyglot

#endif



module FileSystem =



    open Common



    /// ## Operators



    module Operators =

        let inline (</>) a b =

            System.IO.Path.Combine (a, b)



    open Operators



    /// ## createTempDirectoryName



    let inline createTempDirectoryName () =

        let root = System.Reflection.Assembly.GetEntryAssembly().GetName().Name



        System.IO.Path.GetTempPath ()

        </> $"!{root}"

        </> string (newGuidFromDateTime System.DateTime.Now)



    /// ## createTempDirectory



    let inline createTempDirectory () =

        let tempFolder = createTempDirectoryName ()

        let result = System.IO.Directory.CreateDirectory tempFolder



        if not result.Exists then

            let ge...



── fsharp ──────────────────────────────────────────────────────────────────────

open Common

open FileSystem.Operators



── markdown ────────────────────────────────────────────────────────────────────

╭──────────────────────────────────────────────────────────────────────────────╮

│ ## buildProject                                                              │

╰──────────────────────────────────────────────────────────────────────────────╯



── fsharp ──────────────────────────────────────────────────────────────────────

let inline buildProject runtime outputDir path = async {

    let fullPath = path |> System.IO.Path.GetFullPath

    let fileDir = fullPath |> System.IO.Path.GetDirectoryName

    let extension = fullPath |> System.IO.Path.GetExtension



    let getLocals () = $"fullPath: {fullPath} / {getLocals ()}"

    trace Debug (fun () -> "buildProject") getLocals



    match extension with

    | ".fsproj" -> ()

    | _ -> failwith "Invalid project file"



    let runtimes =

        runtime

        |> Option.map List.singleton

        |> Option.defaultValue [[ "linux-x64"; "win-x64" ]]

    

    let outputDir = outputDir |> Option.defaultValue "dist"



    return!

        runtimes

        |> List.map (fun runtime -> async {

            let! exitCode, _result =

                Runtime.executeWithOptionsAsync

                    {

                        Command = $@"dotnet publish ""{path}"" --configuration 

Release --output ""{outputDir}"" --runtime {runtime}"

                        CancellationToken = None

                        OnLine = None

                        WorkingDirectory = Some fileDir

                    }



            return exitCode

        })

        |> Async.Sequential

        |> Async.map Array.sum

}



── markdown ────────────────────────────────────────────────────────────────────

╭──────────────────────────────────────────────────────────────────────────────╮

│ ## persistCodeProject                                                        │

╰──────────────────────────────────────────────────────────────────────────────╯



── fsharp ──────────────────────────────────────────────────────────────────────

let inline persistCodeProject packages modules name code = async {

    let getLocals () = $"packages: {packages} / modules: {modules} / name: 

{name} / code.Length: {code |> String.length} / {getLocals ()}"

    trace Debug (fun () -> "persistCodeProject") getLocals



    let repositoryRoot = FileSystem.getSourceDirectory () |> 

FileSystem.findParent ".paket" false



    let targetDir = repositoryRoot </> "target/polyglot/builder" </> name

    System.IO.Directory.CreateDirectory targetDir |> ignore



    let filePath = targetDir </> $"{name}.fs" |> System.IO.Path.GetFullPath

    do! code |> FileSystem.writeAllTextExists filePath



    let modulesCode =

        modules

        |> List.map (fun path -> $"""<Compile Include="{repositoryRoot </> 

path}" />""")

        |> String.concat "\n        "



    let fsprojPath = targetDir </> $"{name}.fsproj"

    let fsprojCode = $"""<Project Sdk="Microsoft.NET.Sdk">

    <PropertyGroup>

        <TargetFramework>net8.0</TargetFramework>

        <LangVersion>preview</LangVersion>

        <RollForward>Major</RollForward>

        <TargetLatestRuntimePatch>true</TargetLatestRuntimePatch>

        <PublishAot>false</PublishAot>

        <PublishTrimmed>false</PublishTrimmed>

        <PublishSingleFile>true</PublishSingleFile>

        <SelfContained>true</SelfContained>

        <Version>0.0.1-alpha.1</Version>

        <OutputType>Exe</OutputType>

    </PropertyGroup>



    <ItemGroup>

        {modulesCode}

        <Compile Include="{filePath}" />

    </ItemGroup>



    <Import Project="{repositoryRoot}/.paket/Paket.Restore.targets" />

</Project>

"""

    do! fsprojCode |> FileSystem.writeAllTextExists fsprojPath



    let paketReferencesPath = targetDir </> "paket.references"

    let paketReferencesCode =

        "FSharp.Core" :: packages

        |> String.concat "\n"

    do! paketReferencesCode |> FileSystem.writeAllTextExists paketReferencesPath



    return fsprojPath

}



── markdown ────────────────────────────────────────────────────────────────────

╭──────────────────────────────────────────────────────────────────────────────╮

│ ## buildCode                                                                 │

╰──────────────────────────────────────────────────────────────────────────────╯



── fsharp ──────────────────────────────────────────────────────────────────────

let inline buildCode runtime packages modules outputDir name code = async {

    let! fsprojPath = code |> persistCodeProject packages modules name

    return! fsprojPath |> buildProject runtime outputDir

}



── fsharp ──────────────────────────────────────────────────────────────────────

//// test



"1 + 1"

|> buildCode None [[]] [[]] None "test1"

|> Async.runWithTimeout 60000

|> _equal (Some 0)



╭─[ 15.16s - stdout ]──────────────────────────────────────────────────────────╮

│ 00:00:00 #1 [Debug] persistCodeProject / packages: [] / modules: [] / name:  │

│ test1 / code.Length: 5                                                       │

│ 00:00:00 #2 [Debug] buildProject / fullPath:                                 │

│ C:\home\git\polyglot\target\polyglot\builder\test1\test1.fsproj              │

│ 00:00:00 #3 [Debug] executeAsync / options: { Command =                      │

│    "dotnet publish                                                           │

│ "C:\home\git\polyglot\target/polyglot/builder\test1\test1.fsproj"            │

│ --configuration Release --output "dist" --runtime linux-x64"                 │

│   WorkingDirectory = Some                                                    │

│ "C:\home\git\polyglot\target\polyglot\builder\test1"                         │

│   CancellationToken = None                                                   │

│   OnLine = None }                                                            │

│ 00:00:00 #4 [Verbose] > MSBuild version 17.8.3+195e7f5a3 for .NET            │

│ 00:00:00 #5 [Verbose] >   Determining projects to restore...                 │

│ 00:00:01 #6 [Verbose] >   Restored                                           │

│ C:\home\git\polyglot\target\polyglot\builder\test1\test1.fsproj (in 371 ms). │

│ 00:00:03 #7 [Verbose] >                                                      │

│ C:\home\git\polyglot\target\polyglot\builder\test1\test1.fs(1,1): warning    │

│ FS0020: The result of this expression has type 'int' and is implicitly       │

│ ignored. Consider using 'ignore' to discard this value explicitly, e.g.      │

│ 'expr |> ignore', or 'let' to bind the result to a name, e.g. 'let result =  │

│ expr'. [C:\home\git\polyglot\target\polyglot\builder\test1\test1.fsproj]     │

│ 00:00:03 #8 [Verbose] >                                                      │

│ C:\home\git\polyglot\target\polyglot\builder\test1\test1.fs(1,6): warning    │

│ FS0988: Main module of program is empty: nothing will happen when it is run  │

│ [C:\home\git\polyglot\target\polyglot\builder\test1\test1.fsproj]            │

│ 00:00:04 #9 [Verbose] >   test1 ->                                           │

│ C:\home\git\polyglot\target\polyglot\builder\test1\bin\Release\net8.0\linux- │

│ x64\test1.dll                                                                │

│ 00:00:05 #10 [Verbose] >   test1 ->                                          │

│ C:\home\git\polyglot\target\polyglot\builder\test1\dist\                     │

│ 00:00:05 #11 [Debug] executeAsync / exitCode: 0 / output.Length: 917         │

│ 00:00:05 #12 [Debug] executeAsync / options: { Command =                     │

│    "dotnet publish                                                           │

│ "C:\home\git\polyglot\target/polyglot/builder\test1\test1.fsproj"            │

│ --configuration Release --output "dist" --runtime win-x64"                   │

│   WorkingDirectory = Some                                                    │

│ "C:\home\git\polyglot\target\polyglot\builder\test1"                         │

│   CancellationToken = None                                                   │

│   OnLine = None }                                                            │

│ 00:00:05 #13 [Verbose] > MSBuild version 17.8.3+195e7f5a3 for .NET           │

│ 00:00:05 #14 [Verbose] >   Determining projects to restore...                │

│ 00:00:06 #15 [Verbose] >   Restored                                          │

│ C:\home\git\polyglot\target\polyglot\builder\test1\test1.fsproj (in 315 ms). │

│ 00:00:08 #16 [Verbose] >                                                     │

│ C:\home\git\polyglot\target\polyglot\builder\test1\test1.fs(1,1): warning    │

│ FS0020: The result of this expression has type 'int' and is implicitly       │

│ ignored. Consider using 'ignore' to discard this value explicitly, e.g.      │

│ 'expr |> ignore', or 'let' to bind the result to a name, e.g. 'let result =  │

│ expr'. [C:\home\git\polyglot\target\polyglot\builder\test1\test1.fsproj]     │

│ 00:00:08 #17 [Verbose] >                                                     │

│ C:\home\git\polyglot\target\polyglot\builder\test1\test1.fs(1,6): warning    │

│ FS0988: Main module of program is empty: nothing will happen when it is run  │

│ [C:\home\git\polyglot\target\polyglot\builder\test1\test1.fsproj]            │

│ 00:00:08 #18 [Verbose] >   test1 ->                                          │

│ C:\home\git\polyglot\target\polyglot\builder\test1\bin\Release\net8.0\win-x6 │

│ 4\test1.dll                                                                  │

│ 00:00:14 #19 [Verbose] >   test1 ->                                          │

│ C:\home\git\polyglot\target\polyglot\builder\test1\dist\                     │

│ 00:00:14 #20 [Debug] executeAsync / exitCode: 0 / output.Length: 915         │

│ FSharpOption<Int32>                                                          │

│       Value: 0                                                               │

│                                                                              │

╰──────────────────────────────────────────────────────────────────────────────╯



── fsharp ──────────────────────────────────────────────────────────────────────

//// test



"1 + a"

|> buildCode None [[]] [[]] None "test2"

|> Async.runWithTimeout 60000

|> _equal (Some 2)



╭─[ 6.91s - stdout ]───────────────────────────────────────────────────────────╮

│ 00:00:15 #21 [Debug] persistCodeProject / packages: [] / modules: [] / name: │

│ test2 / code.Length: 5                                                       │

│ 00:00:15 #22 [Debug] buildProject / fullPath:                                │

│ C:\home\git\polyglot\target\polyglot\builder\test2\test2.fsproj              │

│ 00:00:15 #23 [Debug] executeAsync / options: { Command =                     │

│    "dotnet publish                                                           │

│ "C:\home\git\polyglot\target/polyglot/builder\test2\test2.fsproj"            │

│ --configuration Release --output "dist" --runtime linux-x64"                 │

│   WorkingDirectory = Some                                                    │

│ "C:\home\git\polyglot\target\polyglot\builder\test2"                         │

│   CancellationToken = None                                                   │

│   OnLine = None }                                                            │

│ 00:00:15 #24 [Verbose] > MSBuild version 17.8.3+195e7f5a3 for .NET           │

│ 00:00:16 #25 [Verbose] >   Determining projects to restore...                │

│ 00:00:16 #26 [Verbose] >   Restored                                          │

│ C:\home\git\polyglot\target\polyglot\builder\test2\test2.fsproj (in 325 ms). │

│ 00:00:18 #27 [Verbose] >                                                     │

│ C:\home\git\polyglot\target\polyglot\builder\test2\test2.fs(1,5): error      │

│ FS0039: The value or constructor 'a' is not defined. [                       │

│ C:\home\git\polyglot\target\polyglot\builder\test2\test2.fsproj]             │

│ 00:00:18 #28 [Debug] executeAsync / exitCode: 1 / output.Length: 357         │

│ 00:00:18 #29 [Debug] executeAsync / options: { Command =                     │

│    "dotnet publish                                                           │

│ "C:\home\git\polyglot\target/polyglot/builder\test2\test2.fsproj"            │

│ --configuration Release --output "dist" --runtime win-x64"                   │

│   WorkingDirectory = Some                                                    │

│ "C:\home\git\polyglot\target\polyglot\builder\test2"                         │

│   CancellationToken = None                                                   │

│   OnLine = None }                                                            │

│ 00:00:18 #30 [Verbose] > MSBuild version 17.8.3+195e7f5a3 for .NET           │

│ 00:00:19 #31 [Verbose] >   Determining projects to restore...                │

│ 00:00:19 #32 [Verbose] >   Restored                                          │

│ C:\home\git\polyglot\target\polyglot\builder\test2\test2.fsproj (in 283 ms). │

│ 00:00:21 #33 [Verbose] >                                                     │

│ C:\home\git\polyglot\target\polyglot\builder\test2\test2.fs(1,5): error      │

│ FS0039: The value or constructor 'a' is not defined. [                       │

│ C:\home\git\polyglot\target\polyglot\builder\test2\test2.fsproj]             │

│ 00:00:21 #34 [Debug] executeAsync / exitCode: 1 / output.Length: 357         │

│ FSharpOption<Int32>                                                          │

│       Value: 2                                                               │

│                                                                              │

╰──────────────────────────────────────────────────────────────────────────────╯



── markdown ────────────────────────────────────────────────────────────────────

╭──────────────────────────────────────────────────────────────────────────────╮

│ ## readFile                                                                  │

╰──────────────────────────────────────────────────────────────────────────────╯



── fsharp ──────────────────────────────────────────────────────────────────────

let inline readFile path = async {

    let! code = path |> FileSystem.readAllTextAsync



    let code = System.Text.RegularExpressions.Regex.Replace (

        code,

        @"( *)(let\s+main\s+.*?\s*=)",

        fun m -> m.Groups.[[1]].Value + "[[<EntryPoint>]]\n" + 

m.Groups.[[1]].Value + m.Groups.[[2]].Value

    )



    let codeTrim = code |> String.trimEnd [[||]]

    return

        if codeTrim |> String.endsWith "\n()"

        then codeTrim |> String.substring 0 ((codeTrim |> String.length) - 2)

        else code

}



── markdown ────────────────────────────────────────────────────────────────────

╭──────────────────────────────────────────────────────────────────────────────╮

│ ## buildFile                                                                 │

╰──────────────────────────────────────────────────────────────────────────────╯



── fsharp ──────────────────────────────────────────────────────────────────────

let inline buildFile runtime packages modules path = async {

    let fullPath = path |> System.IO.Path.GetFullPath

    let dir = fullPath |> System.IO.Path.GetDirectoryName

    let name = fullPath |> System.IO.Path.GetFileNameWithoutExtension

    let! code = fullPath |> readFile

    return! code |> buildCode runtime packages modules (dir </> "dist" |> Some) 

name

}



── markdown ────────────────────────────────────────────────────────────────────

╭──────────────────────────────────────────────────────────────────────────────╮

│ ## persistFile                                                               │

╰──────────────────────────────────────────────────────────────────────────────╯



── fsharp ──────────────────────────────────────────────────────────────────────

let inline persistFile packages modules path = async {

    let fullPath = path |> System.IO.Path.GetFullPath

    let name = fullPath |> System.IO.Path.GetFileNameWithoutExtension

    let! code = fullPath |> readFile

    return! code |> persistCodeProject packages modules name

}



── markdown ────────────────────────────────────────────────────────────────────

╭──────────────────────────────────────────────────────────────────────────────╮

│ ## Arguments                                                                 │

╰──────────────────────────────────────────────────────────────────────────────╯



── fsharp ──────────────────────────────────────────────────────────────────────

[[<RequireQualifiedAccess>]]

type Arguments =

    | [[<Argu.ArguAttributes.MainCommand; Argu.ArguAttributes.ExactlyOnce>]] 

Path of path : string

    | [[<Argu.ArguAttributes.Unique>]] Packages of packages : string list

    | [[<Argu.ArguAttributes.Unique>]] Modules of modules : string list

    | [[<Argu.ArguAttributes.Unique>]] Runtime of runtime : string

    | [[<Argu.ArguAttributes.Unique>]] Persist_Only



    interface Argu.IArgParserTemplate with

        member s.Usage =

            match s with

            | Path _ -> nameof Path

            | Packages _ -> nameof Packages

            | Modules _ -> nameof Modules

            | Runtime _ -> nameof Runtime

            | Persist_Only -> nameof Persist_Only



── fsharp ──────────────────────────────────────────────────────────────────────

//// test



Argu.ArgumentParser.Create<Arguments>().PrintUsage ()



╭─[ 113.53ms - return value ]──────────────────────────────────────────────────╮

│ USAGE: dotnet.exe [--help] [--packages [<packages>...]]                      │

│                   [--modules [<modules>...]] [--runtime <runtime>]           │

│                   [--persist-only] <path>                                    │

│                                                                              │

│ PATH:                                                                        │

│                                                                              │

│     <path>                Path                                               │

│                                                                              │

│ OPTIONS:                                                                     │

│                                                                              │

│     --packages [<packages>...]                                               │

│                           Packages                                           │

│     --modules [<modules>...]                                                 │

│                           Modules                                            │

│     --runtime <runtime>   Runtime                                            │

│     --persist-only        Persist_Only                                       │

│     --help                display this list of options.                      │

│                                                                              │

╰──────────────────────────────────────────────────────────────────────────────╯



── markdown ────────────────────────────────────────────────────────────────────

╭──────────────────────────────────────────────────────────────────────────────╮

│ ## main                                                                      │

╰──────────────────────────────────────────────────────────────────────────────╯



── fsharp ──────────────────────────────────────────────────────────────────────

let main args =

    let argsMap = args |> Runtime.parseArgsMap<Arguments>



    let path =

        match argsMap.[[nameof Arguments.Path]] with

        | [[ Arguments.Path path ]] -> Some path

        | _ -> None

        |> Option.get



    let packages =

        match argsMap |> Map.tryFind (nameof Arguments.Packages) with

        | Some [[ Arguments.Packages packages ]] -> packages

        | _ -> [[]]



    let modules =

        match argsMap |> Map.tryFind (nameof Arguments.Modules) with

        | Some [[ Arguments.Modules modules ]] -> modules

        | _ -> [[]]



    let runtime =

        match argsMap |> Map.tryFind (nameof Arguments.Runtime) with

        | Some [[ Arguments.Runtime runtime ]] -> Some runtime

        | _ -> None



    let persistOnly = argsMap |> Map.containsKey (nameof Arguments.Persist_Only)



    if persistOnly

    then path |> persistFile packages modules |> Async.map (fun _ -> 0)

    else path |> buildFile runtime packages modules

    |> Async.runWithTimeout 60000

    |> function

        | Some exitCode -> exitCode

        | None -> 1



── fsharp ──────────────────────────────────────────────────────────────────────

//// test



let args =

    System.Environment.GetEnvironmentVariable "ARGS"

    |> Runtime.splitArgs

    |> Seq.toArray



match args with

| [[||]] -> 0

| args -> if main args = 0 then 0 else failwith "main failed"



╭─[ 28.00s - return value ]────────────────────────────────────────────────────╮

│ <div class="dni-plaintext"><pre>0</pre></div><style>                         │

│ .dni-code-hint {                                                             │

│     font-style: italic;                                                      │

│     overflow: hidden;                                                        │

│     white-space: nowrap;                                                     │

│ }                                                                            │

│ .dni-treeview {                                                              │

│     white-space: nowrap;                                                     │

│ }                                                                            │

│ .dni-treeview td {                                                           │

│     vertical-align: top;                                                     │

│     text-align: start;                                                       │

│ }                                                                            │

│ details.dni-treeview {                                                       │

│     padding-left: 1em;                                                       │

│ }                                                                            │

│ table td {                                                                   │

│     text-align: start;                                                       │

│ }                                                                            │

│ table tr {                                                                   │

│     vertical-align: top;                                                     │

│     margin: 0em 0px;                                                         │

│ }                                                                            │

│ table tr td pre                                                              │

│ {                                                                            │

│     vertical-align: top !important;                                          │

│     margin: 0em 0px !important;                                              │

│ }                                                                            │

│ table th {                                                                   │

│     text-align: start;                                                       │

│ }                                                                            │

│ </style>                                                                     │

╰──────────────────────────────────────────────────────────────────────────────╯



╭─[ 28.02s - stdout ]──────────────────────────────────────────────────────────╮

│ 00:00:23 #35 [Debug] persistCodeProject / packages: [Argu;                   │

│ FSharp.Control.AsyncSeq; System.CommandLine; ... ] / modules: [              │

│ lib/fsharp/Common.fs; lib/fsharp/CommonFSharp.fs; lib/fsharp/Async.fs; ... ] │

│ / name: Builder / code.Length: 7079                                          │

│ 00:00:23 #36 [Debug] buildProject / fullPath:                                │

│ C:\home\git\polyglot\target\polyglot\builder\Builder\Builder.fsproj          │

│ 00:00:23 #37 [Debug] executeAsync / options: { Command =                     │

│    "dotnet publish                                                           │

│ "C:\home\git\polyglot\target/polyglot/builder\Builder\Builder.fsproj"        │

│ --configuration Release --output "C:\home\git\polyglot\apps\builder\dist"    │

│ --runtime linux-x64"                                                         │

│   WorkingDirectory = Some                                                    │

│ "C:\home\git\polyglot\target\polyglot\builder\Builder"                       │

│   CancellationToken = None                                                   │

│   OnLine = None }                                                            │

│ 00:00:23 #38 [Verbose] > MSBuild version 17.8.3+195e7f5a3 for .NET           │

│ 00:00:24 #39 [Verbose] >   Determining projects to restore...                │

│ 00:00:25 #40 [Verbose] >   Restored                                          │

│ C:\home\git\polyglot\target\polyglot\builder\Builder\Builder.fsproj (in 361  │

│ ms).                                                                         │

│ 00:00:31 #41 [Verbose] >   Builder ->                                        │

│ C:\home\git\polyglot\target\polyglot\builder\Builder\bin\Release\net8.0\linu │

│ x-x64\Builder.dll                                                            │

│ 00:00:32 #42 [Verbose] >   Builder ->                                        │

│ C:\home\git\polyglot\apps\builder\dist\                                      │

│ 00:00:32 #43 [Debug] executeAsync / exitCode: 0 / output.Length: 330         │

│ 00:00:32 #44 [Debug] executeAsync / options: { Command =                     │

│    "dotnet publish                                                           │

│ "C:\home\git\polyglot\target/polyglot/builder\Builder\Builder.fsproj"        │

│ --configuration Release --output "C:\home\git\polyglot\apps\builder\dist"    │

│ --runtime win-x64"                                                           │

│   WorkingDirectory = Some                                                    │

│ "C:\home\git\polyglot\target\polyglot\builder\Builder"                       │

│   CancellationToken = None                                                   │

│   OnLine = None }                                                            │

│ 00:00:32 #45 [Verbose] > MSBuild version 17.8.3+195e7f5a3 for .NET           │

│ 00:00:33 #46 [Verbose] >   Determining projects to restore...                │

│ 00:00:36 #47 [Verbose] >   Restored                                          │

│ C:\home\git\polyglot\target\polyglot\builder\Builder\Builder.fsproj (in 2.43 │

│ sec).                                                                        │

│ 00:00:48 #48 [Verbose] >   Builder ->                                        │

│ C:\home\git\polyglot\target\polyglot\builder\Builder\bin\Release\net8.0\win- │

│ x64\Builder.dll                                                              │

│ 00:00:51 #49 [Verbose] >   Builder ->                                        │

│ C:\home\git\polyglot\apps\builder\dist\                                      │

│ 00:00:51 #50 [Debug] executeAsync / exitCode: 0 / output.Length: 330         │

│                                                                              │

╰──────────────────────────────────────────────────────────────────────────────╯

[NbConvertApp] Converting notebook Builder.dib.ipynb to html

C:\Users\i574n\scoop\apps\python\current\Lib\site-packages\nbformat\__init__.py:93: MissingIDFieldWarning: Code cell is missing an id field, this will become a hard error in future nbformat versions. You may want to use `normalize()` on your notebooks before validations (available since nbformat 5.1.4). Previous versions of nbformat are fixing this issue transparently, and will stop doing so in the future.

  validate(nb)

C:\Users\i574n\scoop\apps\python\current\Lib\site-packages\nbconvert\filters\highlight.py:71: UserWarning: IPython3 lexer unavailable, falling back on Python 3

  return _pygments_highlight(

[NbConvertApp] Writing 324852 bytes to Builder.dib.html

In [ ]:
{ . "$ScriptDir/../apps/parser/build.ps1" } | Invoke-Block

── markdown ────────────────────────────────────────────────────────────────────

╭──────────────────────────────────────────────────────────────────────────────╮

│ # DibParser (Polyglot)                                                       │

╰──────────────────────────────────────────────────────────────────────────────╯



── fsharp ──────────────────────────────────────────────────────────────────────

#!import ../../lib/fsharp/Testing.dib



── fsharp - import ─────────────────────────────────────────────────────────────

#r 

"C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.A

spNetCore.Html.Abstractions.dll"

#r 

"C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D

otNet.Interactive.dll"

#r 

"C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D

otNet.Interactive.FSharp.dll"

#r 

"C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D

otNet.Interactive.Formatting.dll"

open System

open System.IO

open System.Text

open Microsoft.DotNet.Interactive.Formatting



── fsharp - import ─────────────────────────────────────────────────────────────

#r 

"C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D

otNet.Interactive.FSharp.dll"

open Microsoft.DotNet.Interactive.FSharp.FSharpKernelHelpers

#r 

"C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D

otNet.Interactive.dll"

open type Microsoft.DotNet.Interactive.Kernel



── fsharp - import ─────────────────────────────────────────────────────────────

#r @"../../../../../../../.nuget/packages/expecto/10.1.0/lib/net6.0/Expecto.dll"



── fsharp - import ─────────────────────────────────────────────────────────────

//// test



Formatter.ListExpansionLimit <- 100



── fsharp - import ─────────────────────────────────────────────────────────────

//// test



type AssertExceptionFormatter (ex) =

    member _.Text =

        ex.ToString()

            .Replace("32m", "<span style=\"color: green;\">")

            .Replace("36m", "</span>")

            .Replace("31m", "<span style=\"color: red;\">")

            .Replace("\n", "<br/>\n")





Formatter.Register<AssertExceptionFormatter> ((fun (x : 

AssertExceptionFormatter) -> x.Text), "text/html")



── fsharp - import ─────────────────────────────────────────────────────────────

//// test



let inline __expect fn log expected actual =

    if log then printfn $"{actual.ToDisplayString ()}"

    try

        "Testing.__expect" |> fn actual expected

    with :? Expecto.AssertException as ex ->

        AssertExceptionFormatter(ex).Display () |> ignore

        failwith (ex.GetType().FullName)



let inline __contains log expected actual = __expect Expecto.Expect.contains log

expected actual

let inline _contains expected actual = __contains true expected actual



let inline __equal log expected actual = __expect Expecto.Expect.equal log 

expected actual

let inline _equal expected actual = __equal true expected actual



let inline __isGreaterThan log expected actual = __expect 

Expecto.Expect.isGreaterThan log expected actual

let ...



── fsharp - import ─────────────────────────────────────────────────────────────

//// test



let inline __isBetween log a b actual =

    let inline isBetween actual (a, b) _ =

        __isGreaterThanOrEqual log a actual

        __isLessThanOrEqual log b actual

    __expect isBetween log (a, b) actual

let inline _isBetween a b actual = __isBetween true a b actual



── fsharp ──────────────────────────────────────────────────────────────────────

#r 

@"../../../../../../../.nuget/packages/fsharp.control.asyncseq/3.2.1/lib/netstan

dard2.1/FSharp.Control.AsyncSeq.dll"

#r 

@"../../../../../../../.nuget/packages/system.reactive/6.0.1-preview.1/lib/net6.

0/System.Reactive.dll"

#r 

@"../../../../../../../.nuget/packages/system.reactive.linq/6.0.1-preview.1/lib/

netstandard2.0/System.Reactive.Linq.dll"

#r 

@"../../../../../../../.nuget/packages/argu/6.1.1/lib/netstandard2.0/Argu.dll"

#r 

@"../../../../../../../.nuget/packages/system.commandline/2.0.0-beta4.22272.1/li

b/net6.0/System.CommandLine.dll"

#r 

@"../../../../../../../.nuget/packages/fparsec/2.0.0-beta2/lib/netstandard2.1/FP

arsec.dll"

#r 

@"../../../../../../../.nuget/packages/fparsec/2.0.0-beta2/lib/netstandard2.1/FP

arsecCS.dll"



── fsharp ──────────────────────────────────────────────────────────────────────

#!import ../../lib/fsharp/Common.fs

#!import ../../lib/fsharp/CommonFSharp.fs

#!import ../../lib/fsharp/Async.fs

#!import ../../lib/fsharp/AsyncSeq.fs

#!import ../../lib/fsharp/Runtime.fs

#!import ../../lib/fsharp/FileSystem.fs



── fsharp - import ─────────────────────────────────────────────────────────────

#if !INTERACTIVE

namespace Polyglot

#endif



module Common =



    let nl = System.Environment.NewLine

    let q = @""""



    let inline cons head tail = head :: tail



    module String =

        let inline contains (value : string) (input : string) =

            input.Contains value



        let inline endsWith (value : string) (input : string) =

            input.EndsWith value



        let inline padLeft totalWidth paddingChar (input : string) =

            input.PadLeft (totalWidth, paddingChar)



        let inline replace (oldValue : string) (newValue : string) (input : 

string) =

            input.Replace (oldValue, newValue)



        let inline split separator (input : string) =

            input.Split separator



        let inline spli...



── fsharp - import ─────────────────────────────────────────────────────────────

#if !INTERACTIVE

namespace Polyglot

#endif



module CommonFSharp =



    open Common



    /// ## getUnionCaseName



    let inline getUnionCaseName<'T> (x: 'T) =

        match Reflection.FSharpValue.GetUnionFields(x, typeof<'T>) with

        | case, _ -> case.Name





── fsharp - import ─────────────────────────────────────────────────────────────

#if !INTERACTIVE

namespace Polyglot

#endif



module Async =



    open Common



    /// ## choice



    let inline choice asyncs = async {

        let e = Event<_> ()

        use cts = new System.Threading.CancellationTokenSource ()

        let fn =

            asyncs

            |> Seq.map (fun a -> async {

                let! x = a

                e.Trigger x

            })

            |> Async.Parallel

            |> Async.Ignore

        Async.Start (fn, cts.Token)

        let! result = Async.AwaitEvent e.Publish

        cts.Cancel ()

        return result

    }



    /// ## map



    let inline map fn a = async {

        let! x = a

        return fn x

    }



    /// ## catch



    let inline catch a =

        a

        |> Async.Catch

        ...



── fsharp - import ─────────────────────────────────────────────────────────────

#if !INTERACTIVE

namespace Polyglot

#endif



module AsyncSeq =



    open Common



    /// ## subscribeEvent



    let inline subscribeEvent (event: IEvent<'H, 'A>) map =

        let observable = System.Reactive.Linq.Observable.FromEventPattern<'H, 

'A>(event.AddHandler, event.RemoveHandler)

        System.Reactive.Linq.Observable.Select (observable, fun event -> map 

event.EventArgs)

        |> FSharp.Control.AsyncSeq.ofObservableBuffered



    let subscribeToken (token : System.Threading.CancellationToken) =

        let tcs = new System.Threading.Tasks.TaskCompletionSource ()

        System.Action tcs.SetResult |> token.Register |> ignore

        let start = System.DateTime.Now.Ticks

        FSharp.Control.AsyncSeq.unfoldAsync

            (fun (...



── fsharp - import ─────────────────────────────────────────────────────────────

#if !INTERACTIVE

namespace Polyglot

#endif



module Runtime =



    open Common



    /// ## isWindows



    let isWindows =

        fun () ->

            System.Runtime.InteropServices.RuntimeInformation.IsOSPlatform

                System.Runtime.InteropServices.OSPlatform.Windows

        |> memoize



    /// ## getExecutableSuffix



    let inline getExecutableSuffix () =

        if isWindows ()

        then ".exe"

        else ""



    /// ## splitCommand



    type private CommandParseStep =

        | Start

        | Path of quoted: bool

        | Arguments



    let splitCommand (command: string) =

        let rec loop (path, args) chars step =

            match chars, step with

            | ('"' | '\'') :: tail, _ when path = "" -> loop (pat...



── fsharp - import ─────────────────────────────────────────────────────────────

#if !INTERACTIVE

namespace Polyglot

#endif



module FileSystem =



    open Common



    /// ## Operators



    module Operators =

        let inline (</>) a b =

            System.IO.Path.Combine (a, b)



    open Operators



    /// ## createTempDirectoryName



    let inline createTempDirectoryName () =

        let root = System.Reflection.Assembly.GetEntryAssembly().GetName().Name



        System.IO.Path.GetTempPath ()

        </> $"!{root}"

        </> string (newGuidFromDateTime System.DateTime.Now)



    /// ## createTempDirectory



    let inline createTempDirectory () =

        let tempFolder = createTempDirectoryName ()

        let result = System.IO.Directory.CreateDirectory tempFolder



        if not result.Exists then

            let ge...



── fsharp ──────────────────────────────────────────────────────────────────────

open Common

open FParsec



── markdown ────────────────────────────────────────────────────────────────────

╭──────────────────────────────────────────────────────────────────────────────╮

│ ## escapeCell (test)                                                         │

╰──────────────────────────────────────────────────────────────────────────────╯



── fsharp ──────────────────────────────────────────────────────────────────────

//// test



let inline escapeCell input =

    input

    |> String.split [[| '\n' |]]

    |> Array.map (function

        | line when line |> String.startsWith "\\#!" || line |> 

String.startsWith "\\#r" ->

            System.Text.RegularExpressions.Regex.Replace (line, "^\\\\#", "#")

        | line -> line

    )

    |> String.concat "\n"



── fsharp ──────────────────────────────────────────────────────────────────────

//// test



$"a{nl}\\#!magic{nl}b{nl}"

|> escapeCell

|> _equal (

    $"a{nl}#!magic{nl}b{nl}"

)



╭─[ 51.50ms - stdout ]─────────────────────────────────────────────────────────╮

│ a                                                                            │

│ #!magic                                                                      │

│ b                                                                            │

│                                                                              │

│                                                                              │

╰──────────────────────────────────────────────────────────────────────────────╯



── markdown ────────────────────────────────────────────────────────────────────

╭──────────────────────────────────────────────────────────────────────────────╮

│ ## magicMarker                                                               │

╰──────────────────────────────────────────────────────────────────────────────╯



── fsharp ──────────────────────────────────────────────────────────────────────

let magicMarker : Parser<string, unit> = pstring "#!"



── fsharp ──────────────────────────────────────────────────────────────────────

//// test



"#!magic"

|> run magicMarker

|> _equal (

    Success ("#!", (), Position ("", 2, 1, 3))

)



╭─[ 48.10ms - stdout ]─────────────────────────────────────────────────────────╮

│ Success                                                                      │

│       Item1: #!                                                              │

│       Item2: <null>                                                          │

│       Item3: Position                                                        │

│         Index: 2                                                             │

│         Line: 1                                                              │

│         Column: 3                                                            │

│         StreamName:                                                          │

│                                                                              │

╰──────────────────────────────────────────────────────────────────────────────╯



── fsharp ──────────────────────────────────────────────────────────────────────

//// test



"##!magic"

|> run magicMarker

|> _equal (

    Failure (

        $"Error in Ln: 1 Col: 1{nl}##!magic{nl}^{nl}Expecting: '#!'{nl}",

        ParserError (

            Position ("", 0, 1, 1),

            (),

            ErrorMessageList (ExpectedString "#!")

        ),

        ()

    )

)



╭─[ 54.79ms - stdout ]─────────────────────────────────────────────────────────╮

│ Failure                                                                      │

│       Item1: Error in Ln: 1 Col: 1                                           │

│ ##!magic                                                                     │

│ ^                                                                            │

│ Expecting: '#!'                                                              │

│                                                                              │

│       Item2: ParserError                                                     │

│         Position: Position                                                   │

│           Index: 0                                                           │

│           Line: 1                                                            │

│           Column: 1                                                          │

│           StreamName:                                                        │

│         UserState: <null>                                                    │

│         Messages: ErrorMessageList                                           │

│           Head: ExpectedString                                               │

│             String: #!                                                       │

│             Type: ExpectedString                                             │

│           Tail: <null>                                                       │

│       Item3: <null>                                                          │

│                                                                              │

╰──────────────────────────────────────────────────────────────────────────────╯



── markdown ────────────────────────────────────────────────────────────────────

╭──────────────────────────────────────────────────────────────────────────────╮

│ ## magicCommand                                                              │

╰──────────────────────────────────────────────────────────────────────────────╯



── fsharp ──────────────────────────────────────────────────────────────────────

let magicCommand =

    magicMarker

    >>. manyTill anyChar newline

    |>> (System.String.Concat >> String.trim)



── fsharp ──────────────────────────────────────────────────────────────────────

//// test



"#!magic



a"

|> run magicCommand

|> _equal (

    Success ("magic", (), Position ("", 8, 2, 1))

)



╭─[ 31.85ms - stdout ]─────────────────────────────────────────────────────────╮

│ Success                                                                      │

│       Item1: magic                                                           │

│       Item2: <null>                                                          │

│       Item3: Position                                                        │

│         Index: 8                                                             │

│         Line: 2                                                              │

│         Column: 1                                                            │

│         StreamName:                                                          │

│                                                                              │

╰──────────────────────────────────────────────────────────────────────────────╯



── fsharp ──────────────────────────────────────────────────────────────────────

//// test



" #!magic



a"

|> run magicCommand

|> _equal (

    Failure (

        $"Error in Ln: 1 Col: 1{nl} #!magic{nl}^{nl}Expecting: '#!'{nl}",

        ParserError (

            Position ("", 0, 1, 1),

            (),

            ErrorMessageList (ExpectedString "#!")

        ),

        ()

    )

)



╭─[ 34.64ms - stdout ]─────────────────────────────────────────────────────────╮

│ Failure                                                                      │

│       Item1: Error in Ln: 1 Col: 1                                           │

│  #!magic                                                                     │

│ ^                                                                            │

│ Expecting: '#!'                                                              │

│                                                                              │

│       Item2: ParserError                                                     │

│         Position: Position                                                   │

│           Index: 0                                                           │

│           Line: 1                                                            │

│           Column: 1                                                          │

│           StreamName:                                                        │

│         UserState: <null>                                                    │

│         Messages: ErrorMessageList                                           │

│           Head: ExpectedString                                               │

│             String: #!                                                       │

│             Type: ExpectedString                                             │

│           Tail: <null>                                                       │

│       Item3: <null>                                                          │

│                                                                              │

╰──────────────────────────────────────────────────────────────────────────────╯



── markdown ────────────────────────────────────────────────────────────────────

╭──────────────────────────────────────────────────────────────────────────────╮

│ ## content                                                                   │

╰──────────────────────────────────────────────────────────────────────────────╯



── fsharp ──────────────────────────────────────────────────────────────────────

let content =

    (newline >>. magicMarker) <|> (eof >>. preturn "")

    |> attempt

    |> lookAhead

    |> manyTill anyChar

    |>> (System.String.Concat >> String.trim)



── fsharp ──────────────────────────────────────────────────────────────────────

//// test



"#!magic





a





"

|> run content

|> _equal (

    Success ("#!magic





a", (), Position ("", 14, 7, 1))

)



╭─[ 32.07ms - stdout ]─────────────────────────────────────────────────────────╮

│ Success                                                                      │

│       Item1: #!magic                                                         │

│                                                                              │

│                                                                              │

│ a                                                                            │

│       Item2: <null>                                                          │

│       Item3: Position                                                        │

│         Index: 14                                                            │

│         Line: 7                                                              │

│         Column: 1                                                            │

│         StreamName:                                                          │

│                                                                              │

╰──────────────────────────────────────────────────────────────────────────────╯



── markdown ────────────────────────────────────────────────────────────────────

╭──────────────────────────────────────────────────────────────────────────────╮

│ ## Block                                                                     │

╰──────────────────────────────────────────────────────────────────────────────╯



── fsharp ──────────────────────────────────────────────────────────────────────

type Block =

    {

        magic : string

        content : string

    }



── markdown ────────────────────────────────────────────────────────────────────

╭──────────────────────────────────────────────────────────────────────────────╮

│ ## block                                                                     │

╰──────────────────────────────────────────────────────────────────────────────╯



── fsharp ──────────────────────────────────────────────────────────────────────

let block =

    pipe2

        magicCommand

        content

        (fun magic content ->

            {

                magic = magic

                content = content

            })



── fsharp ──────────────────────────────────────────────────────────────────────

//// test



"#!magic





a





"

|> run block

|> _equal (

    Success (

        { magic = "magic"; content = "a" },

        (),

        Position ("", 14, 7, 1)

    )

)



╭─[ 39.53ms - stdout ]─────────────────────────────────────────────────────────╮

│ Success                                                                      │

│       Item1: Block                                                           │

│         magic: magic                                                         │

│         content: a                                                           │

│       Item2: <null>                                                          │

│       Item3: Position                                                        │

│         Index: 14                                                            │

│         Line: 7                                                              │

│         Column: 1                                                            │

│         StreamName:                                                          │

│                                                                              │

╰──────────────────────────────────────────────────────────────────────────────╯



── markdown ────────────────────────────────────────────────────────────────────

╭──────────────────────────────────────────────────────────────────────────────╮

│ ## blocks                                                                    │

╰──────────────────────────────────────────────────────────────────────────────╯



── fsharp ──────────────────────────────────────────────────────────────────────

let blocks =

    skipMany newline

    >>. sepEndBy block (skipMany1 newline)



── fsharp ──────────────────────────────────────────────────────────────────────

//// test





"#!magic1



a



\#!magic2



b



"

|> escapeCell

|> run blocks

|> _equal (

    Success (

        [[

            { magic = "magic1"; content = "a" }

            { magic = "magic2"; content = "b" }

        ]],

        (),

        Position ("", 26, 9, 1)

    )

)



╭─[ 45.39ms - stdout ]─────────────────────────────────────────────────────────╮

│ Success                                                                      │

│       Item1: FSharpList<Block>                                               │

│         - magic: magic1                                                      │

│           content: a                                                         │

│         - magic: magic2                                                      │

│           content: b                                                         │

│       Item2: <null>                                                          │

│       Item3: Position                                                        │

│         Index: 26                                                            │

│         Line: 9                                                              │

│         Column: 1                                                            │

│         StreamName:                                                          │

│                                                                              │

╰──────────────────────────────────────────────────────────────────────────────╯



── markdown ────────────────────────────────────────────────────────────────────

╭──────────────────────────────────────────────────────────────────────────────╮

│ ## Output                                                                    │

╰──────────────────────────────────────────────────────────────────────────────╯



── fsharp ──────────────────────────────────────────────────────────────────────

type Output =

    | Fs

    | Md

    | Spi

    | Spir



let inline kernelOutputs magic =

    match magic with

    | "fsharp" -> [[ Fs ]]

    | "markdown" -> [[ Md ]]

    | "spiral" -> [[ Spi; Spir ]]

    | _ -> [[]]



── markdown ────────────────────────────────────────────────────────────────────

╭──────────────────────────────────────────────────────────────────────────────╮

│ ## formatBlock                                                               │

╰──────────────────────────────────────────────────────────────────────────────╯



── fsharp ──────────────────────────────────────────────────────────────────────

let inline formatBlock output (block : Block) =

    match output, block with

    | output, { magic = "markdown"; content = content } ->

        let markdownComment =

            match output with

            | Spi | Spir -> "// // "

            | Fs -> "/// "

            | _ -> ""

        content

        |> String.split [[| '\n' |]]

        |> Array.map (String.trimEnd [[||]])

        |> Array.filter (String.endsWith " (test)" >> not)

        |> Array.map (function

            | "" -> markdownComment |> String.trim

            | line -> System.Text.RegularExpressions.Regex.Replace (line, 

"^\\s*", $"$&{markdownComment}")

        )

        |> String.concat "\n"

    | Fs, { magic = "fsharp"; content = content } ->

        let trimmedContent = content |> String.trim

        if trimmedContent |> String.startsWith "//// test" || trimmedContent |> 

String.startsWith "//// ignore"

        then ""

        else

            content

            |> String.split [[| '\n' |]]

            |> Array.filter (String.trimStart [[||]] >> String.startsWith "#r" 

>> not)

            |> String.concat "\n"

    | (Spi | Spir), { magic = "spiral"; content = content } ->

        let trimmedContent = content |> String.trim

        if trimmedContent |> String.startsWith "// // test" || trimmedContent |>

String.startsWith "// // ignore"

        then ""

        else content

    | _ -> ""



── fsharp ──────────────────────────────────────────────────────────────────────

//// test



"#!markdown





a



    b



c





\#!markdown





c





\#!fsharp





let a = 1"

|> escapeCell

|> run block

|> function

    | Success (block, _, _) -> formatBlock Fs block

    | Failure (msg, _, _) -> failwith msg

|> _equal "/// a

///

    /// b

///

/// c"



╭─[ 62.51ms - stdout ]─────────────────────────────────────────────────────────╮

│ /// a                                                                        │

│ ///                                                                          │

│     /// b                                                                    │

│ ///                                                                          │

│ /// c                                                                        │

│                                                                              │

╰──────────────────────────────────────────────────────────────────────────────╯



── markdown ────────────────────────────────────────────────────────────────────

╭──────────────────────────────────────────────────────────────────────────────╮

│ ## formatBlocks                                                              │

╰──────────────────────────────────────────────────────────────────────────────╯



── fsharp ──────────────────────────────────────────────────────────────────────

let inline formatBlocks output blocks =

    blocks

    |> List.map (formatBlock output)

    |> List.filter ((<>) "")

    |> String.concat "\n\n"

    |> fun s -> s + "\n"



── fsharp ──────────────────────────────────────────────────────────────────────

//// test



"#!markdown





a



b





\#!markdown





c





\#!fsharp





let a = 1



\#!markdown



d (test)



\#!fsharp



//// test



let a = 2



\#!markdown



e



\#!fsharp



let a = 3"

|> escapeCell

|> run blocks

|> function

    | Success (blocks, _, _) -> formatBlocks Fs blocks

    | Failure (msg, _, _) -> failwith msg

|> _equal "/// a

///

/// b



/// c



let a = 1



/// e



let a = 3

"



╭─[ 66.31ms - stdout ]─────────────────────────────────────────────────────────╮

│ /// a                                                                        │

│ ///                                                                          │

│ /// b                                                                        │

│                                                                              │

│ /// c                                                                        │

│                                                                              │

│ let a = 1                                                                    │

│                                                                              │

│ /// e                                                                        │

│                                                                              │

│ let a = 3                                                                    │

│                                                                              │

│                                                                              │

╰──────────────────────────────────────────────────────────────────────────────╯



── markdown ────────────────────────────────────────────────────────────────────

╭──────────────────────────────────────────────────────────────────────────────╮

│ ## parse                                                                     │

╰──────────────────────────────────────────────────────────────────────────────╯



── fsharp ──────────────────────────────────────────────────────────────────────

let inline parse output input =

    match run blocks input with

    | Success (blocks, _, _) ->

        let blocks =

            blocks

            |> List.filter (fun block ->

                block.magic |> kernelOutputs |> List.contains output || 

block.magic = "markdown"

            )

        

        match blocks with

        | { magic = "markdown"; content = content } :: _

            when output = Fs

            && content |> String.startsWith "# "

            && content |> String.endsWith ")"

            ->

            let inline indentBlock (block : Block) =

                { block with

                    content =

                        block.content

                        |> String.split [[| '\n' |]]

                        |> Array.fold

                            (fun (lines, isMultiline) line ->

                                let trimmedLine = line |> String.trim

                                if trimmedLine = ""

                                then "" :: lines, isMultiline

                                else

                                    let inline singleQuoteLine () =

                                        trimmedLine |> Seq.sumBy ((=) '"' >> 

System.Convert.ToInt32) = 1

                                        && trimmedLine |> String.contains 

@"'""'" |> not

                                        && trimmedLine |> String.endsWith "{" |>

not

                                        && trimmedLine |> String.endsWith "{|" 

|> not

                                        && trimmedLine |> String.startsWith "}" 

|> not

                                        && trimmedLine |> String.startsWith "|}"

|> not



                                    match isMultiline, trimmedLine |> 

String.splitString [[| $"{q}{q}{q}" |]] with

                                    | false, [[| _; _ |]] ->

                                        $"    {line}" :: lines, true



                                    | true, [[| _; _ |]] ->

                                        line :: lines, false



                                    | false, _ when singleQuoteLine () ->

                                        $"    {line}" :: lines, true



                                    | false, _ when line |> String.startsWith 

"#" && block.magic = "fsharp" ->

                                        line :: lines, false



                                    | false, _ ->

                                        $"    {line}" :: lines, false



                                    | true, _ when singleQuoteLine () && line |>

String.startsWith "    " ->

                                        $"    {line}" :: lines, false



                                    | true, _ when singleQuoteLine () ->

                                        line :: lines, false



                                    | true, _ ->

                                        line :: lines, true

                            )

                            ([[]], false)

                        |> fst

                        |> List.rev

                        |> String.concat "\n"

                }



            let moduleName, namespaceName =

                System.Text.RegularExpressions.Regex.Match (content, @"# (.*) 

\((.*)\)$")

                |> fun m -> m.Groups.[[1]].Value, m.Groups.[[2]].Value



            let moduleBlock =

                {

                    magic = "fsharp"

                    content =

                        $"#if !INTERACTIVE

namespace {namespaceName}

#endif



module {moduleName} ="

                }



            blocks

            |> List.indexed

            |> List.fold

                (fun blocks (index, block) ->

                    match index with

                    | 0 -> blocks

                    | 1 -> indentBlock block :: moduleBlock :: blocks

                    | _ -> indentBlock block :: blocks

                )

                [[]]

            |> List.rev

        | _ -> blocks

        |> Result.Ok

    | Failure (errorMsg, _, _) -> Result.Error errorMsg



── fsharp ──────────────────────────────────────────────────────────────────────

//// test



let example1 =

    $"""#!meta



{{"kernelInfo":{{"defaultKernelName":"fsharp","items":[[{{"aliases":[[]],"name":

"fsharp"}},{{"aliases":[[]],"name":"fsharp"}}]]}}}}



\#!markdown



# TestModule (TestNamespace)



\#!fsharp



\#!import file.dib



\#!fsharp



\#r "nuget:Expecto"



\#!markdown



## ParserLibrary



\#!fsharp



open System



\#!markdown



## x (test)



\#!fsharp



//// ignore



let x = 1



\#!spiral



// // test



inl x = 0i32



\#!spiral



inl x = 0i32



\#!markdown



### TextInput



\#!fsharp



let str1 = "abc

def"



let str2 =

    "abc\

def"



let str3 =

    $"1{{

        1

    }}1"



let str4 =

    $"1{{({{|

        a = 1

    |}}).a}}1"



let str5 =

    "abc \

        def"



let x =

    match '"' with

    | '"' -> true

    | _ -> false



let long1 = {q}{q}{q}a{q}{q}{q}



let long2 =

    {q}{q}{q}

a

{q}{q}{q}



\#!fsharp



type Position =

    {{

#if INTERACTIVE

        line : string

#else

        line : int

#endif

        column : int

    }}"""

    |> escapeCell



── fsharp ──────────────────────────────────────────────────────────────────────

//// test



example1

|> parse Fs

|> Result.toOption

|> Option.get

|> (formatBlocks Fs)

|> _equal $"""#if !INTERACTIVE

namespace TestNamespace

#endif



module TestModule =



    /// ## ParserLibrary



    open System



    /// ### TextInput



    let str1 = "abc

def"



    let str2 =

        "abc\

def"



    let str3 =

        $"1{{

            1

        }}1"



    let str4 =

        $"1{{({{|

            a = 1

        |}}).a}}1"



    let str5 =

        "abc \

            def"



    let x =

        match '"' with

        | '"' -> true

        | _ -> false



    let long1 = {q}{q}{q}a{q}{q}{q}



    let long2 =

        {q}{q}{q}

a

{q}{q}{q}



    type Position =

        {{

#if INTERACTIVE

            line : string

#else

            line : int

#endif

            column : int

        }}

"""



╭─[ 158.76ms - stdout ]────────────────────────────────────────────────────────╮

│ #if !INTERACTIVE                                                             │

│ namespace TestNamespace                                                      │

│ #endif                                                                       │

│                                                                              │

│ module TestModule =                                                          │

│                                                                              │

│     /// ## ParserLibrary                                                     │

│                                                                              │

│     open System                                                              │

│                                                                              │

│     /// ### TextInput                                                        │

│                                                                              │

│     let str1 = "abc                                                          │

│ def"                                                                         │

│                                                                              │

│     let str2 =                                                               │

│         "abc\                                                                │

│ def"                                                                         │

│                                                                              │

│     let str3 =                                                               │

│         $"1{                                                                 │

│             1                                                                │

│         }1"                                                                  │

│                                                                              │

│     let str4 =                                                               │

│         $"1{({|                                                              │

│             a = 1                                                            │

│         |}).a}1"                                                             │

│                                                                              │

│     let str5 =                                                               │

│         "abc \                                                               │

│             def"                                                             │

│                                                                              │

│     let x =                                                                  │

│         match '"' with                                                       │

│         | '"' -> true                                                        │

│         | _ -> false                                                         │

│                                                                              │

│     let long1 = """a"""                                                      │

│                                                                              │

│     let long2 =                                                              │

│         """                                                                  │

│ a                                                                            │

│ """                                                                          │

│                                                                              │

│     type Position =                                                          │

│         {                                                                    │

│ #if INTERACTIVE                                                              │

│             line : string                                                    │

│ #else                                                                        │

│             line : int                                                       │

│ #endif                                                                       │

│             column : int                                                     │

│         }                                                                    │

│                                                                              │

│                                                                              │

╰──────────────────────────────────────────────────────────────────────────────╯



── fsharp ──────────────────────────────────────────────────────────────────────

//// test



example1

|> parse Md

|> Result.toOption

|> Option.get

|> (formatBlocks Md)

|> _equal "# TestModule (TestNamespace)



## ParserLibrary



### TextInput

"



╭─[ 142.38ms - stdout ]────────────────────────────────────────────────────────╮

│ # TestModule (TestNamespace)                                                 │

│                                                                              │

│ ## ParserLibrary                                                             │

│                                                                              │

│ ### TextInput                                                                │

│                                                                              │

│                                                                              │

╰──────────────────────────────────────────────────────────────────────────────╯



── fsharp ──────────────────────────────────────────────────────────────────────

//// test



example1

|> parse Spi

|> Result.toOption

|> Option.get

|> (formatBlocks Spi)

|> _equal "// // # TestModule (TestNamespace)



// // ## ParserLibrary



inl x = 0i32



// // ### TextInput

"



╭─[ 141.84ms - stdout ]────────────────────────────────────────────────────────╮

│ // // # TestModule (TestNamespace)                                           │

│                                                                              │

│ // // ## ParserLibrary                                                       │

│                                                                              │

│ inl x = 0i32                                                                 │

│                                                                              │

│ // // ### TextInput                                                          │

│                                                                              │

│                                                                              │

╰──────────────────────────────────────────────────────────────────────────────╯



── markdown ────────────────────────────────────────────────────────────────────

╭──────────────────────────────────────────────────────────────────────────────╮

│ ## parseDibCode                                                              │

╰──────────────────────────────────────────────────────────────────────────────╯



── fsharp ──────────────────────────────────────────────────────────────────────

let inline parseDibCode output file = async {

    let getLocals () = $"output: {output} / file: {file} / {getLocals ()}"

    trace Debug (fun () -> "parseDibCode") getLocals

    let! input = file |> FileSystem.readAllTextAsync

    match parse output input with

    | Result.Ok blocks -> return blocks |> formatBlocks output

    | Result.Error msg -> return failwith msg

}



── markdown ────────────────────────────────────────────────────────────────────

╭──────────────────────────────────────────────────────────────────────────────╮

│ ## writeDibCode                                                              │

╰──────────────────────────────────────────────────────────────────────────────╯



── fsharp ──────────────────────────────────────────────────────────────────────

let inline writeDibCode output path = async {

    let getLocals () = $"output: {output} / path: {path} / {getLocals ()}"

    trace Debug (fun () -> "writeDibCode") getLocals

    let! result = parseDibCode output path

    let outputPath = path |> String.replace ".dib" $".{output |> string |> 

String.toLower}"

    do! result |> FileSystem.writeAllTextAsync outputPath

}



── markdown ────────────────────────────────────────────────────────────────────

╭──────────────────────────────────────────────────────────────────────────────╮

│ ## Arguments                                                                 │

╰──────────────────────────────────────────────────────────────────────────────╯



── fsharp ──────────────────────────────────────────────────────────────────────

[[<RequireQualifiedAccess>]]

type Arguments =

    | [[<Argu.ArguAttributes.MainCommand; Argu.ArguAttributes.Mandatory>]]

        File of file : string * Output



    interface Argu.IArgParserTemplate with

        member s.Usage =

            match s with

            | File _ -> nameof File



── fsharp ──────────────────────────────────────────────────────────────────────

//// test



Argu.ArgumentParser.Create<Arguments>().PrintUsage ()



╭─[ 103.33ms - return value ]──────────────────────────────────────────────────╮

│ USAGE: dotnet.exe [--help] <file> <fs|md|spi|spir>                           │

│                                                                              │

│ FILE:                                                                        │

│                                                                              │

│     <file> <fs|md|spi|spir>                                                  │

│                           File                                               │

│                                                                              │

│ OPTIONS:                                                                     │

│                                                                              │

│     --help                display this list of options.                      │

│                                                                              │

╰──────────────────────────────────────────────────────────────────────────────╯



── markdown ────────────────────────────────────────────────────────────────────

╭──────────────────────────────────────────────────────────────────────────────╮

│ ## main                                                                      │

╰──────────────────────────────────────────────────────────────────────────────╯



── fsharp ──────────────────────────────────────────────────────────────────────

let main args =

    let argsMap = args |> Runtime.parseArgsMap<Arguments>



    let files =

        argsMap.[[nameof Arguments.File]]

        |> List.map (function

            | Arguments.File (path, output) -> path, output

        )



    files

    |> List.map (fun (path, output) -> path |> writeDibCode output)

    |> Async.Parallel

    |> Async.Ignore

    |> Async.runWithTimeout 30000

    |> function

        | Some () -> 0

        | None -> 1



── fsharp ──────────────────────────────────────────────────────────────────────

//// test



let args =

    System.Environment.GetEnvironmentVariable "ARGS"

    |> Runtime.splitArgs

    |> Seq.toArray



match args with

| [[||]] -> 0

| args -> if main args = 0 then 0 else failwith "main failed"



╭─[ 139.73ms - return value ]──────────────────────────────────────────────────╮

│ <div class="dni-plaintext"><pre>0</pre></div><style>                         │

│ .dni-code-hint {                                                             │

│     font-style: italic;                                                      │

│     overflow: hidden;                                                        │

│     white-space: nowrap;                                                     │

│ }                                                                            │

│ .dni-treeview {                                                              │

│     white-space: nowrap;                                                     │

│ }                                                                            │

│ .dni-treeview td {                                                           │

│     vertical-align: top;                                                     │

│     text-align: start;                                                       │

│ }                                                                            │

│ details.dni-treeview {                                                       │

│     padding-left: 1em;                                                       │

│ }                                                                            │

│ table td {                                                                   │

│     text-align: start;                                                       │

│ }                                                                            │

│ table tr {                                                                   │

│     vertical-align: top;                                                     │

│     margin: 0em 0px;                                                         │

│ }                                                                            │

│ table tr td pre                                                              │

│ {                                                                            │

│     vertical-align: top !important;                                          │

│     margin: 0em 0px !important;                                              │

│ }                                                                            │

│ table th {                                                                   │

│     text-align: start;                                                       │

│ }                                                                            │

│ </style>                                                                     │

╰──────────────────────────────────────────────────────────────────────────────╯



╭─[ 151.10ms - stdout ]────────────────────────────────────────────────────────╮

│ 00:00:00 #1 [Debug] writeDibCode / output: Fs / path: DibParser.dib          │

│ 00:00:00 #2 [Debug] parseDibCode / output: Fs / file: DibParser.dib          │

│                                                                              │

╰──────────────────────────────────────────────────────────────────────────────╯

[NbConvertApp] Converting notebook DibParser.dib.ipynb to html

C:\Users\i574n\scoop\apps\python\current\Lib\site-packages\nbformat\__init__.py:93: MissingIDFieldWarning: Code cell is missing an id field, this will become a hard error in future nbformat versions. You may want to use `normalize()` on your notebooks before validations (available since nbformat 5.1.4). Previous versions of nbformat are fixing this issue transparently, and will stop doing so in the future.

  validate(nb)

C:\Users\i574n\scoop\apps\python\current\Lib\site-packages\nbconvert\filters\highlight.py:71: UserWarning: IPython3 lexer unavailable, falling back on Python 3

  return _pygments_highlight(

[NbConvertApp] Writing 365540 bytes to DibParser.dib.html

00:00:00 #1 [Debug] persistCodeProject / packages: [Argu; FParsec; FSharp.Control.AsyncSeq; ... ] / modules: [lib/fsharp/Common.fs; lib/fsharp/CommonFSharp.fs; lib/fsharp/Async.fs; ... ] / name: DibParser / code.Length: 9066

00:00:00 #2 [Debug] buildProject / fullPath: C:\home\git\polyglot\target\polyglot\builder\DibParser\DibParser.fsproj

00:00:00 #3 [Debug] executeAsync / options: { Command =

   "dotnet publish "C:\home\git\polyglot\target/polyglot/builder\DibParser\DibParser.fsproj" --configuration Release --output "C:\home\git\polyglot\apps\parser\dist" --runtime linux-x64"

  WorkingDirectory =

   Some "C:\home\git\polyglot\target\polyglot\builder\DibParser"

  CancellationToken = None

  OnLine = None }

00:00:00 #4 [Verbose] > MSBuild version 17.8.3+195e7f5a3 for .NET

00:00:00 #5 [Verbose] >   Determining projects to restore...

00:00:01 #6 [Verbose] >   Restored C:\home\git\polyglot\target\polyglot\builder\DibParser\DibParser.fsproj (in 364 ms).

00:00:07 #7 [Verbose] >   DibParser -> C:\home\git\polyglot\target\polyglot\builder\DibParser\bin\Release\net8.0\linux-x64\DibParser.dll

00:00:08 #8 [Verbose] >   DibParser -> C:\home\git\polyglot\apps\parser\dist\

00:00:08 #9 [Debug] executeAsync / exitCode: 0 / output.Length: 341

00:00:08 #10 [Debug] executeAsync / options: { Command =

   "dotnet publish "C:\home\git\polyglot\target/polyglot/builder\DibParser\DibParser.fsproj" --configuration Release --output "C:\home\git\polyglot\apps\parser\dist" --runtime win-x64"

  WorkingDirectory =

   Some "C:\home\git\polyglot\target\polyglot\builder\DibParser"

  CancellationToken = None

  OnLine = None }

00:00:08 #11 [Verbose] > MSBuild version 17.8.3+195e7f5a3 for .NET

00:00:09 #12 [Verbose] >   Determining projects to restore...

00:00:09 #13 [Verbose] >   Restored C:\home\git\polyglot\target\polyglot\builder\DibParser\DibParser.fsproj (in 336 ms).

00:00:15 #14 [Verbose] >   DibParser -> C:\home\git\polyglot\target\polyglot\builder\DibParser\bin\Release\net8.0\win-x64\DibParser.dll

00:00:18 #15 [Verbose] >   DibParser -> C:\home\git\polyglot\apps\parser\dist\

00:00:18 #16 [Debug] executeAsync / exitCode: 0 / output.Length: 339



── markdown ────────────────────────────────────────────────────────────────────

╭──────────────────────────────────────────────────────────────────────────────╮

│ # JsonParser (Polyglot)                                                      │

╰──────────────────────────────────────────────────────────────────────────────╯



── fsharp ──────────────────────────────────────────────────────────────────────

#!import ../../lib/fsharp/Testing.dib



── fsharp - import ─────────────────────────────────────────────────────────────

#r 

"C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.A

spNetCore.Html.Abstractions.dll"

#r 

"C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D

otNet.Interactive.dll"

#r 

"C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D

otNet.Interactive.FSharp.dll"

#r 

"C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D

otNet.Interactive.Formatting.dll"

open System

open System.IO

open System.Text

open Microsoft.DotNet.Interactive.Formatting



── fsharp - import ─────────────────────────────────────────────────────────────

#r 

"C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D

otNet.Interactive.FSharp.dll"

open Microsoft.DotNet.Interactive.FSharp.FSharpKernelHelpers

#r 

"C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D

otNet.Interactive.dll"

open type Microsoft.DotNet.Interactive.Kernel



── fsharp - import ─────────────────────────────────────────────────────────────

#r @"../../../../../../../.nuget/packages/expecto/10.1.0/lib/net6.0/Expecto.dll"



── fsharp - import ─────────────────────────────────────────────────────────────

//// test



Formatter.ListExpansionLimit <- 100



── fsharp - import ─────────────────────────────────────────────────────────────

//// test



type AssertExceptionFormatter (ex) =

    member _.Text =

        ex.ToString()

            .Replace("32m", "<span style=\"color: green;\">")

            .Replace("36m", "</span>")

            .Replace("31m", "<span style=\"color: red;\">")

            .Replace("\n", "<br/>\n")





Formatter.Register<AssertExceptionFormatter> ((fun (x : 

AssertExceptionFormatter) -> x.Text), "text/html")



── fsharp - import ─────────────────────────────────────────────────────────────

//// test



let inline __expect fn log expected actual =

    if log then printfn $"{actual.ToDisplayString ()}"

    try

        "Testing.__expect" |> fn actual expected

    with :? Expecto.AssertException as ex ->

        AssertExceptionFormatter(ex).Display () |> ignore

        failwith (ex.GetType().FullName)



let inline __contains log expected actual = __expect Expecto.Expect.contains log

expected actual

let inline _contains expected actual = __contains true expected actual



let inline __equal log expected actual = __expect Expecto.Expect.equal log 

expected actual

let inline _equal expected actual = __equal true expected actual



let inline __isGreaterThan log expected actual = __expect 

Expecto.Expect.isGreaterThan log expected actual

let ...



── fsharp - import ─────────────────────────────────────────────────────────────

//// test



let inline __isBetween log a b actual =

    let inline isBetween actual (a, b) _ =

        __isGreaterThanOrEqual log a actual

        __isLessThanOrEqual log b actual

    __expect isBetween log (a, b) actual

let inline _isBetween a b actual = __isBetween true a b actual



── fsharp ──────────────────────────────────────────────────────────────────────

#!import ../../lib/fsharp/Common.fs

#!import Parser.fs



── fsharp - import ─────────────────────────────────────────────────────────────

#if !INTERACTIVE

namespace Polyglot

#endif



module Common =



    let nl = System.Environment.NewLine

    let q = @""""



    let inline cons head tail = head :: tail



    module String =

        let inline contains (value : string) (input : string) =

            input.Contains value



        let inline endsWith (value : string) (input : string) =

            input.EndsWith value



        let inline padLeft totalWidth paddingChar (input : string) =

            input.PadLeft (totalWidth, paddingChar)



        let inline replace (oldValue : string) (newValue : string) (input : 

string) =

            input.Replace (oldValue, newValue)



        let inline split separator (input : string) =

            input.Split separator



        let inline spli...



── fsharp - import ─────────────────────────────────────────────────────────────

#if !INTERACTIVE

namespace Polyglot

#endif



module Parser =



    open Common



    /// ### TextInput



    type Position =

        {

            line : int

            column : int

        }



    let initialPos = { line = 0; column = 0 }



    let inline incrCol (pos : Position) =

        { pos with column = pos.column + 1 }



    let inline incrLine pos =

        { line = pos.line + 1; column = 0 }



    type InputState =

        {

            lines : string[[]]

            position : Position

        }



    let inline fromStr str =

        {

            lines =

                if str |> String.IsNullOrEmpty

                then [[||]]

                else str |> String.splitString [[| "\r\n"; "\n" |]]

            position = initialPos

        }



   ...



── fsharp ──────────────────────────────────────────────────────────────────────

open Common

open Parser



── markdown ────────────────────────────────────────────────────────────────────

╭──────────────────────────────────────────────────────────────────────────────╮

│ ## JsonParser                                                                │

╰──────────────────────────────────────────────────────────────────────────────╯



── fsharp ──────────────────────────────────────────────────────────────────────

(*

// --------------------------------

JSON spec from http://www.json.org/

// --------------------------------



The JSON spec is available at [[json.org]](http://www.json.org/). I'll paraphase

it here:



* A `value` can be a `string` or a `number` or a `bool` or `null` or an `object`

or an `array`.

  * These structures can be nested.

* A `string` is a sequence of zero or more Unicode characters, wrapped in double

quotes, using backslash escapes.

* A `number` is very much like a C or Java number, except that the octal and 

hexadecimal formats are not used.

* A `boolean` is the literal `true` or `false`

* A `null` is the literal `null`

* An `object` is an unordered set of name/value pairs.

  * An object begins with { (left brace) and ends with } (right brace).

  * Each name is followed by : (colon) and the name/value pairs are separated by

, (comma).

* An `array` is an ordered collection of values.

  * An array begins with [[ (left bracket) and ends with ]] (right bracket).

  * Values are separated by , (comma).

* Whitespace can be inserted between any pair of tokens.



*)



── fsharp ──────────────────────────────────────────────────────────────────────

//// test



let inline parserEqual (expected : ParseResult<'a>) (actual : ParseResult<'a * 

Input>) =

    match actual, expected with

    | Success (_actual, _), Success _expected ->

        printResult actual

        _actual |> _equal _expected

    | Failure (l1, e1, p1), Failure (l2, e2, p2) when l1 = l2 && e1 = e2 && p1 =

p2 ->

        printResult actual

    | _ ->

        printfn $"Actual: {actual}"

        printfn $"Expected: {expected}"

        failwith "Parse failed"

    actual



── markdown ────────────────────────────────────────────────────────────────────

╭──────────────────────────────────────────────────────────────────────────────╮

│ ### JValue                                                                   │

╰──────────────────────────────────────────────────────────────────────────────╯



── fsharp ──────────────────────────────────────────────────────────────────────

type JValue =

    | JString of string

    | JNumber of float

    | JBool   of bool

    | JNull

    | JObject of Map<string, JValue>

    | JArray  of JValue list



── fsharp ──────────────────────────────────────────────────────────────────────

let jValue, jValueRef = createParserForwardedToRef<JValue> ()



── markdown ────────────────────────────────────────────────────────────────────

╭──────────────────────────────────────────────────────────────────────────────╮

│ ### jNull                                                                    │

╰──────────────────────────────────────────────────────────────────────────────╯



── fsharp ──────────────────────────────────────────────────────────────────────

let jNull =

    pstring "null"

    >>% JNull

    <?> "null"



── fsharp ──────────────────────────────────────────────────────────────────────

//// test



jValueRef <|

    choice

        [[

            jNull

        ]]



── fsharp ──────────────────────────────────────────────────────────────────────

//// test



run jValue "null"

|> parserEqual (Success JNull)



╭─[ 203.89ms - return value ]──────────────────────────────────────────────────╮

│ <details open="open" class="dni-treeview"><summary><span                     │

│ class="dni-code-hint"><code>Success (JNull, { lines = [                      │

│ |&quot;null&quot;|]<br/>                  position = { line = 0<br/>         │

│ column = 4 }                                                                 │

│ })</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td │

│ >Item</td><td><details class="dni-treeview"><summary><span                   │

│ class="dni-code-hint"><code>(JNull, { lines = [|&quot;null&quot;|]<br/>      │

│ position = { line = 0<br/>               column = 4 }                        │

│ })</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td │

│ >Item1</td><td><details class="dni-treeview"><summary><span                  │

│ class="dni-code-hint"><code>JNull</code></span></summary><div><table><thead> │

│ <tr></tr></thead><tbody></tbody></table></div></deta...                      │

╰──────────────────────────────────────────────────────────────────────────────╯



╭─[ 213.98ms - stdout ]────────────────────────────────────────────────────────╮

│ JNull                                                                        │

│ JNull                                                                        │

│                                                                              │

╰──────────────────────────────────────────────────────────────────────────────╯



── fsharp ──────────────────────────────────────────────────────────────────────

//// test



run jNull "nulp"

|> parserEqual (

    Failure (

        "null",

        "Unexpected 'p'",

        { currentLine = "nulp"; line = 0; column = 3 }

    )

)



╭─[ 48.07ms - return value ]───────────────────────────────────────────────────╮

│ <details open="open" class="dni-treeview"><summary><span                     │

│ class="dni-code-hint"><code>Failure (&quot;null&quot;, &quot;Unexpected      │

│ &#39;p&#39;&quot;, { currentLine = &quot;nulp&quot;<br/>                     │

│ line = 0<br/>                                     column = 3                 │

│ })</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td │

│ >Item1</td><td><div                                                          │

│ class="dni-plaintext"><pre>null</pre></div></td></tr><tr><td>Item2</td><td>< │

│ div class="dni-plaintext"><pre>Unexpected                                    │

│ &#39;p&#39;</pre></div></td></tr><tr><td>Item3</td><td><details              │

│ class="dni-treeview"><summary><span class="dni-code-hint"><code>{            │

│ currentLine = &quot;nulp&quot;<br/>  line = 0<br/>  column = 3               │

│ }</code></span></summary><div><table><thead><tr></tr></thead...              │

╰──────────────────────────────────────────────────────────────────────────────╯



╭─[ 54.78ms - stdout ]─────────────────────────────────────────────────────────╮

│ Line:0 Col:3 Error parsing null                                              │

│ nulp                                                                         │

│    ^Unexpected 'p'                                                           │

│                                                                              │

╰──────────────────────────────────────────────────────────────────────────────╯



── markdown ────────────────────────────────────────────────────────────────────

╭──────────────────────────────────────────────────────────────────────────────╮

│ ### jBool                                                                    │

╰──────────────────────────────────────────────────────────────────────────────╯



── fsharp ──────────────────────────────────────────────────────────────────────

let jBool =

    let jtrue =

        pstring "true"

        >>% JBool true

    let jfalse =

        pstring "false"

        >>% JBool false



    jtrue <|> jfalse

    <?> "bool"



── fsharp ──────────────────────────────────────────────────────────────────────

//// test



jValueRef <|

    choice

        [[

            jNull

            jBool

        ]]



── fsharp ──────────────────────────────────────────────────────────────────────

//// test



run jBool "true"

|> parserEqual (Success (JBool true))



╭─[ 45.27ms - return value ]───────────────────────────────────────────────────╮

│ <details open="open" class="dni-treeview"><summary><span                     │

│ class="dni-code-hint"><code>Success (JBool true, { lines = [                 │

│ |&quot;true&quot;|]<br/>                       position = { line = 0<br/>    │

│ column = 4 }                                                                 │

│ })</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td │

│ >Item</td><td><details class="dni-treeview"><summary><span                   │

│ class="dni-code-hint"><code>(JBool true, { lines = [|&quot;true&quot;|]<br/> │

│ position = { line = 0<br/>               column = 4 }                        │

│ })</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td │

│ >Item1</td><td><details class="dni-treeview"><summary><span                  │

│ class="dni-code-hint"><code>JBool                                            │

│ true</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr.. │

│ .                                                                            │

╰──────────────────────────────────────────────────────────────────────────────╯



╭─[ 51.99ms - stdout ]─────────────────────────────────────────────────────────╮

│ JBool true                                                                   │

│ JBool                                                                        │

│       Item: True                                                             │

│                                                                              │

╰──────────────────────────────────────────────────────────────────────────────╯



── fsharp ──────────────────────────────────────────────────────────────────────

//// test



run jBool "false"

|> parserEqual (Success (JBool false))



╭─[ 41.38ms - return value ]───────────────────────────────────────────────────╮

│ <details open="open" class="dni-treeview"><summary><span                     │

│ class="dni-code-hint"><code>Success (JBool false, { lines = [                │

│ |&quot;false&quot;|]<br/>                        position = { line = 0<br/>  │

│ column = 5 }                                                                 │

│ })</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td │

│ >Item</td><td><details class="dni-treeview"><summary><span                   │

│ class="dni-code-hint"><code>(JBool false, { lines = [                        │

│ |&quot;false&quot;|]<br/>  position = { line = 0<br/>               column = │

│ 5 }                                                                          │

│ })</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td │

│ >Item1</td><td><details class="dni-treeview"><summary><span                  │

│ class="dni-code-hint"><code>JBool                                            │

│ false</code></span></summary><div><table><thead><tr></tr></thead><tb...      │

╰──────────────────────────────────────────────────────────────────────────────╯



╭─[ 48.23ms - stdout ]─────────────────────────────────────────────────────────╮

│ JBool false                                                                  │

│ JBool                                                                        │

│       Item: False                                                            │

│                                                                              │

╰──────────────────────────────────────────────────────────────────────────────╯



── fsharp ──────────────────────────────────────────────────────────────────────

//// test



run jBool "truX"

|> parserEqual (

    Failure (

        "bool",

        "Unexpected 't'",

        { currentLine = "truX"; line = 0; column = 0 }

    )

)



╭─[ 26.86ms - return value ]───────────────────────────────────────────────────╮

│ <details open="open" class="dni-treeview"><summary><span                     │

│ class="dni-code-hint"><code>Failure (&quot;bool&quot;, &quot;Unexpected      │

│ &#39;t&#39;&quot;, { currentLine = &quot;truX&quot;<br/>                     │

│ line = 0<br/>                                     column = 0                 │

│ })</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td │

│ >Item1</td><td><div                                                          │

│ class="dni-plaintext"><pre>bool</pre></div></td></tr><tr><td>Item2</td><td>< │

│ div class="dni-plaintext"><pre>Unexpected                                    │

│ &#39;t&#39;</pre></div></td></tr><tr><td>Item3</td><td><details              │

│ class="dni-treeview"><summary><span class="dni-code-hint"><code>{            │

│ currentLine = &quot;truX&quot;<br/>  line = 0<br/>  column = 0               │

│ }</code></span></summary><div><table><thead><tr></tr></thead...              │

╰──────────────────────────────────────────────────────────────────────────────╯



╭─[ 33.26ms - stdout ]─────────────────────────────────────────────────────────╮

│ Line:0 Col:0 Error parsing bool                                              │

│ truX                                                                         │

│ ^Unexpected 't'                                                              │

│                                                                              │

╰──────────────────────────────────────────────────────────────────────────────╯



── markdown ────────────────────────────────────────────────────────────────────

╭──────────────────────────────────────────────────────────────────────────────╮

│ ### jUnescapedChar                                                           │

╰──────────────────────────────────────────────────────────────────────────────╯



── fsharp ──────────────────────────────────────────────────────────────────────

let jUnescapedChar =

    satisfy (fun ch -> ch <> '\\' && ch <> '\"') "char"



── fsharp ──────────────────────────────────────────────────────────────────────

//// test



run jUnescapedChar "a"

|> parserEqual (Success 'a')



╭─[ 54.01ms - return value ]───────────────────────────────────────────────────╮

│ <details open="open" class="dni-treeview"><summary><span                     │

│ class="dni-code-hint"><code>Success (&#39;a&#39;, { lines = [                │

│ |&quot;a&quot;|]<br/>                position = { line = 0<br/>              │

│ column = 1 }                                                                 │

│ })</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td │

│ >Item</td><td><details class="dni-treeview"><summary><span                   │

│ class="dni-code-hint"><code>(a, { lines = [|&quot;a&quot;|]<br/>  position = │

│ { line = 0<br/>               column = 1 }                                   │

│ })</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td │

│ >Item1</td><td><div                                                          │

│ class="dni-plaintext"><pre>a</pre></div></td></tr><tr><td>Item2</td><td><det │

│ ails class="dni-treeview"><summary><span class="dni-code-hint"><code>{ lines │

│ = [|&quot;a&quot;|]<br/...                                                   │

╰──────────────────────────────────────────────────────────────────────────────╯



╭─[ 60.95ms - stdout ]─────────────────────────────────────────────────────────╮

│ 'a'                                                                          │

│ a                                                                            │

│                                                                              │

╰──────────────────────────────────────────────────────────────────────────────╯



── fsharp ──────────────────────────────────────────────────────────────────────

//// test



run jUnescapedChar "\\"

|> parserEqual (

    Failure (

        "char",

        "Unexpected '\\'",

        { currentLine = "\\"; line = 0; column = 0 }

    )

)



╭─[ 35.63ms - return value ]───────────────────────────────────────────────────╮

│ <details open="open" class="dni-treeview"><summary><span                     │

│ class="dni-code-hint"><code>Failure (&quot;char&quot;, &quot;Unexpected      │

│ &#39;\&#39;&quot;, { currentLine = &quot;\&quot;<br/>                        │

│ line = 0<br/>                                     column = 0                 │

│ })</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td │

│ >Item1</td><td><div                                                          │

│ class="dni-plaintext"><pre>char</pre></div></td></tr><tr><td>Item2</td><td>< │

│ div class="dni-plaintext"><pre>Unexpected                                    │

│ &#39;\&#39;</pre></div></td></tr><tr><td>Item3</td><td><details              │

│ class="dni-treeview"><summary><span class="dni-code-hint"><code>{            │

│ currentLine = &quot;\&quot;<br/>  line = 0<br/>  column = 0                  │

│ }</code></span></summary><div><table><thead><tr></tr></thead><tbod...        │

╰──────────────────────────────────────────────────────────────────────────────╯



╭─[ 42.32ms - stdout ]─────────────────────────────────────────────────────────╮

│ Line:0 Col:0 Error parsing char                                              │

│ \                                                                            │

│ ^Unexpected '\'                                                              │

│                                                                              │

╰──────────────────────────────────────────────────────────────────────────────╯



── markdown ────────────────────────────────────────────────────────────────────

╭──────────────────────────────────────────────────────────────────────────────╮

│ ### jEscapedChar                                                             │

╰──────────────────────────────────────────────────────────────────────────────╯



── fsharp ──────────────────────────────────────────────────────────────────────

let jEscapedChar =

    [[

        ("\\\"",'\"')

        ("\\\\",'\\')

        ("\\/",'/')

        ("\\b",'\b')

        ("\\f",'\f')

        ("\\n",'\n')

        ("\\r",'\r')

        ("\\t",'\t')

    ]]

    |> List.map (fun (toMatch, result) ->

        pstring toMatch >>% result

    )

    |> choice

    <?> "escaped char"



── fsharp ──────────────────────────────────────────────────────────────────────

//// test



run jEscapedChar "\\\\"

|> parserEqual (Success '\\')



╭─[ 33.52ms - return value ]───────────────────────────────────────────────────╮

│ <details open="open" class="dni-treeview"><summary><span                     │

│ class="dni-code-hint"><code>Success (&#39;\\&#39;, { lines = [               │

│ |&quot;\\&quot;|]<br/>                 position = { line = 0<br/>            │

│ column = 2 }                                                                 │

│ })</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td │

│ >Item</td><td><details class="dni-treeview"><summary><span                   │

│ class="dni-code-hint"><code>(\, { lines = [|&quot;\\&quot;|]<br/>  position  │

│ = { line = 0<br/>               column = 2 }                                 │

│ })</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td │

│ >Item1</td><td><div                                                          │

│ class="dni-plaintext"><pre>\</pre></div></td></tr><tr><td>Item2</td><td><det │

│ ails class="dni-treeview"><summary><span class="dni-code-hint"><code>{ lines │

│ = [|&quot;\\&quot;...                                                        │

╰──────────────────────────────────────────────────────────────────────────────╯



╭─[ 40.51ms - stdout ]─────────────────────────────────────────────────────────╮

│ '\\'                                                                         │

│ \                                                                            │

│                                                                              │

╰──────────────────────────────────────────────────────────────────────────────╯



── fsharp ──────────────────────────────────────────────────────────────────────

//// test



run jEscapedChar "\\t"

|> parserEqual (Success '\t')



╭─[ 31.68ms - return value ]───────────────────────────────────────────────────╮

│ <details open="open" class="dni-treeview"><summary><span                     │

│ class="dni-code-hint"><code>Success (&#39;\009&#39;, { lines = [             │

│ |&quot;\t&quot;|]<br/>                   position = { line = 0<br/>          │

│ column = 2 }                                                                 │

│ })</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td │

│ >Item</td><td><details class="dni-treeview"><summary><span                   │

│ class="dni-code-hint"><code>(	, { lines = [|&quot;\t&quot;|]<br/>  position =  │

│ { line = 0<br/>               column = 2 }                                   │

│ })</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td │

│ >Item1</td><td><div class="dni-plaintext"><pre>	                               │

│ </pre></div></td></tr><tr><td>Item2</td><td><details                         │

│ class="dni-treeview"><summary><span class="dni-code-hint"><code>{ lines = [  │

│ |&quot;\t...                                                                 │

╰──────────────────────────────────────────────────────────────────────────────╯



╭─[ 38.96ms - stdout ]─────────────────────────────────────────────────────────╮

│ '\009'                                                                       │

│ 	                                                                              │

│                                                                              │

╰──────────────────────────────────────────────────────────────────────────────╯



── fsharp ──────────────────────────────────────────────────────────────────────

//// test



run jEscapedChar @"\\"

|> parserEqual (Success '\\')



╭─[ 27.86ms - return value ]───────────────────────────────────────────────────╮

│ <details open="open" class="dni-treeview"><summary><span                     │

│ class="dni-code-hint"><code>Success (&#39;\\&#39;, { lines = [               │

│ |&quot;\\&quot;|]<br/>                 position = { line = 0<br/>            │

│ column = 2 }                                                                 │

│ })</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td │

│ >Item</td><td><details class="dni-treeview"><summary><span                   │

│ class="dni-code-hint"><code>(\, { lines = [|&quot;\\&quot;|]<br/>  position  │

│ = { line = 0<br/>               column = 2 }                                 │

│ })</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td │

│ >Item1</td><td><div                                                          │

│ class="dni-plaintext"><pre>\</pre></div></td></tr><tr><td>Item2</td><td><det │

│ ails class="dni-treeview"><summary><span class="dni-code-hint"><code>{ lines │

│ = [|&quot;\\&quot;...                                                        │

╰──────────────────────────────────────────────────────────────────────────────╯



╭─[ 35.71ms - stdout ]─────────────────────────────────────────────────────────╮

│ '\\'                                                                         │

│ \                                                                            │

│                                                                              │

╰──────────────────────────────────────────────────────────────────────────────╯



── fsharp ──────────────────────────────────────────────────────────────────────

//// test



run jEscapedChar @"\n"

|> parserEqual (Success '\n')



╭─[ 29.79ms - return value ]───────────────────────────────────────────────────╮

│ <details open="open" class="dni-treeview"><summary><span                     │

│ class="dni-code-hint"><code>Success (&#39;\010&#39;, { lines = [             │

│ |&quot;<br/>&quot;|]<br/>                   position = { line = 0<br/>       │

│ column = 2 }                                                                 │

│ })</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td │

│ >Item</td><td><details class="dni-treeview"><summary><span                   │

│ class="dni-code-hint"><code>(<br/>, { lines = [|&quot;<br/>&quot;|]<br/>     │

│ position = { line = 0<br/>               column = 2 }                        │

│ })</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td │

│ >Item1</td><td><div class="dni-plaintext"><pre>                              │

│ </pre></div></td></tr><tr><td>Item2</td><td><details                         │

│ class="dni-treeview"><summary><span class="dni-code-hint"><code>{ lines =    │

│ ...                                                                          │

╰──────────────────────────────────────────────────────────────────────────────╯



╭─[ 36.59ms - stdout ]─────────────────────────────────────────────────────────╮

│ '\010'                                                                       │

│                                                                              │

│                                                                              │

│                                                                              │

╰──────────────────────────────────────────────────────────────────────────────╯



── fsharp ──────────────────────────────────────────────────────────────────────

//// test



run jEscapedChar "a"

|> parserEqual (

    Failure (

        "escaped char",

        "Unexpected 'a'",

        { currentLine = "a"; line = 0; column = 0 }

    )

)



╭─[ 24.69ms - return value ]───────────────────────────────────────────────────╮

│ <details open="open" class="dni-treeview"><summary><span                     │

│ class="dni-code-hint"><code>Failure (&quot;escaped char&quot;,               │

│ &quot;Unexpected &#39;a&#39;&quot;, { currentLine = &quot;a&quot;<br/>       │

│ line = 0<br/>                                             column = 0         │

│ })</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td │

│ >Item1</td><td><div class="dni-plaintext"><pre>escaped                       │

│ char</pre></div></td></tr><tr><td>Item2</td><td><div                         │

│ class="dni-plaintext"><pre>Unexpected                                        │

│ &#39;a&#39;</pre></div></td></tr><tr><td>Item3</td><td><details              │

│ class="dni-treeview"><summary><span class="dni-code-hint"><code>{            │

│ currentLine = &quot;a&quot;<br/>  line = 0<br/>  column = 0                  │

│ }</code></span></summary><div><tab...                                        │

╰──────────────────────────────────────────────────────────────────────────────╯



╭─[ 31.36ms - stdout ]─────────────────────────────────────────────────────────╮

│ Line:0 Col:0 Error parsing escaped char                                      │

│ a                                                                            │

│ ^Unexpected 'a'                                                              │

│                                                                              │

╰──────────────────────────────────────────────────────────────────────────────╯



── markdown ────────────────────────────────────────────────────────────────────

╭──────────────────────────────────────────────────────────────────────────────╮

│ ### jUnicodeChar                                                             │

╰──────────────────────────────────────────────────────────────────────────────╯



── fsharp ──────────────────────────────────────────────────────────────────────

let jUnicodeChar =

    let backslash = pchar '\\'

    let uChar = pchar 'u'

    let hexdigit = anyOf ([[ '0' .. '9' ]] @ [[ 'A' .. 'F' ]] @ [[ 'a' .. 'f' 

]])

    let fourHexDigits = hexdigit .>>. hexdigit .>>. hexdigit .>>. hexdigit



    let inline convertToChar (((h1, h2), h3), h4) =

        let str = $"%c{h1}%c{h2}%c{h3}%c{h4}"

        Int32.Parse (str, Globalization.NumberStyles.HexNumber) |> char



    backslash >>. uChar >>. fourHexDigits

    |>> convertToChar



── fsharp ──────────────────────────────────────────────────────────────────────

//// test



run jUnicodeChar "\\u263A"

|> parserEqual (Success '☺')



╭─[ 38.90ms - return value ]───────────────────────────────────────────────────╮

│ <details open="open" class="dni-treeview"><summary><span                     │

│ class="dni-code-hint"><code>Success (&#39;☺&#39;, { lines = [                │

│ |&quot;\u263A&quot;|]<br/>                position = { line = 0<br/>         │

│ column = 6 }                                                                 │

│ })</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td │

│ >Item</td><td><details class="dni-treeview"><summary><span                   │

│ class="dni-code-hint"><code>(☺, { lines = [|&quot;\u263A&quot;|]<br/>        │

│ position = { line = 0<br/>               column = 6 }                        │

│ })</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td │

│ >Item1</td><td><div                                                          │

│ class="dni-plaintext"><pre>☺</pre></div></td></tr><tr><td>Item2</td><td><det │

│ ails class="dni-treeview"><summary><span class="dni-code-hint"><code>{ lines │

│ = [|&quot;\u2...                                                             │

╰──────────────────────────────────────────────────────────────────────────────╯



╭─[ 46.03ms - stdout ]─────────────────────────────────────────────────────────╮

│ '☺'                                                                          │

│ ☺                                                                            │

│                                                                              │

╰──────────────────────────────────────────────────────────────────────────────╯



── markdown ────────────────────────────────────────────────────────────────────

╭──────────────────────────────────────────────────────────────────────────────╮

│ ### jString                                                                  │

╰──────────────────────────────────────────────────────────────────────────────╯



── fsharp ──────────────────────────────────────────────────────────────────────

let quotedString =

    let quote = pchar '\"' <?> "quote"

    let jchar = jUnescapedChar <|> jEscapedChar <|> jUnicodeChar



    quote >>. manyChars jchar .>> quote



── fsharp ──────────────────────────────────────────────────────────────────────

let jString =

    quotedString

    |>> JString

    <?> "quoted string"



── fsharp ──────────────────────────────────────────────────────────────────────

//// test



jValueRef <|

    choice

        [[

            jNull

            jBool

            jString

        ]]



── fsharp ──────────────────────────────────────────────────────────────────────

//// test



run jString "\"\""

|> parserEqual (Success (JString ""))



╭─[ 44.85ms - return value ]───────────────────────────────────────────────────╮

│ <details open="open" class="dni-treeview"><summary><span                     │

│ class="dni-code-hint"><code>Success (JString &quot;&quot;, { lines = [       │

│ |&quot;&quot;&quot;&quot;|]<br/>                       position = { line =   │

│ 0<br/>                                    column = 2 }                       │

│ })</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td │

│ >Item</td><td><details class="dni-treeview"><summary><span                   │

│ class="dni-code-hint"><code>(JString &quot;&quot;, { lines = [               │

│ |&quot;&quot;&quot;&quot;|]<br/>  position = { line = 0<br/>                 │

│ column = 2 }                                                                 │

│ })</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td │

│ >Item1</td><td><details class="dni-treeview"><summary><span                  │

│ class="dni-code-hint"><code>JString &quot;&quot;</code></span></summary>...  │

╰──────────────────────────────────────────────────────────────────────────────╯



╭─[ 51.70ms - stdout ]─────────────────────────────────────────────────────────╮

│ JString ""                                                                   │

│ JString                                                                      │

│       Item:                                                                  │

│                                                                              │

╰──────────────────────────────────────────────────────────────────────────────╯



── fsharp ──────────────────────────────────────────────────────────────────────

//// test



run jString "\"a\""

|> parserEqual (Success (JString "a"))



╭─[ 34.17ms - return value ]───────────────────────────────────────────────────╮

│ <details open="open" class="dni-treeview"><summary><span                     │

│ class="dni-code-hint"><code>Success (JString &quot;a&quot;, { lines = [      │

│ |&quot;&quot;a&quot;&quot;|]<br/>                        position = { line = │

│ 0<br/>                                     column = 3 }                      │

│ })</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td │

│ >Item</td><td><details class="dni-treeview"><summary><span                   │

│ class="dni-code-hint"><code>(JString &quot;a&quot;, { lines = [              │

│ |&quot;&quot;a&quot;&quot;|]<br/>  position = { line = 0<br/>                │

│ column = 3 }                                                                 │

│ })</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td │

│ >Item1</td><td><details class="dni-treeview"><summary><span                  │

│ class="dni-code-hint"><code>JString &quot;a&quot;</code></span></s...        │

╰──────────────────────────────────────────────────────────────────────────────╯



╭─[ 40.64ms - stdout ]─────────────────────────────────────────────────────────╮

│ JString "a"                                                                  │

│ JString                                                                      │

│       Item: a                                                                │

│                                                                              │

╰──────────────────────────────────────────────────────────────────────────────╯



── fsharp ──────────────────────────────────────────────────────────────────────

//// test



run jString "\"ab\""

|> parserEqual (Success (JString "ab"))



╭─[ 28.67ms - return value ]───────────────────────────────────────────────────╮

│ <details open="open" class="dni-treeview"><summary><span                     │

│ class="dni-code-hint"><code>Success (JString &quot;ab&quot;, { lines = [     │

│ |&quot;&quot;ab&quot;&quot;|]<br/>                         position = { line │

│ = 0<br/>                                      column = 4 }                   │

│ })</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td │

│ >Item</td><td><details class="dni-treeview"><summary><span                   │

│ class="dni-code-hint"><code>(JString &quot;ab&quot;, { lines = [             │

│ |&quot;&quot;ab&quot;&quot;|]<br/>  position = { line = 0<br/>               │

│ column = 4 }                                                                 │

│ })</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td │

│ >Item1</td><td><details class="dni-treeview"><summary><span                  │

│ class="dni-code-hint"><code>JString &quot;ab&quot;</code></s...              │

╰──────────────────────────────────────────────────────────────────────────────╯



╭─[ 34.85ms - stdout ]─────────────────────────────────────────────────────────╮

│ JString "ab"                                                                 │

│ JString                                                                      │

│       Item: ab                                                               │

│                                                                              │

╰──────────────────────────────────────────────────────────────────────────────╯



── fsharp ──────────────────────────────────────────────────────────────────────

//// test



run jString "\"ab\\tde\""

|> parserEqual (Success (JString "ab\tde"))



╭─[ 40.19ms - return value ]───────────────────────────────────────────────────╮

│ <details open="open" class="dni-treeview"><summary><span                     │

│ class="dni-code-hint"><code>Success (JString &quot;ab	de&quot;, { lines = [    │

│ |&quot;&quot;ab\tde&quot;&quot;|]<br/>                            position = │

│ { line = 0<br/>                                         column = 8 }         │

│ })</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td │

│ >Item</td><td><details class="dni-treeview"><summary><span                   │

│ class="dni-code-hint"><code>(JString &quot;ab	de&quot;, { lines = [            │

│ |&quot;&quot;ab\tde&quot;&quot;|]<br/>  position = { line = 0<br/>           │

│ column = 8 }                                                                 │

│ })</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td │

│ >Item1</td><td><details class="dni-treeview"><summary><span                  │

│ class="dni-code-hint"><code>JString &quo...                                  │

╰──────────────────────────────────────────────────────────────────────────────╯



╭─[ 47.09ms - stdout ]─────────────────────────────────────────────────────────╮

│ JString "ab	de"                                                                │

│ JString                                                                      │

│       Item: ab	de                                                              │

│                                                                              │

╰──────────────────────────────────────────────────────────────────────────────╯



── fsharp ──────────────────────────────────────────────────────────────────────

//// test



run jString "\"ab\\u263Ade\""

|> parserEqual (Success (JString "ab☺de"))



╭─[ 35.31ms - return value ]───────────────────────────────────────────────────╮

│ <details open="open" class="dni-treeview"><summary><span                     │

│ class="dni-code-hint"><code>Success (JString &quot;ab☺de&quot;, { lines = [  │

│ |&quot;&quot;ab\u263Ade&quot;&quot;|]<br/>                                   │

│ position = { line = 0<br/>                                         column =  │

│ 12 }                                                                         │

│ })</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td │

│ >Item</td><td><details class="dni-treeview"><summary><span                   │

│ class="dni-code-hint"><code>(JString &quot;ab☺de&quot;, { lines = [          │

│ |&quot;&quot;ab\u263Ade&quot;&quot;|]<br/>  position = { line = 0<br/>       │

│ column = 12 }                                                                │

│ })</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td │

│ >Item1</td><td><details class="dni-treeview"><summary><span                  │

│ class="dni-code-hint"><code>JS...                                            │

╰──────────────────────────────────────────────────────────────────────────────╯



╭─[ 42.51ms - stdout ]─────────────────────────────────────────────────────────╮

│ JString "ab☺de"                                                              │

│ JString                                                                      │

│       Item: ab☺de                                                            │

│                                                                              │

╰──────────────────────────────────────────────────────────────────────────────╯



── markdown ────────────────────────────────────────────────────────────────────

╭──────────────────────────────────────────────────────────────────────────────╮

│ ### jNumber                                                                  │

╰──────────────────────────────────────────────────────────────────────────────╯



── fsharp ──────────────────────────────────────────────────────────────────────

let jNumber =

    let optSign = opt (pchar '-')



    let zero = pstring "0"



    let digitOneNine =

        satisfy (fun ch -> Char.IsDigit ch && ch <> '0') "1-9"



    let digit =

        satisfy Char.IsDigit "digit"



    let point = pchar '.'



    let e = pchar 'e' <|> pchar 'E'



    let optPlusMinus = opt (pchar '-' <|> pchar '+')



    let nonZeroInt =

        digitOneNine .>>. manyChars digit

        |>> fun (first, rest) -> string first + rest



    let intPart = zero <|> nonZeroInt



    let fractionPart = point >>. manyChars1 digit



    let exponentPart = e >>. optPlusMinus .>>. manyChars1 digit



    let inline (|>?) opt f =

        match opt with

        | None -> ""

        | Some x -> f x



    let inline convertToJNumber (((optSign, intPart), fractionPart), expPart) =

        let signStr =

            optSign

            |>? string



        let fractionPartStr =

            fractionPart

            |>? (fun digits -> "." + digits)



        let expPartStr =

            expPart

            |>? fun (optSign, digits) ->

                let sign = optSign |>? string

                "e" + sign + digits



        (signStr + intPart + fractionPartStr + expPartStr)

        |> float

        |> JNumber



    optSign .>>. intPart .>>. opt fractionPart .>>. opt exponentPart

    |>> convertToJNumber

    <?> "number"



── fsharp ──────────────────────────────────────────────────────────────────────

//// test



jValueRef <|

    choice

        [[

            jNull

            jBool

            jString

            jNumber

        ]]



── fsharp ──────────────────────────────────────────────────────────────────────

//// test



run jNumber "123"

|> parserEqual (Success (JNumber 123.0))



╭─[ 63.62ms - return value ]───────────────────────────────────────────────────╮

│ <details open="open" class="dni-treeview"><summary><span                     │

│ class="dni-code-hint"><code>Success (JNumber 123.0, { lines = [              │

│ |&quot;123&quot;|]<br/>                          position = { line = 0<br/>  │

│ column = 3 }                                                                 │

│ })</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td │

│ >Item</td><td><details class="dni-treeview"><summary><span                   │

│ class="dni-code-hint"><code>(JNumber 123.0, { lines = [                      │

│ |&quot;123&quot;|]<br/>  position = { line = 0<br/>               column = 3 │

│ }                                                                            │

│ })</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td │

│ >Item1</td><td><details class="dni-treeview"><summary><span                  │

│ class="dni-code-hint"><code>JNumber                                          │

│ 123.0</code></span></summary><div><table><thead><tr></tr></the...            │

╰──────────────────────────────────────────────────────────────────────────────╯



╭─[ 70.95ms - stdout ]─────────────────────────────────────────────────────────╮

│ JNumber 123.0                                                                │

│ JNumber                                                                      │

│       Item: 123                                                              │

│                                                                              │

╰──────────────────────────────────────────────────────────────────────────────╯



── fsharp ──────────────────────────────────────────────────────────────────────

//// test



run jNumber "-123"

|> parserEqual (Success (JNumber -123.0))



╭─[ 34.79ms - return value ]───────────────────────────────────────────────────╮

│ <details open="open" class="dni-treeview"><summary><span                     │

│ class="dni-code-hint"><code>Success (JNumber -123.0, { lines = [             │

│ |&quot;-123&quot;|]<br/>                           position = { line =       │

│ 0<br/>                                        column = 4 }                   │

│ })</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td │

│ >Item</td><td><details class="dni-treeview"><summary><span                   │

│ class="dni-code-hint"><code>(JNumber -123.0, { lines = [                     │

│ |&quot;-123&quot;|]<br/>  position = { line = 0<br/>               column =  │

│ 4 }                                                                          │

│ })</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td │

│ >Item1</td><td><details class="dni-treeview"><summary><span                  │

│ class="dni-code-hint"><code>JNumber                                          │

│ -123.0</code></span></summary><div><table><thead><tr></t...                  │

╰──────────────────────────────────────────────────────────────────────────────╯



╭─[ 41.80ms - stdout ]─────────────────────────────────────────────────────────╮

│ JNumber -123.0                                                               │

│ JNumber                                                                      │

│       Item: -123                                                             │

│                                                                              │

╰──────────────────────────────────────────────────────────────────────────────╯



── fsharp ──────────────────────────────────────────────────────────────────────

//// test



run jNumber "123.4"

|> parserEqual (Success (JNumber 123.4))



╭─[ 44.39ms - return value ]───────────────────────────────────────────────────╮

│ <details open="open" class="dni-treeview"><summary><span                     │

│ class="dni-code-hint"><code>Success (JNumber 123.4, { lines = [              │

│ |&quot;123.4&quot;|]<br/>                          position = { line =       │

│ 0<br/>                                       column = 5 }                    │

│ })</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td │

│ >Item</td><td><details class="dni-treeview"><summary><span                   │

│ class="dni-code-hint"><code>(JNumber 123.4, { lines = [                      │

│ |&quot;123.4&quot;|]<br/>  position = { line = 0<br/>               column = │

│ 5 }                                                                          │

│ })</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td │

│ >Item1</td><td><details class="dni-treeview"><summary><span                  │

│ class="dni-code-hint"><code>JNumber                                          │

│ 123.4</code></span></summary><div><table><thead><tr></tr><...                │

╰──────────────────────────────────────────────────────────────────────────────╯



╭─[ 109.78ms - stdout ]────────────────────────────────────────────────────────╮

│ JNumber 123.4                                                                │

│ JNumber                                                                      │

│       Item: 123.4                                                            │

│                                                                              │

╰──────────────────────────────────────────────────────────────────────────────╯



── fsharp ──────────────────────────────────────────────────────────────────────

//// test



run jNumber "-123."

|> parserEqual (Success (JNumber -123.0))



╭─[ 57.07ms - return value ]───────────────────────────────────────────────────╮

│ <details open="open" class="dni-treeview"><summary><span                     │

│ class="dni-code-hint"><code>Success (JNumber -123.0, { lines = [             │

│ |&quot;-123.&quot;|]<br/>                           position = { line =      │

│ 0<br/>                                        column = 4 }                   │

│ })</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td │

│ >Item</td><td><details class="dni-treeview"><summary><span                   │

│ class="dni-code-hint"><code>(JNumber -123.0, { lines = [                     │

│ |&quot;-123.&quot;|]<br/>  position = { line = 0<br/>               column = │

│ 4 }                                                                          │

│ })</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td │

│ >Item1</td><td><details class="dni-treeview"><summary><span                  │

│ class="dni-code-hint"><code>JNumber                                          │

│ -123.0</code></span></summary><div><table><thead><tr><...                    │

╰──────────────────────────────────────────────────────────────────────────────╯



╭─[ 67.38ms - stdout ]─────────────────────────────────────────────────────────╮

│ JNumber -123.0                                                               │

│ JNumber                                                                      │

│       Item: -123                                                             │

│                                                                              │

╰──────────────────────────────────────────────────────────────────────────────╯



── fsharp ──────────────────────────────────────────────────────────────────────

//// test



run jNumber "00.1"

|> parserEqual (Success (JNumber 0.0))



╭─[ 40.92ms - return value ]───────────────────────────────────────────────────╮

│ <details open="open" class="dni-treeview"><summary><span                     │

│ class="dni-code-hint"><code>Success (JNumber 0.0, { lines = [                │

│ |&quot;00.1&quot;|]<br/>                        position = { line = 0<br/>   │

│ column = 1 }                                                                 │

│ })</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td │

│ >Item</td><td><details class="dni-treeview"><summary><span                   │

│ class="dni-code-hint"><code>(JNumber 0.0, { lines = [                        │

│ |&quot;00.1&quot;|]<br/>  position = { line = 0<br/>               column =  │

│ 1 }                                                                          │

│ })</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td │

│ >Item1</td><td><details class="dni-treeview"><summary><span                  │

│ class="dni-code-hint"><code>JNumber                                          │

│ 0.0</code></span></summary><div><table><thead><tr></tr></thead><tbod...      │

╰──────────────────────────────────────────────────────────────────────────────╯



╭─[ 48.06ms - stdout ]─────────────────────────────────────────────────────────╮

│ JNumber 0.0                                                                  │

│ JNumber                                                                      │

│       Item: 0                                                                │

│                                                                              │

╰──────────────────────────────────────────────────────────────────────────────╯



── fsharp ──────────────────────────────────────────────────────────────────────

//// test



let jNumber_ = jNumber .>> spaces1



── fsharp ──────────────────────────────────────────────────────────────────────

//// test



run jNumber_ "123"

|> parserEqual (Success (JNumber 123.0))



╭─[ 39.02ms - return value ]───────────────────────────────────────────────────╮

│ <details open="open" class="dni-treeview"><summary><span                     │

│ class="dni-code-hint"><code>Success (JNumber 123.0, { lines = [              │

│ |&quot;123&quot;|]<br/>                          position = { line = 1<br/>  │

│ column = 0 }                                                                 │

│ })</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td │

│ >Item</td><td><details class="dni-treeview"><summary><span                   │

│ class="dni-code-hint"><code>(JNumber 123.0, { lines = [                      │

│ |&quot;123&quot;|]<br/>  position = { line = 1<br/>               column = 0 │

│ }                                                                            │

│ })</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td │

│ >Item1</td><td><details class="dni-treeview"><summary><span                  │

│ class="dni-code-hint"><code>JNumber                                          │

│ 123.0</code></span></summary><div><table><thead><tr></tr></the...            │

╰──────────────────────────────────────────────────────────────────────────────╯



╭─[ 45.57ms - stdout ]─────────────────────────────────────────────────────────╮

│ JNumber 123.0                                                                │

│ JNumber                                                                      │

│       Item: 123                                                              │

│                                                                              │

╰──────────────────────────────────────────────────────────────────────────────╯



── fsharp ──────────────────────────────────────────────────────────────────────

//// test



run jNumber_ "-123"

|> parserEqual (Success (JNumber -123.0))



╭─[ 30.46ms - return value ]───────────────────────────────────────────────────╮

│ <details open="open" class="dni-treeview"><summary><span                     │

│ class="dni-code-hint"><code>Success (JNumber -123.0, { lines = [             │

│ |&quot;-123&quot;|]<br/>                           position = { line =       │

│ 1<br/>                                        column = 0 }                   │

│ })</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td │

│ >Item</td><td><details class="dni-treeview"><summary><span                   │

│ class="dni-code-hint"><code>(JNumber -123.0, { lines = [                     │

│ |&quot;-123&quot;|]<br/>  position = { line = 1<br/>               column =  │

│ 0 }                                                                          │

│ })</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td │

│ >Item1</td><td><details class="dni-treeview"><summary><span                  │

│ class="dni-code-hint"><code>JNumber                                          │

│ -123.0</code></span></summary><div><table><thead><tr></t...                  │

╰──────────────────────────────────────────────────────────────────────────────╯



╭─[ 37.21ms - stdout ]─────────────────────────────────────────────────────────╮

│ JNumber -123.0                                                               │

│ JNumber                                                                      │

│       Item: -123                                                             │

│                                                                              │

╰──────────────────────────────────────────────────────────────────────────────╯



── fsharp ──────────────────────────────────────────────────────────────────────

//// test



run jNumber_ "-123."

|> parserEqual (

    Failure (

        "number andThen many1 whitespace",

        "Unexpected '.'",

        { currentLine = "-123."; line = 0; column = 4 }

    )

)



╭─[ 26.77ms - return value ]───────────────────────────────────────────────────╮

│ <details open="open" class="dni-treeview"><summary><span                     │

│ class="dni-code-hint"><code>Failure<br/>  (&quot;number andThen many1        │

│ whitespace&quot;, &quot;Unexpected &#39;.&#39;&quot;, { currentLine =        │

│ &quot;-123.&quot;<br/>                                                       │

│ line = 0<br/>                                                                │

│ column = 4                                                                   │

│ })</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td │

│ >Item1</td><td><div class="dni-plaintext"><pre>number andThen many1          │

│ whitespace</pre></div></td></tr><tr><td>Item2</td><td><div                   │

│ class="dni-plaintext"><pre>Unexpected                                        │

│ &#39;.&#39;</pre></div></td></tr><tr><td>Item3</td><td><details              │

│ class="dni-treeview"><summary><span class="dni-code-hint"><code>{            │

│ currentLine = &quot;...                                                      │

╰──────────────────────────────────────────────────────────────────────────────╯



╭─[ 33.06ms - stdout ]─────────────────────────────────────────────────────────╮

│ Line:0 Col:4 Error parsing number andThen many1 whitespace                   │

│ -123.                                                                        │

│     ^Unexpected '.'                                                          │

│                                                                              │

╰──────────────────────────────────────────────────────────────────────────────╯



── fsharp ──────────────────────────────────────────────────────────────────────

//// test



run jNumber_ "123.4"

|> parserEqual (Success (JNumber 123.4))



╭─[ 33.84ms - return value ]───────────────────────────────────────────────────╮

│ <details open="open" class="dni-treeview"><summary><span                     │

│ class="dni-code-hint"><code>Success (JNumber 123.4, { lines = [              │

│ |&quot;123.4&quot;|]<br/>                          position = { line =       │

│ 1<br/>                                       column = 0 }                    │

│ })</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td │

│ >Item</td><td><details class="dni-treeview"><summary><span                   │

│ class="dni-code-hint"><code>(JNumber 123.4, { lines = [                      │

│ |&quot;123.4&quot;|]<br/>  position = { line = 1<br/>               column = │

│ 0 }                                                                          │

│ })</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td │

│ >Item1</td><td><details class="dni-treeview"><summary><span                  │

│ class="dni-code-hint"><code>JNumber                                          │

│ 123.4</code></span></summary><div><table><thead><tr></tr><...                │

╰──────────────────────────────────────────────────────────────────────────────╯



╭─[ 40.73ms - stdout ]─────────────────────────────────────────────────────────╮

│ JNumber 123.4                                                                │

│ JNumber                                                                      │

│       Item: 123.4                                                            │

│                                                                              │

╰──────────────────────────────────────────────────────────────────────────────╯



── fsharp ──────────────────────────────────────────────────────────────────────

//// test



run jNumber_ "00.4"

|> parserEqual (

    Failure (

        "number andThen many1 whitespace",

        "Unexpected '0'",

        { currentLine = "00.4"; line = 0; column = 1 }

    )

)



╭─[ 25.32ms - return value ]───────────────────────────────────────────────────╮

│ <details open="open" class="dni-treeview"><summary><span                     │

│ class="dni-code-hint"><code>Failure<br/>  (&quot;number andThen many1        │

│ whitespace&quot;, &quot;Unexpected &#39;0&#39;&quot;, { currentLine =        │

│ &quot;00.4&quot;<br/>                                                        │

│ line = 0<br/>                                                                │

│ column = 1                                                                   │

│ })</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td │

│ >Item1</td><td><div class="dni-plaintext"><pre>number andThen many1          │

│ whitespace</pre></div></td></tr><tr><td>Item2</td><td><div                   │

│ class="dni-plaintext"><pre>Unexpected                                        │

│ &#39;0&#39;</pre></div></td></tr><tr><td>Item3</td><td><details              │

│ class="dni-treeview"><summary><span class="dni-code-hint"><code>{            │

│ currentLine = &quot;0...                                                     │

╰──────────────────────────────────────────────────────────────────────────────╯



╭─[ 32.26ms - stdout ]─────────────────────────────────────────────────────────╮

│ Line:0 Col:1 Error parsing number andThen many1 whitespace                   │

│ 00.4                                                                         │

│  ^Unexpected '0'                                                             │

│                                                                              │

╰──────────────────────────────────────────────────────────────────────────────╯



── fsharp ──────────────────────────────────────────────────────────────────────

//// test



run jNumber_ "123e4"

|> parserEqual (Success (JNumber 1230000.0))



╭─[ 37.27ms - return value ]───────────────────────────────────────────────────╮

│ <details open="open" class="dni-treeview"><summary><span                     │

│ class="dni-code-hint"><code>Success (JNumber 1230000.0, { lines = [          │

│ |&quot;123e4&quot;|]<br/>                              position = { line =   │

│ 1<br/>                                           column = 0 }                │

│ })</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td │

│ >Item</td><td><details class="dni-treeview"><summary><span                   │

│ class="dni-code-hint"><code>(JNumber 1230000.0, { lines = [                  │

│ |&quot;123e4&quot;|]<br/>  position = { line = 1<br/>               column = │

│ 0 }                                                                          │

│ })</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td │

│ >Item1</td><td><details class="dni-treeview"><summary><span                  │

│ class="dni-code-hint"><code>JNumber                                          │

│ 1230000.0</code></span></summary><div><tab...                                │

╰──────────────────────────────────────────────────────────────────────────────╯



╭─[ 43.98ms - stdout ]─────────────────────────────────────────────────────────╮

│ JNumber 1230000.0                                                            │

│ JNumber                                                                      │

│       Item: 1230000                                                          │

│                                                                              │

╰──────────────────────────────────────────────────────────────────────────────╯



── fsharp ──────────────────────────────────────────────────────────────────────

//// test



run jNumber_ "123.4e5"

|> parserEqual (Success (JNumber 12340000.0))



╭─[ 35.28ms - return value ]───────────────────────────────────────────────────╮

│ <details open="open" class="dni-treeview"><summary><span                     │

│ class="dni-code-hint"><code>Success (JNumber 12340000.0, { lines = [         │

│ |&quot;123.4e5&quot;|]<br/>                               position = { line  │

│ = 1<br/>                                            column = 0 }             │

│ })</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td │

│ >Item</td><td><details class="dni-treeview"><summary><span                   │

│ class="dni-code-hint"><code>(JNumber 12340000.0, { lines = [                 │

│ |&quot;123.4e5&quot;|]<br/>  position = { line = 1<br/>               column │

│ = 0 }                                                                        │

│ })</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td │

│ >Item1</td><td><details class="dni-treeview"><summary><span                  │

│ class="dni-code-hint"><code>JNumber 12340000.0</code></span></summary>...    │

╰──────────────────────────────────────────────────────────────────────────────╯



╭─[ 41.83ms - stdout ]─────────────────────────────────────────────────────────╮

│ JNumber 12340000.0                                                           │

│ JNumber                                                                      │

│       Item: 12340000                                                         │

│                                                                              │

╰──────────────────────────────────────────────────────────────────────────────╯



── fsharp ──────────────────────────────────────────────────────────────────────

//// test



run jNumber_ "123.4e-5"

|> parserEqual (Success (JNumber 0.001234))



╭─[ 34.07ms - return value ]───────────────────────────────────────────────────╮

│ <details open="open" class="dni-treeview"><summary><span                     │

│ class="dni-code-hint"><code>Success (JNumber 0.001234, { lines = [           │

│ |&quot;123.4e-5&quot;|]<br/>                             position = { line = │

│ 1<br/>                                          column = 0 }                 │

│ })</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td │

│ >Item</td><td><details class="dni-treeview"><summary><span                   │

│ class="dni-code-hint"><code>(JNumber 0.001234, { lines = [                   │

│ |&quot;123.4e-5&quot;|]<br/>  position = { line = 1<br/>                     │

│ column = 0 }                                                                 │

│ })</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td │

│ >Item1</td><td><details class="dni-treeview"><summary><span                  │

│ class="dni-code-hint"><code>JNumber                                          │

│ 0.001234</code></span></summary><div><ta...                                  │

╰──────────────────────────────────────────────────────────────────────────────╯



╭─[ 41.49ms - stdout ]─────────────────────────────────────────────────────────╮

│ JNumber 0.001234                                                             │

│ JNumber                                                                      │

│       Item: 0.001234                                                         │

│                                                                              │

╰──────────────────────────────────────────────────────────────────────────────╯



── markdown ────────────────────────────────────────────────────────────────────

╭──────────────────────────────────────────────────────────────────────────────╮

│ ### jArray                                                                   │

╰──────────────────────────────────────────────────────────────────────────────╯



── fsharp ──────────────────────────────────────────────────────────────────────

let jArray =

    let left = pchar '[[' .>> spaces

    let right = pchar ']]' .>> spaces

    let comma = pchar ',' .>> spaces

    let value = jValue .>> spaces



    let values = sepBy value comma



    between left values right

    |>> JArray

    <?> "array"



── fsharp ──────────────────────────────────────────────────────────────────────

//// test



jValueRef <|

    choice

        [[

            jNull

            jBool

            jString

            jNumber

            jArray

        ]]



── fsharp ──────────────────────────────────────────────────────────────────────

//// test



run jArray "[[ 1, 2 ]]"

|> parserEqual (Success (JArray [[ JNumber 1.0; JNumber 2.0 ]]))



╭─[ 79.04ms - return value ]───────────────────────────────────────────────────╮

│ <details open="open" class="dni-treeview"><summary><span                     │

│ class="dni-code-hint"><code>Success (JArray [JNumber 1.0; JNumber 2.0], {    │

│ lines = [|&quot;[ 1, 2 ]&quot;|]<br/>                                        │

│ position = { line = 1<br/>                                                   │

│ column = 0 }                                                                 │

│ })</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td │

│ >Item</td><td><details class="dni-treeview"><summary><span                   │

│ class="dni-code-hint"><code>(JArray [JNumber 1.0; JNumber 2.0], { lines = [  │

│ |&quot;[ 1, 2 ]&quot;|]<br/>  position = { line = 1<br/>                     │

│ column = 0 }                                                                 │

│ })</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td │

│ >Item1</td><td><details class="dni-treeview"><summary><span class="d...      │

╰──────────────────────────────────────────────────────────────────────────────╯



╭─[ 85.64ms - stdout ]─────────────────────────────────────────────────────────╮

│ JArray [JNumber 1.0; JNumber 2.0]                                            │

│ JArray                                                                       │

│       Item: FSharpList<JValue>                                               │

│         - Item: 1                                                            │

│         - Item: 2                                                            │

│                                                                              │

╰──────────────────────────────────────────────────────────────────────────────╯



── fsharp ──────────────────────────────────────────────────────────────────────

//// test



run jArray "[[ 1, 2, ]]"

|> parserEqual (

    Failure (

        "array",

        "Unexpected ','",

        { currentLine = "[[ 1, 2, ]]"; line = 0; column = 6 }

    )

)



╭─[ 43.39ms - return value ]───────────────────────────────────────────────────╮

│ <details open="open" class="dni-treeview"><summary><span                     │

│ class="dni-code-hint"><code>Failure (&quot;array&quot;, &quot;Unexpected     │

│ &#39;,&#39;&quot;, { currentLine = &quot;[ 1, 2, ]&quot;<br/>                │

│ line = 0<br/>                                      column = 6                │

│ })</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td │

│ >Item1</td><td><div                                                          │

│ class="dni-plaintext"><pre>array</pre></div></td></tr><tr><td>Item2</td><td> │

│ <div class="dni-plaintext"><pre>Unexpected                                   │

│ &#39;,&#39;</pre></div></td></tr><tr><td>Item3</td><td><details              │

│ class="dni-treeview"><summary><span class="dni-code-hint"><code>{            │

│ currentLine = &quot;[ 1, 2, ]&quot;<br/>  line = 0<br/>  column = 6          │

│ }</code></span></summary><div><table><thead><t...                            │

╰──────────────────────────────────────────────────────────────────────────────╯



╭─[ 49.73ms - stdout ]─────────────────────────────────────────────────────────╮

│ Line:0 Col:6 Error parsing array                                             │

│ [ 1, 2, ]                                                                    │

│       ^Unexpected ','                                                        │

│                                                                              │

╰──────────────────────────────────────────────────────────────────────────────╯



── markdown ────────────────────────────────────────────────────────────────────

╭──────────────────────────────────────────────────────────────────────────────╮

│ ### jObject                                                                  │

╰──────────────────────────────────────────────────────────────────────────────╯



── fsharp ──────────────────────────────────────────────────────────────────────

let jObject =

    let left = spaces >>. pchar '{' .>> spaces

    let right = pchar '}' .>> spaces

    let colon = pchar ':' .>> spaces

    let comma = pchar ',' .>> spaces

    let key = quotedString .>> spaces

    let value = jValue .>> spaces



    let keyValue = (key .>> colon) .>>. value

    let keyValues = sepBy keyValue comma



    between left keyValues right

    |>> Map.ofList

    |>> JObject

    <?> "object"



── fsharp ──────────────────────────────────────────────────────────────────────

jValueRef <|

    choice

        [[

            jNull

            jBool

            jString

            jNumber

            jArray

            jObject

        ]]



── fsharp ──────────────────────────────────────────────────────────────────────

//// test



run jObject """{ "a":1, "b"  :  2 }"""

|> parserEqual (

    Success (

        JObject (

            Map.ofList [[

                "a", JNumber 1.0

                "b", JNumber 2.0

            ]]

        )

    )

)



╭─[ 99.11ms - return value ]───────────────────────────────────────────────────╮

│ <details open="open" class="dni-treeview"><summary><span                     │

│ class="dni-code-hint"><code>Success<br/>  (JObject (map [(&quot;a&quot;,     │

│ JNumber 1.0); (&quot;b&quot;, JNumber 2.0)]),<br/>   { lines = [|&quot;{     │

│ &quot;a&quot;:1, &quot;b&quot;  :  2 }&quot;|]<br/>     position = { line =  │

│ 1<br/>                  column = 0 }                                         │

│ })</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td │

│ >Item</td><td><details class="dni-treeview"><summary><span                   │

│ class="dni-code-hint"><code>(JObject (map [(&quot;a&quot;, JNumber 1.0);     │

│ (&quot;b&quot;, JNumber 2.0)]), { lines = [|&quot;{ &quot;a&quot;:1,         │

│ &quot;b&quot;  :  2 }&quot;|]<br/>  position = { line = 1<br/>               │

│ column = 0 }                                                                 │

│ })</code></span></summary><div><table><thead><tr></tr></thead><tbod...       │

╰──────────────────────────────────────────────────────────────────────────────╯



╭─[ 105.33ms - stdout ]────────────────────────────────────────────────────────╮

│ JObject (map [("a", JNumber 1.0); ("b", JNumber 2.0)])                       │

│ JObject                                                                      │

│       Item: FSharpMap<String,JValue>                                         │

│         - Key: a                                                             │

│           Value: JNumber                                                     │

│             Item: 1                                                          │

│         - Key: b                                                             │

│           Value: JNumber                                                     │

│             Item: 2                                                          │

│                                                                              │

╰──────────────────────────────────────────────────────────────────────────────╯



── fsharp ──────────────────────────────────────────────────────────────────────

//// test



run jObject """{ "a":1, "b"  :  2, }"""

|> parserEqual (

    Failure (

        "object",

        "Unexpected ','",

        { currentLine = """{ "a":1, "b"  :  2, }"""; line = 0; column = 18 }

    )

)



╭─[ 32.90ms - return value ]───────────────────────────────────────────────────╮

│ <details open="open" class="dni-treeview"><summary><span                     │

│ class="dni-code-hint"><code>Failure (&quot;object&quot;, &quot;Unexpected    │

│ &#39;,&#39;&quot;, { currentLine = &quot;{ &quot;a&quot;:1, &quot;b&quot;  : │

│ 2, }&quot;<br/>                                       line = 0<br/>          │

│ column = 18                                                                  │

│ })</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td │

│ >Item1</td><td><div                                                          │

│ class="dni-plaintext"><pre>object</pre></div></td></tr><tr><td>Item2</td><td │

│ ><div class="dni-plaintext"><pre>Unexpected                                  │

│ &#39;,&#39;</pre></div></td></tr><tr><td>Item3</td><td><details              │

│ class="dni-treeview"><summary><span class="dni-code-hint"><code>{            │

│ currentLine = &quot;{ &quot;a&quot;:1, &quot;b&quot;  :  2, }&quot;<br/>     │

│ lin...                                                                       │

╰──────────────────────────────────────────────────────────────────────────────╯



╭─[ 39.68ms - stdout ]─────────────────────────────────────────────────────────╮

│ Line:0 Col:18 Error parsing object                                           │

│ { "a":1, "b"  :  2, }                                                        │

│                   ^Unexpected ','                                            │

│                                                                              │

╰──────────────────────────────────────────────────────────────────────────────╯



── markdown ────────────────────────────────────────────────────────────────────

╭──────────────────────────────────────────────────────────────────────────────╮

│ ### jValue                                                                   │

╰──────────────────────────────────────────────────────────────────────────────╯



── fsharp ──────────────────────────────────────────────────────────────────────

//// test



let example1 = """{

    "name" : "Scott",

    "isMale" : true,

    "bday" : {"year":2001, "month":12, "day":25 },

    "favouriteColors" : [["blue", "green"]],

    "emptyArray" : [[]],

    "emptyObject" : {}

}"""

run jValue example1

|> parserEqual (

    Success (

        JObject (

            Map.ofList [[

                "name", JString "Scott"

                "isMale", JBool true

                "bday", JObject (

                    Map.ofList [[

                        "year", JNumber 2001.0

                        "month", JNumber 12.0

                        "day", JNumber 25.0

                    ]]

                )

                "favouriteColors", JArray [[ JString "blue"; JString "green" ]]

                "emptyArray", JArray [[]]

                "emptyObject", JObject Map.empty

            ]]

        )

    )

)



╭─[ 141.49ms - return value ]──────────────────────────────────────────────────╮

│ <details open="open" class="dni-treeview"><summary><span                     │

│ class="dni-code-hint"><code>Success<br/>  (JObject<br/>     (map<br/>        │

│ [(&quot;bday&quot;,<br/>          JObject<br/>            (map<br/>          │

│ [(&quot;day&quot;, JNumber 25.0); (&quot;month&quot;, JNumber 12.0);<br/>    │

│ (&quot;year&quot;, JNumber 2001.0)])); (&quot;emptyArray&quot;, JArray [     │

│ ]);<br/>         (&quot;emptyObject&quot;, JObject (map []));<br/>           │

│ (&quot;favouriteColors&quot;,                                                │

│ ...</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><t │

│ d>Item</td><td><details class="dni-treeview"><summary><span                  │

│ class="dni-code-hint"><code>(JObject<br/>  (map<br/>     [                   │

│ (&quot;bday&quot;,<br/>       JObject<br/>         (map<br/>            [    │

│ (...                                                                         │

╰──────────────────────────────────────────────────────────────────────────────╯



╭─[ 148.21ms - stdout ]────────────────────────────────────────────────────────╮

│ JObject                                                                      │

│   (map                                                                       │

│      [("bday",                                                               │

│        JObject                                                               │

│          (map                                                                │

│             [("day", JNumber 25.0); ("month", JNumber 12.0);                 │

│              ("year", JNumber 2001.0)])); ("emptyArray", JArray []);         │

│       ("emptyObject", JObject (map []));                                     │

│       ("favouriteColors", JArray [JString "blue"; JString "green"]);         │

│       ("isMale", JBool true); ("name", JString "Scott")])                    │

│ JObject                                                                      │

│       Item: FSharpMap<String,JValue>                                         │

│         - Key: bday                                                          │

│           Value: JObject                                                     │

│             Item: FSharpMap<String,JValue>                                   │

│               - Key: day                                                     │

│                 Value: JNumber 25.0                                          │

│               - Key: month                                                   │

│                 Value: JNumber 12.0                                          │

│               - Key: year                                                    │

│                 Value: JNumber 2001.0                                        │

│         - Key: emptyArray                                                    │

│           Value: JArray                                                      │

│             Item: FSharpList<JValue>                                         │

│                                                                              │

│         - Key: emptyObject                                                   │

│           Value: JObject                                                     │

│             Item: FSharpMap<String,JValue>                                   │

│                                                                              │

│         - Key: favouriteColors                                               │

│           Value: JArray                                                      │

│             Item: FSharpList<JValue>                                         │

│               - Item: blue                                                   │

│               - Item: green                                                  │

│         - Key: isMale                                                        │

│           Value: JBool                                                       │

│             Item: True                                                       │

│         - Key: name                                                          │

│           Value: JString                                                     │

│             Item: Scott                                                      │

│                                                                              │

╰──────────────────────────────────────────────────────────────────────────────╯



── fsharp ──────────────────────────────────────────────────────────────────────

//// test



let example2 = """{"widget": {

    "debug": "on",

    "window": {

        "title": "Sample Konfabulator Widget",

        "name": "main_window",

        "width": 500,

        "height": 500

    },

    "image": {

        "src": "Images/Sun.png",

        "name": "sun1",

        "hOffset": 250,

        "vOffset": 250,

        "alignment": "center"

    },

    "text": {

        "data": "Click Here",

        "size": 36,

        "style": "bold",

        "name": "text1",

        "hOffset": 250,

        "vOffset": 100,

        "alignment": "center",

        "onMouseUp": "sun1.opacity = (sun1.opacity / 100) * 90;"

    }

}}"""



run jValue example2

|> parserEqual (

    Success (

        JObject (

            Map.ofList [[

                "widget", JObject (

                    Map.ofList [[

                        "debug", JString "on"

                        "window", JObject (

                            Map.ofList [[

                                "title", JString "Sample Konfabulator Widget"

                                "name", JString "main_window"

                                "width", JNumber 500.0

                                "height", JNumber 500.0

                            ]]

                        )

                        "image", JObject (

                            Map.ofList [[

                                "src", JString "Images/Sun.png"

                                "name", JString "sun1"

                                "hOffset", JNumber 250.0

                                "vOffset", JNumber 250.0

                                "alignment", JString "center"

                            ]]

                        )

                        "text", JObject (

                            Map.ofList [[

                                "data", JString "Click Here"

                                "size", JNumber 36.0

                                "style", JString "bold"

                                "name", JString "text1"

                                "hOffset", JNumber 250.0

                                "vOffset", JNumber 100.0

                                "alignment", JString "center"

                                "onMouseUp", JString "sun1.opacity = 

(sun1.opacity / 100) * 90;"

                            ]]

                        )

                    ]]

                )

            ]]

        )

    )

)



╭─[ 306.90ms - return value ]──────────────────────────────────────────────────╮

│ <details open="open" class="dni-treeview"><summary><span                     │

│ class="dni-code-hint"><code>Success<br/>  (JObject<br/>     (map<br/>        │

│ [(&quot;widget&quot;,<br/>          JObject<br/>            (map<br/>        │

│ [(&quot;debug&quot;, JString &quot;on&quot;);<br/>                           │

│ (&quot;image&quot;,<br/>                 JObject<br/>                        │

│ (map<br/>                      [(&quot;alignment&quot;, JString              │

│ &quot;center&quot;);<br/>                                                    │

│ (&quot;hOffset&quot;...</code></span></summary><div><table><thead><tr></tr>< │

│ /thead><tbody><tr><td>Item</td><td><details                                  │

│ class="dni-treeview"><summary><span                                          │

│ class="dni-code-hint"><code>(JObject<br/>  (map<br/>     [                   │

│ (&quot;widget&quot;,<br/>       JObject<br/>         (map<br/>      ...      │

╰──────────────────────────────────────────────────────────────────────────────╯



╭─[ 313.42ms - stdout ]────────────────────────────────────────────────────────╮

│ JObject                                                                      │

│   (map                                                                       │

│      [("widget",                                                             │

│        JObject                                                               │

│          (map                                                                │

│             [("debug", JString "on");                                        │

│              ("image",                                                       │

│               JObject                                                        │

│                 (map                                                         │

│                    [("alignment", JString "center"); ("hOffset", JNumber     │

│ 250.0);                                                                      │

│                     ("name", JString "sun1"); ("src", JString                │

│ "Images/Sun.png");                                                           │

│                     ("vOffset", JNumber 250.0)]));                           │

│              ("text",                                                        │

│               JObject                                                        │

│                 (map                                                         │

│                    [("alignment", JString "center");                         │

│                     ("data", JString "Click Here"); ("hOffset", JNumber      │

│ 250.0);                                                                      │

│                     ("name", JString "text1");                               │

│                     ("onMouseUp",                                            │

│                      JString "sun1.opacity = (sun1.opacity / 100) * 90;");   │

│                     ("size", JNumber 36.0); ("style", JString "bold");       │

│                     ("vOffset", JNumber 100.0)]));                           │

│              ("window",                                                      │

│               JObject                                                        │

│                 (map                                                         │

│                    [("height", JNumber 500.0); ("name", JString              │

│ "main_window");                                                              │

│                     ("title", JString "Sample Konfabulator Widget");         │

│                     ("width", JNumber 500.0)]))]))])                         │

│ JObject                                                                      │

│       Item: FSharpMap<String,JValue>                                         │

│         - Key: widget                                                        │

│           Value: JObject                                                     │

│             Item: FSharpMap<String,JValue>                                   │

│               - Key: debug                                                   │

│                 Value: JString "on"                                          │

│               - Key: image                                                   │

│                 Value: JObject                                               │

│   (map                                                                       │

│      [("alignment", JString "center"); ("hOffset", JNumber 250.0);           │

│       ("name", JString "sun1"); ("src", JString "Images/Sun.png");           │

│       ("vOffset", JNumber 250.0)])                                           │

│               - Key: text                                                    │

│                 Value: JObject                                               │

│   (map                                                                       │

│      [("alignment", JString "center"); ("data", JString "Click Here");       │

│       ("hOffset", JNumber 250.0); ("name", JString "text1");                 │

│       ("onMouseUp", JString "sun1.opacity = (sun1.opacity / 100) * 90;");    │

│       ("size", JNumber 36.0); ("style", JString "bold");                     │

│       ("vOffset", JNumber 100.0)])                                           │

│               - Key: window                                                  │

│                 Value: JObject                                               │

│   (map                                                                       │

│      [("height", JNumber 500.0); ("name", JString "main_window");            │

│       ("title", JString "Sample Konfabulator Widget"); ("width", JNumber     │

│ 500.0)])                                                                     │

│                                                                              │

╰──────────────────────────────────────────────────────────────────────────────╯



── fsharp ──────────────────────────────────────────────────────────────────────

//// test



let example3 = """{

  "string": "Hello, \"World\"!",

  "escapedString": "This string contains \\/\\\\\\b\\f\\n\\r\\t\\\"\\'",

  "number": 42,

  "scientificNumber": 3.14e-10,

  "boolean": true,

  "nullValue": null,

  "array": [[1, 2, 3, 4, 5]],

  "unicodeString1": "프리마",

  "unicodeString2": "\u0048\u0065\u006C\u006C\u006F, 

\u0022\u0057\u006F\u0072\u006C\u0064\u0022!",

  "specialCharacters": "!@#$%^&*()",

  "emptyArray": [[]],

  "emptyObject": {},

  "nestedArrays": [[[[1, 2, 3]], [[4, 5, 6]]]],

  "object": {

    "nestedString": "Nested Value",

    "nestedNumber": 3.14,

    "nestedBoolean": false,

    "nestedNull": null,

    "nestedArray": [["a", "b", "c"]],

    "nestedObject": {

      "nestedProperty": "Nested Object Value"

    }

  },

  "nestedObjects": [[

    {"name": "Alice", "age": 25},

    {"name": "Bob", "age": 30}

  ]]

}"""

run jValue example3

|> parserEqual (

    Success (

        JObject (

            Map.ofList [[

                "string", JString @"Hello, ""World""!"

                "escapedString", JString @"This string contains 

\/\\\b\f\n\r\t\""\'"

                "number", JNumber 42.0

                "scientificNumber", JNumber 3.14e-10

                "boolean", JBool true

                "nullValue", JNull

                "array", JArray [[

                    JNumber 1.0; JNumber 2.0; JNumber 3.0; JNumber 4.0; JNumber 

5.0

                ]]

                "unicodeString1", JString "프리마"

                "unicodeString2", JString @"Hello, ""World""!"

                "specialCharacters", JString "!@#$%^&*()"

                "emptyArray", JArray [[]]

                "emptyObject", JObject Map.empty

                "nestedArrays", JArray [[

                    JArray [[ JNumber 1.0; JNumber 2.0; JNumber 3.0 ]]

                    JArray [[ JNumber 4.0; JNumber 5.0; JNumber 6.0 ]]

                ]]

                "object", JObject (

                    Map.ofList [[

                        "nestedString", JString "Nested Value"

                        "nestedNumber", JNumber 3.14

                        "nestedBoolean", JBool false

                        "nestedNull", JNull

                        "nestedArray", JArray [[JString "a"; JString "b"; 

JString "c"]]

                        "nestedObject", JObject (

                            Map.ofList [[

                                "nestedProperty", JString "Nested Object Value"

                            ]]

                        )

                    ]]

                )

                "nestedObjects", JArray [[

                  JObject (Map.ofList [[ "name", JString "Alice"; "age", JNumber

25.0 ]])

                  JObject (Map.ofList [[ "name", JString "Bob"; "age", JNumber 

30.0 ]])

                ]]

            ]]

        )

    )

)



╭─[ 408.21ms - return value ]──────────────────────────────────────────────────╮

│ <details open="open" class="dni-treeview"><summary><span                     │

│ class="dni-code-hint"><code>Success<br/>  (JObject<br/>     (map<br/>        │

│ [(&quot;array&quot;,<br/>          JArray<br/>            [JNumber 1.0;      │

│ JNumber 2.0; JNumber 3.0; JNumber 4.0; JNumber 5.0]);<br/>                   │

│ (&quot;boolean&quot;, JBool true); (&quot;emptyArray&quot;, JArray []);<br/> │

│ (&quot;emptyObject&quot;, JObject (map []));<br/>                            │

│ (&quot;escapedString&quot;, JString &quot;This                               │

│ s...</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr>< │

│ td>Item</td><td><details class="dni-treeview"><summary><span                 │

│ class="dni-code-hint"><code>(JObject<br/>  (map<br/>     [                   │

│ (&quot;array&quot;,<br/>       JArray [JNumber 1.0; JNumber 2.0; JNumber     │

│ 3.0; JNumber 4.0; J...                                                       │

╰──────────────────────────────────────────────────────────────────────────────╯



╭─[ 415.50ms - stdout ]────────────────────────────────────────────────────────╮

│ JObject                                                                      │

│   (map                                                                       │

│      [("array",                                                              │

│        JArray [JNumber 1.0; JNumber 2.0; JNumber 3.0; JNumber 4.0; JNumber   │

│ 5.0]);                                                                       │

│       ("boolean", JBool true); ("emptyArray", JArray []);                    │

│       ("emptyObject", JObject (map []));                                     │

│       ("escapedString", JString "This string contains \/\\\b\f\n\r\t\"\'");  │

│       ("nestedArrays",                                                       │

│        JArray                                                                │

│          [JArray [JNumber 1.0; JNumber 2.0; JNumber 3.0];                    │

│           JArray [JNumber 4.0; JNumber 5.0; JNumber 6.0]]);                  │

│       ("nestedObjects",                                                      │

│        JArray                                                                │

│          [JObject (map [("age", JNumber 25.0); ("name", JString "Alice")]);  │

│           JObject (map [("age", JNumber 30.0); ("name", JString "Bob")])]);  │

│       ("nullValue", JNull); ("number", JNumber 42.0); ...])                  │

│ JObject                                                                      │

│       Item: FSharpMap<String,JValue>                                         │

│         - Key: array                                                         │

│           Value: JArray                                                      │

│             Item: FSharpList<JValue>                                         │

│               - Item: 1                                                      │

│               - Item: 2                                                      │

│               - Item: 3                                                      │

│               - Item: 4                                                      │

│               - Item: 5                                                      │

│         - Key: boolean                                                       │

│           Value: JBool                                                       │

│             Item: True                                                       │

│         - Key: emptyArray                                                    │

│           Value: JArray                                                      │

│             Item: FSharpList<JValue>                                         │

│                                                                              │

│         - Key: emptyObject                                                   │

│           Value: JObject                                                     │

│             Item: FSharpMap<String,JValue>                                   │

│                                                                              │

│         - Key: escapedString                                                 │

│           Value: JString                                                     │

│             Item: This string contains \/\\\b\f\n\r\t\"\'                    │

│         - Key: nestedArrays                                                  │

│           Value: JArray                                                      │

│             Item: FSharpList<JValue>                                         │

│               - Item: [ JNumber 1.0, JNumber 2.0, JNumber 3.0 ]              │

│               - Item: [ JNumber 4.0, JNumber 5.0, JNumber 6.0 ]              │

│         - Key: nestedObjects                                                 │

│           Value: JArray                                                      │

│             Item: FSharpList<JValue>                                         │

│               - Item: [ [age, JNumber 25.0], [name, JString "Alice"] ]       │

│               - Item: [ [age, JNumber 30.0], [name, JString "Bob"] ]         │

│         - Key: nullValue                                                     │

│           Value: JNull                                                       │

│         - Key: number                                                        │

│           Value: JNumber                                                     │

│             Item: 42                                                         │

│         - Key: object                                                        │

│           Value: JObject                                                     │

│             Item: FSharpMap<String,JValue>                                   │

│               - Key: nestedArray                                             │

│                 Value: JArray [JString "a"; JString "b"; JString "c"]        │

│               - Key: nestedBoolean                                           │

│                 Value: JBool false                                           │

│               - Key: nestedNull                                              │

│                 Value: JNull                                                 │

│               - Key: nestedNumber                                            │

│                 Value: JNumber 3.14                                          │

│               - Key: nestedObject                                            │

│                 Value: JObject (map [("nestedProperty", JString "Nested      │

│ Object Value")])                                                             │

│               - Key: nestedString                                            │

│                 Value: JString "Nested Value"                                │

│         - Key: scientificNumber                                              │

│           Value: JNumber                                                     │

│             Item: 3.14E-10                                                   │

│         - Key: specialCharacters                                             │

│           Value: JString                                                     │

│             Item: !@#$%^&*()                                                 │

│         - Key: string                                                        │

│           Value: JString                                                     │

│             Item: Hello, "World"!                                            │

│         - Key: unicodeString1                                                │

│           Value: JString                                                     │

│             Item: 프리마                                                     │

│         - Key: unicodeString2                                                │

│           Value: JString                                                     │

│             Item: Hello, "World"!                                            │

│                                                                              │

╰──────────────────────────────────────────────────────────────────────────────╯

[NbConvertApp] Converting notebook JsonParser.dib.ipynb to html

C:\Users\i574n\scoop\apps\python\current\Lib\site-packages\nbformat\__init__.py:93: MissingIDFieldWarning: Code cell is missing an id field, this will become a hard error in future nbformat versions. You may want to use `normalize()` on your notebooks before validations (available since nbformat 5.1.4). Previous versions of nbformat are fixing this issue transparently, and will stop doing so in the future.

  validate(nb)

C:\Users\i574n\scoop\apps\python\current\Lib\site-packages\nbconvert\filters\highlight.py:71: UserWarning: IPython3 lexer unavailable, falling back on Python 3

  return _pygments_highlight(

[NbConvertApp] Writing 502745 bytes to JsonParser.dib.html



── markdown ────────────────────────────────────────────────────────────────────

╭──────────────────────────────────────────────────────────────────────────────╮

│ # Parser (Polyglot)                                                          │

╰──────────────────────────────────────────────────────────────────────────────╯



── fsharp ──────────────────────────────────────────────────────────────────────

#!import ../../lib/fsharp/Testing.dib



── fsharp - import ─────────────────────────────────────────────────────────────

#r 

"C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.A

spNetCore.Html.Abstractions.dll"

#r 

"C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D

otNet.Interactive.dll"

#r 

"C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D

otNet.Interactive.FSharp.dll"

#r 

"C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D

otNet.Interactive.Formatting.dll"

open System

open System.IO

open System.Text

open Microsoft.DotNet.Interactive.Formatting



── fsharp - import ─────────────────────────────────────────────────────────────

#r 

"C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D

otNet.Interactive.FSharp.dll"

open Microsoft.DotNet.Interactive.FSharp.FSharpKernelHelpers

#r 

"C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D

otNet.Interactive.dll"

open type Microsoft.DotNet.Interactive.Kernel



── fsharp - import ─────────────────────────────────────────────────────────────

#r @"../../../../../../../.nuget/packages/expecto/10.1.0/lib/net6.0/Expecto.dll"



── fsharp - import ─────────────────────────────────────────────────────────────

//// test



Formatter.ListExpansionLimit <- 100



── fsharp - import ─────────────────────────────────────────────────────────────

//// test



type AssertExceptionFormatter (ex) =

    member _.Text =

        ex.ToString()

            .Replace("32m", "<span style=\"color: green;\">")

            .Replace("36m", "</span>")

            .Replace("31m", "<span style=\"color: red;\">")

            .Replace("\n", "<br/>\n")





Formatter.Register<AssertExceptionFormatter> ((fun (x : 

AssertExceptionFormatter) -> x.Text), "text/html")



── fsharp - import ─────────────────────────────────────────────────────────────

//// test



let inline __expect fn log expected actual =

    if log then printfn $"{actual.ToDisplayString ()}"

    try

        "Testing.__expect" |> fn actual expected

    with :? Expecto.AssertException as ex ->

        AssertExceptionFormatter(ex).Display () |> ignore

        failwith (ex.GetType().FullName)



let inline __contains log expected actual = __expect Expecto.Expect.contains log

expected actual

let inline _contains expected actual = __contains true expected actual



let inline __equal log expected actual = __expect Expecto.Expect.equal log 

expected actual

let inline _equal expected actual = __equal true expected actual



let inline __isGreaterThan log expected actual = __expect 

Expecto.Expect.isGreaterThan log expected actual

let ...



── fsharp - import ─────────────────────────────────────────────────────────────

//// test



let inline __isBetween log a b actual =

    let inline isBetween actual (a, b) _ =

        __isGreaterThanOrEqual log a actual

        __isLessThanOrEqual log b actual

    __expect isBetween log (a, b) actual

let inline _isBetween a b actual = __isBetween true a b actual



── fsharp ──────────────────────────────────────────────────────────────────────

#!import ../../lib/fsharp/Common.fs



── fsharp - import ─────────────────────────────────────────────────────────────

#if !INTERACTIVE

namespace Polyglot

#endif



module Common =



    let nl = System.Environment.NewLine

    let q = @""""



    let inline cons head tail = head :: tail



    module String =

        let inline contains (value : string) (input : string) =

            input.Contains value



        let inline endsWith (value : string) (input : string) =

            input.EndsWith value



        let inline padLeft totalWidth paddingChar (input : string) =

            input.PadLeft (totalWidth, paddingChar)



        let inline replace (oldValue : string) (newValue : string) (input : 

string) =

            input.Replace (oldValue, newValue)



        let inline split separator (input : string) =

            input.Split separator



        let inline spli...



── fsharp ──────────────────────────────────────────────────────────────────────

open Common



── markdown ────────────────────────────────────────────────────────────────────

╭──────────────────────────────────────────────────────────────────────────────╮

│ ### TextInput                                                                │

╰──────────────────────────────────────────────────────────────────────────────╯



── fsharp ──────────────────────────────────────────────────────────────────────

type Position =

    {

        line : int

        column : int

    }



── fsharp ──────────────────────────────────────────────────────────────────────

let initialPos = { line = 0; column = 0 }



── fsharp ──────────────────────────────────────────────────────────────────────

let inline incrCol (pos : Position) =

    { pos with column = pos.column + 1 }



── fsharp ──────────────────────────────────────────────────────────────────────

let inline incrLine pos =

    { line = pos.line + 1; column = 0 }



── fsharp ──────────────────────────────────────────────────────────────────────

type InputState =

    {

        lines : string[[]]

        position : Position

    }



── fsharp ──────────────────────────────────────────────────────────────────────

let inline fromStr str =

    {

        lines =

            if str |> String.IsNullOrEmpty

            then [[||]]

            else str |> String.splitString [[| "\r\n"; "\n" |]]

        position = initialPos

    }



── fsharp ──────────────────────────────────────────────────────────────────────

//// test



fromStr "" |> _equal {

    lines = [[||]]

    position = { line = 0; column = 0 }

}



╭─[ 52.07ms - stdout ]─────────────────────────────────────────────────────────╮

│ InputState                                                                   │

│       lines: [  ]                                                            │

│       position: Position                                                     │

│         line: 0                                                              │

│         column: 0                                                            │

│                                                                              │

╰──────────────────────────────────────────────────────────────────────────────╯



── fsharp ──────────────────────────────────────────────────────────────────────

//// test



fromStr "Hello \n World" |> _equal {

    lines = [[| "Hello "; " World" |]]

    position = { line = 0; column = 0 }

}



╭─[ 18.42ms - stdout ]─────────────────────────────────────────────────────────╮

│ InputState                                                                   │

│       lines: [ Hello ,  World ]                                              │

│       position: Position                                                     │

│         line: 0                                                              │

│         column: 0                                                            │

│                                                                              │

╰──────────────────────────────────────────────────────────────────────────────╯



── fsharp ──────────────────────────────────────────────────────────────────────

let inline currentLine inputState =

    let linePos = inputState.position.line

    if linePos < inputState.lines.Length

    then inputState.lines.[[linePos]]

    else "end of file"



── fsharp ──────────────────────────────────────────────────────────────────────

let inline nextChar input =

    let linePos = input.position.line

    let colPos = input.position.column



    if linePos >= input.lines.Length

    then input, None

    else

        let currentLine = currentLine input

        if colPos < currentLine.Length then

            let char = currentLine.[[colPos]]

            let newPos = incrCol input.position

            let newState = { input with position = newPos }

            newState, Some char

        else

            let char = '\n'

            let newPos = incrLine input.position

            let newState = { input with position = newPos }

            newState, Some char



── fsharp ──────────────────────────────────────────────────────────────────────

//// test



let newInput, charOpt = fromStr "Hello World" |> nextChar



newInput |> _equal {

    lines = [[| "Hello World" |]]

    position = { line = 0; column = 1 }

}

charOpt |> _equal (Some 'H')



╭─[ 37.27ms - stdout ]─────────────────────────────────────────────────────────╮

│ InputState                                                                   │

│       lines: [ Hello World ]                                                 │

│       position: Position                                                     │

│         line: 0                                                              │

│         column: 1                                                            │

│ FSharpOption<Char>                                                           │

│       Value: H                                                               │

│                                                                              │

╰──────────────────────────────────────────────────────────────────────────────╯



── fsharp ──────────────────────────────────────────────────────────────────────

//// test



let newInput, charOpt = fromStr "Hello\n\nWorld" |> nextChar



newInput |> _equal {

    lines = [[| "Hello"; ""; "World" |]]

    position = { line = 0; column = 1 }

}

charOpt |> _equal (Some 'H')



╭─[ 31.06ms - stdout ]─────────────────────────────────────────────────────────╮

│ InputState                                                                   │

│       lines: [ Hello, , World ]                                              │

│       position: Position                                                     │

│         line: 0                                                              │

│         column: 1                                                            │

│ FSharpOption<Char>                                                           │

│       Value: H                                                               │

│                                                                              │

╰──────────────────────────────────────────────────────────────────────────────╯



── markdown ────────────────────────────────────────────────────────────────────

╭──────────────────────────────────────────────────────────────────────────────╮

│ ### Parser                                                                   │

╰──────────────────────────────────────────────────────────────────────────────╯



── fsharp ──────────────────────────────────────────────────────────────────────

type Input = InputState

type ParserLabel = string

type ParserError = string



type ParserPosition =

    {

        currentLine : string

        line : int

        column : int

    }



type ParseResult<'a> =

    | Success of 'a

    | Failure of ParserLabel * ParserError * ParserPosition



type Parser<'a> =

    {

        label : ParserLabel

        parseFn : Input -> ParseResult<'a * Input>

    }



── fsharp ──────────────────────────────────────────────────────────────────────

let inline printResult result =

    match result with

    | Success (value, input) ->

        printfn $"%A{value}"

    | Failure (label, error, parserPos) ->

        let errorLine = parserPos.currentLine

        let colPos = parserPos.column

        let linePos = parserPos.line

        let failureCaret = $"{' ' |> string |> String.replicate colPos}^{error}"

        printfn $"Line:%i{linePos} Col:%i{colPos} Error parsing 

%s{label}\n%s{errorLine}\n%s{failureCaret}"



── fsharp ──────────────────────────────────────────────────────────────────────

let inline runOnInput parser input =

    parser.parseFn input



── fsharp ──────────────────────────────────────────────────────────────────────

let inline run parser inputStr =

    runOnInput parser (fromStr inputStr)



── fsharp ──────────────────────────────────────────────────────────────────────

let inline parserPositionFromInputState (inputState : Input) =

    {

        currentLine = currentLine inputState

        line = inputState.position.line

        column = inputState.position.column

    }



── fsharp ──────────────────────────────────────────────────────────────────────

let inline getLabel parser =

    parser.label



── fsharp ──────────────────────────────────────────────────────────────────────

let inline setLabel parser newLabel =

    {

        label = newLabel

        parseFn = fun input ->

            match parser.parseFn input with

            | Success s -> Success s

            | Failure (oldLabel, err, pos) -> Failure (newLabel, err, pos)

    }



── fsharp ──────────────────────────────────────────────────────────────────────

let (<?>) = setLabel



── fsharp ──────────────────────────────────────────────────────────────────────

let inline satisfy predicate label =

    {

        label = label

        parseFn = fun input ->

            let remainingInput, charOpt = nextChar input

            match charOpt with

            | None ->

                let err = "No more input"

                let pos = parserPositionFromInputState input

                Failure (label, err, pos)

            | Some first ->

                if predicate first

                then Success (first, remainingInput)

                else

                    let err = $"Unexpected '%c{first}'"

                    let pos = parserPositionFromInputState input

                    Failure (label, err, pos)

    }



── fsharp ──────────────────────────────────────────────────────────────────────

//// test



let input = fromStr "Hello"

let parser = satisfy (fun c -> c = 'H') "H"

runOnInput parser input |> _equal (

    Success (

        'H',

        {

            lines = [[| "Hello" |]]

            position = { line = 0; column = 1 }

        }

    )

)



╭─[ 33.79ms - stdout ]─────────────────────────────────────────────────────────╮

│ Success                                                                      │

│       Item:       - H                                                        │

│       - InputState                                                           │

│           lines: [ Hello ]                                                   │

│           position: Position                                                 │

│             line: 0                                                          │

│             column: 1                                                        │

│                                                                              │

╰──────────────────────────────────────────────────────────────────────────────╯



── fsharp ──────────────────────────────────────────────────────────────────────

//// test



let input = fromStr "World"

let parser = satisfy (fun c -> c = 'H') "H"

runOnInput parser input |> _equal (

    Failure (

        "H",

        "Unexpected 'W'",

        {

            currentLine = "World"

            line = 0

            column = 0

        }

    )

)



╭─[ 27.04ms - stdout ]─────────────────────────────────────────────────────────╮

│ Failure                                                                      │

│       Item1: H                                                               │

│       Item2: Unexpected 'W'                                                  │

│       Item3: ParserPosition                                                  │

│         currentLine: World                                                   │

│         line: 0                                                              │

│         column: 0                                                            │

│                                                                              │

╰──────────────────────────────────────────────────────────────────────────────╯



── fsharp ──────────────────────────────────────────────────────────────────────

let inline bindP f p =

    {

        label = "unknown"

        parseFn = fun input ->

            match runOnInput p input with

            | Failure (label, err, pos) -> Failure (label, err, pos)

            | Success (value1, remainingInput) -> runOnInput (f value1) 

remainingInput

    }



── fsharp ──────────────────────────────────────────────────────────────────────

let inline (>>=) p f = bindP f p



── fsharp ──────────────────────────────────────────────────────────────────────

//// test



let input = fromStr "Hello"

let parser = satisfy (fun c -> c = 'H') "H"

let parser2 = parser >>= fun c -> satisfy (fun c -> c = 'e') "e"

runOnInput parser2 input |> _equal (

    Success (

        'e',

        {

            lines = [[| "Hello" |]]

            position = { line = 0; column = 2 }

        }

    )

)



╭─[ 38.85ms - stdout ]─────────────────────────────────────────────────────────╮

│ Success                                                                      │

│       Item:       - e                                                        │

│       - InputState                                                           │

│           lines: [ Hello ]                                                   │

│           position: Position                                                 │

│             line: 0                                                          │

│             column: 2                                                        │

│                                                                              │

╰──────────────────────────────────────────────────────────────────────────────╯



── fsharp ──────────────────────────────────────────────────────────────────────

//// test



let input = fromStr "World"

let parser = satisfy (fun c -> c = 'W') "W"

let parser2 = parser >>= fun c -> satisfy (fun c -> c = 'e') "e"

runOnInput parser2 input |> _equal (

    Failure (

        "e",

        "Unexpected 'o'",

        {

            currentLine = "World"

            line = 0

            column = 1

        }

    )

)



╭─[ 37.97ms - stdout ]─────────────────────────────────────────────────────────╮

│ Failure                                                                      │

│       Item1: e                                                               │

│       Item2: Unexpected 'o'                                                  │

│       Item3: ParserPosition                                                  │

│         currentLine: World                                                   │

│         line: 0                                                              │

│         column: 1                                                            │

│                                                                              │

╰──────────────────────────────────────────────────────────────────────────────╯



── fsharp ──────────────────────────────────────────────────────────────────────

let inline returnP x =

    {

        label = $"%A{x}"

        parseFn = fun input -> Success (x, input)

    }



── fsharp ──────────────────────────────────────────────────────────────────────

//// test



let input = fromStr "Hello"

let parser = returnP "Hello"

runOnInput parser input |> _equal (

    Success (

        "Hello",

        {

            lines = [[| "Hello" |]]

            position = { line = 0; column = 0 }

        }

    )

)



╭─[ 34.15ms - stdout ]─────────────────────────────────────────────────────────╮

│ Success                                                                      │

│       Item:       - Hello                                                    │

│       - InputState                                                           │

│           lines: [ Hello ]                                                   │

│           position: Position                                                 │

│             line: 0                                                          │

│             column: 0                                                        │

│                                                                              │

╰──────────────────────────────────────────────────────────────────────────────╯



── fsharp ──────────────────────────────────────────────────────────────────────

let inline mapP f =

    bindP (f >> returnP)



── fsharp ──────────────────────────────────────────────────────────────────────

let (<!>) = mapP



── fsharp ──────────────────────────────────────────────────────────────────────

let inline (|>>) x f = f <!> x



── fsharp ──────────────────────────────────────────────────────────────────────

//// test



let input = fromStr "Hello"

let parser = satisfy (fun c -> c = 'H') "H"

let parser2 = parser |>> string

runOnInput parser2 input |> _equal (

    Success (

        "H",

        {

            lines = [[| "Hello" |]]

            position = { line = 0; column = 1 }

        }

    )

)



╭─[ 35.18ms - stdout ]─────────────────────────────────────────────────────────╮

│ Success                                                                      │

│       Item:       - H                                                        │

│       - InputState                                                           │

│           lines: [ Hello ]                                                   │

│           position: Position                                                 │

│             line: 0                                                          │

│             column: 1                                                        │

│                                                                              │

╰──────────────────────────────────────────────────────────────────────────────╯



── fsharp ──────────────────────────────────────────────────────────────────────

let inline applyP fP xP =

    fP >>=

        fun f ->

            xP >>=

                fun x ->

                    returnP (f x)



── fsharp ──────────────────────────────────────────────────────────────────────

let (<*>) = applyP



── fsharp ──────────────────────────────────────────────────────────────────────

let inline lift2 f xP yP =

    returnP f <*> xP <*> yP



── fsharp ──────────────────────────────────────────────────────────────────────

//// test



let input = fromStr "Hello"

let parser = satisfy (fun c -> c = 'H') "H"

let parser2 = satisfy (fun c -> c = 'e') "e"

let parser3 = lift2 (fun c1 c2 -> string c1 + string c2) parser parser2

runOnInput parser3 input |> _equal (

    Success (

        "He",

        {

            lines = [[| "Hello" |]]

            position = { line = 0; column = 2 }

        }

    )

)



╭─[ 54.75ms - stdout ]─────────────────────────────────────────────────────────╮

│ Success                                                                      │

│       Item:       - He                                                       │

│       - InputState                                                           │

│           lines: [ Hello ]                                                   │

│           position: Position                                                 │

│             line: 0                                                          │

│             column: 2                                                        │

│                                                                              │

╰──────────────────────────────────────────────────────────────────────────────╯



── fsharp ──────────────────────────────────────────────────────────────────────

let inline andThen p1 p2 =

    p1 >>=

        fun p1Result ->

            p2 >>=

                fun p2Result ->

                    returnP (p1Result, p2Result)

    <?> $"{getLabel p1} andThen {getLabel p2}"



── fsharp ──────────────────────────────────────────────────────────────────────

let (.>>.) = andThen



── fsharp ──────────────────────────────────────────────────────────────────────

//// test



let input = fromStr "Hello"

let parser = satisfy (fun c -> c = 'H') "H"

let parser2 = satisfy (fun c -> c = 'e') "e"

let parser3 = parser .>>. parser2

runOnInput parser3 input |> _equal (

    Success (

        ('H', 'e'),

        {

            lines = [[| "Hello" |]]

            position = { line = 0; column = 2 }

        }

    )

)



╭─[ 52.32ms - stdout ]─────────────────────────────────────────────────────────╮

│ Success                                                                      │

│       Item:       - ( H, e )                                                 │

│       - InputState                                                           │

│           lines: [ Hello ]                                                   │

│           position: Position                                                 │

│             line: 0                                                          │

│             column: 2                                                        │

│                                                                              │

╰──────────────────────────────────────────────────────────────────────────────╯



── fsharp ──────────────────────────────────────────────────────────────────────

let inline orElse p1 p2 =

    {

        label = $"{getLabel p1} orElse {getLabel p2}"

        parseFn = fun input ->

            match runOnInput p1 input with

            | Success _ as result -> result

            | Failure _ -> runOnInput p2 input

    }



── fsharp ──────────────────────────────────────────────────────────────────────

let (<|>) = orElse



── fsharp ──────────────────────────────────────────────────────────────────────

//// test



let input = fromStr "hello"

let parser = satisfy (fun c -> c = 'H') "H"

let parser2 = satisfy (fun c -> c = 'h') "h"

let parser3 = parser <|> parser2

runOnInput parser3 input |> _equal (

    Success (

        'h',

        {

            lines = [[| "hello" |]]

            position = { line = 0; column = 1 }

        }

    )

)



╭─[ 33.53ms - stdout ]─────────────────────────────────────────────────────────╮

│ Success                                                                      │

│       Item:       - h                                                        │

│       - InputState                                                           │

│           lines: [ hello ]                                                   │

│           position: Position                                                 │

│             line: 0                                                          │

│             column: 1                                                        │

│                                                                              │

╰──────────────────────────────────────────────────────────────────────────────╯



── fsharp ──────────────────────────────────────────────────────────────────────

let inline choice listOfParsers =

    listOfParsers |> List.reduce (<|>)



── fsharp ──────────────────────────────────────────────────────────────────────

//// test



let input = fromStr "hello"

let parser = satisfy (fun c -> c = 'H') "H"

let parser2 = satisfy (fun c -> c = 'h') "h"

let parser3 = choice [[ parser; parser2 ]]

runOnInput parser3 input |> _equal (

    Success (

        'h',

        {

            lines = [[| "hello" |]]

            position = { line = 0; column = 1 }

        }

    )

)



╭─[ 39.77ms - stdout ]─────────────────────────────────────────────────────────╮

│ Success                                                                      │

│       Item:       - h                                                        │

│       - InputState                                                           │

│           lines: [ hello ]                                                   │

│           position: Position                                                 │

│             line: 0                                                          │

│             column: 1                                                        │

│                                                                              │

╰──────────────────────────────────────────────────────────────────────────────╯



── fsharp ──────────────────────────────────────────────────────────────────────

let rec sequence parserList =

    match parserList with

    | [[]] -> returnP [[]]

    | head :: tail -> (lift2 cons) head (sequence tail)



── fsharp ──────────────────────────────────────────────────────────────────────

//// test



let input = fromStr "Hello"

let parser = satisfy (fun c -> c = 'H') "H"

let parser2 = satisfy (fun c -> c = 'e') "e"

let parser3 = sequence [[ parser; parser2 ]]

runOnInput parser3 input |> _equal (

    Success (

        [[ 'H'; 'e' ]],

        {

            lines = [[| "Hello" |]]

            position = { line = 0; column = 2 }

        }

    )

)



╭─[ 55.73ms - stdout ]─────────────────────────────────────────────────────────╮

│ Success                                                                      │

│       Item:       - [ H, e ]                                                 │

│       - InputState                                                           │

│           lines: [ Hello ]                                                   │

│           position: Position                                                 │

│             line: 0                                                          │

│             column: 2                                                        │

│                                                                              │

╰──────────────────────────────────────────────────────────────────────────────╯



── fsharp ──────────────────────────────────────────────────────────────────────

let rec parseZeroOrMore parser input =

    match runOnInput parser input with

    | Failure (_, _, _) ->

        [[]], input

    | Success (firstValue, inputAfterFirstParse) ->

        let subsequentValues, remainingInput = parseZeroOrMore parser 

inputAfterFirstParse

        firstValue :: subsequentValues, remainingInput



── fsharp ──────────────────────────────────────────────────────────────────────

let inline many parser =

    {

        label = $"many {getLabel parser}"

        parseFn = fun input -> Success (parseZeroOrMore parser input)

    }



── fsharp ──────────────────────────────────────────────────────────────────────

//// test



let input = fromStr "hello"

let parser = satisfy (fun c -> c = 'H') "H"

let parser2 = many parser

runOnInput parser2 input |> _equal (

    Success (

        [[]],

        {

            lines = [[| "hello" |]]

            position = { line = 0; column = 0 }

        }

    )

)



╭─[ 31.83ms - stdout ]─────────────────────────────────────────────────────────╮

│ Success                                                                      │

│       Item:       - [  ]                                                     │

│       - InputState                                                           │

│           lines: [ hello ]                                                   │

│           position: Position                                                 │

│             line: 0                                                          │

│             column: 0                                                        │

│                                                                              │

╰──────────────────────────────────────────────────────────────────────────────╯



── fsharp ──────────────────────────────────────────────────────────────────────

let inline many1 p =

    p >>=

        fun head ->

            many p >>=

                fun tail ->

                    returnP (head :: tail)

    <?> $"many1 {getLabel p}"



── fsharp ──────────────────────────────────────────────────────────────────────

//// test



let input = fromStr "hello"

let parser = satisfy (fun c -> c = 'H') "H"

let parser2 = many1 parser

runOnInput parser2 input |> _equal (

    Failure (

        "many1 H",

        "Unexpected 'h'",

        {

            currentLine = "hello"

            line = 0

            column = 0

        }

    )

)



╭─[ 47.19ms - stdout ]─────────────────────────────────────────────────────────╮

│ Failure                                                                      │

│       Item1: many1 H                                                         │

│       Item2: Unexpected 'h'                                                  │

│       Item3: ParserPosition                                                  │

│         currentLine: hello                                                   │

│         line: 0                                                              │

│         column: 0                                                            │

│                                                                              │

╰──────────────────────────────────────────────────────────────────────────────╯



── fsharp ──────────────────────────────────────────────────────────────────────

let inline opt p =

    let some = p |>> Some

    let none = returnP None

    (some <|> none)

    <?> $"opt {getLabel p}"



── fsharp ──────────────────────────────────────────────────────────────────────

//// test



let input = fromStr "hello"

let parser = satisfy (fun c -> c = 'H') "H"

let parser2 = opt parser

runOnInput parser2 input |> _equal (

    Success (

        None,

        {

            lines = [[| "hello" |]]

            position = { line = 0; column = 0 }

        }

    )

)



╭─[ 49.83ms - stdout ]─────────────────────────────────────────────────────────╮

│ Success                                                                      │

│       Item:       - <null>                                                   │

│       - InputState                                                           │

│           lines: [ hello ]                                                   │

│           position: Position                                                 │

│             line: 0                                                          │

│             column: 0                                                        │

│                                                                              │

╰──────────────────────────────────────────────────────────────────────────────╯



── fsharp ──────────────────────────────────────────────────────────────────────

let inline (.>>) p1 p2 =

    p1 .>>. p2

    |> mapP fst



── fsharp ──────────────────────────────────────────────────────────────────────

let inline (>>.) p1 p2 =

    p1 .>>. p2

    |> mapP snd



── fsharp ──────────────────────────────────────────────────────────────────────

let inline between p1 p2 p3 =

    p1 >>. p2 .>> p3



── fsharp ──────────────────────────────────────────────────────────────────────

//// test



let input = fromStr "[[Hello]]"

let parser =

    between

        (satisfy (fun c -> c = '[[') "[[")

        (many (satisfy (fun c -> [[ 'a' .. 'z' ]] @ [[ 'A' .. 'Z' ]] |> 

List.contains c) "letter"))

        (satisfy (fun c -> c = ']]') "]]")

runOnInput parser input |> _equal (

    Success (

        [[ 'H'; 'e'; 'l'; 'l'; 'o' ]],

        {

            lines = [[| "[[Hello]]" |]]

            position = { line = 0; column = 7 }

        }

    )

)



╭─[ 109.60ms - stdout ]────────────────────────────────────────────────────────╮

│ Success                                                                      │

│       Item:       - [ H, e, l, l, o ]                                        │

│       - InputState                                                           │

│           lines: [ [Hello] ]                                                 │

│           position: Position                                                 │

│             line: 0                                                          │

│             column: 7                                                        │

│                                                                              │

╰──────────────────────────────────────────────────────────────────────────────╯



── fsharp ──────────────────────────────────────────────────────────────────────

let inline sepBy1 p sep =

    let sepThenP = sep >>. p

    p .>>. many sepThenP

    |>> fun (p, pList) -> p :: pList



── fsharp ──────────────────────────────────────────────────────────────────────

let inline sepBy p sep =

    sepBy1 p sep <|> returnP [[]]



── fsharp ──────────────────────────────────────────────────────────────────────

//// test



let input = fromStr "Hello,World"

let parser = sepBy (many (satisfy (fun c -> c <> ',') "not comma")) (satisfy 

(fun c -> c = ',') "comma")

runOnInput parser input |> _equal (

    Success (

        [[ [[ 'H'; 'e'; 'l'; 'l'; 'o' ]]; [[ 'W'; 'o'; 'r'; 'l'; 'd'; '\n' ]] 

]],

        {

            lines = [[| "Hello,World" |]]

            position = { line = 1; column = 0 }

        }

    )

)



╭─[ 75.21ms - stdout ]─────────────────────────────────────────────────────────╮

│ Success                                                                      │

│       Item:       - FSharpList<FSharpList<Char>>                             │

│ [ H, e, l, l, o ]                                                            │

│ [ W, o, r, l, d,                                                             │

│  ]                                                                           │

│       - InputState                                                           │

│           lines: [ Hello,World ]                                             │

│           position: Position                                                 │

│             line: 1                                                          │

│             column: 0                                                        │

│                                                                              │

╰──────────────────────────────────────────────────────────────────────────────╯



── fsharp ──────────────────────────────────────────────────────────────────────

let inline pchar charToMatch =

    satisfy ((=) charToMatch) $"%c{charToMatch}"



── fsharp ──────────────────────────────────────────────────────────────────────

let inline anyOf listOfChars =

    listOfChars

    |> List.map pchar

    |> choice

    <?> $"anyOf %A{listOfChars}"



── fsharp ──────────────────────────────────────────────────────────────────────

//// test



let input = fromStr "Hello"

let parser = anyOf [[ 'H'; 'e'; 'l'; 'o' ]] |> many

runOnInput parser input |> _equal (

    Success (

        [[ 'H'; 'e'; 'l'; 'l'; 'o' ]],

        {

            lines = [[| "Hello" |]]

            position = { line = 0; column = 5 }

        }

    )

)



╭─[ 36.77ms - stdout ]─────────────────────────────────────────────────────────╮

│ Success                                                                      │

│       Item:       - [ H, e, l, l, o ]                                        │

│       - InputState                                                           │

│           lines: [ Hello ]                                                   │

│           position: Position                                                 │

│             line: 0                                                          │

│             column: 5                                                        │

│                                                                              │

╰──────────────────────────────────────────────────────────────────────────────╯



── fsharp ──────────────────────────────────────────────────────────────────────

let inline charListToStr charList =

    charList |> List.toArray |> String



── fsharp ──────────────────────────────────────────────────────────────────────

let inline manyChars cp =

    many cp

    |>> charListToStr



── fsharp ──────────────────────────────────────────────────────────────────────

let inline manyChars1 cp =

    many1 cp

    |>> charListToStr



── fsharp ──────────────────────────────────────────────────────────────────────

//// test



let input = fromStr "Hello"

let parser = manyChars1 (anyOf [[ 'H'; 'e'; 'l'; 'o' ]])

runOnInput parser input |> _equal (

    Success (

        "Hello",

        {

            lines = [[| "Hello" |]]

            position = { line = 0; column = 5 }

        }

    )

)



╭─[ 52.73ms - stdout ]─────────────────────────────────────────────────────────╮

│ Success                                                                      │

│       Item:       - Hello                                                    │

│       - InputState                                                           │

│           lines: [ Hello ]                                                   │

│           position: Position                                                 │

│             line: 0                                                          │

│             column: 5                                                        │

│                                                                              │

╰──────────────────────────────────────────────────────────────────────────────╯



── fsharp ──────────────────────────────────────────────────────────────────────

let inline pstring str =

    str

    |> List.ofSeq

    |> List.map pchar

    |> sequence

    |> mapP charListToStr

    <?> str



── fsharp ──────────────────────────────────────────────────────────────────────

//// test



let input = fromStr "Hello"

let parser = pstring "Hello"

runOnInput parser input |> _equal (

    Success (

        "Hello",

        {

            lines = [[| "Hello" |]]

            position = { line = 0; column = 5 }

        }

    )

)



╭─[ 42.07ms - stdout ]─────────────────────────────────────────────────────────╮

│ Success                                                                      │

│       Item:       - Hello                                                    │

│       - InputState                                                           │

│           lines: [ Hello ]                                                   │

│           position: Position                                                 │

│             line: 0                                                          │

│             column: 5                                                        │

│                                                                              │

╰──────────────────────────────────────────────────────────────────────────────╯



── fsharp ──────────────────────────────────────────────────────────────────────

let whitespaceChar =

    satisfy Char.IsWhiteSpace "whitespace"



── fsharp ──────────────────────────────────────────────────────────────────────

let spaces = many whitespaceChar



── fsharp ──────────────────────────────────────────────────────────────────────

let spaces1 = many1 whitespaceChar



── fsharp ──────────────────────────────────────────────────────────────────────

//// test



let input = fromStr "  Hello"

let parser = spaces1 .>>. pstring "Hello"

runOnInput parser input |> _equal (

    Success (

        ([[ ' '; ' ' ]], "Hello"),

        {

            lines = [[| "  Hello" |]]

            position = { line = 0; column = 7 }

        }

    )

)



╭─[ 86.66ms - stdout ]─────────────────────────────────────────────────────────╮

│ Success                                                                      │

│       Item:       -         - [  ,   ]                                       │

│         - Hello                                                              │

│       - InputState                                                           │

│           lines: [   Hello ]                                                 │

│           position: Position                                                 │

│             line: 0                                                          │

│             column: 7                                                        │

│                                                                              │

╰──────────────────────────────────────────────────────────────────────────────╯



── fsharp ──────────────────────────────────────────────────────────────────────

let digitChar =

    satisfy Char.IsDigit "digit"



── fsharp ──────────────────────────────────────────────────────────────────────

//// test



let input = fromStr "Hello"

let parser = digitChar

runOnInput parser input |> _equal (

    Failure (

        "digit",

        "Unexpected 'H'",

        {

            currentLine = "Hello"

            line = 0

            column = 0

        }

    )

)



╭─[ 32.00ms - stdout ]─────────────────────────────────────────────────────────╮

│ Failure                                                                      │

│       Item1: digit                                                           │

│       Item2: Unexpected 'H'                                                  │

│       Item3: ParserPosition                                                  │

│         currentLine: Hello                                                   │

│         line: 0                                                              │

│         column: 0                                                            │

│                                                                              │

╰──────────────────────────────────────────────────────────────────────────────╯



── fsharp ──────────────────────────────────────────────────────────────────────

let pint =

    let inline resultToInt (sign, digits) =

        let i = int digits

        match sign with

        | Some ch -> -i

        | None -> i



    let digits = manyChars1 digitChar



    opt (pchar '-') .>>. digits

    |> mapP resultToInt

    <?> "integer"



── fsharp ──────────────────────────────────────────────────────────────────────

//// test



run pint "-123"

|> _equal (

    Success (

        -123,

        {

            lines = [[| "-123" |]]

            position = { line = 0; column = 4 }

        }

    )

)



╭─[ 33.07ms - stdout ]─────────────────────────────────────────────────────────╮

│ Success                                                                      │

│       Item:       - -123                                                     │

│       - InputState                                                           │

│           lines: [ -123 ]                                                    │

│           position: Position                                                 │

│             line: 0                                                          │

│             column: 4                                                        │

│                                                                              │

╰──────────────────────────────────────────────────────────────────────────────╯



── fsharp ──────────────────────────────────────────────────────────────────────

let pfloat =

    let inline resultToFloat (((sign, digits1), point), digits2) =

        let fl = float $"{digits1}.{digits2}"

        match sign with

        | Some ch -> -fl

        | None -> fl



    let digits = manyChars1 digitChar



    opt (pchar '-') .>>. digits .>>. pchar '.' .>>. digits

    |> mapP resultToFloat

    <?> "float"



── fsharp ──────────────────────────────────────────────────────────────────────

//// test



run pfloat "-123.45"

|> _equal (

    Success (

        -123.45,

        {

            lines = [[| "-123.45" |]]

            position = { line = 0; column = 7 }

        }

    )

)



╭─[ 39.86ms - stdout ]─────────────────────────────────────────────────────────╮

│ Success                                                                      │

│       Item:       - -123.45                                                  │

│       - InputState                                                           │

│           lines: [ -123.45 ]                                                 │

│           position: Position                                                 │

│             line: 0                                                          │

│             column: 7                                                        │

│                                                                              │

╰──────────────────────────────────────────────────────────────────────────────╯



── fsharp ──────────────────────────────────────────────────────────────────────

let inline createParserForwardedToRef<'a> () =

    let mutable parserRef : Parser<'a> =

        {

            label = "unknown"

            parseFn = fun _ -> failwith "unfixed forwarded parser"

        }



    let wrapperParser =

        { parserRef with

            parseFn = fun input -> runOnInput parserRef input

        }



    wrapperParser, (fun v -> parserRef <- v)



── fsharp ──────────────────────────────────────────────────────────────────────

let inline (>>%) p x =

    p

    |>> fun _ -> x

[NbConvertApp] Converting notebook Parser.dib.ipynb to html

C:\Users\i574n\scoop\apps\python\current\Lib\site-packages\nbformat\__init__.py:93: MissingIDFieldWarning: Code cell is missing an id field, this will become a hard error in future nbformat versions. You may want to use `normalize()` on your notebooks before validations (available since nbformat 5.1.4). Previous versions of nbformat are fixing this issue transparently, and will stop doing so in the future.

  validate(nb)

C:\Users\i574n\scoop\apps\python\current\Lib\site-packages\nbconvert\filters\highlight.py:71: UserWarning: IPython3 lexer unavailable, falling back on Python 3

  return _pygments_highlight(

[NbConvertApp] Writing 412927 bytes to Parser.dib.html

00:00:00 #1 [Debug] writeDibCode / output: Fs / path: JsonParser.dib

00:00:00 #1 [Debug] writeDibCode / output: Fs / path: Parser.dib

00:00:00 #3 [Debug] parseDibCode / output: Fs / file: Parser.dib

00:00:00 #3 [Debug] parseDibCode / output: Fs / file: JsonParser.dib

In [ ]:
{ . "$ScriptDir/../lib/fsharp/build.ps1" } | Invoke-Block

── markdown ────────────────────────────────────────────────────────────────────

╭──────────────────────────────────────────────────────────────────────────────╮

│ # Async (Polyglot)                                                           │

╰──────────────────────────────────────────────────────────────────────────────╯



── fsharp ──────────────────────────────────────────────────────────────────────

#!import ../../lib/fsharp/Testing.dib



── fsharp - import ─────────────────────────────────────────────────────────────

#r 

"C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.A

spNetCore.Html.Abstractions.dll"

#r 

"C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D

otNet.Interactive.dll"

#r 

"C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D

otNet.Interactive.FSharp.dll"

#r 

"C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D

otNet.Interactive.Formatting.dll"

open System

open System.IO

open System.Text

open Microsoft.DotNet.Interactive.Formatting



── fsharp - import ─────────────────────────────────────────────────────────────

#r 

"C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D

otNet.Interactive.FSharp.dll"

open Microsoft.DotNet.Interactive.FSharp.FSharpKernelHelpers

#r 

"C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D

otNet.Interactive.dll"

open type Microsoft.DotNet.Interactive.Kernel



── fsharp - import ─────────────────────────────────────────────────────────────

#r @"../../../../../../../.nuget/packages/expecto/10.1.0/lib/net6.0/Expecto.dll"



── fsharp - import ─────────────────────────────────────────────────────────────

//// test



Formatter.ListExpansionLimit <- 100



── fsharp - import ─────────────────────────────────────────────────────────────

//// test



type AssertExceptionFormatter (ex) =

    member _.Text =

        ex.ToString()

            .Replace("32m", "<span style=\"color: green;\">")

            .Replace("36m", "</span>")

            .Replace("31m", "<span style=\"color: red;\">")

            .Replace("\n", "<br/>\n")





Formatter.Register<AssertExceptionFormatter> ((fun (x : 

AssertExceptionFormatter) -> x.Text), "text/html")



── fsharp - import ─────────────────────────────────────────────────────────────

//// test



let inline __expect fn log expected actual =

    if log then printfn $"{actual.ToDisplayString ()}"

    try

        "Testing.__expect" |> fn actual expected

    with :? Expecto.AssertException as ex ->

        AssertExceptionFormatter(ex).Display () |> ignore

        failwith (ex.GetType().FullName)



let inline __contains log expected actual = __expect Expecto.Expect.contains log

expected actual

let inline _contains expected actual = __contains true expected actual



let inline __equal log expected actual = __expect Expecto.Expect.equal log 

expected actual

let inline _equal expected actual = __equal true expected actual



let inline __isGreaterThan log expected actual = __expect 

Expecto.Expect.isGreaterThan log expected actual

let ...



── fsharp - import ─────────────────────────────────────────────────────────────

//// test



let inline __isBetween log a b actual =

    let inline isBetween actual (a, b) _ =

        __isGreaterThanOrEqual log a actual

        __isLessThanOrEqual log b actual

    __expect isBetween log (a, b) actual

let inline _isBetween a b actual = __isBetween true a b actual



── fsharp ──────────────────────────────────────────────────────────────────────

#!import ../../lib/fsharp/Common.fs



── fsharp - import ─────────────────────────────────────────────────────────────

#if !INTERACTIVE

namespace Polyglot

#endif



module Common =



    let nl = System.Environment.NewLine

    let q = @""""



    let inline cons head tail = head :: tail



    module String =

        let inline contains (value : string) (input : string) =

            input.Contains value



        let inline endsWith (value : string) (input : string) =

            input.EndsWith value



        let inline padLeft totalWidth paddingChar (input : string) =

            input.PadLeft (totalWidth, paddingChar)



        let inline replace (oldValue : string) (newValue : string) (input : 

string) =

            input.Replace (oldValue, newValue)



        let inline split separator (input : string) =

            input.Split separator



        let inline spli...



── fsharp ──────────────────────────────────────────────────────────────────────

open Common



── markdown ────────────────────────────────────────────────────────────────────

╭──────────────────────────────────────────────────────────────────────────────╮

│ ## choice                                                                    │

╰──────────────────────────────────────────────────────────────────────────────╯



── fsharp ──────────────────────────────────────────────────────────────────────

let inline choice asyncs = async {

    let e = Event<_> ()

    use cts = new System.Threading.CancellationTokenSource ()

    let fn =

        asyncs

        |> Seq.map (fun a -> async {

            let! x = a

            e.Trigger x

        })

        |> Async.Parallel

        |> Async.Ignore

    Async.Start (fn, cts.Token)

    let! result = Async.AwaitEvent e.Publish

    cts.Cancel ()

    return result

}



── markdown ────────────────────────────────────────────────────────────────────

╭──────────────────────────────────────────────────────────────────────────────╮

│ ## map                                                                       │

╰──────────────────────────────────────────────────────────────────────────────╯



── fsharp ──────────────────────────────────────────────────────────────────────

let inline map fn a = async {

    let! x = a

    return fn x

}



── markdown ────────────────────────────────────────────────────────────────────

╭──────────────────────────────────────────────────────────────────────────────╮

│ ## catch                                                                     │

╰──────────────────────────────────────────────────────────────────────────────╯



── fsharp ──────────────────────────────────────────────────────────────────────

let inline catch a =

    a

    |> Async.Catch

    |> map (function

        | Choice1Of2 result -> Ok result

        | Choice2Of2 ex -> Error ex

    )



── markdown ────────────────────────────────────────────────────────────────────

╭──────────────────────────────────────────────────────────────────────────────╮

│ ## runWithTimeoutAsync                                                       │

╰──────────────────────────────────────────────────────────────────────────────╯



── fsharp ──────────────────────────────────────────────────────────────────────

let inline runWithTimeoutAsync (timeout : int) fn =

    let getLocals () = $"timeout: {timeout} / {getLocals ()}"



    let timeoutTask = async {

        do! Async.Sleep timeout

        trace Debug (fun () -> "runWithTimeoutAsync") getLocals

        return None

    }



    let task = async {

        try

            let! result = fn

            return Some result

        with

        | :? System.AggregateException as ex when

            ex.InnerExceptions

            |> Seq.exists (function :? 

System.Threading.Tasks.TaskCanceledException -> true | _ -> false)

            ->

            let getLocals () = $"ex: {ex |> printException} / {getLocals ()}"

            trace Warning (fun () -> "runWithTimeoutAsync") getLocals

            return None

        | ex ->

            trace Critical (fun () -> $"runWithTimeoutAsync** / ex: {ex |> 

printException}") getLocals

            return None

    }



    [[ timeoutTask; task ]]

    |> choice



── fsharp ──────────────────────────────────────────────────────────────────────

let inline runWithTimeout timeout fn =

    fn

    |> runWithTimeoutAsync timeout

    |> Async.RunSynchronously



── fsharp ──────────────────────────────────────────────────────────────────────

//// test



Async.Sleep 60

|> runWithTimeout 10

|> _equal None



╭─[ 121.50ms - stdout ]────────────────────────────────────────────────────────╮

│ 00:00:00 #1 [Debug] runWithTimeoutAsync / timeout: 10                        │

│ <null>                                                                       │

│                                                                              │

╰──────────────────────────────────────────────────────────────────────────────╯



── fsharp ──────────────────────────────────────────────────────────────────────

//// test



Async.Sleep 10

|> runWithTimeout 60

|> _equal (Some ())



╭─[ 90.57ms - stdout ]─────────────────────────────────────────────────────────╮

│ FSharpOption<Unit>                                                           │

│       Value: <null>                                                          │

│                                                                              │

╰──────────────────────────────────────────────────────────────────────────────╯



── fsharp ──────────────────────────────────────────────────────────────────────

//// test



async {

    raise (exn "error")

}

|> runWithTimeout 60

|> _equal None



╭─[ 90.24ms - stdout ]─────────────────────────────────────────────────────────╮

│ 00:00:00 #2 [Critical] runWithTimeoutAsync** / ex: System.Exception: error / │

│ timeout: 60                                                                  │

│ <null>                                                                       │

│                                                                              │

╰──────────────────────────────────────────────────────────────────────────────╯



── markdown ────────────────────────────────────────────────────────────────────

╭──────────────────────────────────────────────────────────────────────────────╮

│ ## runWithTimeoutChildAsync                                                  │

╰──────────────────────────────────────────────────────────────────────────────╯



── fsharp ──────────────────────────────────────────────────────────────────────

let inline runWithTimeoutChildAsync (timeout : int) fn = async {

    let getLocals () = $"timeout: {timeout} / {getLocals ()}"

    let! child = Async.StartChild (fn, timeout)

    return!

        child

        |> catch

        |> map (function

            | Ok result -> Some result

            | Error (:? System.TimeoutException as ex) ->

                trace Debug (fun () -> $"runWithTimeoutChildAsync") getLocals

                None

            | Error ex ->

                trace Critical (fun () -> $"runWithTimeoutChildAsync** / ex: {ex

|> printException}") getLocals

                None

        )

}



── fsharp ──────────────────────────────────────────────────────────────────────

let inline runWithTimeoutChild timeout fn =

    fn

    |> runWithTimeoutChildAsync timeout

    |> Async.RunSynchronously



── fsharp ──────────────────────────────────────────────────────────────────────

//// test



Async.Sleep 60

|> runWithTimeoutChild 10

|> _equal None



╭─[ 84.42ms - stdout ]─────────────────────────────────────────────────────────╮

│ 00:00:00 #3 [Debug] runWithTimeoutChildAsync / timeout: 10                   │

│ <null>                                                                       │

│                                                                              │

╰──────────────────────────────────────────────────────────────────────────────╯



── fsharp ──────────────────────────────────────────────────────────────────────

//// test



Async.Sleep 10

|> runWithTimeoutChild 60

|> _equal (Some ())



╭─[ 55.73ms - stdout ]─────────────────────────────────────────────────────────╮

│ FSharpOption<Unit>                                                           │

│       Value: <null>                                                          │

│                                                                              │

╰──────────────────────────────────────────────────────────────────────────────╯



── fsharp ──────────────────────────────────────────────────────────────────────

//// test



async {

    raise (exn "error")

}

|> runWithTimeoutChild 60

|> _equal None



╭─[ 65.26ms - stdout ]─────────────────────────────────────────────────────────╮

│ 00:00:00 #4 [Critical] runWithTimeoutChildAsync** / ex: System.Exception:    │

│ error / timeout: 60                                                          │

│ <null>                                                                       │

│                                                                              │

╰──────────────────────────────────────────────────────────────────────────────╯



── markdown ────────────────────────────────────────────────────────────────────

╭──────────────────────────────────────────────────────────────────────────────╮

│ ## runWithTimeoutStrict                                                      │

╰──────────────────────────────────────────────────────────────────────────────╯



── fsharp ──────────────────────────────────────────────────────────────────────

let inline runWithTimeoutStrict (timeout : int) fn =

    let getLocals () = $"timeout: {timeout} / {getLocals ()}"



    let timeoutTask = async {

        do! Async.Sleep timeout

        return None, getLocals

    }

    

    let task = async {

        try

            return Async.RunSynchronously (fn, timeout) |> Some, getLocals

        with

        | :? System.TimeoutException as ex ->

            let getLocals () = $"ex: {ex |> printException} / {getLocals ()}"

            return None, getLocals

        | ex ->

            trace Critical (fun () -> $"runWithTimeoutStrict / ex: {ex |> 

printException}") getLocals

            return raise ex

    }



    try

        [[| timeoutTask; task |]]

        |> Array.map Async.StartAsTask

        |> System.Threading.Tasks.Task.WhenAny

        |> fun task ->

            match task.Result.Result with

            | None, getLocals ->

                trace Debug (fun () -> "runWithTimeoutStrict") getLocals

                None

            | result, _ -> result

    with

    | :? System.AggregateException as ex when

        ex.InnerExceptions

        |> Seq.exists (function :? System.Threading.Tasks.TaskCanceledException 

-> true | _ -> false)

        ->

        let getLocals () = $"ex: {ex |> printException} / {getLocals ()}"

        trace Warning (fun () -> "runWithTimeoutStrict") getLocals

        None

    | ex ->

        let getLocals () = $"ex: {ex |> printException} / {getLocals ()}"

        trace Critical (fun () -> "runWithTimeoutStrict**") getLocals

        None



── fsharp ──────────────────────────────────────────────────────────────────────

//// test



Async.Sleep 60

|> runWithTimeoutStrict 10

|> _equal None



╭─[ 97.58ms - stdout ]─────────────────────────────────────────────────────────╮

│ 00:00:00 #5 [Debug] runWithTimeoutStrict / timeout: 10                       │

│ <null>                                                                       │

│                                                                              │

╰──────────────────────────────────────────────────────────────────────────────╯



── fsharp ──────────────────────────────────────────────────────────────────────

//// test



Async.Sleep 10

|> runWithTimeoutStrict 60

|> _equal (Some ())



╭─[ 89.89ms - stdout ]─────────────────────────────────────────────────────────╮

│ FSharpOption<Unit>                                                           │

│       Value: <null>                                                          │

│                                                                              │

╰──────────────────────────────────────────────────────────────────────────────╯



── fsharp ──────────────────────────────────────────────────────────────────────

//// test



async {

    raise (exn "error")

}

|> runWithTimeoutStrict 60

|> _equal None



╭─[ 89.98ms - stdout ]─────────────────────────────────────────────────────────╮

│ 00:00:00 #6 [Critical] runWithTimeoutStrict / ex: System.Exception: error /  │

│ timeout: 60                                                                  │

│ 00:00:00 #7 [Critical] runWithTimeoutStrict** / ex:                          │

│ System.AggregateException: One or more errors occurred. (error) / timeout:   │

│ 60                                                                           │

│ <null>                                                                       │

│                                                                              │

╰──────────────────────────────────────────────────────────────────────────────╯



── markdown ────────────────────────────────────────────────────────────────────

╭──────────────────────────────────────────────────────────────────────────────╮

│ ## awaitValueTask                                                            │

╰──────────────────────────────────────────────────────────────────────────────╯



── fsharp ──────────────────────────────────────────────────────────────────────

let inline awaitValueTaskUnit (task : System.Threading.Tasks.ValueTask) =

    task.AsTask () |> Async.AwaitTask



let inline awaitValueTask (task : System.Threading.Tasks.ValueTask<_>) =

    task.AsTask () |> Async.AwaitTask



── markdown ────────────────────────────────────────────────────────────────────

╭──────────────────────────────────────────────────────────────────────────────╮

│ ## init                                                                      │

╰──────────────────────────────────────────────────────────────────────────────╯



── fsharp ──────────────────────────────────────────────────────────────────────

let inline init x = async {

    return x

}



── fsharp ──────────────────────────────────────────────────────────────────────

//// test



init 1

|> Async.RunSynchronously

|> _equal 1



╭─[ 25.05ms - stdout ]─────────────────────────────────────────────────────────╮

│ 1                                                                            │

│                                                                              │

╰──────────────────────────────────────────────────────────────────────────────╯



── markdown ────────────────────────────────────────────────────────────────────

╭──────────────────────────────────────────────────────────────────────────────╮

│ ## mergeCancellationTokenWithDefaultAsync                                    │

╰──────────────────────────────────────────────────────────────────────────────╯



── fsharp ──────────────────────────────────────────────────────────────────────

let inline mergeCancellationTokenWithDefaultAsync (token : 

System.Threading.CancellationToken) = async {

    let! ct = Async.CancellationToken

    let dct = Async.DefaultCancellationToken

    let cts = System.Threading.CancellationTokenSource.CreateLinkedTokenSource 

[[| ct; dct; token |]]

    return cts.Token

}



── markdown ────────────────────────────────────────────────────────────────────

╭──────────────────────────────────────────────────────────────────────────────╮

│ ## withCancellationToken                                                     │

╰──────────────────────────────────────────────────────────────────────────────╯



── fsharp ──────────────────────────────────────────────────────────────────────

let inline withCancellationToken (ct : System.Threading.CancellationToken) fn =

    Async.StartImmediateAsTask (fn, ct)

    |> Async.AwaitTask



── fsharp ──────────────────────────────────────────────────────────────────────

//// test



let cts = new System.Threading.CancellationTokenSource ()



async {

    let run = async {

        do! Async.Sleep 100

        return 1

    }



    let! child =

        run

        |> withCancellationToken cts.Token

        |> catch

        |> Async.StartChild



    do! Async.Sleep 50

    cts.Cancel ()

    return! child

}

|> Async.RunSynchronously

|> Result.mapError (fun x -> x.Message)

|> _equal (Error ("A task was canceled."))



╭─[ 250.40ms - stdout ]────────────────────────────────────────────────────────╮

│ FSharpResult<Int32,String>                                                   │

│       ResultValue: 0                                                         │

│       ErrorValue: A task was canceled.                                       │

│                                                                              │

╰──────────────────────────────────────────────────────────────────────────────╯



── markdown ────────────────────────────────────────────────────────────────────

╭──────────────────────────────────────────────────────────────────────────────╮

│ ## withTraceLevel                                                            │

╰──────────────────────────────────────────────────────────────────────────────╯



── fsharp ──────────────────────────────────────────────────────────────────────

let inline withTraceLevel level fn = async {

    let oldTraceLevel = traceLevel

    try

        traceLevel <- level

        return! fn

    finally

        traceLevel <- oldTraceLevel

}

[NbConvertApp] Converting notebook Async.dib.ipynb to html

C:\Users\i574n\scoop\apps\python\current\Lib\site-packages\nbformat\__init__.py:93: MissingIDFieldWarning: Code cell is missing an id field, this will become a hard error in future nbformat versions. You may want to use `normalize()` on your notebooks before validations (available since nbformat 5.1.4). Previous versions of nbformat are fixing this issue transparently, and will stop doing so in the future.

  validate(nb)

C:\Users\i574n\scoop\apps\python\current\Lib\site-packages\nbconvert\filters\highlight.py:71: UserWarning: IPython3 lexer unavailable, falling back on Python 3

  return _pygments_highlight(

[NbConvertApp] Writing 323685 bytes to Async.dib.html



── markdown ────────────────────────────────────────────────────────────────────

╭──────────────────────────────────────────────────────────────────────────────╮

│ # AsyncSeq (Polyglot)                                                        │

╰──────────────────────────────────────────────────────────────────────────────╯



── fsharp ──────────────────────────────────────────────────────────────────────

#!import ../../lib/fsharp/Testing.dib



── fsharp - import ─────────────────────────────────────────────────────────────

#r 

"C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.A

spNetCore.Html.Abstractions.dll"

#r 

"C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D

otNet.Interactive.dll"

#r 

"C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D

otNet.Interactive.FSharp.dll"

#r 

"C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D

otNet.Interactive.Formatting.dll"

open System

open System.IO

open System.Text

open Microsoft.DotNet.Interactive.Formatting



── fsharp - import ─────────────────────────────────────────────────────────────

#r 

"C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D

otNet.Interactive.FSharp.dll"

open Microsoft.DotNet.Interactive.FSharp.FSharpKernelHelpers

#r 

"C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D

otNet.Interactive.dll"

open type Microsoft.DotNet.Interactive.Kernel



── fsharp - import ─────────────────────────────────────────────────────────────

#r @"../../../../../../../.nuget/packages/expecto/10.1.0/lib/net6.0/Expecto.dll"



── fsharp - import ─────────────────────────────────────────────────────────────

//// test



Formatter.ListExpansionLimit <- 100



── fsharp - import ─────────────────────────────────────────────────────────────

//// test



type AssertExceptionFormatter (ex) =

    member _.Text =

        ex.ToString()

            .Replace("32m", "<span style=\"color: green;\">")

            .Replace("36m", "</span>")

            .Replace("31m", "<span style=\"color: red;\">")

            .Replace("\n", "<br/>\n")





Formatter.Register<AssertExceptionFormatter> ((fun (x : 

AssertExceptionFormatter) -> x.Text), "text/html")



── fsharp - import ─────────────────────────────────────────────────────────────

//// test



let inline __expect fn log expected actual =

    if log then printfn $"{actual.ToDisplayString ()}"

    try

        "Testing.__expect" |> fn actual expected

    with :? Expecto.AssertException as ex ->

        AssertExceptionFormatter(ex).Display () |> ignore

        failwith (ex.GetType().FullName)



let inline __contains log expected actual = __expect Expecto.Expect.contains log

expected actual

let inline _contains expected actual = __contains true expected actual



let inline __equal log expected actual = __expect Expecto.Expect.equal log 

expected actual

let inline _equal expected actual = __equal true expected actual



let inline __isGreaterThan log expected actual = __expect 

Expecto.Expect.isGreaterThan log expected actual

let ...



── fsharp - import ─────────────────────────────────────────────────────────────

//// test



let inline __isBetween log a b actual =

    let inline isBetween actual (a, b) _ =

        __isGreaterThanOrEqual log a actual

        __isLessThanOrEqual log b actual

    __expect isBetween log (a, b) actual

let inline _isBetween a b actual = __isBetween true a b actual



── fsharp ──────────────────────────────────────────────────────────────────────

#r 

@"../../../../../../../.nuget/packages/fsharp.control.asyncseq/3.2.1/lib/netstan

dard2.1/FSharp.Control.AsyncSeq.dll"

#r 

@"../../../../../../../.nuget/packages/system.reactive/6.0.1-preview.1/lib/net6.

0/System.Reactive.dll"

#r 

@"../../../../../../../.nuget/packages/system.reactive.linq/6.0.1-preview.1/lib/

netstandard2.0/System.Reactive.Linq.dll"



── fsharp ──────────────────────────────────────────────────────────────────────

#!import ../../lib/fsharp/Common.fs

#!import ../../lib/fsharp/Async.fs



── fsharp - import ─────────────────────────────────────────────────────────────

#if !INTERACTIVE

namespace Polyglot

#endif



module Common =



    let nl = System.Environment.NewLine

    let q = @""""



    let inline cons head tail = head :: tail



    module String =

        let inline contains (value : string) (input : string) =

            input.Contains value



        let inline endsWith (value : string) (input : string) =

            input.EndsWith value



        let inline padLeft totalWidth paddingChar (input : string) =

            input.PadLeft (totalWidth, paddingChar)



        let inline replace (oldValue : string) (newValue : string) (input : 

string) =

            input.Replace (oldValue, newValue)



        let inline split separator (input : string) =

            input.Split separator



        let inline spli...



── fsharp - import ─────────────────────────────────────────────────────────────

#if !INTERACTIVE

namespace Polyglot

#endif



module Async =



    open Common



    /// ## choice



    let inline choice asyncs = async {

        let e = Event<_> ()

        use cts = new System.Threading.CancellationTokenSource ()

        let fn =

            asyncs

            |> Seq.map (fun a -> async {

                let! x = a

                e.Trigger x

            })

            |> Async.Parallel

            |> Async.Ignore

        Async.Start (fn, cts.Token)

        let! result = Async.AwaitEvent e.Publish

        cts.Cancel ()

        return result

    }



    /// ## map



    let inline map fn a = async {

        let! x = a

        return fn x

    }



    /// ## catch



    let inline catch a =

        a

        |> Async.Catch

        ...



── fsharp ──────────────────────────────────────────────────────────────────────

open Common



── markdown ────────────────────────────────────────────────────────────────────

╭──────────────────────────────────────────────────────────────────────────────╮

│ ## subscribeEvent                                                            │

╰──────────────────────────────────────────────────────────────────────────────╯



── fsharp ──────────────────────────────────────────────────────────────────────

let inline subscribeEvent (event: IEvent<'H, 'A>) map =

    let observable = System.Reactive.Linq.Observable.FromEventPattern<'H, 

'A>(event.AddHandler, event.RemoveHandler)

    System.Reactive.Linq.Observable.Select (observable, fun event -> map 

event.EventArgs)

    |> FSharp.Control.AsyncSeq.ofObservableBuffered



── fsharp ──────────────────────────────────────────────────────────────────────

//// test



type TestEvent () as self =

    member val Calls = [[]] with get, set

    member val Event = Event<ErrorEventHandler, ErrorEventArgs> () with get



    member _.AddCall text =

        self.Calls <- self.Calls @ [[ text ]]



    member _.EventInterface =

        { new IEvent<ErrorEventHandler, ErrorEventArgs> with

            member _.AddHandler handler =

                self.AddCall "AddHandler"

                self.Event.Publish.AddHandler handler



            member _.RemoveHandler handler =

                self.AddCall "RemoveHandler"

                self.Event.Publish.RemoveHandler handler



            member _.Subscribe observer =

                self.AddCall "IObservable.Subscribe"

                let disposable = self.Event.Publish.Subscribe observer

                newDisposable (fun () ->

                    self.AddCall "IObservable.Dispose"

                    disposable.Dispose ()

                )

        }



    member _.Subscribe () =

        subscribeEvent

            self.EventInterface

            (fun args ->

                let result = args.GetException () |> printException

                self.AddCall $"TestEvent.Subscribe({result})"

                result

            )



    member _.Iter subscription =

        subscription

        |> FSharp.Control.AsyncSeq.iteriAsync (fun i error -> async {

            self.AddCall $"TestEvent.Iter({i}: {error})"

        })



    member _.WaitCall text = async {

        while self.Calls |> List.last <> text do

            do! Async.SwitchToThreadPool ()

    }



── fsharp ──────────────────────────────────────────────────────────────────────

//// test



let testEvent = TestEvent ()



async {

    testEvent.AddCall "1"

    let! child = testEvent.Subscribe () |> testEvent.Iter |> Async.StartChild

    do! testEvent.WaitCall "AddHandler"

    testEvent.AddCall "2"

    do! child

    testEvent.AddCall "3"

}

|> Async.runWithTimeout 300

|> _equal None



testEvent.Calls

|> Seq.toList

|> _equal [[ "1"; "AddHandler"; "2"; "RemoveHandler" ]]



╭─[ 491.33ms - stdout ]────────────────────────────────────────────────────────╮

│ 00:00:00 #1 [Debug] runWithTimeoutAsync / timeout: 300                       │

│ <null>                                                                       │

│ [ 1, AddHandler, 2, RemoveHandler ]                                          │

│                                                                              │

╰──────────────────────────────────────────────────────────────────────────────╯



── fsharp ──────────────────────────────────────────────────────────────────────

//// test



let testEvent = TestEvent ()



async {

    testEvent.AddCall "1"

    let! child = testEvent.Subscribe () |> testEvent.Iter |> Async.StartChild

    do! testEvent.WaitCall "AddHandler"

    testEvent.AddCall "2"

    use _ = testEvent.EventInterface.Subscribe (fun args ->

        testEvent.AddCall $"testEvent.EventInterface.Subscribe({args})"

    )

    testEvent.AddCall "3"

    do! child

    testEvent.AddCall "4"

}

|> Async.runWithTimeout 300

|> _equal None



testEvent.Calls

|> _equal [[ "1"; "AddHandler"; "2"; "IObservable.Subscribe"; "3"; 

"RemoveHandler"; "IObservable.Dispose" ]]



╭─[ 441.90ms - stdout ]────────────────────────────────────────────────────────╮

│ 00:00:00 #2 [Debug] runWithTimeoutAsync / timeout: 300                       │

│ <null>                                                                       │

│ [ 1, AddHandler, 2, IObservable.Subscribe, 3, RemoveHandler,                 │

│ IObservable.Dispose ]                                                        │

│                                                                              │

╰──────────────────────────────────────────────────────────────────────────────╯



── fsharp ──────────────────────────────────────────────────────────────────────

//// test



let testEvent = TestEvent ()



async {

    testEvent.AddCall "1"

    let! child = testEvent.Subscribe () |> testEvent.Iter |> Async.StartChild

    do! testEvent.WaitCall "AddHandler"

    testEvent.AddCall "2"

    use _ = testEvent.EventInterface.Subscribe (fun args ->

        async {

            do! testEvent.WaitCall "TestEvent.Iter(0: System.Exception: error)"

            testEvent.AddCall 

$"testEvent.EventInterface.Subscribe({args.GetException () |> printException})"

        }

        |> Async.RunSynchronously

    )

    testEvent.AddCall "3"

    testEvent.Event.Trigger (null, ErrorEventArgs (Exception "error"))

    testEvent.AddCall "4"

    do! child

    testEvent.AddCall "5"

}

|> Async.runWithTimeout 300

|> _equal None



testEvent.Calls

|> _equal [[

    "1"

    "AddHandler"

    "2"

    "IObservable.Subscribe"

    "3"

    "TestEvent.Subscribe(System.Exception: error)"

    "TestEvent.Iter(0: System.Exception: error)"

    "testEvent.EventInterface.Subscribe(System.Exception: error)"

    "4"

    "RemoveHandler"

    "IObservable.Dispose"

]]



╭─[ 457.46ms - stdout ]────────────────────────────────────────────────────────╮

│ 00:00:00 #3 [Debug] runWithTimeoutAsync / timeout: 300                       │

│ <null>                                                                       │

│ [ 1, AddHandler, 2, IObservable.Subscribe, 3,                                │

│ TestEvent.Subscribe(System.Exception: error), TestEvent.Iter(0:              │

│ System.Exception: error),                                                    │

│ testEvent.EventInterface.Subscribe(System.Exception: error), 4,              │

│ RemoveHandler, IObservable.Dispose ]                                         │

│                                                                              │

╰──────────────────────────────────────────────────────────────────────────────╯



── fsharp ──────────────────────────────────────────────────────────────────────

let subscribeToken (token : System.Threading.CancellationToken) =

    let tcs = new System.Threading.Tasks.TaskCompletionSource ()

    System.Action tcs.SetResult |> token.Register |> ignore

    let start = System.DateTime.Now.Ticks

    FSharp.Control.AsyncSeq.unfoldAsync

        (fun () -> async {

            do! tcs.Task |> Async.AwaitTask

            return Some (System.DateTime.Now.Ticks - start, ())

        })

        ()



── fsharp ──────────────────────────────────────────────────────────────────────

//// test



let cts = new System.Threading.CancellationTokenSource ()



async {

    let! child =

        cts.Token

        |> subscribeToken

        |> FSharp.Control.AsyncSeq.tryFirst

        |> Async.StartChild



    do! Async.Sleep 100

    cts.Cancel ()

    return! child

}

|> Async.RunSynchronously

|> Option.get

|> _isGreaterThan 900000



╭─[ 166.86ms - stdout ]────────────────────────────────────────────────────────╮

│ 931795                                                                       │

│                                                                              │

╰──────────────────────────────────────────────────────────────────────────────╯

[NbConvertApp] Converting notebook AsyncSeq.dib.ipynb to html

C:\Users\i574n\scoop\apps\python\current\Lib\site-packages\nbformat\__init__.py:93: MissingIDFieldWarning: Code cell is missing an id field, this will become a hard error in future nbformat versions. You may want to use `normalize()` on your notebooks before validations (available since nbformat 5.1.4). Previous versions of nbformat are fixing this issue transparently, and will stop doing so in the future.

  validate(nb)

C:\Users\i574n\scoop\apps\python\current\Lib\site-packages\nbconvert\filters\highlight.py:71: UserWarning: IPython3 lexer unavailable, falling back on Python 3

  return _pygments_highlight(

[NbConvertApp] Writing 300374 bytes to AsyncSeq.dib.html



── markdown ────────────────────────────────────────────────────────────────────

╭──────────────────────────────────────────────────────────────────────────────╮

│ # Common (Polyglot)                                                          │

╰──────────────────────────────────────────────────────────────────────────────╯



── fsharp ──────────────────────────────────────────────────────────────────────

#!import ../../lib/fsharp/Testing.dib



── fsharp - import ─────────────────────────────────────────────────────────────

#r 

"C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.A

spNetCore.Html.Abstractions.dll"

#r 

"C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D

otNet.Interactive.dll"

#r 

"C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D

otNet.Interactive.FSharp.dll"

#r 

"C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D

otNet.Interactive.Formatting.dll"

open System

open System.IO

open System.Text

open Microsoft.DotNet.Interactive.Formatting



── fsharp - import ─────────────────────────────────────────────────────────────

#r 

"C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D

otNet.Interactive.FSharp.dll"

open Microsoft.DotNet.Interactive.FSharp.FSharpKernelHelpers

#r 

"C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D

otNet.Interactive.dll"

open type Microsoft.DotNet.Interactive.Kernel



── fsharp - import ─────────────────────────────────────────────────────────────

#r @"../../../../../../../.nuget/packages/expecto/10.1.0/lib/net6.0/Expecto.dll"



── fsharp - import ─────────────────────────────────────────────────────────────

//// test



Formatter.ListExpansionLimit <- 100



── fsharp - import ─────────────────────────────────────────────────────────────

//// test



type AssertExceptionFormatter (ex) =

    member _.Text =

        ex.ToString()

            .Replace("32m", "<span style=\"color: green;\">")

            .Replace("36m", "</span>")

            .Replace("31m", "<span style=\"color: red;\">")

            .Replace("\n", "<br/>\n")





Formatter.Register<AssertExceptionFormatter> ((fun (x : 

AssertExceptionFormatter) -> x.Text), "text/html")



── fsharp - import ─────────────────────────────────────────────────────────────

//// test



let inline __expect fn log expected actual =

    if log then printfn $"{actual.ToDisplayString ()}"

    try

        "Testing.__expect" |> fn actual expected

    with :? Expecto.AssertException as ex ->

        AssertExceptionFormatter(ex).Display () |> ignore

        failwith (ex.GetType().FullName)



let inline __contains log expected actual = __expect Expecto.Expect.contains log

expected actual

let inline _contains expected actual = __contains true expected actual



let inline __equal log expected actual = __expect Expecto.Expect.equal log 

expected actual

let inline _equal expected actual = __equal true expected actual



let inline __isGreaterThan log expected actual = __expect 

Expecto.Expect.isGreaterThan log expected actual

let ...



── fsharp - import ─────────────────────────────────────────────────────────────

//// test



let inline __isBetween log a b actual =

    let inline isBetween actual (a, b) _ =

        __isGreaterThanOrEqual log a actual

        __isLessThanOrEqual log b actual

    __expect isBetween log (a, b) actual

let inline _isBetween a b actual = __isBetween true a b actual



── fsharp ──────────────────────────────────────────────────────────────────────

let nl = System.Environment.NewLine

let q = @""""



── fsharp ──────────────────────────────────────────────────────────────────────

let inline cons head tail = head :: tail



── fsharp ──────────────────────────────────────────────────────────────────────

module String =

    let inline contains (value : string) (input : string) =

        input.Contains value



    let inline endsWith (value : string) (input : string) =

        input.EndsWith value



    let inline padLeft totalWidth paddingChar (input : string) =

        input.PadLeft (totalWidth, paddingChar)



    let inline replace (oldValue : string) (newValue : string) (input : string) 

=

        input.Replace (oldValue, newValue)



    let inline split separator (input : string) =

        input.Split separator



    let inline splitString (separator : string array) (input : string) =

        input.Split (separator, System.StringSplitOptions.None)



    let inline startsWith (value : string) (input : string) =

        input.StartsWith value



    let inline substring startIndex length (input : string) =

        input.Substring (startIndex, length)



    let inline toLower (input : string) =

        input.ToLower ()



    let inline toUpper (input : string) =

        input.ToUpper ()



    let inline trim (input : string) =

        input.Trim ()

    

    let inline trimEnd (trimChars : char array) (input : string) =

        input.TrimEnd trimChars



    let inline trimStart (trimChars : char array) (input : string) =

        input.TrimStart trimChars





    let ellipsis max value =

        if value |> String.length <= max

        then value

        else $"{value |> substring 0 max}..."



── fsharp ──────────────────────────────────────────────────────────────────────

type TicksGuid = System.Guid

type DateTimeGuid = System.Guid



── fsharp ──────────────────────────────────────────────────────────────────────

//// test



let testGuid = Guid "FEDCBA98-7654-3210-FEDC-BA9876543210"



── markdown ────────────────────────────────────────────────────────────────────

╭──────────────────────────────────────────────────────────────────────────────╮

│ ## dateTimeGuidFromDateTime                                                  │

╰──────────────────────────────────────────────────────────────────────────────╯



── fsharp ──────────────────────────────────────────────────────────────────────

let inline dateTimeGuidFromDateTime (guid: System.Guid) (dateTime: 

System.DateTime) =

    let guid = guid |> string

    let prefix = dateTime.ToString "yyyyMMdd-HHmm-ssff-ffff-f"

    DateTimeGuid $"{prefix}{guid.[[prefix.Length..]]}"



── fsharp ──────────────────────────────────────────────────────────────────────

//// test



dateTimeGuidFromDateTime testGuid DateTime.MinValue

|> _equal (DateTimeGuid "00010101-0000-0000-0000-0a9876543210")



╭─[ 57.20ms - stdout ]─────────────────────────────────────────────────────────╮

│ 00010101-0000-0000-0000-0a9876543210                                         │

│                                                                              │

╰──────────────────────────────────────────────────────────────────────────────╯



── fsharp ──────────────────────────────────────────────────────────────────────

//// test



dateTimeGuidFromDateTime testGuid DateTime.MaxValue

|> _equal (DateTimeGuid $"99991231-2359-5999-9999-9{(testGuid |> 

string).[[^10..]]}")



╭─[ 36.86ms - stdout ]─────────────────────────────────────────────────────────╮

│ 99991231-2359-5999-9999-9a9876543210                                         │

│                                                                              │

╰──────────────────────────────────────────────────────────────────────────────╯



── fsharp ──────────────────────────────────────────────────────────────────────

//// test



dateTimeGuidFromDateTime testGuid DateTime.UnixEpoch

|> _equal (DateTimeGuid $"19700101-0000-0000-0000-0{(testGuid |> 

string).[[^10..]]}")



╭─[ 37.81ms - stdout ]─────────────────────────────────────────────────────────╮

│ 19700101-0000-0000-0000-0a9876543210                                         │

│                                                                              │

╰──────────────────────────────────────────────────────────────────────────────╯



── markdown ────────────────────────────────────────────────────────────────────

╭──────────────────────────────────────────────────────────────────────────────╮

│ ## dateTimeFromGuid                                                          │

╰──────────────────────────────────────────────────────────────────────────────╯



── fsharp ──────────────────────────────────────────────────────────────────────

let inline dateTimeFromGuid (dateTimeGuid: DateTimeGuid) =

    let dateTimeGuid = dateTimeGuid |> string

    System.DateTime.ParseExact (dateTimeGuid.[[..24]] |> String.replace "-" "", 

"yyyyMMddHHmmssfffffff", null)



── fsharp ──────────────────────────────────────────────────────────────────────

//// test



dateTimeFromGuid (DateTimeGuid "00010101-0000-0000-0000-0a9876543210")

|> _equal DateTime.MinValue



╭─[ 31.77ms - stdout ]─────────────────────────────────────────────────────────╮

│ 0001-01-01 00:00:00Z                                                         │

│                                                                              │

╰──────────────────────────────────────────────────────────────────────────────╯



── fsharp ──────────────────────────────────────────────────────────────────────

//// test



dateTimeFromGuid (DateTimeGuid $"99991231-2359-5999-9999-9{(testGuid |> 

string).[[^10..]]}")

|> _equal DateTime.MaxValue



╭─[ 31.67ms - stdout ]─────────────────────────────────────────────────────────╮

│ 9999-12-31 23:59:59Z                                                         │

│                                                                              │

╰──────────────────────────────────────────────────────────────────────────────╯



── fsharp ──────────────────────────────────────────────────────────────────────

//// test



dateTimeFromGuid (DateTimeGuid $"19700101-0000-0000-0000-0{(testGuid |> 

string).[[^10..]]}")

|> _equal DateTime.UnixEpoch



╭─[ 35.52ms - stdout ]─────────────────────────────────────────────────────────╮

│ 1970-01-01 00:00:00Z                                                         │

│                                                                              │

╰──────────────────────────────────────────────────────────────────────────────╯



── markdown ────────────────────────────────────────────────────────────────────

╭──────────────────────────────────────────────────────────────────────────────╮

│ ## ticksGuidFromTicks                                                        │

╰──────────────────────────────────────────────────────────────────────────────╯



── fsharp ──────────────────────────────────────────────────────────────────────

let inline ticksGuidFromTicks (guid: System.Guid) (ticks: int64) =

    let guid = guid |> string

    let ticks = ticks |> string |> String.padLeft 18 '0'

    TicksGuid 

$"{ticks.[[0..7]]}-{ticks.[[8..11]]}-{ticks.[[12..15]]}-{ticks.[[16..17]]}{guid.

[[21..]]}"



── fsharp ──────────────────────────────────────────────────────────────────────

//// test



ticksGuidFromTicks testGuid 0L

|> _equal (TicksGuid "00000000-0000-0000-00dc-ba9876543210")



╭─[ 32.87ms - stdout ]─────────────────────────────────────────────────────────╮

│ 00000000-0000-0000-00dc-ba9876543210                                         │

│                                                                              │

╰──────────────────────────────────────────────────────────────────────────────╯



── fsharp ──────────────────────────────────────────────────────────────────────

//// test



ticksGuidFromTicks testGuid 999999999999999999L

|> _equal (TicksGuid $"99999999-9999-9999-99dc-b{(testGuid |> 

string).[[^10..]]}")



╭─[ 43.10ms - stdout ]─────────────────────────────────────────────────────────╮

│ 99999999-9999-9999-99dc-ba9876543210                                         │

│                                                                              │

╰──────────────────────────────────────────────────────────────────────────────╯



── markdown ────────────────────────────────────────────────────────────────────

╭──────────────────────────────────────────────────────────────────────────────╮

│ ## ticksFromGuid                                                             │

╰──────────────────────────────────────────────────────────────────────────────╯



── fsharp ──────────────────────────────────────────────────────────────────────

let inline ticksFromGuid (ticksGuid: DateTimeGuid) =

    let ticks = ticksGuid |> string

    int64 

$"{ticks.[[0..7]]}{ticks.[[9..12]]}{ticks.[[14..17]]}{ticks.[[19..20]]}"



── fsharp ──────────────────────────────────────────────────────────────────────

//// test



ticksFromGuid (TicksGuid "00000000-0000-0000-00dc-ba9876543210")

|> _equal 0L



╭─[ 33.16ms - stdout ]─────────────────────────────────────────────────────────╮

│ 0                                                                            │

│                                                                              │

╰──────────────────────────────────────────────────────────────────────────────╯



── fsharp ──────────────────────────────────────────────────────────────────────

//// test



ticksFromGuid (TicksGuid $"99999999-9999-9999-99{(testGuid |> 

string).[[^14..]]}")

|> _equal 999999999999999999L



╭─[ 37.06ms - stdout ]─────────────────────────────────────────────────────────╮

│ 999999999999999999                                                           │

│                                                                              │

╰──────────────────────────────────────────────────────────────────────────────╯



── markdown ────────────────────────────────────────────────────────────────────

╭──────────────────────────────────────────────────────────────────────────────╮

│ ## newGuidFromDateTime                                                       │

╰──────────────────────────────────────────────────────────────────────────────╯



── fsharp ──────────────────────────────────────────────────────────────────────

let inline newGuidFromDateTime (dateTime: System.DateTime) =

    let guid = System.Guid.NewGuid ()

    dateTimeGuidFromDateTime guid dateTime



── fsharp ──────────────────────────────────────────────────────────────────────

//// test



newGuidFromDateTime System.DateTime.UtcNow

|> dateTimeFromGuid

|> fun dateTime -> (dateTime - System.DateTime.UtcNow).TotalSeconds |> int

|> _equal 0



╭─[ 56.53ms - stdout ]─────────────────────────────────────────────────────────╮

│ 0                                                                            │

│                                                                              │

╰──────────────────────────────────────────────────────────────────────────────╯



── markdown ────────────────────────────────────────────────────────────────────

╭──────────────────────────────────────────────────────────────────────────────╮

│ ## newGuidFromTicks                                                          │

╰──────────────────────────────────────────────────────────────────────────────╯



── fsharp ──────────────────────────────────────────────────────────────────────

let inline newGuidFromTicks (ticks: int64) =

    let guid = System.Guid.NewGuid ()

    ticksGuidFromTicks guid ticks



── fsharp ──────────────────────────────────────────────────────────────────────

//// test



newGuidFromTicks System.DateTime.UtcNow.Ticks

|> ticksFromGuid

|> fun ticks -> (ticks - System.DateTime.UtcNow.Ticks) / 100000L

|> _equal 0L



╭─[ 49.18ms - stdout ]─────────────────────────────────────────────────────────╮

│ 0                                                                            │

│                                                                              │

╰──────────────────────────────────────────────────────────────────────────────╯



── markdown ────────────────────────────────────────────────────────────────────

╭──────────────────────────────────────────────────────────────────────────────╮

│ ## memoize                                                                   │

╰──────────────────────────────────────────────────────────────────────────────╯



── fsharp ──────────────────────────────────────────────────────────────────────

let inline memoize fn =

    let result = lazy fn ()

    fun () -> result.Value



── fsharp ──────────────────────────────────────────────────────────────────────

//// test



let mutable count = 0

let add =

    fun () -> count <- count + 1

    |> memoize



add ()

add ()

add ()



count

|> _equal 1



╭─[ 29.73ms - stdout ]─────────────────────────────────────────────────────────╮

│ 1                                                                            │

│                                                                              │

╰──────────────────────────────────────────────────────────────────────────────╯



── markdown ────────────────────────────────────────────────────────────────────

╭──────────────────────────────────────────────────────────────────────────────╮

│ ## printException                                                            │

╰──────────────────────────────────────────────────────────────────────────────╯



── fsharp ──────────────────────────────────────────────────────────────────────

let inline printException (ex : System.Exception) =

    $"{ex.GetType ()}: {ex.Message}"



── fsharp ──────────────────────────────────────────────────────────────────────

//// test



fun () -> failwith "test"

|> _throwsC (fun ex _ ->

    printException ex

    |> _equal "System.Exception: test"

)



╭─[ 42.43ms - stdout ]─────────────────────────────────────────────────────────╮

│ FSI_0034+it@3-1                                                              │

│ System.Exception: test                                                       │

│                                                                              │

╰──────────────────────────────────────────────────────────────────────────────╯



── markdown ────────────────────────────────────────────────────────────────────

╭──────────────────────────────────────────────────────────────────────────────╮

│ ## TraceLevel                                                                │

╰──────────────────────────────────────────────────────────────────────────────╯



── fsharp ──────────────────────────────────────────────────────────────────────

type TraceLevel =

    | Verbose

    | Debug

    | Info

    | Warning

    | Critical



let inline getLocals () = ""



let mutable traceEnabled = true

let mutable traceCount = 0

let mutable traceLevel = Verbose

let mutable traceDump = false



── fsharp ──────────────────────────────────────────────────────────────────────

let testTraceLevel level =

    traceEnabled && level >= traceLevel



── markdown ────────────────────────────────────────────────────────────────────

╭──────────────────────────────────────────────────────────────────────────────╮

│ ## traceRaw                                                                  │

╰──────────────────────────────────────────────────────────────────────────────╯



── fsharp ──────────────────────────────────────────────────────────────────────

let rec traceRaw level fn =

    if level |> testTraceLevel then

        traceCount <- traceCount + 1



        let text = $"%s{fn ()}"



        System.Console.WriteLine text

#if !WASM && !FABLE_COMPILER

        if traceDump then

            try

                let tmpPath = System.IO.Path.GetTempPath ()

                let logDir = System.IO.Path.Combine (tmpPath, "!polyglot")

                System.IO.Directory.CreateDirectory logDir |> ignore

                let logFile = System.IO.Path.Combine (logDir, 

$"{newGuidFromDateTime System.DateTime.Now}.txt")

                System.IO.File.WriteAllTextAsync (logFile, text) |> 

Async.AwaitTask |> Async.RunSynchronously

            with ex ->

                traceRaw Critical (fun () -> $"trace / ex: {ex |> 

printException}")

#endif



── fsharp ──────────────────────────────────────────────────────────────────────

//// test



traceRaw Debug (fun () -> "test")



╭─[ 9.74ms - stdout ]──────────────────────────────────────────────────────────╮

│ test                                                                         │

│                                                                              │

╰──────────────────────────────────────────────────────────────────────────────╯



── markdown ────────────────────────────────────────────────────────────────────

╭──────────────────────────────────────────────────────────────────────────────╮

│ ## trace                                                                     │

╰──────────────────────────────────────────────────────────────────────────────╯



── fsharp ──────────────────────────────────────────────────────────────────────

let private replStart =

#if INTERACTIVE || !FABLE_COMPILER

    fun () ->

        if System.Reflection.Assembly.GetEntryAssembly().GetName().Name <> 

"Microsoft.DotNet.Interactive.App"

        then Some System.DateTime.Now.Ticks

        else None

    |> memoize

#else

    fun () -> None : int64 option

#endif



let trace level fn getLocals =

    fun () ->

        let time =

#if WASM

            ""

#else

            match replStart () with

            | Some replStart ->

                let t = System.DateTime.Now.Ticks - replStart |> System.TimeSpan

                System.DateTime (1, 1, 1, t.Hours, t.Minutes, t.Seconds, 

t.Milliseconds, t.Microseconds)

            | None -> System.DateTime.Now

            |> fun dateTime ->

#if FABLE_COMPILER_RUST

                "hh:mm:ss"

#else

                "HH:mm:ss"

#endif

                |> dateTime.ToString

#endif

        $"{time} #{traceCount} [[%A{level}]] %s{fn ()} / %s{getLocals ()}"

        |> String.trimStart [[||]]

        |> String.trimEnd [[| ' '; '/' |]]

    |> traceRaw level



let inline withTrace enabled fn =

    let oldTraceEnabled = traceEnabled

    try

        traceEnabled <- enabled

        fn ()

    finally

        traceEnabled <- oldTraceEnabled



let inline withTraceEnabled fn =

    withTrace true fn



let inline withTraceDisabled fn =

    withTrace false fn



let inline withTraceLevel level fn =

    let oldTraceLevel = traceLevel

    try

        traceLevel <- level

        fn ()

    finally

        traceLevel <- oldTraceLevel



let inline withTraceDump dump fn =

    let oldTraceDump = traceDump

    try

        traceDump <- dump

        fn ()

    finally

        traceDump <- oldTraceDump



── fsharp ──────────────────────────────────────────────────────────────────────

//// test



trace Debug (fun () -> "test") getLocals



╭─[ 23.26ms - stdout ]─────────────────────────────────────────────────────────╮

│ 00:00:00 #2 [Debug] test                                                     │

│                                                                              │

╰──────────────────────────────────────────────────────────────────────────────╯



── markdown ────────────────────────────────────────────────────────────────────

╭──────────────────────────────────────────────────────────────────────────────╮

│ ## newDisposable                                                             │

╰──────────────────────────────────────────────────────────────────────────────╯



── fsharp ──────────────────────────────────────────────────────────────────────

let inline newDisposable fn =

    { new System.IDisposable with

        member _.Dispose () = fn ()

    }



── fsharp ──────────────────────────────────────────────────────────────────────

//// test



let mutable newDisposableTest = 0

newDisposable (fun () -> newDisposableTest <- newDisposableTest + 1)

|> fun x -> x.Dispose ()

newDisposableTest |> _equal 1



╭─[ 29.92ms - stdout ]─────────────────────────────────────────────────────────╮

│ 1                                                                            │

│                                                                              │

╰──────────────────────────────────────────────────────────────────────────────╯



── fsharp ──────────────────────────────────────────────────────────────────────

//// test



let mutable newDisposableTest = 0

fun () -> task {

    use x = newDisposable (fun () -> newDisposableTest <- newDisposableTest + 1)

    ()

}

|> fun x -> x () |> Async.AwaitTask |> Async.RunSynchronously

newDisposableTest |> _equal 1



╭─[ 104.51ms - stdout ]────────────────────────────────────────────────────────╮

│ 1                                                                            │

│                                                                              │

╰──────────────────────────────────────────────────────────────────────────────╯



── fsharp ──────────────────────────────────────────────────────────────────────

//// test



let mutable newDisposableTest = 0

async {

    use x = newDisposable (fun () -> newDisposableTest <- newDisposableTest + 1)

    ()

}

|> Async.RunSynchronously

newDisposableTest |> _equal 1



╭─[ 35.05ms - stdout ]─────────────────────────────────────────────────────────╮

│ 1                                                                            │

│                                                                              │

╰──────────────────────────────────────────────────────────────────────────────╯



── fsharp ──────────────────────────────────────────────────────────────────────

//// test



let mutable newDisposableTest = 0

async {

    let x = newDisposable (fun () -> newDisposableTest <- newDisposableTest + 1)

    ()

}

|> Async.RunSynchronously

newDisposableTest |> _equal 0



╭─[ 34.28ms - stdout ]─────────────────────────────────────────────────────────╮

│ 0                                                                            │

│                                                                              │

╰──────────────────────────────────────────────────────────────────────────────╯



── markdown ────────────────────────────────────────────────────────────────────

╭──────────────────────────────────────────────────────────────────────────────╮

│ ## retryFn                                                                   │

╰──────────────────────────────────────────────────────────────────────────────╯



── fsharp ──────────────────────────────────────────────────────────────────────

let inline retryFn retries fn =

    let rec loop retry =

        try

            if retry < retries

            then fn () |> Some

            else None

        with ex ->

            let getLocals () = $"retry: {retry} / ex: {ex |> printException} / 

{getLocals ()}"

            trace Warning (fun () -> "retryFn") getLocals

            System.Threading.Thread.Sleep 1

            loop (retry + 1)

    loop 0



── fsharp ──────────────────────────────────────────────────────────────────────

//// test



let mutable retryFnTest = 0

fun () ->

    retryFnTest <- retryFnTest + 1

    retryFnTest

|> retryFn 3

|> _equal (Some 1)



╭─[ 28.12ms - stdout ]─────────────────────────────────────────────────────────╮

│ FSharpOption<Int32>                                                          │

│       Value: 1                                                               │

│                                                                              │

╰──────────────────────────────────────────────────────────────────────────────╯



── fsharp ──────────────────────────────────────────────────────────────────────

//// test



fun () -> failwith "test"

|> retryFn 3

|> _equal None



╭─[ 61.59ms - stdout ]─────────────────────────────────────────────────────────╮

│ 00:00:00 #3 [Warning] retryFn / retry: 0 / ex: System.Exception: test        │

│ 00:00:00 #4 [Warning] retryFn / retry: 1 / ex: System.Exception: test        │

│ 00:00:00 #5 [Warning] retryFn / retry: 2 / ex: System.Exception: test        │

│ <null>                                                                       │

│                                                                              │

╰──────────────────────────────────────────────────────────────────────────────╯



── fsharp ──────────────────────────────────────────────────────────────────────

//// test



let mutable retryFnTest = 0

fun () ->

    if retryFnTest >= 2

    then retryFnTest

    else

        retryFnTest <- retryFnTest + 1

        failwith "test"

|> retryFn 3

|> _equal (Some 2)



╭─[ 59.70ms - stdout ]─────────────────────────────────────────────────────────╮

│ 00:00:00 #6 [Warning] retryFn / retry: 0 / ex: System.Exception: test        │

│ 00:00:00 #7 [Warning] retryFn / retry: 1 / ex: System.Exception: test        │

│ FSharpOption<Int32>                                                          │

│       Value: 2                                                               │

│                                                                              │

╰──────────────────────────────────────────────────────────────────────────────╯

[NbConvertApp] Converting notebook Common.dib.ipynb to html

C:\Users\i574n\scoop\apps\python\current\Lib\site-packages\nbformat\__init__.py:93: MissingIDFieldWarning: Code cell is missing an id field, this will become a hard error in future nbformat versions. You may want to use `normalize()` on your notebooks before validations (available since nbformat 5.1.4). Previous versions of nbformat are fixing this issue transparently, and will stop doing so in the future.

  validate(nb)

C:\Users\i574n\scoop\apps\python\current\Lib\site-packages\nbconvert\filters\highlight.py:71: UserWarning: IPython3 lexer unavailable, falling back on Python 3

  return _pygments_highlight(

[NbConvertApp] Writing 352451 bytes to Common.dib.html



── markdown ────────────────────────────────────────────────────────────────────

╭──────────────────────────────────────────────────────────────────────────────╮

│ # CommonFSharp (Polyglot)                                                    │

╰──────────────────────────────────────────────────────────────────────────────╯



── fsharp ──────────────────────────────────────────────────────────────────────

#!import ../../lib/fsharp/Testing.dib



── fsharp - import ─────────────────────────────────────────────────────────────

#r 

"C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.A

spNetCore.Html.Abstractions.dll"

#r 

"C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D

otNet.Interactive.dll"

#r 

"C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D

otNet.Interactive.FSharp.dll"

#r 

"C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D

otNet.Interactive.Formatting.dll"

open System

open System.IO

open System.Text

open Microsoft.DotNet.Interactive.Formatting



── fsharp - import ─────────────────────────────────────────────────────────────

#r 

"C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D

otNet.Interactive.FSharp.dll"

open Microsoft.DotNet.Interactive.FSharp.FSharpKernelHelpers

#r 

"C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D

otNet.Interactive.dll"

open type Microsoft.DotNet.Interactive.Kernel



── fsharp - import ─────────────────────────────────────────────────────────────

#r @"../../../../../../../.nuget/packages/expecto/10.1.0/lib/net6.0/Expecto.dll"



── fsharp - import ─────────────────────────────────────────────────────────────

//// test



Formatter.ListExpansionLimit <- 100



── fsharp - import ─────────────────────────────────────────────────────────────

//// test



type AssertExceptionFormatter (ex) =

    member _.Text =

        ex.ToString()

            .Replace("32m", "<span style=\"color: green;\">")

            .Replace("36m", "</span>")

            .Replace("31m", "<span style=\"color: red;\">")

            .Replace("\n", "<br/>\n")





Formatter.Register<AssertExceptionFormatter> ((fun (x : 

AssertExceptionFormatter) -> x.Text), "text/html")



── fsharp - import ─────────────────────────────────────────────────────────────

//// test



let inline __expect fn log expected actual =

    if log then printfn $"{actual.ToDisplayString ()}"

    try

        "Testing.__expect" |> fn actual expected

    with :? Expecto.AssertException as ex ->

        AssertExceptionFormatter(ex).Display () |> ignore

        failwith (ex.GetType().FullName)



let inline __contains log expected actual = __expect Expecto.Expect.contains log

expected actual

let inline _contains expected actual = __contains true expected actual



let inline __equal log expected actual = __expect Expecto.Expect.equal log 

expected actual

let inline _equal expected actual = __equal true expected actual



let inline __isGreaterThan log expected actual = __expect 

Expecto.Expect.isGreaterThan log expected actual

let ...



── fsharp - import ─────────────────────────────────────────────────────────────

//// test



let inline __isBetween log a b actual =

    let inline isBetween actual (a, b) _ =

        __isGreaterThanOrEqual log a actual

        __isLessThanOrEqual log b actual

    __expect isBetween log (a, b) actual

let inline _isBetween a b actual = __isBetween true a b actual



── fsharp ──────────────────────────────────────────────────────────────────────

#!import ../../lib/fsharp/Common.fs



── fsharp - import ─────────────────────────────────────────────────────────────

#if !INTERACTIVE

namespace Polyglot

#endif



module Common =



    let nl = System.Environment.NewLine

    let q = @""""



    let inline cons head tail = head :: tail



    module String =

        let inline contains (value : string) (input : string) =

            input.Contains value



        let inline endsWith (value : string) (input : string) =

            input.EndsWith value



        let inline padLeft totalWidth paddingChar (input : string) =

            input.PadLeft (totalWidth, paddingChar)



        let inline replace (oldValue : string) (newValue : string) (input : 

string) =

            input.Replace (oldValue, newValue)



        let inline split separator (input : string) =

            input.Split separator



        let inline spli...



── fsharp ──────────────────────────────────────────────────────────────────────

open Common



── markdown ────────────────────────────────────────────────────────────────────

╭──────────────────────────────────────────────────────────────────────────────╮

│ ## getUnionCaseName                                                          │

╰──────────────────────────────────────────────────────────────────────────────╯



── fsharp ──────────────────────────────────────────────────────────────────────

let inline getUnionCaseName<'T> (x: 'T) =

    match Reflection.FSharpValue.GetUnionFields(x, typeof<'T>) with

    | case, _ -> case.Name



── fsharp ──────────────────────────────────────────────────────────────────────

//// test



TraceLevel.Critical

|> getUnionCaseName

|> _equal (nameof TraceLevel.Critical)



╭─[ 51.29ms - stdout ]─────────────────────────────────────────────────────────╮

│ Critical                                                                     │

│                                                                              │

╰──────────────────────────────────────────────────────────────────────────────╯

[NbConvertApp] Converting notebook CommonFSharp.dib.ipynb to html

C:\Users\i574n\scoop\apps\python\current\Lib\site-packages\nbformat\__init__.py:93: MissingIDFieldWarning: Code cell is missing an id field, this will become a hard error in future nbformat versions. You may want to use `normalize()` on your notebooks before validations (available since nbformat 5.1.4). Previous versions of nbformat are fixing this issue transparently, and will stop doing so in the future.

  validate(nb)

C:\Users\i574n\scoop\apps\python\current\Lib\site-packages\nbconvert\filters\highlight.py:71: UserWarning: IPython3 lexer unavailable, falling back on Python 3

  return _pygments_highlight(

[NbConvertApp] Writing 274494 bytes to CommonFSharp.dib.html



── markdown ────────────────────────────────────────────────────────────────────

╭──────────────────────────────────────────────────────────────────────────────╮

│ # Threading (Polyglot)                                                       │

╰──────────────────────────────────────────────────────────────────────────────╯



── fsharp ──────────────────────────────────────────────────────────────────────

#!import ../../lib/fsharp/Testing.dib



── fsharp - import ─────────────────────────────────────────────────────────────

#r 

"C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.A

spNetCore.Html.Abstractions.dll"

#r 

"C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D

otNet.Interactive.dll"

#r 

"C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D

otNet.Interactive.FSharp.dll"

#r 

"C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D

otNet.Interactive.Formatting.dll"

open System

open System.IO

open System.Text

open Microsoft.DotNet.Interactive.Formatting



── fsharp - import ─────────────────────────────────────────────────────────────

#r 

"C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D

otNet.Interactive.FSharp.dll"

open Microsoft.DotNet.Interactive.FSharp.FSharpKernelHelpers

#r 

"C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D

otNet.Interactive.dll"

open type Microsoft.DotNet.Interactive.Kernel



── fsharp - import ─────────────────────────────────────────────────────────────

#r @"../../../../../../../.nuget/packages/expecto/10.1.0/lib/net6.0/Expecto.dll"



── fsharp - import ─────────────────────────────────────────────────────────────

//// test



Formatter.ListExpansionLimit <- 100



── fsharp - import ─────────────────────────────────────────────────────────────

//// test



type AssertExceptionFormatter (ex) =

    member _.Text =

        ex.ToString()

            .Replace("32m", "<span style=\"color: green;\">")

            .Replace("36m", "</span>")

            .Replace("31m", "<span style=\"color: red;\">")

            .Replace("\n", "<br/>\n")





Formatter.Register<AssertExceptionFormatter> ((fun (x : 

AssertExceptionFormatter) -> x.Text), "text/html")



── fsharp - import ─────────────────────────────────────────────────────────────

//// test



let inline __expect fn log expected actual =

    if log then printfn $"{actual.ToDisplayString ()}"

    try

        "Testing.__expect" |> fn actual expected

    with :? Expecto.AssertException as ex ->

        AssertExceptionFormatter(ex).Display () |> ignore

        failwith (ex.GetType().FullName)



let inline __contains log expected actual = __expect Expecto.Expect.contains log

expected actual

let inline _contains expected actual = __contains true expected actual



let inline __equal log expected actual = __expect Expecto.Expect.equal log 

expected actual

let inline _equal expected actual = __equal true expected actual



let inline __isGreaterThan log expected actual = __expect 

Expecto.Expect.isGreaterThan log expected actual

let ...



── fsharp - import ─────────────────────────────────────────────────────────────

//// test



let inline __isBetween log a b actual =

    let inline isBetween actual (a, b) _ =

        __isGreaterThanOrEqual log a actual

        __isLessThanOrEqual log b actual

    __expect isBetween log (a, b) actual

let inline _isBetween a b actual = __isBetween true a b actual



── fsharp ──────────────────────────────────────────────────────────────────────

#!import ../../lib/fsharp/Common.fs



── fsharp - import ─────────────────────────────────────────────────────────────

#if !INTERACTIVE

namespace Polyglot

#endif



module Common =



    let nl = System.Environment.NewLine

    let q = @""""



    let inline cons head tail = head :: tail



    module String =

        let inline contains (value : string) (input : string) =

            input.Contains value



        let inline endsWith (value : string) (input : string) =

            input.EndsWith value



        let inline padLeft totalWidth paddingChar (input : string) =

            input.PadLeft (totalWidth, paddingChar)



        let inline replace (oldValue : string) (newValue : string) (input : 

string) =

            input.Replace (oldValue, newValue)



        let inline split separator (input : string) =

            input.Split separator



        let inline spli...



── fsharp ──────────────────────────────────────────────────────────────────────

open Common



── markdown ────────────────────────────────────────────────────────────────────

╭──────────────────────────────────────────────────────────────────────────────╮

│ ## newDisposableToken                                                        │

╰──────────────────────────────────────────────────────────────────────────────╯



── fsharp ──────────────────────────────────────────────────────────────────────

let inline newDisposableToken (mergeToken: System.Threading.CancellationToken 

option) =

    let cts = new System.Threading.CancellationTokenSource ()

    let cts =

        match mergeToken with

        | None -> cts

        | Some mergeToken ->

            System.Threading.CancellationTokenSource.CreateLinkedTokenSource [[|

cts.Token; mergeToken |]]

    let disposable = newDisposable cts.Cancel

    cts.Token, disposable



── fsharp ──────────────────────────────────────────────────────────────────────

//// test



let mutable counter = 0



let inline run fn =

    let token, disposable = newDisposableToken None

    use _ = disposable

    fn token

    async {

        fn token

    }

    |> Async.Start



let inline fn (token : System.Threading.CancellationToken) =

    counter <- counter + (if token.IsCancellationRequested then 10 else 1)



async {

    run fn

    do! Async.Sleep 10

    return counter

}

|> Async.RunSynchronously

|> _equal 11



╭─[ 128.90ms - stdout ]────────────────────────────────────────────────────────╮

│ 11                                                                           │

│                                                                              │

╰──────────────────────────────────────────────────────────────────────────────╯

[NbConvertApp] Converting notebook Threading.dib.ipynb to html

C:\Users\i574n\scoop\apps\python\current\Lib\site-packages\nbformat\__init__.py:93: MissingIDFieldWarning: Code cell is missing an id field, this will become a hard error in future nbformat versions. You may want to use `normalize()` on your notebooks before validations (available since nbformat 5.1.4). Previous versions of nbformat are fixing this issue transparently, and will stop doing so in the future.

  validate(nb)

C:\Users\i574n\scoop\apps\python\current\Lib\site-packages\nbconvert\filters\highlight.py:71: UserWarning: IPython3 lexer unavailable, falling back on Python 3

  return _pygments_highlight(

[NbConvertApp] Writing 277511 bytes to Threading.dib.html



── markdown ────────────────────────────────────────────────────────────────────

╭──────────────────────────────────────────────────────────────────────────────╮

│ # Crypto (Polyglot)                                                          │

╰──────────────────────────────────────────────────────────────────────────────╯



── fsharp ──────────────────────────────────────────────────────────────────────

#!import ../../lib/fsharp/Testing.dib



── fsharp - import ─────────────────────────────────────────────────────────────

#r 

"C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.A

spNetCore.Html.Abstractions.dll"

#r 

"C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D

otNet.Interactive.dll"

#r 

"C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D

otNet.Interactive.FSharp.dll"

#r 

"C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D

otNet.Interactive.Formatting.dll"

open System

open System.IO

open System.Text

open Microsoft.DotNet.Interactive.Formatting



── fsharp - import ─────────────────────────────────────────────────────────────

#r 

"C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D

otNet.Interactive.FSharp.dll"

open Microsoft.DotNet.Interactive.FSharp.FSharpKernelHelpers

#r 

"C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D

otNet.Interactive.dll"

open type Microsoft.DotNet.Interactive.Kernel



── fsharp - import ─────────────────────────────────────────────────────────────

#r @"../../../../../../../.nuget/packages/expecto/10.1.0/lib/net6.0/Expecto.dll"



── fsharp - import ─────────────────────────────────────────────────────────────

//// test



Formatter.ListExpansionLimit <- 100



── fsharp - import ─────────────────────────────────────────────────────────────

//// test



type AssertExceptionFormatter (ex) =

    member _.Text =

        ex.ToString()

            .Replace("32m", "<span style=\"color: green;\">")

            .Replace("36m", "</span>")

            .Replace("31m", "<span style=\"color: red;\">")

            .Replace("\n", "<br/>\n")





Formatter.Register<AssertExceptionFormatter> ((fun (x : 

AssertExceptionFormatter) -> x.Text), "text/html")



── fsharp - import ─────────────────────────────────────────────────────────────

//// test



let inline __expect fn log expected actual =

    if log then printfn $"{actual.ToDisplayString ()}"

    try

        "Testing.__expect" |> fn actual expected

    with :? Expecto.AssertException as ex ->

        AssertExceptionFormatter(ex).Display () |> ignore

        failwith (ex.GetType().FullName)



let inline __contains log expected actual = __expect Expecto.Expect.contains log

expected actual

let inline _contains expected actual = __contains true expected actual



let inline __equal log expected actual = __expect Expecto.Expect.equal log 

expected actual

let inline _equal expected actual = __equal true expected actual



let inline __isGreaterThan log expected actual = __expect 

Expecto.Expect.isGreaterThan log expected actual

let ...



── fsharp - import ─────────────────────────────────────────────────────────────

//// test



let inline __isBetween log a b actual =

    let inline isBetween actual (a, b) _ =

        __isGreaterThanOrEqual log a actual

        __isLessThanOrEqual log b actual

    __expect isBetween log (a, b) actual

let inline _isBetween a b actual = __isBetween true a b actual



── fsharp ──────────────────────────────────────────────────────────────────────

#!import ../../lib/fsharp/Common.fs



── fsharp - import ─────────────────────────────────────────────────────────────

#if !INTERACTIVE

namespace Polyglot

#endif



module Common =



    let nl = System.Environment.NewLine

    let q = @""""



    let inline cons head tail = head :: tail



    module String =

        let inline contains (value : string) (input : string) =

            input.Contains value



        let inline endsWith (value : string) (input : string) =

            input.EndsWith value



        let inline padLeft totalWidth paddingChar (input : string) =

            input.PadLeft (totalWidth, paddingChar)



        let inline replace (oldValue : string) (newValue : string) (input : 

string) =

            input.Replace (oldValue, newValue)



        let inline split separator (input : string) =

            input.Split separator



        let inline spli...



── fsharp ──────────────────────────────────────────────────────────────────────

open Common



── markdown ────────────────────────────────────────────────────────────────────

╭──────────────────────────────────────────────────────────────────────────────╮

│ ## hashText                                                                  │

╰──────────────────────────────────────────────────────────────────────────────╯



── fsharp ──────────────────────────────────────────────────────────────────────

let hashText (input : string) =

    use sha256 = System.Security.Cryptography.SHA256.Create ()

    input

    |> System.Text.Encoding.UTF8.GetBytes

    |> sha256.ComputeHash

    |> Array.map (fun b -> b.ToString "x2")

    |> String.concat ""



── fsharp ──────────────────────────────────────────────────────────────────────

//// test



""

|> hashText

|> _equal "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"



╭─[ 42.84ms - stdout ]─────────────────────────────────────────────────────────╮

│ e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855             │

│                                                                              │

╰──────────────────────────────────────────────────────────────────────────────╯



── fsharp ──────────────────────────────────────────────────────────────────────

//// test



" "

|> hashText

|> _equal "36a9e7f1c95b82ffb99743e0c5c4ce95d83c9a430aac59f84ef3cbfab6145068"



╭─[ 17.48ms - stdout ]─────────────────────────────────────────────────────────╮

│ 36a9e7f1c95b82ffb99743e0c5c4ce95d83c9a430aac59f84ef3cbfab6145068             │

│                                                                              │

╰──────────────────────────────────────────────────────────────────────────────╯

[NbConvertApp] Converting notebook Crypto.dib.ipynb to html

C:\Users\i574n\scoop\apps\python\current\Lib\site-packages\nbformat\__init__.py:93: MissingIDFieldWarning: Code cell is missing an id field, this will become a hard error in future nbformat versions. You may want to use `normalize()` on your notebooks before validations (available since nbformat 5.1.4). Previous versions of nbformat are fixing this issue transparently, and will stop doing so in the future.

  validate(nb)

C:\Users\i574n\scoop\apps\python\current\Lib\site-packages\nbconvert\filters\highlight.py:71: UserWarning: IPython3 lexer unavailable, falling back on Python 3

  return _pygments_highlight(

[NbConvertApp] Writing 276328 bytes to Crypto.dib.html



── markdown ────────────────────────────────────────────────────────────────────

╭──────────────────────────────────────────────────────────────────────────────╮

│ # FileSystem (Polyglot)                                                      │

╰──────────────────────────────────────────────────────────────────────────────╯



── fsharp ──────────────────────────────────────────────────────────────────────

#!import ../../lib/fsharp/Testing.dib



── fsharp - import ─────────────────────────────────────────────────────────────

#r 

"C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.A

spNetCore.Html.Abstractions.dll"

#r 

"C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D

otNet.Interactive.dll"

#r 

"C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D

otNet.Interactive.FSharp.dll"

#r 

"C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D

otNet.Interactive.Formatting.dll"

open System

open System.IO

open System.Text

open Microsoft.DotNet.Interactive.Formatting



── fsharp - import ─────────────────────────────────────────────────────────────

#r 

"C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D

otNet.Interactive.FSharp.dll"

open Microsoft.DotNet.Interactive.FSharp.FSharpKernelHelpers

#r 

"C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D

otNet.Interactive.dll"

open type Microsoft.DotNet.Interactive.Kernel



── fsharp - import ─────────────────────────────────────────────────────────────

#r @"../../../../../../../.nuget/packages/expecto/10.1.0/lib/net6.0/Expecto.dll"



── fsharp - import ─────────────────────────────────────────────────────────────

//// test



Formatter.ListExpansionLimit <- 100



── fsharp - import ─────────────────────────────────────────────────────────────

//// test



type AssertExceptionFormatter (ex) =

    member _.Text =

        ex.ToString()

            .Replace("32m", "<span style=\"color: green;\">")

            .Replace("36m", "</span>")

            .Replace("31m", "<span style=\"color: red;\">")

            .Replace("\n", "<br/>\n")





Formatter.Register<AssertExceptionFormatter> ((fun (x : 

AssertExceptionFormatter) -> x.Text), "text/html")



── fsharp - import ─────────────────────────────────────────────────────────────

//// test



let inline __expect fn log expected actual =

    if log then printfn $"{actual.ToDisplayString ()}"

    try

        "Testing.__expect" |> fn actual expected

    with :? Expecto.AssertException as ex ->

        AssertExceptionFormatter(ex).Display () |> ignore

        failwith (ex.GetType().FullName)



let inline __contains log expected actual = __expect Expecto.Expect.contains log

expected actual

let inline _contains expected actual = __contains true expected actual



let inline __equal log expected actual = __expect Expecto.Expect.equal log 

expected actual

let inline _equal expected actual = __equal true expected actual



let inline __isGreaterThan log expected actual = __expect 

Expecto.Expect.isGreaterThan log expected actual

let ...



── fsharp - import ─────────────────────────────────────────────────────────────

//// test



let inline __isBetween log a b actual =

    let inline isBetween actual (a, b) _ =

        __isGreaterThanOrEqual log a actual

        __isLessThanOrEqual log b actual

    __expect isBetween log (a, b) actual

let inline _isBetween a b actual = __isBetween true a b actual



── fsharp ──────────────────────────────────────────────────────────────────────

#r 

@"../../../../../../../.nuget/packages/fsharp.control.asyncseq/3.2.1/lib/netstan

dard2.1/FSharp.Control.AsyncSeq.dll"

#r 

@"../../../../../../../.nuget/packages/system.reactive/6.0.1-preview.1/lib/net6.

0/System.Reactive.dll"

#r 

@"../../../../../../../.nuget/packages/system.reactive.linq/6.0.1-preview.1/lib/

netstandard2.0/System.Reactive.Linq.dll"

#r 

@"../../../../../../../.nuget/packages/argu/6.1.1/lib/netstandard2.0/Argu.dll"

#r 

@"../../../../../../../.nuget/packages/system.commandline/2.0.0-beta4.22272.1/li

b/net6.0/System.CommandLine.dll"



── fsharp ──────────────────────────────────────────────────────────────────────

#!import ../../lib/fsharp/Common.fs

#!import ../../lib/fsharp/CommonFSharp.fs

#!import ../../lib/fsharp/Async.fs

#!import ../../lib/fsharp/AsyncSeq.fs

#!import ../../lib/fsharp/Runtime.fs



── fsharp - import ─────────────────────────────────────────────────────────────

#if !INTERACTIVE

namespace Polyglot

#endif



module Common =



    let nl = System.Environment.NewLine

    let q = @""""



    let inline cons head tail = head :: tail



    module String =

        let inline contains (value : string) (input : string) =

            input.Contains value



        let inline endsWith (value : string) (input : string) =

            input.EndsWith value



        let inline padLeft totalWidth paddingChar (input : string) =

            input.PadLeft (totalWidth, paddingChar)



        let inline replace (oldValue : string) (newValue : string) (input : 

string) =

            input.Replace (oldValue, newValue)



        let inline split separator (input : string) =

            input.Split separator



        let inline spli...



── fsharp - import ─────────────────────────────────────────────────────────────

#if !INTERACTIVE

namespace Polyglot

#endif



module CommonFSharp =



    open Common



    /// ## getUnionCaseName



    let inline getUnionCaseName<'T> (x: 'T) =

        match Reflection.FSharpValue.GetUnionFields(x, typeof<'T>) with

        | case, _ -> case.Name





── fsharp - import ─────────────────────────────────────────────────────────────

#if !INTERACTIVE

namespace Polyglot

#endif



module Async =



    open Common



    /// ## choice



    let inline choice asyncs = async {

        let e = Event<_> ()

        use cts = new System.Threading.CancellationTokenSource ()

        let fn =

            asyncs

            |> Seq.map (fun a -> async {

                let! x = a

                e.Trigger x

            })

            |> Async.Parallel

            |> Async.Ignore

        Async.Start (fn, cts.Token)

        let! result = Async.AwaitEvent e.Publish

        cts.Cancel ()

        return result

    }



    /// ## map



    let inline map fn a = async {

        let! x = a

        return fn x

    }



    /// ## catch



    let inline catch a =

        a

        |> Async.Catch

        ...



── fsharp - import ─────────────────────────────────────────────────────────────

#if !INTERACTIVE

namespace Polyglot

#endif



module AsyncSeq =



    open Common



    /// ## subscribeEvent



    let inline subscribeEvent (event: IEvent<'H, 'A>) map =

        let observable = System.Reactive.Linq.Observable.FromEventPattern<'H, 

'A>(event.AddHandler, event.RemoveHandler)

        System.Reactive.Linq.Observable.Select (observable, fun event -> map 

event.EventArgs)

        |> FSharp.Control.AsyncSeq.ofObservableBuffered



    let subscribeToken (token : System.Threading.CancellationToken) =

        let tcs = new System.Threading.Tasks.TaskCompletionSource ()

        System.Action tcs.SetResult |> token.Register |> ignore

        let start = System.DateTime.Now.Ticks

        FSharp.Control.AsyncSeq.unfoldAsync

            (fun (...



── fsharp - import ─────────────────────────────────────────────────────────────

#if !INTERACTIVE

namespace Polyglot

#endif



module Runtime =



    open Common



    /// ## isWindows



    let isWindows =

        fun () ->

            System.Runtime.InteropServices.RuntimeInformation.IsOSPlatform

                System.Runtime.InteropServices.OSPlatform.Windows

        |> memoize



    /// ## getExecutableSuffix



    let inline getExecutableSuffix () =

        if isWindows ()

        then ".exe"

        else ""



    /// ## splitCommand



    type private CommandParseStep =

        | Start

        | Path of quoted: bool

        | Arguments



    let splitCommand (command: string) =

        let rec loop (path, args) chars step =

            match chars, step with

            | ('"' | '\'') :: tail, _ when path = "" -> loop (pat...



── fsharp ──────────────────────────────────────────────────────────────────────

open Common



── markdown ────────────────────────────────────────────────────────────────────

╭──────────────────────────────────────────────────────────────────────────────╮

│ ## Operators                                                                 │

╰──────────────────────────────────────────────────────────────────────────────╯



── fsharp ──────────────────────────────────────────────────────────────────────

module Operators =

    let inline (</>) a b =

        System.IO.Path.Combine (a, b)



── fsharp ──────────────────────────────────────────────────────────────────────

open Operators



── markdown ────────────────────────────────────────────────────────────────────

╭──────────────────────────────────────────────────────────────────────────────╮

│ ## createTempDirectoryName                                                   │

╰──────────────────────────────────────────────────────────────────────────────╯



── fsharp ──────────────────────────────────────────────────────────────────────

let inline createTempDirectoryName () =

    let root = System.Reflection.Assembly.GetEntryAssembly().GetName().Name



    System.IO.Path.GetTempPath ()

    </> $"!{root}"

    </> string (newGuidFromDateTime System.DateTime.Now)



── fsharp ──────────────────────────────────────────────────────────────────────

//// test



createTempDirectoryName ()

|> _contains System.IO.Path.DirectorySeparatorChar



╭─[ 46.55ms - stdout ]─────────────────────────────────────────────────────────╮

│ C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0854-2403-0346-05e38 │

│ e20d116                                                                      │

│                                                                              │

╰──────────────────────────────────────────────────────────────────────────────╯



── markdown ────────────────────────────────────────────────────────────────────

╭──────────────────────────────────────────────────────────────────────────────╮

│ ## createTempDirectory                                                       │

╰──────────────────────────────────────────────────────────────────────────────╯



── fsharp ──────────────────────────────────────────────────────────────────────

let inline createTempDirectory () =

    let tempFolder = createTempDirectoryName ()

    let result = System.IO.Directory.CreateDirectory tempFolder



    if not result.Exists then

        let getLocals () =

            $"tempFolder: {tempFolder} / result: {({|

                Exists = result.Exists

                CreationTime = result.CreationTime

            |})} {getLocals ()}"



        trace Debug (fun () -> "createTempDirectory") getLocals



    tempFolder



── fsharp ──────────────────────────────────────────────────────────────────────

//// test



let tempDirectory = createTempDirectory ()



Directory.Exists tempDirectory

|> _equal true



╭─[ 35.26ms - stdout ]─────────────────────────────────────────────────────────╮

│ True                                                                         │

│                                                                              │

╰──────────────────────────────────────────────────────────────────────────────╯



── markdown ────────────────────────────────────────────────────────────────────

╭──────────────────────────────────────────────────────────────────────────────╮

│ ## getSourceDirectory                                                        │

╰──────────────────────────────────────────────────────────────────────────────╯



── fsharp ──────────────────────────────────────────────────────────────────────

let getSourceDirectory =

    fun () -> __SOURCE_DIRECTORY__

    |> memoize



── fsharp ──────────────────────────────────────────────────────────────────────

//// test



getSourceDirectory ()

|> System.IO.DirectoryInfo

|> fun dir -> dir.Name

|> _equal "fsharp"



╭─[ 32.39ms - stdout ]─────────────────────────────────────────────────────────╮

│ fsharp                                                                       │

│                                                                              │

╰──────────────────────────────────────────────────────────────────────────────╯



── markdown ────────────────────────────────────────────────────────────────────

╭──────────────────────────────────────────────────────────────────────────────╮

│ ## findParent                                                                │

╰──────────────────────────────────────────────────────────────────────────────╯



── fsharp ──────────────────────────────────────────────────────────────────────

let inline findParent name isFile rootDir =

    let rec loop dir =

        if dir </> name |> (if isFile then System.IO.File.Exists else 

System.IO.Directory.Exists)

        then dir

        else

            dir

            |> System.IO.Directory.GetParent

            |> function

                | null -> failwith $"""No parent for {if isFile then "file" else

"dir"} '{name}' at '{rootDir}'"""

                | parent -> parent.FullName |> loop

    loop rootDir



── fsharp ──────────────────────────────────────────────────────────────────────

//// test



getSourceDirectory () |> findParent ".paket" false

|> System.IO.DirectoryInfo

|> fun dir -> dir.Name

|> _equal "polyglot"



╭─[ 23.92ms - stdout ]─────────────────────────────────────────────────────────╮

│ polyglot                                                                     │

│                                                                              │

╰──────────────────────────────────────────────────────────────────────────────╯



── fsharp ──────────────────────────────────────────────────────────────────────

//// test



getSourceDirectory () |> findParent "paket.dependencies" true

|> System.IO.DirectoryInfo

|> fun dir -> dir.Name

|> _equal "polyglot"



╭─[ 41.55ms - stdout ]─────────────────────────────────────────────────────────╮

│ polyglot                                                                     │

│                                                                              │

╰──────────────────────────────────────────────────────────────────────────────╯



── markdown ────────────────────────────────────────────────────────────────────

╭──────────────────────────────────────────────────────────────────────────────╮

│ ## readAllTextAsync                                                          │

╰──────────────────────────────────────────────────────────────────────────────╯



── fsharp ──────────────────────────────────────────────────────────────────────

let inline readAllTextAsync path =

    path |> System.IO.File.ReadAllTextAsync |> Async.AwaitTask



── markdown ────────────────────────────────────────────────────────────────────

╭──────────────────────────────────────────────────────────────────────────────╮

│ ## fileExistsContent                                                         │

╰──────────────────────────────────────────────────────────────────────────────╯



── fsharp ──────────────────────────────────────────────────────────────────────

let inline fileExistsContent path content = async {

    if path |> System.IO.File.Exists |> not

    then return false

    else

        let! existingContent = path |> readAllTextAsync

        return content = existingContent

}



── markdown ────────────────────────────────────────────────────────────────────

╭──────────────────────────────────────────────────────────────────────────────╮

│ ## writeAllTextAsync                                                         │

╰──────────────────────────────────────────────────────────────────────────────╯



── fsharp ──────────────────────────────────────────────────────────────────────

let inline writeAllTextAsync path contents =

    System.IO.File.WriteAllTextAsync (path, contents) |> Async.AwaitTask



── markdown ────────────────────────────────────────────────────────────────────

╭──────────────────────────────────────────────────────────────────────────────╮

│ ## writeAllTextExists                                                        │

╰──────────────────────────────────────────────────────────────────────────────╯



── fsharp ──────────────────────────────────────────────────────────────────────

let inline writeAllTextExists path contents = async {

    let! exists = contents |> fileExistsContent path

    if not exists

    then do! contents |> writeAllTextAsync path

}



── markdown ────────────────────────────────────────────────────────────────────

╭──────────────────────────────────────────────────────────────────────────────╮

│ ## waitForFileAccess                                                         │

╰──────────────────────────────────────────────────────────────────────────────╯



── fsharp ──────────────────────────────────────────────────────────────────────

let inline waitForFileAccess access path =

    let fileAccess, fileShare =

        access

        |> Option.defaultValue (System.IO.FileAccess.ReadWrite, 

System.IO.FileShare.Read)



    let rec loop retry = async {

        try

            use _ = new System.IO.FileStream (

                path,

                System.IO.FileMode.Open,

                fileAccess,

                fileShare

            )

            return retry

        with ex ->

            if retry % 100 = 0 then

                let getLocals () = $"path: {path |> System.IO.Path.GetFileName} 

/ ex: {ex |> printException} / {getLocals ()}"

                trace Debug (fun () -> "waitForFileAccess") getLocals

            do! Async.Sleep 10

            return! loop (retry + 1)

    }

    loop 0



── fsharp ──────────────────────────────────────────────────────────────────────

//// test



let tempFolder = createTempDirectory ()

let path = tempFolder </> "test.txt"



let inline lockFile () = async {

    trace Debug (fun () -> "_1") getLocals

    use stream = new System.IO.FileStream (

        path,

        System.IO.FileMode.Open,

        System.IO.FileAccess.ReadWrite,

        System.IO.FileShare.None

    )

    trace Debug (fun () -> "_2") getLocals

    do! Async.Sleep 2000

    trace Debug (fun () -> "_3") getLocals

    stream.Seek (0L, SeekOrigin.Begin) |> ignore

    trace Debug (fun () -> "_4") getLocals

    stream.WriteByte 49uy

    trace Debug (fun () -> "_5") getLocals

    stream.Flush ()

    trace Debug (fun () -> "_6") getLocals

}



async {

    trace Debug (fun () -> "1") getLocals

    do! "0" |> writeAllTextAsync path

    trace Debug (fun () -> "2") getLocals

    let! child = lockFile () |> Async.StartChild

    trace Debug (fun () -> "3") getLocals

    do! Async.Sleep 1

    trace Debug (fun () -> "4") getLocals

    let! retries = path |> waitForFileAccess None

    trace Debug (fun () -> "5") getLocals

    let! text = path |> readAllTextAsync

    trace Debug (fun () -> "6") getLocals

    do! child

    trace Debug (fun () -> "7") getLocals

    return retries, text

}

|> Async.runWithTimeout 3000

|> function

    | Some (retries, text) ->

        retries

        |> _isBetween

            (if Runtime.isWindows () then 100 else 100)

            (if Runtime.isWindows () then 150 else 200)

        

        text |> _equal "1"

        

        true

    | _ -> false

|> _equal true



╭─[ 2.47s - stdout ]───────────────────────────────────────────────────────────╮

│ 00:00:00 #1 [Debug] 1                                                        │

│ 00:00:00 #2 [Debug] 2                                                        │

│ 00:00:00 #3 [Debug] _1                                                       │

│ 00:00:00 #4 [Debug] 3                                                        │

│ 00:00:00 #5 [Debug] _2                                                       │

│ 00:00:00 #6 [Debug] 4                                                        │

│ 00:00:00 #7 [Debug] waitForFileAccess / path: test.txt / ex:                 │

│ System.IO.IOException: The process cannot access the file                    │

│ 'C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0854-2484-8432-83c3 │

│ 5091b6bd\test.txt' because it is being used by another process.              │

│ 00:00:01 #8 [Debug] waitForFileAccess / path: test.txt / ex:                 │

│ System.IO.IOException: The process cannot access the file                    │

│ 'C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0854-2484-8432-83c3 │

│ 5091b6bd\test.txt' because it is being used by another process.              │

│ 00:00:02 #9 [Debug] _3                                                       │

│ 00:00:02 #10 [Debug] _4                                                      │

│ 00:00:02 #11 [Debug] _5                                                      │

│ 00:00:02 #12 [Debug] _6                                                      │

│ 00:00:02 #13 [Debug] 5                                                       │

│ 00:00:02 #14 [Debug] 6                                                       │

│ 00:00:02 #15 [Debug] 7                                                       │

│ 128                                                                          │

│ 128                                                                          │

│ 128                                                                          │

│ 1                                                                            │

│ True                                                                         │

│                                                                              │

╰──────────────────────────────────────────────────────────────────────────────╯



── markdown ────────────────────────────────────────────────────────────────────

╭──────────────────────────────────────────────────────────────────────────────╮

│ ## readAllTextRetryAsync                                                     │

╰──────────────────────────────────────────────────────────────────────────────╯



── fsharp ──────────────────────────────────────────────────────────────────────

let inline readAllTextRetryAsync fullPath =

    let rec loop retry = async {

        try

            if retry > 0

            then do!

                fullPath

                |> waitForFileAccess (Some (

                    System.IO.FileAccess.Read,

                    System.IO.FileShare.Read

                ))

                |> Async.runWithTimeoutAsync 1000

                |> Async.Ignore

            return! fullPath |> readAllTextAsync |> Async.map Some

        with ex ->

            let getLocals () = $"retry: {retry} / ex: {ex |> printException} / 

{getLocals ()}"

            trace Debug (fun () -> $"watchWithFilter / readContent") getLocals

            if retry = 0

            then return! loop (retry + 1)

            else return None

    }

    loop 0



── markdown ────────────────────────────────────────────────────────────────────

╭──────────────────────────────────────────────────────────────────────────────╮

│ ## deleteDirectoryAsync                                                      │

╰──────────────────────────────────────────────────────────────────────────────╯



── fsharp ──────────────────────────────────────────────────────────────────────

let inline deleteDirectoryAsync path =

    let rec loop retry = async {

        try

            System.IO.Directory.Delete (path, true)

            return retry

        with ex ->

            if retry % 100 = 0 then

                let getLocals () = $"path: {path |> System.IO.Path.GetFileName} 

/ ex: {ex |> printException} / {getLocals ()}"

                trace Debug (fun () -> "deleteDirectoryAsync") getLocals

            do! Async.Sleep 10

            return! loop (retry + 1)

    }

    loop 0



── fsharp ──────────────────────────────────────────────────────────────────────

//// test



let tempFolder = createTempDirectory ()

let path = tempFolder </> "test"



let inline lockDirectory () = async {

    trace Debug (fun () -> "_1") getLocals

    System.IO.File.WriteAllText (path </> "test.txt", "0")

    use _ = new System.IO.FileStream (

        path </> "test.txt",

        System.IO.FileMode.Open,

        System.IO.FileAccess.ReadWrite,

        System.IO.FileShare.None

    )

    trace Debug (fun () -> "_2") getLocals

    do! Async.Sleep 2000

    trace Debug (fun () -> "_3") getLocals

}



async {

    trace Debug (fun () -> "1") getLocals

    Directory.CreateDirectory path |> ignore

    trace Debug (fun () -> "2") getLocals

    let! child = lockDirectory () |> Async.StartChild

    trace Debug (fun () -> "3") getLocals

    do! Async.Sleep 60

    trace Debug (fun () -> "4") getLocals

    let! retries = deleteDirectoryAsync path

    trace Debug (fun () -> "5") getLocals

    do! child

    trace Debug (fun () -> "6") getLocals

    return retries

}

|> Async.runWithTimeout 3000

|> function

    | Some retries ->

        retries

        |> _isBetween

            (if Runtime.isWindows () then 100 else 0)

            (if Runtime.isWindows () then 150 else 0)



        true

    | _ -> false

|> _equal true



╭─[ 2.35s - stdout ]───────────────────────────────────────────────────────────╮

│ 00:00:02 #16 [Debug] 1                                                       │

│ 00:00:02 #17 [Debug] 2                                                       │

│ 00:00:02 #18 [Debug] 3                                                       │

│ 00:00:02 #19 [Debug] _1                                                      │

│ 00:00:02 #20 [Debug] _2                                                      │

│ 00:00:02 #21 [Debug] 4                                                       │

│ 00:00:02 #22 [Debug] deleteDirectoryAsync / path: test / ex:                 │

│ System.IO.IOException: The process cannot access the file 'test.txt' because │

│ it is being used by another process.                                         │

│ 00:00:04 #23 [Debug] deleteDirectoryAsync / path: test / ex:                 │

│ System.IO.IOException: The process cannot access the file 'test.txt' because │

│ it is being used by another process.                                         │

│ 00:00:04 #24 [Debug] _3                                                      │

│ 00:00:04 #25 [Debug] 5                                                       │

│ 00:00:04 #26 [Debug] 6                                                       │

│ 124                                                                          │

│ 124                                                                          │

│ 124                                                                          │

│ True                                                                         │

│                                                                              │

╰──────────────────────────────────────────────────────────────────────────────╯



── markdown ────────────────────────────────────────────────────────────────────

╭──────────────────────────────────────────────────────────────────────────────╮

│ ## deleteFileAsync                                                           │

╰──────────────────────────────────────────────────────────────────────────────╯



── fsharp ──────────────────────────────────────────────────────────────────────

let inline deleteFileAsync path =

    let rec loop retry = async {

        try

            System.IO.File.Delete path

            return retry

        with ex ->

            if retry % 100 = 0 then

                let getLocals () = $"path: {path |> System.IO.Path.GetFileName} 

/ ex: {ex |> printException} / {getLocals ()}"

                trace Warning (fun () -> "deleteFileAsync") getLocals

            do! Async.Sleep 10

            return! loop (retry + 1)

    }

    loop 0



── fsharp ──────────────────────────────────────────────────────────────────────

//// test



let tempFolder = createTempDirectory ()

let path = tempFolder </> "test.txt"



let inline lockFile () = async {

    trace Debug (fun () -> "_1") getLocals

    use _ = new System.IO.FileStream (

        path,

        System.IO.FileMode.Open,

        System.IO.FileAccess.ReadWrite,

        System.IO.FileShare.None

    )

    trace Debug (fun () -> "_2") getLocals

    do! Async.Sleep 2000

    trace Debug (fun () -> "_3") getLocals

}



async {

    trace Debug (fun () -> "1") getLocals

    do! "0" |> writeAllTextAsync path

    trace Debug (fun () -> "2") getLocals

    let! child = lockFile () |> Async.StartChild

    trace Debug (fun () -> "3") getLocals

    do! Async.Sleep 1

    trace Debug (fun () -> "4") getLocals

    let! retries = deleteFileAsync path

    trace Debug (fun () -> "5") getLocals

    do! child

    trace Debug (fun () -> "6") getLocals

    return retries

}

|> Async.runWithTimeout 3000

|> function

    | Some retries ->

        retries

        |> _isBetween

            (if Runtime.isWindows () then 100 else 0)

            (if Runtime.isWindows () then 150 else 0)



        true

    | _ -> false

|> _equal true



╭─[ 2.29s - stdout ]───────────────────────────────────────────────────────────╮

│ 00:00:05 #27 [Debug] 1                                                       │

│ 00:00:05 #28 [Debug] 2                                                       │

│ 00:00:05 #29 [Debug] 3                                                       │

│ 00:00:05 #30 [Debug] _1                                                      │

│ 00:00:05 #31 [Debug] _2                                                      │

│ 00:00:05 #32 [Debug] 4                                                       │

│ 00:00:05 #33 [Warning] deleteFileAsync / path: test.txt / ex:                │

│ System.IO.IOException: The process cannot access the file                    │

│ 'C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0854-2986-8671-8c51 │

│ 18ff7a8e\test.txt' because it is being used by another process.              │

│ 00:00:06 #34 [Warning] deleteFileAsync / path: test.txt / ex:                │

│ System.IO.IOException: The process cannot access the file                    │

│ 'C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0854-2986-8671-8c51 │

│ 18ff7a8e\test.txt' because it is being used by another process.              │

│ 00:00:07 #35 [Debug] _3                                                      │

│ 00:00:07 #36 [Debug] 5                                                       │

│ 00:00:07 #37 [Debug] 6                                                       │

│ 128                                                                          │

│ 128                                                                          │

│ 128                                                                          │

│ True                                                                         │

│                                                                              │

╰──────────────────────────────────────────────────────────────────────────────╯



── markdown ────────────────────────────────────────────────────────────────────

╭──────────────────────────────────────────────────────────────────────────────╮

│ ## moveFileAsync                                                             │

╰──────────────────────────────────────────────────────────────────────────────╯



── fsharp ──────────────────────────────────────────────────────────────────────

let inline moveFileAsync newPath oldPath =

    let rec loop retry = async {

        try

            System.IO.File.Move (oldPath, newPath)

            return retry

        with ex ->

            if retry % 100 = 0 then

                let getLocals () =

                    $"oldPath: {oldPath |> System.IO.Path.GetFileName} / 

newPath: {newPath |> System.IO.Path.GetFileName} / ex: {ex |> printException} / 

{getLocals ()}"

                trace Warning (fun () -> "moveFileAsync") getLocals

            do! Async.Sleep 10

            return! loop (retry + 1)

    }

    loop 0



── fsharp ──────────────────────────────────────────────────────────────────────

//// test



let tempFolder = createTempDirectory ()

let path = tempFolder </> "test.txt"

let newPath = tempFolder </> "test2.txt"



let inline lockFile () = async {

    trace Debug (fun () -> "_1") getLocals

    use _ = new System.IO.FileStream (

        path,

        System.IO.FileMode.Open,

        System.IO.FileAccess.ReadWrite,

        System.IO.FileShare.None

    )

    trace Debug (fun () -> "_2") getLocals

    do! Async.Sleep 2000

    trace Debug (fun () -> "_3") getLocals

}



async {

    trace Debug (fun () -> "1") getLocals

    do! "0" |> writeAllTextAsync path

    trace Debug (fun () -> "2") getLocals

    let! child = lockFile () |> Async.StartChild

    trace Debug (fun () -> "3") getLocals

    do! Async.Sleep 1

    trace Debug (fun () -> "4") getLocals

    let! retries1 = path |> moveFileAsync newPath

    trace Debug (fun () -> "5") getLocals

    let! retries2 = newPath |> waitForFileAccess None

    trace Debug (fun () -> "6") getLocals

    let! text = newPath |> readAllTextAsync

    trace Debug (fun () -> "7") getLocals

    do! child

    trace Debug (fun () -> "8") getLocals

    return retries1, retries2, text

}

|> Async.runWithTimeout 3000

|> function

    | Some (retries1, retries2, text) ->

        retries1

        |> _isBetween

            (if Runtime.isWindows () then 100 else 0)

            (if Runtime.isWindows () then 150 else 0)



        retries2

        |> _isBetween

            (if Runtime.isWindows () then 0 else 100)

            (if Runtime.isWindows () then 0 else 200)

        

        text |> _equal "0"

        

        true

    | _ -> false

|> _equal true



╭─[ 2.46s - stdout ]───────────────────────────────────────────────────────────╮

│ 00:00:07 #38 [Debug] 1                                                       │

│ 00:00:07 #39 [Debug] 2                                                       │

│ 00:00:07 #40 [Debug] 3                                                       │

│ 00:00:07 #41 [Debug] _1                                                      │

│ 00:00:07 #42 [Debug] _2                                                      │

│ 00:00:07 #43 [Debug] 4                                                       │

│ 00:00:07 #44 [Warning] moveFileAsync / oldPath: test.txt / newPath:          │

│ test2.txt / ex: System.IO.IOException: The process cannot access the file    │

│ because it is being used by another process.                                 │

│ 00:00:09 #45 [Warning] moveFileAsync / oldPath: test.txt / newPath:          │

│ test2.txt / ex: System.IO.IOException: The process cannot access the file    │

│ because it is being used by another process.                                 │

│ 00:00:09 #46 [Debug] _3                                                      │

│ 00:00:09 #47 [Debug] 5                                                       │

│ 00:00:09 #48 [Debug] 6                                                       │

│ 00:00:09 #49 [Debug] 7                                                       │

│ 00:00:09 #50 [Debug] 8                                                       │

│ 128                                                                          │

│ 128                                                                          │

│ 128                                                                          │

│ 0                                                                            │

│ 0                                                                            │

│ 0                                                                            │

│ 0                                                                            │

│ True                                                                         │

│                                                                              │

╰──────────────────────────────────────────────────────────────────────────────╯



── markdown ────────────────────────────────────────────────────────────────────

╭──────────────────────────────────────────────────────────────────────────────╮

│ ## watchDirectory                                                            │

╰──────────────────────────────────────────────────────────────────────────────╯



── fsharp ──────────────────────────────────────────────────────────────────────

[[<RequireQualifiedAccess>]]

type FileSystemChangeType =

    | Failure

    | Changed

    | Created

    | Deleted

    | Renamed



[[<RequireQualifiedAccess>]]

type FileSystemChange =

    | Failure of exn: exn

    | Changed of path: string * content: string option

    | Created of path: string * content: string option

    | Deleted of path: string

    | Renamed of oldPath: string * (string * string option)





let inline watchDirectoryWithFilter filter shouldReadContent path =

    let fullPath = path |> System.IO.Path.GetFullPath

    let getLocals () = $"filter: {filter} / {getLocals ()}"



    let watcher =

        new System.IO.FileSystemWatcher (

            Path = fullPath,

            NotifyFilter = filter,

            EnableRaisingEvents = true,

            IncludeSubdirectories = true

        )



    let inline getEventPath (path : string) =

        path |> String.trim |> String.replace fullPath "" |> String.trimStart 

[[| '/'; '\\' |]]



    let inline ticks () =

        System.DateTime.UtcNow.Ticks



    let changedStream =

        AsyncSeq.subscribeEvent

            watcher.Changed

            (fun event ->

                ticks (),

                [[ FileSystemChange.Changed (getEventPath event.FullPath, None) 

]]

            )



    let deletedStream =

        AsyncSeq.subscribeEvent

            watcher.Deleted

            (fun event ->

                ticks (),

                [[ FileSystemChange.Deleted (getEventPath event.FullPath) ]]

            )



    let createdStream =

        AsyncSeq.subscribeEvent

            watcher.Created

            (fun event ->

                let path = getEventPath event.FullPath

                ticks (), [[

                    FileSystemChange.Created (path, None)

                    if Runtime.isWindows () then

                        FileSystemChange.Changed (path, None)

                ]])



    let renamedStream =

        AsyncSeq.subscribeEvent

            watcher.Renamed

            (fun event ->

                ticks (), [[

                    FileSystemChange.Renamed (

                        getEventPath event.OldFullPath,

                        (getEventPath event.FullPath, None)

                    )

                ]]

            )



    let failureStream =

        AsyncSeq.subscribeEvent

            watcher.Error

            (fun event -> ticks (), [[ FileSystemChange.Failure 

(event.GetException ()) ]])



    let stream =

        [[

            changedStream

            deletedStream

            createdStream

            renamedStream

            failureStream

        ]]

        |> FSharp.Control.AsyncSeq.mergeAll

        |> FSharp.Control.AsyncSeq.map (fun (t, events) ->

            events

            |> List.fold

                (fun (i, events) event ->

                    i + 1L,

                    (t + i, event) :: events)

                (0L, [[]])

            |> snd

            |> List.rev

        )

        |> FSharp.Control.AsyncSeq.concatSeq

        |> FSharp.Control.AsyncSeq.mapAsyncParallel (fun (t, event) -> async {

            match shouldReadContent event, event with

            | true, FileSystemChange.Changed (path, _) ->

                do! Async.Sleep 5

                let! content = fullPath </> path |> readAllTextRetryAsync

                return t, FileSystemChange.Changed (path, content)

            | true, FileSystemChange.Created (path, _) ->

                do! Async.Sleep 5

                let! content = fullPath </> path |> readAllTextRetryAsync

                return t, FileSystemChange.Created (path, content)

            | true, FileSystemChange.Renamed (oldPath, (newPath, _)) ->

                let! content = fullPath </> newPath |> readAllTextRetryAsync

                return t, FileSystemChange.Renamed (oldPath, (newPath, content))

            | _ -> return t, event

        })



    let disposable =

        newDisposable (fun () ->

            trace Debug (fun () -> "watchWithFilter / Disposing watch stream") 

getLocals

            watcher.EnableRaisingEvents <- false

            watcher.Dispose ()

        )



    stream, disposable



let inline watchDirectory path =

    watchDirectoryWithFilter

        (System.IO.NotifyFilters.FileName

        // ||| System.IO.NotifyFilters.DirectoryName

        // ||| System.IO.NotifyFilters.Attributes

        //// ||| System.IO.NotifyFilters.Size

        ||| System.IO.NotifyFilters.LastWrite

        //// ||| System.IO.NotifyFilters.LastAccess

        // ||| System.IO.NotifyFilters.CreationTime

        // ||| System.IO.NotifyFilters.Security

        )

        path



── markdown ────────────────────────────────────────────────────────────────────

╭──────────────────────────────────────────────────────────────────────────────╮

│ ### testEventsRaw (test)                                                     │

╰──────────────────────────────────────────────────────────────────────────────╯



── fsharp ──────────────────────────────────────────────────────────────────────

//// test



let inline testEventsRaw

    (watchFn : (_ -> bool) -> string -> FSharp.Control.AsyncSeq<int64 * 

FileSystemChange> * IDisposable)

    write

    =

    let tempDirectory = createTempDirectory ()

    let stream, disposable = watchFn (fun _ -> true) tempDirectory



    let events = System.Collections.Concurrent.ConcurrentBag ()



    let inline iter () =

        stream

        |> FSharp.Control.AsyncSeq.iterAsyncParallel (fun event -> async { 

events.Add event })



    let run = async {

        let! _ = iter () |> Async.StartChild

        do! Async.Sleep 250

        return! write tempDirectory

    }



    try

        run

        |> Async.runWithTimeout 60000

        |> _equal (Some ())

    finally

        disposable.Dispose ()

        deleteDirectoryAsync tempDirectory |> Async.Ignore |> 

Async.RunSynchronously



    let eventsLog =

        events

        |> Seq.toList

        |> List.sortBy fst

        |> List.fold

            (fun (prev, acc) (ticks, event) ->

                ticks, (ticks, (if prev = 0L then 0L else ticks - prev), event) 

:: acc

            )

            (0L, [[]])

        |> snd

        |> List.rev

        |> List.map (fun (diff, n, event) ->

            let text = $"{n} / {diff} / {event}"

            if text |> String.length <= 100

            then text

            else text |> String.substring 0 100 |> String.replace "\n" ""

        )

        |> String.concat "\n"

    let getLocals () = $"eventsLog: \n{eventsLog} / {getLocals ()}"

    trace Debug (fun () -> "testEventsRaw") getLocals



    events

    |> Seq.toList

    |> List.sortBy fst

    |> List.map snd

    |> List.fold

        (fun acc event ->

            match acc, event with

            | FileSystemChange.Changed (lastPath, Some lastContent) as lastEvent

:: acc,

                FileSystemChange.Changed (path, Some content)

                when lastPath = path && content |> String.startsWith lastContent

                ->

                event :: acc

            | _ -> event :: acc

        )

        [[]]

    |> List.rev



── markdown ────────────────────────────────────────────────────────────────────

╭──────────────────────────────────────────────────────────────────────────────╮

│ #### fast (test)                                                             │

╰──────────────────────────────────────────────────────────────────────────────╯



── fsharp ──────────────────────────────────────────────────────────────────────

//// test



let inline write path = async {

    let n = 2



    for i = 1 to n do

        do! $"a{i}" |> writeAllTextAsync (path </> $"file{i}.txt")



    do! Async.Sleep 250



    for i = 1 to n do

        do! $"b{i}" |> writeAllTextAsync (path </> $"file{i}.txt")



    do! Async.Sleep 250



    for i = 1 to n do

        do! path </> $"file{i}.txt" |> moveFileAsync (path </> $"file_{i}.txt") 

|> Async.Ignore



    do! Async.Sleep 250



    for i = 1 to n do

        do! $"c{i}" |> writeAllTextAsync (path </> $"file_{i}.txt")



    do! Async.Sleep 250



    for i = 1 to n do

        do! deleteFileAsync (path </> $"file_{i}.txt") |> Async.Ignore



    do! Async.Sleep 250

}



let inline run () =

    let events = testEventsRaw watchDirectory write



    events

    |> _sequenceEqual [[

        FileSystemChange.Created ("file1.txt", Some "a1")

        FileSystemChange.Changed ("file1.txt", Some "a1")

        FileSystemChange.Created ("file2.txt", Some "a2")

        FileSystemChange.Changed ("file2.txt", Some "a2")



        FileSystemChange.Changed ("file1.txt", Some "b1")

        FileSystemChange.Changed ("file2.txt", Some "b2")



        FileSystemChange.Renamed ("file1.txt", ("file_1.txt", Some "b1"))

        FileSystemChange.Renamed ("file2.txt", ("file_2.txt", Some "b2"))



        FileSystemChange.Changed ("file_1.txt", Some "c1")

        FileSystemChange.Changed ("file_2.txt", Some "c2")



        FileSystemChange.Deleted "file_1.txt"

        FileSystemChange.Deleted "file_2.txt"

    ]]



run

|> retryFn 3

|> _equal (Some ())



╭─[ 5.32s - stdout ]───────────────────────────────────────────────────────────╮

│ FSharpOption<Unit>                                                           │

│       Value: <null>                                                          │

│ 00:00:16 #51 [Debug] watchWithFilter / Disposing watch stream / filter:      │

│ FileName, LastWrite                                                          │

│ 00:00:16 #52 [Debug] testEventsRaw / eventsLog:                              │

│ 0 / 638369456803786893 / Created ("file1.txt", Some "a1")                    │

│ 1 / 638369456803786894 / Changed ("file1.txt", Some "a1")                    │

│ 53249 / 638369456803840143 / Changed ("file1.txt", Some "a1")                │

│ 1957 / 638369456803842100 / Created ("file2.txt", Some "a2")                 │

│ 1 / 638369456803842101 / Changed ("file2.txt", Some "a2")                    │

│ 156 / 638369456803842257 / Changed ("file2.txt", Some "a2")                  │

│ 2521592 / 638369456806363849 / Changed ("file1.txt", Some "b1")              │

│ 2083 / 638369456806365932 / Changed ("file1.txt", Some "b1")                 │

│ 13365 / 638369456806379297 / Changed ("file2.txt", Some "b2")                │

│ 2480 / 638369456806381777 / Changed ("file2.txt", Some "b2")                 │

│ 2595972 / 638369456808977749 / Renamed ("file1.txt", ("file_1.txt", Some     │

│ "b1"))                                                                       │

│ 15988 / 638369456808993737 / Renamed ("file2.txt", ("file_2.txt", Some       │

│ "b2"))                                                                       │

│ 2616885 / 638369456811610622 / Changed ("file_1.txt", Some "c1")             │

│ 2516 / 638369456811613138 / Changed ("file_1.txt", Some "c1")                │

│ 9091 / 638369456811622229 / Changed ("file_2.txt", Some "c2")                │

│ 2057 / 638369456811624286 / Changed ("file_2.txt", Some "c2")                │

│ 2646022 / 638369456814270308 / Deleted "file_1.txt"                          │

│ 9083 / 638369456814279391 / Deleted "file_2.txt"                             │

│ FSharpList<FileSystemChange>                                                 │

│       - path: file1.txt                                                      │

│         content: FSharpOption<String>                                        │

│           Value: a1                                                          │

│       - path: file1.txt                                                      │

│         content: FSharpOption<String>                                        │

│           Value: a1                                                          │

│       - path: file2.txt                                                      │

│         content: FSharpOption<String>                                        │

│           Value: a2                                                          │

│       - path: file2.txt                                                      │

│         content: FSharpOption<String>                                        │

│           Value: a2                                                          │

│       - path: file1.txt                                                      │

│         content: FSharpOption<String>                                        │

│           Value: b1                                                          │

│       - path: file2.txt                                                      │

│         content: FSharpOption<String>                                        │

│           Value: b2                                                          │

│       - oldPath: file1.txt                                                   │

│         Item2:         - file_1.txt                                          │

│         - FSharpOption<String>                                               │

│             Value: b1                                                        │

│       - oldPath: file2.txt                                                   │

│         Item2:         - file_2.txt                                          │

│         - FSharpOption<String>                                               │

│             Value: b2                                                        │

│       - path: file_1.txt                                                     │

│         content: FSharpOption<String>                                        │

│           Value: c1                                                          │

│       - path: file_2.txt                                                     │

│         content: FSharpOption<String>                                        │

│           Value: c2                                                          │

│       - path: file_1.txt                                                     │

│       - path: file_2.txt                                                     │

│ FSharpOption<Unit>                                                           │

│       Value: <null>                                                          │

│                                                                              │

╰──────────────────────────────────────────────────────────────────────────────╯



── markdown ────────────────────────────────────────────────────────────────────

╭──────────────────────────────────────────────────────────────────────────────╮

│ #### slow (test)                                                             │

╰──────────────────────────────────────────────────────────────────────────────╯



── fsharp ──────────────────────────────────────────────────────────────────────

//// test



let inline write path = async {

    let n = 2



    let contents =

        [[ 1 .. n ]]

        |> List.map (string >> String.replicate 1_000_000)



    for i = 1 to n do

        do! $"{contents.[[i - 1]]}a" |> writeAllTextAsync (path </> 

$"file{i}.txt")



    do! Async.Sleep 1500



    for i = 1 to n do

        do! $"{contents.[[i - 1]]}b" |> writeAllTextAsync (path </> 

$"file{i}.txt")



    do! Async.Sleep 1500



    for i = 1 to n do

        do! path </> $"file{i}.txt" |> moveFileAsync (path </> $"file_{i}.txt") 

|> Async.Ignore



    do! Async.Sleep 1500



    for i = 1 to n do

        do! $"{contents.[[i - 1]]}c" |> writeAllTextAsync (path </> 

$"file_{i}.txt")



    do! Async.Sleep 1500



    for i = 1 to n do

        do! deleteFileAsync (path </> $"file_{i}.txt") |> Async.Ignore



    do! Async.Sleep 1500

}



let inline run () =

    let events =

        testEventsRaw watchDirectory write

        |> List.map (function

            | FileSystemChange.Changed (path, Some content) ->

                FileSystemChange.Changed (path, content |> Seq.distinct |> 

Seq.map string |> String.concat "" |> Some)

            | FileSystemChange.Created (path, Some content) ->

                FileSystemChange.Created (path, content |> Seq.distinct |> 

Seq.map string |> String.concat "" |> Some)

            | FileSystemChange.Renamed (oldPath, (newPath, Some content)) ->

                FileSystemChange.Renamed (

                    oldPath,

                    (newPath, content |> Seq.distinct |> Seq.map string |> 

String.concat "" |> Some)

                )

            | event -> event

        )



    events

    |> _sequenceEqual [[

        FileSystemChange.Created ("file1.txt", Some "1a")

        FileSystemChange.Changed ("file1.txt", Some "1a")

        FileSystemChange.Created ("file2.txt", Some "2a")

        FileSystemChange.Changed ("file2.txt", Some "2a")



        FileSystemChange.Changed ("file1.txt", Some "1b")

        FileSystemChange.Changed ("file2.txt", Some "2b")



        FileSystemChange.Renamed ("file1.txt", ("file_1.txt", Some "1b"))

        FileSystemChange.Renamed ("file2.txt", ("file_2.txt", Some "2b"))



        FileSystemChange.Changed ("file_1.txt", Some "1c")

        FileSystemChange.Changed ("file_2.txt", Some "2c")



        FileSystemChange.Deleted "file_1.txt"

        FileSystemChange.Deleted "file_2.txt"

    ]]



run

|> retryFn 5

|> _equal (Some ())



╭─[ 12.90s - stdout ]──────────────────────────────────────────────────────────╮

│ 00:00:23 #53 [Debug] watchWithFilter / readContent / retry: 0 / ex:          │

│ System.AggregateException: One or more errors occurred. (The process cannot  │

│ access the file                                                              │

│ 'C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0854-4624-2403-2911 │

│ 21bac7d8\file1.txt' because it is being used by another process.)            │

│ 00:00:23 #54 [Debug] watchWithFilter / readContent / retry: 0 / ex:          │

│ System.AggregateException: One or more errors occurred. (The process cannot  │

│ access the file                                                              │

│ 'C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0854-4624-2403-2911 │

│ 21bac7d8\file2.txt' because it is being used by another process.)            │

│ 00:00:23 #55 [Debug] waitForFileAccess / path: file2.txt / ex:               │

│ System.IO.IOException: The process cannot access the file                    │

│ 'C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0854-4624-2403-2911 │

│ 21bac7d8\file2.txt' because it is being used by another process.             │

│ 00:00:26 #56 [Debug] watchWithFilter / readContent / retry: 0 / ex:          │

│ System.AggregateException: One or more errors occurred. (The process cannot  │

│ access the file                                                              │

│ 'C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0854-4624-2403-2911 │

│ 21bac7d8\file_1.txt' because it is being used by another process.)           │

│ 00:00:26 #57 [Debug] waitForFileAccess / path: file_1.txt / ex:              │

│ System.IO.IOException: The process cannot access the file                    │

│ 'C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0854-4624-2403-2911 │

│ 21bac7d8\file_1.txt' because it is being used by another process.            │

│ 00:00:26 #58 [Debug] watchWithFilter / readContent / retry: 0 / ex:          │

│ System.AggregateException: One or more errors occurred. (The process cannot  │

│ access the file                                                              │

│ 'C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0854-4624-2403-2911 │

│ 21bac7d8\file_2.txt' because it is being used by another process.)           │

│ 00:00:26 #59 [Debug] waitForFileAccess / path: file_2.txt / ex:              │

│ System.IO.IOException: The process cannot access the file                    │

│ 'C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0854-4624-2403-2911 │

│ 21bac7d8\file_2.txt' because it is being used by another process.            │

│ FSharpOption<Unit>                                                           │

│       Value: <null>                                                          │

│ 00:00:29 #60 [Debug] watchWithFilter / Disposing watch stream / filter:      │

│ FileName, LastWrite                                                          │

│ 00:00:29 #61 [Debug] testEventsRaw / eventsLog:                              │

│ 0 / 638369456865081389 / Created  ("file1.txt",   Some                       │

│ "1111111111111111111111111111111111111                                       │

│ 1 / 638369456865081390 / Changed  ("file1.txt",   Some                       │

│ "1111111111111111111111111111111111111                                       │

│ 73331 / 638369456865154721 / Changed  ("file1.txt",   Some                   │

│ "111111111111111111111111111111111                                           │

│ 21401 / 638369456865176122 / Created  ("file2.txt",   Some                   │

│ "222222222222222222222222222222222                                           │

│ 1 / 638369456865176123 / Changed  ("file2.txt",   Some                       │

│ "2222222222222222222222222222222222222                                       │

│ 64367 / 638369456865240490 / Changed  ("file2.txt",   Some                   │

│ "222222222222222222222222222222222                                           │

│ 15124746 / 638369456880365236 / Changed  ("file1.txt",   Some                │

│ "111111111111111111111111111111                                              │

│ 211117 / 638369456880576353 / Changed  ("file1.txt",   Some                  │

│ "11111111111111111111111111111111                                            │

│ 212788 / 638369456880789141 / Changed  ("file2.txt",   Some                  │

│ "22222222222222222222222222222222                                            │

│ 123413 / 638369456880912554 / Changed  ("file2.txt",   Some                  │

│ "22222222222222222222222222222222                                            │

│ 15132690 / 638369456896045244 / Renamed  ("file1.txt",   ("file_1.txt",      │

│ Some      "1111111111                                                        │

│ 5782 / 638369456896051026 / Renamed  ("file2.txt",   ("file_2.txt",    Some  │

│ "22222222222222                                                              │

│ 15126713 / 638369456911177739 / Changed  ("file_1.txt",   Some               │

│ "11111111111111111111111111111                                               │

│ 111094 / 638369456911288833 / Changed  ("file_1.txt",   Some                 │

│ "1111111111111111111111111111111                                             │

│ 71222 / 638369456911360055 / Changed  ("file_2.txt",   Some                  │

│ "22222222222222222222222222222222                                            │

│ 73065 / 638369456911433120 / Changed  ("file_2.txt",   Some                  │

│ "22222222222222222222222222222222                                            │

│ 15144183 / 638369456926577303 / Deleted "file_1.txt"                         │

│ 12704 / 638369456926590007 / Deleted "file_2.txt"                            │

│ FSharpList<FileSystemChange>                                                 │

│       - path: file1.txt                                                      │

│         content: FSharpOption<String>                                        │

│           Value: 1a                                                          │

│       - path: file1.txt                                                      │

│         content: FSharpOption<String>                                        │

│           Value: 1a                                                          │

│       - path: file2.txt                                                      │

│         content: FSharpOption<String>                                        │

│           Value: 2a                                                          │

│       - path: file2.txt                                                      │

│         content: FSharpOption<String>                                        │

│           Value: 2a                                                          │

│       - path: file1.txt                                                      │

│         content: FSharpOption<String>                                        │

│           Value: 1b                                                          │

│       - path: file2.txt                                                      │

│         content: FSharpOption<String>                                        │

│           Value: 2b                                                          │

│       - oldPath: file1.txt                                                   │

│         Item2:         - file_1.txt                                          │

│         - FSharpOption<String>                                               │

│             Value: 1b                                                        │

│       - oldPath: file2.txt                                                   │

│         Item2:         - file_2.txt                                          │

│         - FSharpOption<String>                                               │

│             Value: 2b                                                        │

│       - path: file_1.txt                                                     │

│         content: FSharpOption<String>                                        │

│           Value: 1c                                                          │

│       - path: file_2.txt                                                     │

│         content: FSharpOption<String>                                        │

│           Value: 2c                                                          │

│       - path: file_1.txt                                                     │

│       - path: file_2.txt                                                     │

│ FSharpOption<Unit>                                                           │

│       Value: <null>                                                          │

│                                                                              │

╰──────────────────────────────────────────────────────────────────────────────╯



── markdown ────────────────────────────────────────────────────────────────────

╭──────────────────────────────────────────────────────────────────────────────╮

│ ### testEventsSorted (test)                                                  │

╰──────────────────────────────────────────────────────────────────────────────╯



── fsharp ──────────────────────────────────────────────────────────────────────

//// test



let inline sortEvent event =

    match event with

    | FileSystemChange.Failure _ -> 0

    | FileSystemChange.Created _ -> 1

    | FileSystemChange.Changed _ -> 2

    | FileSystemChange.Renamed (_oldPath, _) -> 3

    | FileSystemChange.Deleted _ -> 4



let inline formatEvents events =

    events

    |> Seq.toList

    |> List.sortBy (snd >> sortEvent)

    |> List.choose (fun (ticks, event) ->

        match event with

        | FileSystemChange.Failure _ ->

            None

        | FileSystemChange.Changed (path, _) ->

            Some (ticks, System.IO.Path.GetFileName path, nameof 

FileSystemChangeType.Changed)

        | FileSystemChange.Created (path, _) ->

            Some (ticks, System.IO.Path.GetFileName path, nameof 

FileSystemChangeType.Created)

        | FileSystemChange.Deleted path ->

            Some (ticks, System.IO.Path.GetFileName path, nameof 

FileSystemChangeType.Deleted)

        | FileSystemChange.Renamed (_oldPath, (path, _)) ->

            Some (ticks, System.IO.Path.GetFileName path, nameof 

FileSystemChangeType.Renamed)

    )

    |> List.sortBy (fun (_, path, _) -> path)

    |> List.distinctBy (fun (_, path, event) -> path, event)



let inline testEventsSorted

    (watchFn : string -> FSharp.Control.AsyncSeq<int64 * FileSystemChange> * 

IDisposable)

    write

    =

    let path = createTempDirectory ()

    let stream, disposable = watchFn path



    let events = System.Collections.Concurrent.ConcurrentBag ()



    let inline iter () =

        stream

        |> FSharp.Control.AsyncSeq.iterAsyncParallel (fun event -> async { 

events.Add event })



    let run = async {

        let! _ = iter () |> Async.StartChild

        do! Async.Sleep 250

        return! write path

    }



    try

        run

        |> Async.runWithTimeout 5000

        |> _equal (Some ())

    finally

        disposable.Dispose ()

        deleteDirectoryAsync path |> Async.Ignore |> Async.RunSynchronously



    let events = formatEvents events



    let eventMap =

        events

        |> List.map (fun (ticks, path, event) -> path, (event, ticks))

        |> List.groupBy fst

        |> List.map (fun (path, events) ->

            let event, _ticks =

                events

                |> List.map snd

                |> List.sortByDescending snd

                |> List.head



            path, event

        )

        |> Map.ofList



    let eventList =

        events

        |> List.map (fun (_ticks, path, event) -> path, event)



    eventMap, eventList



── markdown ────────────────────────────────────────────────────────────────────

╭──────────────────────────────────────────────────────────────────────────────╮

│ #### create and delete (test)                                                │

╰──────────────────────────────────────────────────────────────────────────────╯



── fsharp ──────────────────────────────────────────────────────────────────────

//// test



let inline write path = async {

    let n = 3



    for i = 1 to n do

        do! $"{i}" |> writeAllTextAsync (path </> $"file{i}.txt")



    for i = 1 to n do

        do! deleteFileAsync (path </> $"file{i}.txt") |> Async.Ignore

    

    do! Async.Sleep 150

}



let inline run () =

    let eventMap, eventList = testEventsSorted (watchDirectory (fun _ -> false))

write



    [[

        "file1.txt", nameof FileSystemChangeType.Created

        "file1.txt", nameof FileSystemChangeType.Changed

        "file1.txt", nameof FileSystemChangeType.Deleted



        "file2.txt", nameof FileSystemChangeType.Created

        "file2.txt", nameof FileSystemChangeType.Changed

        "file2.txt", nameof FileSystemChangeType.Deleted



        "file3.txt", nameof FileSystemChangeType.Created

        "file3.txt", nameof FileSystemChangeType.Changed

        "file3.txt", nameof FileSystemChangeType.Deleted

    ]]

    |> _sequenceEqual eventList



    [[

        "file1.txt", nameof FileSystemChangeType.Deleted

        "file2.txt", nameof FileSystemChangeType.Deleted

        "file3.txt", nameof FileSystemChangeType.Deleted

    ]]

    |> Map.ofList

    |> _sequenceEqual eventMap



run

|> retryFn 3

|> _equal (Some ())



╭─[ 3.70s - stdout ]───────────────────────────────────────────────────────────╮

│ FSharpOption<Unit>                                                           │

│       Value: <null>                                                          │

│ 00:00:33 #62 [Debug] watchWithFilter / Disposing watch stream / filter:      │

│ FileName, LastWrite                                                          │

│ FSharpList<Tuple<String,String>>                                             │

│ ( file1.txt, Created )                                                       │

│ ( file1.txt, Changed )                                                       │

│ ( file1.txt, Deleted )                                                       │

│ ( file2.txt, Created )                                                       │

│ ( file2.txt, Changed )                                                       │

│ ( file2.txt, Deleted )                                                       │

│ ( file3.txt, Created )                                                       │

│ ( file3.txt, Changed )                                                       │

│ ( file3.txt, Deleted )                                                       │

│ FSharpMap<String,String>                                                     │

│       - Key: file1.txt                                                       │

│         Value: Deleted                                                       │

│       - Key: file2.txt                                                       │

│         Value: Deleted                                                       │

│       - Key: file3.txt                                                       │

│         Value: Deleted                                                       │

│ FSharpOption<Unit>                                                           │

│       Value: <null>                                                          │

│                                                                              │

╰──────────────────────────────────────────────────────────────────────────────╯



── markdown ────────────────────────────────────────────────────────────────────

╭──────────────────────────────────────────────────────────────────────────────╮

│ #### change (test)                                                           │

╰──────────────────────────────────────────────────────────────────────────────╯



── fsharp ──────────────────────────────────────────────────────────────────────

//// test



let inline write path = async {

    let n = 2



    for i = 1 to n do

        do! $"{i}" |> writeAllTextAsync (path </> $"file{i}.txt")



    for i = 1 to n do

        do! "" |> writeAllTextAsync (path </> $"file{i}.txt")



    for i = 1 to n do

        do! deleteFileAsync (path </> $"file{i}.txt") |> Async.Ignore

    

    do! Async.Sleep 150

}



let inline run () =

    let eventMap, eventList = testEventsSorted (watchDirectory (fun _ -> false))

write



    [[

        "file1.txt", nameof FileSystemChangeType.Created

        "file1.txt", nameof FileSystemChangeType.Changed

        "file1.txt", nameof FileSystemChangeType.Deleted



        "file2.txt", nameof FileSystemChangeType.Created

        "file2.txt", nameof FileSystemChangeType.Changed

        "file2.txt", nameof FileSystemChangeType.Deleted

    ]]

    |> _sequenceEqual eventList



    [[

        "file1.txt", nameof FileSystemChangeType.Deleted

        "file2.txt", nameof FileSystemChangeType.Deleted

    ]]

    |> Map.ofList

    |> _sequenceEqual eventMap



run

|> retryFn 3

|> _equal (Some ())



╭─[ 4.28s - stdout ]───────────────────────────────────────────────────────────╮

│ FSharpOption<Unit>                                                           │

│       Value: <null>                                                          │

│ 00:00:38 #63 [Debug] watchWithFilter / Disposing watch stream / filter:      │

│ FileName, LastWrite                                                          │

│ FSharpList<Tuple<String,String>>                                             │

│ ( file1.txt, Created )                                                       │

│ ( file1.txt, Changed )                                                       │

│ ( file1.txt, Deleted )                                                       │

│ ( file2.txt, Created )                                                       │

│ ( file2.txt, Changed )                                                       │

│ ( file2.txt, Deleted )                                                       │

│ FSharpMap<String,String>                                                     │

│       - Key: file1.txt                                                       │

│         Value: Deleted                                                       │

│       - Key: file2.txt                                                       │

│         Value: Deleted                                                       │

│ FSharpOption<Unit>                                                           │

│       Value: <null>                                                          │

│                                                                              │

╰──────────────────────────────────────────────────────────────────────────────╯



── markdown ────────────────────────────────────────────────────────────────────

╭──────────────────────────────────────────────────────────────────────────────╮

│ #### rename (test)                                                           │

╰──────────────────────────────────────────────────────────────────────────────╯



── fsharp ──────────────────────────────────────────────────────────────────────

//// test



let inline write path = async {

    let n = 2



    for i = 1 to n do

        do! $"{i}" |> writeAllTextAsync (path </> $"file{i}.txt")



    for i = 1 to n do

        do! path </> $"file{i}.txt" |> moveFileAsync (path </> $"file_{i}.txt") 

|> Async.Ignore



    for i = 1 to n do

        do! deleteFileAsync (path </> $"file_{i}.txt") |> Async.Ignore

    

    do! Async.Sleep 150

}



let inline run () =

    let eventMap, eventList = testEventsSorted (watchDirectory (fun _ -> false))

write



    [[

        "file1.txt", nameof FileSystemChangeType.Created

        "file1.txt", nameof FileSystemChangeType.Changed

        "file2.txt", nameof FileSystemChangeType.Created

        "file2.txt", nameof FileSystemChangeType.Changed



        "file_1.txt", nameof FileSystemChangeType.Renamed

        "file_1.txt", nameof FileSystemChangeType.Deleted



        "file_2.txt", nameof FileSystemChangeType.Renamed

        "file_2.txt", nameof FileSystemChangeType.Deleted

    ]]

    |> _sequenceEqual eventList



    [[

        "file1.txt", nameof FileSystemChangeType.Changed

        "file2.txt", nameof FileSystemChangeType.Changed

        "file_1.txt", nameof FileSystemChangeType.Deleted

        "file_2.txt", nameof FileSystemChangeType.Deleted

    ]]

    |> Map.ofList

    |> _sequenceEqual eventMap



run

|> retryFn 3

|> _equal (Some ())



╭─[ 4.94s - stdout ]───────────────────────────────────────────────────────────╮

│ FSharpOption<Unit>                                                           │

│       Value: <null>                                                          │

│ 00:00:43 #64 [Debug] watchWithFilter / Disposing watch stream / filter:      │

│ FileName, LastWrite                                                          │

│ FSharpList<Tuple<String,String>>                                             │

│ ( file1.txt, Created )                                                       │

│ ( file1.txt, Changed )                                                       │

│ ( file2.txt, Created )                                                       │

│ ( file2.txt, Changed )                                                       │

│ ( file_1.txt, Renamed )                                                      │

│ ( file_1.txt, Deleted )                                                      │

│ ( file_2.txt, Renamed )                                                      │

│ ( file_2.txt, Deleted )                                                      │

│ FSharpMap<String,String>                                                     │

│       - Key: file1.txt                                                       │

│         Value: Changed                                                       │

│       - Key: file2.txt                                                       │

│         Value: Changed                                                       │

│       - Key: file_1.txt                                                      │

│         Value: Deleted                                                       │

│       - Key: file_2.txt                                                      │

│         Value: Deleted                                                       │

│ FSharpOption<Unit>                                                           │

│       Value: <null>                                                          │

│                                                                              │

╰──────────────────────────────────────────────────────────────────────────────╯



── markdown ────────────────────────────────────────────────────────────────────

╭──────────────────────────────────────────────────────────────────────────────╮

│ #### full (test)                                                             │

╰──────────────────────────────────────────────────────────────────────────────╯



── fsharp ──────────────────────────────────────────────────────────────────────

//// test



let inline write path = async {

    let n = 2



    for i = 1 to n do

        do! $"{i}" |> writeAllTextAsync (path </> $"file{i}.txt")



    for i = 1 to n do

        do! "" |> writeAllTextAsync (path </> $"file{i}.txt")



    for i = 1 to n do

        do! path </> $"file{i}.txt" |> moveFileAsync (path </> $"file_{i}.txt") 

|> Async.Ignore



    for i = 1 to n do

        do! $"{i}" |> writeAllTextAsync (path </> $"file_{i}.txt")



    for i = 1 to n do

        do! deleteFileAsync (path </> $"file_{i}.txt") |> Async.Ignore

    

    do! Async.Sleep 150

}



let inline run () =

    let eventMap, eventList = testEventsSorted (watchDirectory (fun _ -> false))

write



    [[

        "file1.txt", nameof FileSystemChangeType.Created

        "file1.txt", nameof FileSystemChangeType.Changed

        "file2.txt", nameof FileSystemChangeType.Created

        "file2.txt", nameof FileSystemChangeType.Changed



        "file_1.txt", nameof FileSystemChangeType.Changed

        "file_1.txt", nameof FileSystemChangeType.Renamed

        "file_1.txt", nameof FileSystemChangeType.Deleted



        "file_2.txt", nameof FileSystemChangeType.Changed

        "file_2.txt", nameof FileSystemChangeType.Renamed

        "file_2.txt", nameof FileSystemChangeType.Deleted

    ]]

    |> _sequenceEqual eventList



    [[

        "file1.txt", nameof FileSystemChangeType.Changed

        "file2.txt", nameof FileSystemChangeType.Changed

        "file_1.txt", nameof FileSystemChangeType.Deleted

        "file_2.txt", nameof FileSystemChangeType.Deleted

    ]]

    |> Map.ofList

    |> _sequenceEqual eventMap



run

|> retryFn 3

|> _equal (Some ())



╭─[ 5.71s - stdout ]───────────────────────────────────────────────────────────╮

│ FSharpOption<Unit>                                                           │

│       Value: <null>                                                          │

│ 00:00:48 #65 [Debug] watchWithFilter / Disposing watch stream / filter:      │

│ FileName, LastWrite                                                          │

│ FSharpList<Tuple<String,String>>                                             │

│ ( file1.txt, Created )                                                       │

│ ( file1.txt, Changed )                                                       │

│ ( file2.txt, Created )                                                       │

│ ( file2.txt, Changed )                                                       │

│ ( file_1.txt, Changed )                                                      │

│ ( file_1.txt, Renamed )                                                      │

│ ( file_1.txt, Deleted )                                                      │

│ ( file_2.txt, Changed )                                                      │

│ ( file_2.txt, Renamed )                                                      │

│ ( file_2.txt, Deleted )                                                      │

│ FSharpMap<String,String>                                                     │

│       - Key: file1.txt                                                       │

│         Value: Changed                                                       │

│       - Key: file2.txt                                                       │

│         Value: Changed                                                       │

│       - Key: file_1.txt                                                      │

│         Value: Deleted                                                       │

│       - Key: file_2.txt                                                      │

│         Value: Deleted                                                       │

│ FSharpOption<Unit>                                                           │

│       Value: <null>                                                          │

│                                                                              │

╰──────────────────────────────────────────────────────────────────────────────╯

[NbConvertApp] Converting notebook FileSystem.dib.ipynb to html

C:\Users\i574n\scoop\apps\python\current\Lib\site-packages\nbformat\__init__.py:93: MissingIDFieldWarning: Code cell is missing an id field, this will become a hard error in future nbformat versions. You may want to use `normalize()` on your notebooks before validations (available since nbformat 5.1.4). Previous versions of nbformat are fixing this issue transparently, and will stop doing so in the future.

  validate(nb)

C:\Users\i574n\scoop\apps\python\current\Lib\site-packages\nbconvert\filters\highlight.py:71: UserWarning: IPython3 lexer unavailable, falling back on Python 3

  return _pygments_highlight(

[NbConvertApp] Writing 466085 bytes to FileSystem.dib.html



── markdown ────────────────────────────────────────────────────────────────────

╭──────────────────────────────────────────────────────────────────────────────╮

│ # Networking (Polyglot)                                                      │

╰──────────────────────────────────────────────────────────────────────────────╯



── fsharp ──────────────────────────────────────────────────────────────────────

#!import ../../lib/fsharp/Testing.dib



── fsharp - import ─────────────────────────────────────────────────────────────

#r 

"C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.A

spNetCore.Html.Abstractions.dll"

#r 

"C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D

otNet.Interactive.dll"

#r 

"C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D

otNet.Interactive.FSharp.dll"

#r 

"C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D

otNet.Interactive.Formatting.dll"

open System

open System.IO

open System.Text

open Microsoft.DotNet.Interactive.Formatting



── fsharp - import ─────────────────────────────────────────────────────────────

#r 

"C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D

otNet.Interactive.FSharp.dll"

open Microsoft.DotNet.Interactive.FSharp.FSharpKernelHelpers

#r 

"C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D

otNet.Interactive.dll"

open type Microsoft.DotNet.Interactive.Kernel



── fsharp - import ─────────────────────────────────────────────────────────────

#r @"../../../../../../../.nuget/packages/expecto/10.1.0/lib/net6.0/Expecto.dll"



── fsharp - import ─────────────────────────────────────────────────────────────

//// test



Formatter.ListExpansionLimit <- 100



── fsharp - import ─────────────────────────────────────────────────────────────

//// test



type AssertExceptionFormatter (ex) =

    member _.Text =

        ex.ToString()

            .Replace("32m", "<span style=\"color: green;\">")

            .Replace("36m", "</span>")

            .Replace("31m", "<span style=\"color: red;\">")

            .Replace("\n", "<br/>\n")





Formatter.Register<AssertExceptionFormatter> ((fun (x : 

AssertExceptionFormatter) -> x.Text), "text/html")



── fsharp - import ─────────────────────────────────────────────────────────────

//// test



let inline __expect fn log expected actual =

    if log then printfn $"{actual.ToDisplayString ()}"

    try

        "Testing.__expect" |> fn actual expected

    with :? Expecto.AssertException as ex ->

        AssertExceptionFormatter(ex).Display () |> ignore

        failwith (ex.GetType().FullName)



let inline __contains log expected actual = __expect Expecto.Expect.contains log

expected actual

let inline _contains expected actual = __contains true expected actual



let inline __equal log expected actual = __expect Expecto.Expect.equal log 

expected actual

let inline _equal expected actual = __equal true expected actual



let inline __isGreaterThan log expected actual = __expect 

Expecto.Expect.isGreaterThan log expected actual

let ...



── fsharp - import ─────────────────────────────────────────────────────────────

//// test



let inline __isBetween log a b actual =

    let inline isBetween actual (a, b) _ =

        __isGreaterThanOrEqual log a actual

        __isLessThanOrEqual log b actual

    __expect isBetween log (a, b) actual

let inline _isBetween a b actual = __isBetween true a b actual



── fsharp ──────────────────────────────────────────────────────────────────────

#r 

@"../../../../../../../.nuget/packages/argu/6.1.1/lib/netstandard2.0/Argu.dll"

#r 

@"../../../../../../../.nuget/packages/system.commandline/2.0.0-beta4.22272.1/li

b/net6.0/System.CommandLine.dll"



── fsharp ──────────────────────────────────────────────────────────────────────

#!import ../../lib/fsharp/Common.fs

#!import ../../lib/fsharp/CommonFSharp.fs

#!import ../../lib/fsharp/Async.fs

#!import ../../lib/fsharp/Runtime.fs



── fsharp - import ─────────────────────────────────────────────────────────────

#if !INTERACTIVE

namespace Polyglot

#endif



module Common =



    let nl = System.Environment.NewLine

    let q = @""""



    let inline cons head tail = head :: tail



    module String =

        let inline contains (value : string) (input : string) =

            input.Contains value



        let inline endsWith (value : string) (input : string) =

            input.EndsWith value



        let inline padLeft totalWidth paddingChar (input : string) =

            input.PadLeft (totalWidth, paddingChar)



        let inline replace (oldValue : string) (newValue : string) (input : 

string) =

            input.Replace (oldValue, newValue)



        let inline split separator (input : string) =

            input.Split separator



        let inline spli...



── fsharp - import ─────────────────────────────────────────────────────────────

#if !INTERACTIVE

namespace Polyglot

#endif



module CommonFSharp =



    open Common



    /// ## getUnionCaseName



    let inline getUnionCaseName<'T> (x: 'T) =

        match Reflection.FSharpValue.GetUnionFields(x, typeof<'T>) with

        | case, _ -> case.Name





── fsharp - import ─────────────────────────────────────────────────────────────

#if !INTERACTIVE

namespace Polyglot

#endif



module Async =



    open Common



    /// ## choice



    let inline choice asyncs = async {

        let e = Event<_> ()

        use cts = new System.Threading.CancellationTokenSource ()

        let fn =

            asyncs

            |> Seq.map (fun a -> async {

                let! x = a

                e.Trigger x

            })

            |> Async.Parallel

            |> Async.Ignore

        Async.Start (fn, cts.Token)

        let! result = Async.AwaitEvent e.Publish

        cts.Cancel ()

        return result

    }



    /// ## map



    let inline map fn a = async {

        let! x = a

        return fn x

    }



    /// ## catch



    let inline catch a =

        a

        |> Async.Catch

        ...



── fsharp - import ─────────────────────────────────────────────────────────────

#if !INTERACTIVE

namespace Polyglot

#endif



module Runtime =



    open Common



    /// ## isWindows



    let isWindows =

        fun () ->

            System.Runtime.InteropServices.RuntimeInformation.IsOSPlatform

                System.Runtime.InteropServices.OSPlatform.Windows

        |> memoize



    /// ## getExecutableSuffix



    let inline getExecutableSuffix () =

        if isWindows ()

        then ".exe"

        else ""



    /// ## splitCommand



    type private CommandParseStep =

        | Start

        | Path of quoted: bool

        | Arguments



    let splitCommand (command: string) =

        let rec loop (path, args) chars step =

            match chars, step with

            | ('"' | '\'') :: tail, _ when path = "" -> loop (pat...



── fsharp ──────────────────────────────────────────────────────────────────────

open Common



── markdown ────────────────────────────────────────────────────────────────────

╭──────────────────────────────────────────────────────────────────────────────╮

│ ## testPortOpen                                                              │

╰──────────────────────────────────────────────────────────────────────────────╯



── fsharp ──────────────────────────────────────────────────────────────────────

let inline testPortOpen port = async {

    let! ct = Async.CancellationToken

    use client = new System.Net.Sockets.TcpClient ()

    try

        do! client.ConnectAsync ("127.0.0.1", port, ct) |> 

Async.awaitValueTaskUnit

        return true

    with ex ->

        trace Verbose (fun () -> $"testPortOpen / ex: {ex |> printException}") 

getLocals

        return false

}



── fsharp ──────────────────────────────────────────────────────────────────────

//// test



testPortOpen 65536

|> Async.runWithTimeout 120

|> _equal (Some false)



╭─[ 173.52ms - stdout ]────────────────────────────────────────────────────────╮

│ 00:00:00 #1 [Verbose] testPortOpen / ex: System.ArgumentOutOfRangeException: │

│ Specified argument was out of the range of valid values. (Parameter 'port')  │

│ FSharpOption<Boolean>                                                        │

│       Value: False                                                           │

│                                                                              │

╰──────────────────────────────────────────────────────────────────────────────╯



── fsharp ──────────────────────────────────────────────────────────────────────

let inline testPortOpenTimeout timeout port = async {

    let! result =

        testPortOpen port

        |> Async.runWithTimeoutAsync timeout

    return

        match result with

        | None -> false

        | Some result -> result

}



── fsharp ──────────────────────────────────────────────────────────────────────

//// test



testPortOpenTimeout 120 65535

|> Async.RunSynchronously

|> _equal false



╭─[ 260.65ms - stdout ]────────────────────────────────────────────────────────╮

│ 00:00:00 #2 [Debug] runWithTimeoutAsync / timeout: 120                       │

│ False                                                                        │

│                                                                              │

╰──────────────────────────────────────────────────────────────────────────────╯



── markdown ────────────────────────────────────────────────────────────────────

╭──────────────────────────────────────────────────────────────────────────────╮

│ ## waitForPortAccess                                                         │

╰──────────────────────────────────────────────────────────────────────────────╯



── fsharp ──────────────────────────────────────────────────────────────────────

let inline waitForPortAccess timeout status port =

    let rec loop retry = async {

        let! isPortOpen =

            match timeout with

            | None -> testPortOpen port

            | Some timeout -> testPortOpenTimeout timeout port

        if isPortOpen = status

        then return retry

        else

            if retry % 100 = 0 then

                let getLocals () = $"port: {port} / retry: {retry} / {getLocals 

()}"

                trace Verbose (fun () -> "waitForPortAccess") getLocals

            do! Async.Sleep 10

            return! loop (retry + 1)

    }

    loop 0



── fsharp ──────────────────────────────────────────────────────────────────────

//// test



let port = 5555



let inline lockPort () = async {

    trace Debug (fun () -> "_1") getLocals

    do! Async.Sleep 5000

    use listener = new System.Net.Sockets.TcpListener 

(System.Net.IPAddress.Parse "127.0.0.1", port)

    trace Debug (fun () -> "_2") getLocals

    listener.Start ()

    trace Debug (fun () -> "_3") getLocals

    do! Async.Sleep 2000

    trace Debug (fun () -> "_4") getLocals

    listener.Stop ()

    trace Debug (fun () -> "_5") getLocals

}



async {

    trace Debug (fun () -> "1") getLocals

    let! child = lockPort () |> Async.StartChild

    trace Debug (fun () -> "2") getLocals

    do! Async.Sleep 1

    trace Debug (fun () -> "3") getLocals

    let! retries1 = waitForPortAccess None true port

    trace Debug (fun () -> "4") getLocals

    let! retries2 = waitForPortAccess None false port

    trace Debug (fun () -> "5") getLocals

    do! child

    trace Debug (fun () -> "6") getLocals

    return retries1, retries2

}

|> Async.runWithTimeout 20000

|> function

    | Some (retries1, retries2) ->

        retries1

        |> _isBetween

            (if Runtime.isWindows () then 2 else 2)

            (if Runtime.isWindows () then 5 else 1500)



        retries2

        |> _isBetween

            (if Runtime.isWindows () then 80 else 80)

            (if Runtime.isWindows () then 150 else 600)



        true

    | _ -> false

|> _equal true



╭─[ 9.54s - stdout ]───────────────────────────────────────────────────────────╮

│ 00:00:01 #3 [Debug] 1                                                        │

│ 00:00:01 #4 [Debug] _1                                                       │

│ 00:00:01 #5 [Debug] 2                                                        │

│ 00:00:01 #6 [Debug] 3                                                        │

│ 00:00:03 #7 [Verbose] testPortOpen / ex: System.AggregateException: One or   │

│ more errors occurred. (No connection could be made because the target        │

│ machine actively refused it.)                                                │

│ 00:00:03 #8 [Verbose] waitForPortAccess / port: 5555 / retry: 0              │

│ 00:00:05 #9 [Verbose] testPortOpen / ex: System.AggregateException: One or   │

│ more errors occurred. (No connection could be made because the target        │

│ machine actively refused it.)                                                │

│ 00:00:06 #10 [Debug] _2                                                      │

│ 00:00:06 #11 [Debug] _3                                                      │

│ 00:00:06 #12 [Debug] 4                                                       │

│ 00:00:06 #13 [Verbose] waitForPortAccess / port: 5555 / retry: 0             │

│ 00:00:07 #14 [Verbose] waitForPortAccess / port: 5555 / retry: 100           │

│ 00:00:08 #15 [Debug] _4                                                      │

│ 00:00:08 #16 [Debug] _5                                                      │

│ 00:00:10 #17 [Verbose] testPortOpen / ex: System.AggregateException: One or  │

│ more errors occurred. (No connection could be made because the target        │

│ machine actively refused it.)                                                │

│ 00:00:10 #18 [Debug] 5                                                       │

│ 00:00:10 #19 [Debug] 6                                                       │

│ 2                                                                            │

│ 2                                                                            │

│ 2                                                                            │

│ 120                                                                          │

│ 120                                                                          │

│ 120                                                                          │

│ True                                                                         │

│                                                                              │

╰──────────────────────────────────────────────────────────────────────────────╯



── fsharp ──────────────────────────────────────────────────────────────────────

//// test



let port = 5555



let inline lockPort () = async {

    trace Debug (fun () -> "_1") getLocals

    do! Async.Sleep 500

    use listener = new System.Net.Sockets.TcpListener 

(System.Net.IPAddress.Parse "127.0.0.1", port)

    trace Debug (fun () -> "_2") getLocals

    listener.Start ()

    trace Debug (fun () -> "_3") getLocals

    do! Async.Sleep 200

    trace Debug (fun () -> "_4") getLocals

    listener.Stop ()

    trace Debug (fun () -> "_5") getLocals

}



async {

    trace Debug (fun () -> "1") getLocals

    let! child = lockPort () |> Async.StartChild

    trace Debug (fun () -> "2") getLocals

    do! Async.Sleep 1

    trace Debug (fun () -> "3") getLocals

    let! retries1 = waitForPortAccess (Some 60) true port

    trace Debug (fun () -> "4") getLocals

    let! retries2 = waitForPortAccess (Some 60) false port

    trace Debug (fun () -> "5") getLocals

    do! child

    trace Debug (fun () -> "6") getLocals

    return retries1, retries2

}

|> Async.runWithTimeout 2000

|> function

    | Some (retries1, retries2) ->

        retries1

        |> _isBetween

            (if Runtime.isWindows () then 4 else 2)

            (if Runtime.isWindows () then 15 else 150)



        retries2

        |> _isBetween

            (if Runtime.isWindows () then 5 else 0)

            (if Runtime.isWindows () then 20 else 60)



        true

    | _ -> false

|> _equal true



╭─[ 1.49s - stdout ]───────────────────────────────────────────────────────────╮

│ 00:00:10 #20 [Debug] 1                                                       │

│ 00:00:10 #21 [Debug] _1                                                      │

│ 00:00:10 #22 [Debug] 2                                                       │

│ 00:00:10 #23 [Debug] 3                                                       │

│ 00:00:10 #24 [Debug] runWithTimeoutAsync / timeout: 60                       │

│ 00:00:10 #25 [Verbose] waitForPortAccess / port: 5555 / retry: 0             │

│ 00:00:11 #26 [Debug] runWithTimeoutAsync / timeout: 60                       │

│ 00:00:11 #27 [Debug] runWithTimeoutAsync / timeout: 60                       │

│ 00:00:11 #28 [Debug] runWithTimeoutAsync / timeout: 60                       │

│ 00:00:11 #29 [Debug] runWithTimeoutAsync / timeout: 60                       │

│ 00:00:11 #30 [Debug] runWithTimeoutAsync / timeout: 60                       │

│ 00:00:11 #31 [Debug] _2                                                      │

│ 00:00:11 #32 [Debug] _3                                                      │

│ 00:00:11 #33 [Debug] runWithTimeoutAsync / timeout: 60                       │

│ 00:00:11 #34 [Debug] 4                                                       │

│ 00:00:11 #35 [Verbose] waitForPortAccess / port: 5555 / retry: 0             │

│ 00:00:11 #36 [Debug] _4                                                      │

│ 00:00:11 #37 [Debug] _5                                                      │

│ 00:00:11 #38 [Debug] runWithTimeoutAsync / timeout: 60                       │

│ 00:00:11 #39 [Debug] 5                                                       │

│ 00:00:11 #40 [Debug] 6                                                       │

│ 7                                                                            │

│ 7                                                                            │

│ 7                                                                            │

│ 8                                                                            │

│ 8                                                                            │

│ 8                                                                            │

│ True                                                                         │

│                                                                              │

╰──────────────────────────────────────────────────────────────────────────────╯



── markdown ────────────────────────────────────────────────────────────────────

╭──────────────────────────────────────────────────────────────────────────────╮

│ ## getAvailablePort                                                          │

╰──────────────────────────────────────────────────────────────────────────────╯



── fsharp ──────────────────────────────────────────────────────────────────────

let inline getAvailablePort timeout initialPort =

    let rec loop port = async {

        let! isPortOpen =

            match timeout with

            | None -> testPortOpen port

            | Some timeout -> testPortOpenTimeout timeout port

        if not isPortOpen

        then return port

        else return! loop (port + 1)

    }

    loop initialPort



── fsharp ──────────────────────────────────────────────────────────────────────

//// test



let port = 5555



let inline lockPorts () = async {

    trace Debug (fun () -> "_1") getLocals

    use listener1 = new System.Net.Sockets.TcpListener 

(System.Net.IPAddress.Parse "127.0.0.1", port)

    use listener2 = new System.Net.Sockets.TcpListener 

(System.Net.IPAddress.Parse "127.0.0.1", port + 1)

    trace Debug (fun () -> "_2") getLocals

    listener1.Start ()

    listener2.Start ()

    trace Debug (fun () -> "_3") getLocals

    do! Async.Sleep 4000

    trace Debug (fun () -> "_4") getLocals

    listener1.Stop ()

    listener2.Stop ()

    trace Debug (fun () -> "_5") getLocals

}



async {

    trace Debug (fun () -> "1") getLocals

    let! child = lockPorts () |> Async.StartChild

    trace Debug (fun () -> "2") getLocals

    do! Async.Sleep 240

    trace Debug (fun () -> "3") getLocals

    let! availablePort = getAvailablePort None port

    trace Debug (fun () -> "4") getLocals

    let! retries = waitForPortAccess None false port

    trace Debug (fun () -> "5") getLocals

    do! child

    trace Debug (fun () -> "6") getLocals

    return availablePort, retries

}

|> Async.runWithTimeout 15000

|> function

    | Some (availablePort, retries) ->

        availablePort |> _equal (port + 2)



        retries

        |> _isBetween

            (if Runtime.isWindows () then 100 else 100)

            (if Runtime.isWindows () then 150 else 1200)



        true

    | _ -> false

|> _equal true



╭─[ 6.41s - stdout ]───────────────────────────────────────────────────────────╮

│ 00:00:12 #41 [Debug] 1                                                       │

│ 00:00:12 #42 [Debug] 2                                                       │

│ 00:00:12 #43 [Debug] _1                                                      │

│ 00:00:12 #44 [Debug] _2                                                      │

│ 00:00:12 #45 [Debug] _3                                                      │

│ 00:00:12 #46 [Debug] 3                                                       │

│ 00:00:14 #47 [Verbose] testPortOpen / ex: System.AggregateException: One or  │

│ more errors occurred. (No connection could be made because the target        │

│ machine actively refused it.)                                                │

│ 00:00:14 #48 [Debug] 4                                                       │

│ 00:00:14 #49 [Verbose] waitForPortAccess / port: 5555 / retry: 0             │

│ 00:00:16 #50 [Verbose] waitForPortAccess / port: 5555 / retry: 100           │

│ 00:00:16 #51 [Debug] _4                                                      │

│ 00:00:16 #52 [Debug] _5                                                      │

│ 00:00:18 #53 [Verbose] testPortOpen / ex: System.AggregateException: One or  │

│ more errors occurred. (No connection could be made because the target        │

│ machine actively refused it.)                                                │

│ 00:00:18 #54 [Debug] 5                                                       │

│ 00:00:18 #55 [Debug] 6                                                       │

│ 5557                                                                         │

│ 110                                                                          │

│ 110                                                                          │

│ 110                                                                          │

│ True                                                                         │

│                                                                              │

╰──────────────────────────────────────────────────────────────────────────────╯



── fsharp ──────────────────────────────────────────────────────────────────────

//// test



let port = 5555



let inline lockPorts () = async {

    trace Debug (fun () -> "_1") getLocals

    use listener1 = new System.Net.Sockets.TcpListener 

(System.Net.IPAddress.Parse "127.0.0.1", port)

    use listener2 = new System.Net.Sockets.TcpListener 

(System.Net.IPAddress.Parse "127.0.0.1", port + 1)

    trace Debug (fun () -> "_2") getLocals

    listener1.Start ()

    listener2.Start ()

    trace Debug (fun () -> "_3") getLocals

    do! Async.Sleep 400

    trace Debug (fun () -> "_4") getLocals

    listener1.Stop ()

    listener2.Stop ()

    trace Debug (fun () -> "_5") getLocals

}



async {

    trace Debug (fun () -> "1") getLocals

    let! child = lockPorts () |> Async.StartChild

    trace Debug (fun () -> "2") getLocals

    do! Async.Sleep 240

    trace Debug (fun () -> "3") getLocals

    let! availablePort = getAvailablePort (Some 60) port

    trace Debug (fun () -> "4") getLocals

    let! retries = waitForPortAccess (Some 60) false port

    trace Debug (fun () -> "5") getLocals

    do! child

    trace Debug (fun () -> "6") getLocals

    return availablePort, retries

}

|> Async.runWithTimeout 1500

|> function

    | Some (availablePort, retries) ->

        availablePort |> _equal (port + 2)



        retries

        |> _isBetween

            (if Runtime.isWindows () then 2 else 1)

            (if Runtime.isWindows () then 10 else 120)



        true

    | _ -> false

|> _equal true



╭─[ 1.02s - stdout ]───────────────────────────────────────────────────────────╮

│ 00:00:18 #56 [Debug] 1                                                       │

│ 00:00:18 #57 [Debug] 2                                                       │

│ 00:00:18 #58 [Debug] _1                                                      │

│ 00:00:18 #59 [Debug] _2                                                      │

│ 00:00:18 #60 [Debug] _3                                                      │

│ 00:00:19 #61 [Debug] 3                                                       │

│ 00:00:19 #62 [Debug] runWithTimeoutAsync / timeout: 60                       │

│ 00:00:19 #63 [Debug] 4                                                       │

│ 00:00:19 #64 [Verbose] waitForPortAccess / port: 5555 / retry: 0             │

│ 00:00:19 #65 [Debug] _4                                                      │

│ 00:00:19 #66 [Debug] _5                                                      │

│ 00:00:19 #67 [Debug] runWithTimeoutAsync / timeout: 60                       │

│ 00:00:19 #68 [Debug] 5                                                       │

│ 00:00:19 #69 [Debug] 6                                                       │

│ 5557                                                                         │

│ 5                                                                            │

│ 5                                                                            │

│ 5                                                                            │

│ True                                                                         │

│                                                                              │

╰──────────────────────────────────────────────────────────────────────────────╯

[NbConvertApp] Converting notebook Networking.dib.ipynb to html

C:\Users\i574n\scoop\apps\python\current\Lib\site-packages\nbformat\__init__.py:93: MissingIDFieldWarning: Code cell is missing an id field, this will become a hard error in future nbformat versions. You may want to use `normalize()` on your notebooks before validations (available since nbformat 5.1.4). Previous versions of nbformat are fixing this issue transparently, and will stop doing so in the future.

  validate(nb)

C:\Users\i574n\scoop\apps\python\current\Lib\site-packages\nbconvert\filters\highlight.py:71: UserWarning: IPython3 lexer unavailable, falling back on Python 3

  return _pygments_highlight(

[NbConvertApp] Writing 324096 bytes to Networking.dib.html



── markdown ────────────────────────────────────────────────────────────────────

╭──────────────────────────────────────────────────────────────────────────────╮

│ # Runtime (Polyglot)                                                         │

╰──────────────────────────────────────────────────────────────────────────────╯



── fsharp ──────────────────────────────────────────────────────────────────────

#!import ../../lib/fsharp/Testing.dib



── fsharp - import ─────────────────────────────────────────────────────────────

#r 

"C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.A

spNetCore.Html.Abstractions.dll"

#r 

"C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D

otNet.Interactive.dll"

#r 

"C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D

otNet.Interactive.FSharp.dll"

#r 

"C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D

otNet.Interactive.Formatting.dll"

open System

open System.IO

open System.Text

open Microsoft.DotNet.Interactive.Formatting



── fsharp - import ─────────────────────────────────────────────────────────────

#r 

"C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D

otNet.Interactive.FSharp.dll"

open Microsoft.DotNet.Interactive.FSharp.FSharpKernelHelpers

#r 

"C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D

otNet.Interactive.dll"

open type Microsoft.DotNet.Interactive.Kernel



── fsharp - import ─────────────────────────────────────────────────────────────

#r @"../../../../../../../.nuget/packages/expecto/10.1.0/lib/net6.0/Expecto.dll"



── fsharp - import ─────────────────────────────────────────────────────────────

//// test



Formatter.ListExpansionLimit <- 100



── fsharp - import ─────────────────────────────────────────────────────────────

//// test



type AssertExceptionFormatter (ex) =

    member _.Text =

        ex.ToString()

            .Replace("32m", "<span style=\"color: green;\">")

            .Replace("36m", "</span>")

            .Replace("31m", "<span style=\"color: red;\">")

            .Replace("\n", "<br/>\n")





Formatter.Register<AssertExceptionFormatter> ((fun (x : 

AssertExceptionFormatter) -> x.Text), "text/html")



── fsharp - import ─────────────────────────────────────────────────────────────

//// test



let inline __expect fn log expected actual =

    if log then printfn $"{actual.ToDisplayString ()}"

    try

        "Testing.__expect" |> fn actual expected

    with :? Expecto.AssertException as ex ->

        AssertExceptionFormatter(ex).Display () |> ignore

        failwith (ex.GetType().FullName)



let inline __contains log expected actual = __expect Expecto.Expect.contains log

expected actual

let inline _contains expected actual = __contains true expected actual



let inline __equal log expected actual = __expect Expecto.Expect.equal log 

expected actual

let inline _equal expected actual = __equal true expected actual



let inline __isGreaterThan log expected actual = __expect 

Expecto.Expect.isGreaterThan log expected actual

let ...



── fsharp - import ─────────────────────────────────────────────────────────────

//// test



let inline __isBetween log a b actual =

    let inline isBetween actual (a, b) _ =

        __isGreaterThanOrEqual log a actual

        __isLessThanOrEqual log b actual

    __expect isBetween log (a, b) actual

let inline _isBetween a b actual = __isBetween true a b actual



── fsharp ──────────────────────────────────────────────────────────────────────

#r 

@"../../../../../../../.nuget/packages/fsharp.control.asyncseq/3.2.1/lib/netstan

dard2.1/FSharp.Control.AsyncSeq.dll"

#r 

@"../../../../../../../.nuget/packages/system.reactive/6.0.1-preview.1/lib/net6.

0/System.Reactive.dll"

#r 

@"../../../../../../../.nuget/packages/system.reactive.linq/6.0.1-preview.1/lib/

netstandard2.0/System.Reactive.Linq.dll"

#r 

@"../../../../../../../.nuget/packages/argu/6.1.1/lib/netstandard2.0/Argu.dll"

#r 

@"../../../../../../../.nuget/packages/system.commandline/2.0.0-beta4.22272.1/li

b/net6.0/System.CommandLine.dll"



── fsharp ──────────────────────────────────────────────────────────────────────

#!import ../../lib/fsharp/Common.fs

#!import ../../lib/fsharp/CommonFSharp.fs

#!import ../../lib/fsharp/Async.fs

#!import ../../lib/fsharp/AsyncSeq.fs

#!import ../../lib/fsharp/Runtime.fs

#!import ../../lib/fsharp/FileSystem.fs



── fsharp - import ─────────────────────────────────────────────────────────────

#if !INTERACTIVE

namespace Polyglot

#endif



module Common =



    let nl = System.Environment.NewLine

    let q = @""""



    let inline cons head tail = head :: tail



    module String =

        let inline contains (value : string) (input : string) =

            input.Contains value



        let inline endsWith (value : string) (input : string) =

            input.EndsWith value



        let inline padLeft totalWidth paddingChar (input : string) =

            input.PadLeft (totalWidth, paddingChar)



        let inline replace (oldValue : string) (newValue : string) (input : 

string) =

            input.Replace (oldValue, newValue)



        let inline split separator (input : string) =

            input.Split separator



        let inline spli...



── fsharp - import ─────────────────────────────────────────────────────────────

#if !INTERACTIVE

namespace Polyglot

#endif



module CommonFSharp =



    open Common



    /// ## getUnionCaseName



    let inline getUnionCaseName<'T> (x: 'T) =

        match Reflection.FSharpValue.GetUnionFields(x, typeof<'T>) with

        | case, _ -> case.Name





── fsharp - import ─────────────────────────────────────────────────────────────

#if !INTERACTIVE

namespace Polyglot

#endif



module Async =



    open Common



    /// ## choice



    let inline choice asyncs = async {

        let e = Event<_> ()

        use cts = new System.Threading.CancellationTokenSource ()

        let fn =

            asyncs

            |> Seq.map (fun a -> async {

                let! x = a

                e.Trigger x

            })

            |> Async.Parallel

            |> Async.Ignore

        Async.Start (fn, cts.Token)

        let! result = Async.AwaitEvent e.Publish

        cts.Cancel ()

        return result

    }



    /// ## map



    let inline map fn a = async {

        let! x = a

        return fn x

    }



    /// ## catch



    let inline catch a =

        a

        |> Async.Catch

        ...



── fsharp - import ─────────────────────────────────────────────────────────────

#if !INTERACTIVE

namespace Polyglot

#endif



module AsyncSeq =



    open Common



    /// ## subscribeEvent



    let inline subscribeEvent (event: IEvent<'H, 'A>) map =

        let observable = System.Reactive.Linq.Observable.FromEventPattern<'H, 

'A>(event.AddHandler, event.RemoveHandler)

        System.Reactive.Linq.Observable.Select (observable, fun event -> map 

event.EventArgs)

        |> FSharp.Control.AsyncSeq.ofObservableBuffered



    let subscribeToken (token : System.Threading.CancellationToken) =

        let tcs = new System.Threading.Tasks.TaskCompletionSource ()

        System.Action tcs.SetResult |> token.Register |> ignore

        let start = System.DateTime.Now.Ticks

        FSharp.Control.AsyncSeq.unfoldAsync

            (fun (...



── fsharp - import ─────────────────────────────────────────────────────────────

#if !INTERACTIVE

namespace Polyglot

#endif



module Runtime =



    open Common



    /// ## isWindows



    let isWindows =

        fun () ->

            System.Runtime.InteropServices.RuntimeInformation.IsOSPlatform

                System.Runtime.InteropServices.OSPlatform.Windows

        |> memoize



    /// ## getExecutableSuffix



    let inline getExecutableSuffix () =

        if isWindows ()

        then ".exe"

        else ""



    /// ## splitCommand



    type private CommandParseStep =

        | Start

        | Path of quoted: bool

        | Arguments



    let splitCommand (command: string) =

        let rec loop (path, args) chars step =

            match chars, step with

            | ('"' | '\'') :: tail, _ when path = "" -> loop (pat...



── fsharp - import ─────────────────────────────────────────────────────────────

#if !INTERACTIVE

namespace Polyglot

#endif



module FileSystem =



    open Common



    /// ## Operators



    module Operators =

        let inline (</>) a b =

            System.IO.Path.Combine (a, b)



    open Operators



    /// ## createTempDirectoryName



    let inline createTempDirectoryName () =

        let root = System.Reflection.Assembly.GetEntryAssembly().GetName().Name



        System.IO.Path.GetTempPath ()

        </> $"!{root}"

        </> string (newGuidFromDateTime System.DateTime.Now)



    /// ## createTempDirectory



    let inline createTempDirectory () =

        let tempFolder = createTempDirectoryName ()

        let result = System.IO.Directory.CreateDirectory tempFolder



        if not result.Exists then

            let ge...



── fsharp ──────────────────────────────────────────────────────────────────────

open Common



── fsharp ──────────────────────────────────────────────────────────────────────

//// test



open FileSystem.Operators



── markdown ────────────────────────────────────────────────────────────────────

╭──────────────────────────────────────────────────────────────────────────────╮

│ ## isWindows                                                                 │

╰──────────────────────────────────────────────────────────────────────────────╯



── fsharp ──────────────────────────────────────────────────────────────────────

let isWindows =

    fun () ->

        System.Runtime.InteropServices.RuntimeInformation.IsOSPlatform

            System.Runtime.InteropServices.OSPlatform.Windows

    |> memoize



── fsharp ──────────────────────────────────────────────────────────────────────

//// test



isWindows ()



╭─[ 66.89ms - return value ]───────────────────────────────────────────────────╮

│ <div class="dni-plaintext"><pre>True</pre></div><style>                      │

│ .dni-code-hint {                                                             │

│     font-style: italic;                                                      │

│     overflow: hidden;                                                        │

│     white-space: nowrap;                                                     │

│ }                                                                            │

│ .dni-treeview {                                                              │

│     white-space: nowrap;                                                     │

│ }                                                                            │

│ .dni-treeview td {                                                           │

│     vertical-align: top;                                                     │

│     text-align: start;                                                       │

│ }                                                                            │

│ details.dni-treeview {                                                       │

│     padding-left: 1em;                                                       │

│ }                                                                            │

│ table td {                                                                   │

│     text-align: start;                                                       │

│ }                                                                            │

│ table tr {                                                                   │

│     vertical-align: top;                                                     │

│     margin: 0em 0px;                                                         │

│ }                                                                            │

│ table tr td pre                                                              │

│ {                                                                            │

│     vertical-align: top !important;                                          │

│     margin: 0em 0px !important;                                              │

│ }                                                                            │

│ table th {                                                                   │

│     text-align: start;                                                       │

│ }                                                                            │

│ </style>                                                                     │

╰──────────────────────────────────────────────────────────────────────────────╯



── markdown ────────────────────────────────────────────────────────────────────

╭──────────────────────────────────────────────────────────────────────────────╮

│ ## getExecutableSuffix                                                       │

╰──────────────────────────────────────────────────────────────────────────────╯



── fsharp ──────────────────────────────────────────────────────────────────────

let inline getExecutableSuffix () =

    if isWindows ()

    then ".exe"

    else ""



── fsharp ──────────────────────────────────────────────────────────────────────

//// test



getExecutableSuffix ()



╭─[ 11.26ms - return value ]───────────────────────────────────────────────────╮

│ .exe                                                                         │

╰──────────────────────────────────────────────────────────────────────────────╯



── markdown ────────────────────────────────────────────────────────────────────

╭──────────────────────────────────────────────────────────────────────────────╮

│ ## splitCommand                                                              │

╰──────────────────────────────────────────────────────────────────────────────╯



── fsharp ──────────────────────────────────────────────────────────────────────

type private CommandParseStep =

    | Start

    | Path of quoted: bool

    | Arguments



let splitCommand (command: string) =

    let rec loop (path, args) chars step =

        match chars, step with

        | ('"' | '\'') :: tail, _ when path = "" -> loop (path, args) tail (Path

true)

        | ('"' | '\'') :: tail, Path true -> loop (path, args) tail (Path false)

        | ' ' :: tail, Path true -> loop ($"{path} ", args) tail (Path true)

        | ' ' :: tail, (Start | Path _) -> loop (path, args) tail Arguments

        | char :: tail, Arguments -> loop (path, $"{args}{char}") tail Arguments

        | char :: tail, _ -> loop ($"{path}{char}", args) tail step

        | _, _ -> path |> String.replace @"\" "/", args

    loop ("", "") (command |> Seq.toList) Start



── fsharp ──────────────────────────────────────────────────────────────────────

//// test



splitCommand ""

|> _equal ("", "")



splitCommand "/a/b/c"

|> _equal ("/a/b/c", "")



splitCommand "cat file.txt"

|> _equal ("cat", "file.txt")



splitCommand """..\..\file.exe file1.txt file2.txt"""

|> _equal ("../../file.exe", "file1.txt file2.txt")



splitCommand @"c:\dir\file.exe ""file1.txt file2.txt"""

|> _equal ("c:/dir/file.exe", @"""file1.txt file2.txt""")



splitCommand @"""..\..\dir name\file.exe"" ""file 1.txt"" file2.txt"

|> _equal ("../../dir name/file.exe", @"""file 1.txt"" file2.txt")



splitCommand @"""..\..\file 1.exe"" -c \\""echo 1\\"""

|> _equal ("../../file 1.exe", @"-c \\""echo 1\\""")



splitCommand @"..\..\file 1.exe -c \\""echo 1\\"""

|> _equal ("../../file", @"1.exe -c \\""echo 1\\""")



╭─[ 81.28ms - stdout ]─────────────────────────────────────────────────────────╮

│ ( ,  )                                                                       │

│ ( /a/b/c,  )                                                                 │

│ ( cat, file.txt )                                                            │

│ ( ../../file.exe, file1.txt file2.txt )                                      │

│ ( c:/dir/file.exe, "file1.txt file2.txt" )                                   │

│ ( ../../dir name/file.exe, "file 1.txt" file2.txt )                          │

│ ( ../../file 1.exe, -c \\"echo 1\\" )                                        │

│ ( ../../file, 1.exe -c \\"echo 1\\" )                                        │

│                                                                              │

╰──────────────────────────────────────────────────────────────────────────────╯



── markdown ────────────────────────────────────────────────────────────────────

╭──────────────────────────────────────────────────────────────────────────────╮

│ ## executeAsync                                                              │

╰──────────────────────────────────────────────────────────────────────────────╯



── fsharp ──────────────────────────────────────────────────────────────────────

type ExecutionLine =

    {

        ProcessId : int

        Line : string

        Error : bool

    }



type ExecutionOptions =

    {

        Command : string

        WorkingDirectory : string option

        CancellationToken : System.Threading.CancellationToken option

        OnLine : (ExecutionLine -> Async<unit>) option

    }



let inline executeWithOptionsAsync (options : ExecutionOptions) = async {

    let fileName, arguments = options.Command |> splitCommand

    let workingDirectory = options.WorkingDirectory |> Option.defaultValue ""



    trace Debug (fun () -> $"executeAsync / options: {options}") getLocals



    let startInfo = System.Diagnostics.ProcessStartInfo (

        Arguments = arguments,

        CreateNoWindow = true,

        FileName = fileName,

        RedirectStandardError = true,

        RedirectStandardOutput = true,

        StandardOutputEncoding = System.Text.Encoding.UTF8,

        UseShellExecute = false,

        WorkingDirectory = workingDirectory

    )



    use proc = new System.Diagnostics.Process (StartInfo = startInfo)

    let output = System.Collections.Concurrent.ConcurrentStack<string> ()



    let inline event error (e: System.Diagnostics.DataReceivedEventArgs) = async

{

        if e.Data <> null then

            match options.OnLine with

            | Some onLine ->

                do!

                    onLine

                        {

                            ProcessId = proc.Id

                            Line = e.Data

                            Error = error

                        }

            | None -> ()



            trace

                Verbose

                (fun () -> $"> {e.Data}")

                Common.getLocals



            output.Push

                $"{

                    if error then '[['.ToString() else System.String.Empty

                }{

                    e.Data

                }{

                    if error then ']]'.ToString() else System.String.Empty

                }"

    }



    proc.OutputDataReceived.Add (event false >> Async.StartImmediate)

    proc.ErrorDataReceived.Add (event true >> Async.StartImmediate)



    if proc.Start () |> not

    then failwith $"executeAsync / proc.Start () error"



    proc.BeginErrorReadLine ()

    proc.BeginOutputReadLine ()



    let! ct =

        options.CancellationToken

        |> Option.defaultValue System.Threading.CancellationToken.None

        |> Async.mergeCancellationTokenWithDefaultAsync



    use reg = ct.Register (fun _ ->

        if not proc.HasExited then proc.Kill ()

    )



    let! exitCode = async {

        try

            do! proc.WaitForExitAsync ct |> Async.AwaitTask

            return proc.ExitCode

        with :? System.Threading.Tasks.TaskCanceledException as ex ->

            trace Warning (fun () -> $"executeAsync / WaitForExitAsync / ex: {ex

|> printException}") getLocals

            ex |> printException |> output.Push

            return System.Int32.MinValue

    }



    let output = output |> Seq.rev |> String.concat "\n"



    trace Debug (fun () ->

        $"executeAsync / exitCode: {exitCode} / output.Length: {output.Length}"

    ) getLocals



    return exitCode, output

}



let inline executeAsync command =

    executeWithOptionsAsync

        {

            Command = command

            CancellationToken = None

            OnLine = None

            WorkingDirectory = None

        }



── fsharp ──────────────────────────────────────────────────────────────────────

//// test



let tempFolder = FileSystem.createTempDirectory ()

let fileName = "test.txt"

let path = tempFolder </> fileName



async {

    let! exitCode, result = executeAsync @$"pwsh -c ""Get-Content {path}"""

    exitCode |> _equal 1

    result |> _stringContains "not exist"



    do! "0" |> FileSystem.writeAllTextAsync path



    return!

        executeWithOptionsAsync

            {

                Command = @$"pwsh -c ""Get-Content {fileName}"""

                CancellationToken = None

                OnLine = None

                WorkingDirectory = Some tempFolder

            }



}

|> Async.runWithTimeout 10000

|> function

    | Some (exitCode, output) ->

        exitCode |> _equal 0

        output |> _equal "0"



        true

    | _ -> false

|> _equal true



╭─[ 1.92s - stdout ]───────────────────────────────────────────────────────────╮

│ 00:00:00 #1 [Debug] executeAsync / options: { Command =                      │

│    "pwsh -c "Get-Content                                                     │

│ C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0856-0035-3535-37489 │

│ d32ae50\test.txt""                                                           │

│   WorkingDirectory = None                                                    │

│   CancellationToken = None                                                   │

│   OnLine = None }                                                            │

│ 00:00:00 #2 [Verbose] > Get-Content: Cannot find path              │

│ 'C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0856-0035-3535-3748 │

│ 9d32ae50\test.txt' because it does not exist.                              │

│ 00:00:00 #3 [Debug] executeAsync / exitCode: 1 / output.Length: 171          │

│ 1                                                                            │

│ [Get-Content: Cannot find path                                     │

│ 'C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0856-0035-3535-3748 │

│ 9d32ae50\test.txt' because it does not exist.]                             │

│ 00:00:00 #4 [Debug] executeAsync / options: { Command = "pwsh -c             │

│ "Get-Content test.txt""                                                      │

│   WorkingDirectory =                                                         │

│    Some                                                                      │

│                                                                              │

│ "C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0856-0035-3535-3748 │

│ 9d32ae50"                                                                    │

│   CancellationToken = None                                                   │

│   OnLine = None }                                                            │

│ 00:00:01 #5 [Verbose] > 0                                                    │

│ 00:00:01 #6 [Debug] executeAsync / exitCode: 0 / output.Length: 1            │

│ 0                                                                            │

│ 0                                                                            │

│ True                                                                         │

│                                                                              │

╰──────────────────────────────────────────────────────────────────────────────╯



── fsharp ──────────────────────────────────────────────────────────────────────

//// test



let tempFolder = FileSystem.createTempDirectory ()

let path = tempFolder </> "test.txt"



let command = @$"pwsh -c ""Get-Content {path}"""



async {

    do! "0" |> FileSystem.writeAllTextAsync path

    let cts = new System.Threading.CancellationTokenSource ()

    trace Debug (fun () -> "1") getLocals

    let! result =

        executeWithOptionsAsync

            {

                Command = command

                CancellationToken = Some cts.Token

                OnLine = None

                WorkingDirectory = None

            }

        |> Async.StartChild

    trace Debug (fun () -> "2") getLocals

    do! Async.Sleep 100

    trace Debug (fun () -> "3") getLocals

    cts.Cancel ()

    trace Debug (fun () -> "4") getLocals

    let! exitCode, output = result

    trace Debug (fun () -> "5") getLocals

    return exitCode, output

}

|> Async.runWithTimeout 10000

|> function

    | Some (exitCode, output) ->

        exitCode |> _equal -2147483648

        output |> _equal "System.Threading.Tasks.TaskCanceledException: A task 

was canceled."



        true

    | _ -> false

|> _equal true



╭─[ 527.09ms - stdout ]────────────────────────────────────────────────────────╮

│ 00:00:01 #7 [Debug] 1                                                        │

│ 00:00:01 #9 [Debug] 2                                                        │

│ 00:00:01 #8 [Debug] executeAsync / options: { Command =                      │

│    "pwsh -c "Get-Content                                                     │

│ C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0856-0213-1372-1346a │

│ 1aa532d\test.txt""                                                           │

│   WorkingDirectory = None                                                    │

│   CancellationToken = Some System.Threading.CancellationToken                │

│   OnLine = None }                                                            │

│ 00:00:01 #10 [Debug] 3                                                       │

│ 00:00:01 #11 [Debug] 4                                                       │

│ 00:00:01 #12 [Warning] executeAsync / WaitForExitAsync / ex:                 │

│ System.Threading.Tasks.TaskCanceledException: A task was canceled.           │

│ 00:00:01 #13 [Debug] executeAsync / exitCode: -2147483648 / output.Length:   │

│ 66                                                                           │

│ 00:00:01 #14 [Debug] 5                                                       │

│ -2147483648                                                                  │

│ System.Threading.Tasks.TaskCanceledException: A task was canceled.           │

│ True                                                                         │

│                                                                              │

╰──────────────────────────────────────────────────────────────────────────────╯



── markdown ────────────────────────────────────────────────────────────────────

╭──────────────────────────────────────────────────────────────────────────────╮

│ ## splitArgs                                                                 │

╰──────────────────────────────────────────────────────────────────────────────╯



── fsharp ──────────────────────────────────────────────────────────────────────

let inline splitArgs commandLine =

    commandLine

    |> System.CommandLine.Parsing.CommandLineStringSplitter.Instance.Split



── fsharp ──────────────────────────────────────────────────────────────────────

//// test



"""a b "c d" e"""

|> splitArgs

|> Seq.toArray

|> _equal [[| "a"; "b"; "c d"; "e" |]]



╭─[ 25.99ms - stdout ]─────────────────────────────────────────────────────────╮

│ [ a, b, c d, e ]                                                             │

│                                                                              │

╰──────────────────────────────────────────────────────────────────────────────╯



── markdown ────────────────────────────────────────────────────────────────────

╭──────────────────────────────────────────────────────────────────────────────╮

│ ## parseArgs                                                                 │

╰──────────────────────────────────────────────────────────────────────────────╯



── fsharp ──────────────────────────────────────────────────────────────────────

let inline parseArgs<'T when 'T :> Argu.IArgParserTemplate> args =

    let assemblyName = 

System.Reflection.Assembly.GetEntryAssembly().GetName().Name

    let errorHandler : Argu.IExiter =

        if [[ "Microsoft.DotNet.Interactive.App"; "dotnet-repl" ]] |> 

List.contains assemblyName

        then Argu.ExceptionExiter ()

        else Argu.ProcessExiter (function Argu.ErrorCode.HelpText -> None | _ ->

Some System.ConsoleColor.Red)



    let parser =

        Argu.ArgumentParser.Create<'T> (

            programName = $"{assemblyName}{getExecutableSuffix ()}",

            errorHandler = errorHandler

        )



    parser.ParseCommandLine args



── fsharp ──────────────────────────────────────────────────────────────────────

//// test



[[<RequireQualifiedAccess>]]

type Arguments =

    | [[<Argu.ArguAttributes.MainCommand; Argu.ArguAttributes.ExactlyOnce; 

Argu.ArguAttributes.Last>]]

        Paths of paths : string list



    interface Argu.IArgParserTemplate with

        member s.Usage =

            match s with

            | Paths _ -> nameof Paths



── fsharp ──────────────────────────────────────────────────────────────────────

//// test



Argu.ArgumentParser.Create<Arguments>().PrintUsage ()



╭─[ 175.91ms - return value ]──────────────────────────────────────────────────╮

│ USAGE: dotnet.exe [--help] <paths>...                                        │

│                                                                              │

│ PATHS:                                                                       │

│                                                                              │

│     <paths>...            Paths                                              │

│                                                                              │

│ OPTIONS:                                                                     │

│                                                                              │

│     --help                display this list of options.                      │

│                                                                              │

╰──────────────────────────────────────────────────────────────────────────────╯



── fsharp ──────────────────────────────────────────────────────────────────────

//// test



fun () -> parseArgs<Arguments> [[||]] |> ignore

|> _throwsC (fun ex _ ->

    printException ex

    |> _stringContains "Argu.ArguParseException: ERROR: missing parameter 

'<paths>...'."

)



╭─[ 62.73ms - stdout ]─────────────────────────────────────────────────────────╮

│ FSI_0030+it@3-246                                                            │

│ Argu.ArguParseException: ERROR: missing parameter '<paths>...'.              │

│ USAGE: dotnet-repl.exe [--help] <paths>...                                   │

│                                                                              │

│ PATHS:                                                                       │

│                                                                              │

│     <paths>...            Paths                                              │

│                                                                              │

│ OPTIONS:                                                                     │

│                                                                              │

│     --help                display this list of options.                      │

│                                                                              │

│                                                                              │

╰──────────────────────────────────────────────────────────────────────────────╯



── fsharp ──────────────────────────────────────────────────────────────────────

let inline parseAllArgs<'T when 'T :> Argu.IArgParserTemplate> args =

    args

    |> parseArgs<'T>

    |> fun results -> results.GetAllResults ()



── fsharp ──────────────────────────────────────────────────────────────────────

//// test



[[<RequireQualifiedAccess>]]

type Arguments =

    | [[<Argu.ArguAttributes.MainCommand; Argu.ArguAttributes.ExactlyOnce; 

Argu.ArguAttributes.Last>]]

        Paths of paths : string list



    interface Argu.IArgParserTemplate with

        member s.Usage =

            match s with

            | Paths _ -> nameof Paths



parseAllArgs<Arguments> [[| "a b"; "c" |]]

|> _equal [[ Arguments.Paths [[ "a b"; "c" ]] ]]



╭─[ 80.58ms - stdout ]─────────────────────────────────────────────────────────╮

│ FSharpList<Arguments>                                                        │

│       - paths: [ a b, c ]                                                    │

│                                                                              │

╰──────────────────────────────────────────────────────────────────────────────╯



── fsharp ──────────────────────────────────────────────────────────────────────

let inline parseArgsMap<'T when 'T :> Argu.IArgParserTemplate> args =

    args

    |> parseAllArgs<'T>

    |> List.groupBy CommonFSharp.getUnionCaseName<'T>

    |> Map.ofList



── fsharp ──────────────────────────────────────────────────────────────────────

//// test



parseArgsMap<Arguments> [[| "a b"; "c" |]]

|> _equal (

    [[ nameof Arguments.Paths, [[ Arguments.Paths [[ "a b"; "c" ]] ]] ]]

    |> Map.ofList

)



╭─[ 51.57ms - stdout ]─────────────────────────────────────────────────────────╮

│ FSharpMap<String,FSharpList<Arguments>>                                      │

│       - Key: Paths                                                           │

│         Value: FSharpList<Arguments>                                         │

│           - paths: [ a b, c ]                                                │

│                                                                              │

╰──────────────────────────────────────────────────────────────────────────────╯

[NbConvertApp] Converting notebook Runtime.dib.ipynb to html

C:\Users\i574n\scoop\apps\python\current\Lib\site-packages\nbformat\__init__.py:93: MissingIDFieldWarning: Code cell is missing an id field, this will become a hard error in future nbformat versions. You may want to use `normalize()` on your notebooks before validations (available since nbformat 5.1.4). Previous versions of nbformat are fixing this issue transparently, and will stop doing so in the future.

  validate(nb)

C:\Users\i574n\scoop\apps\python\current\Lib\site-packages\nbconvert\filters\highlight.py:71: UserWarning: IPython3 lexer unavailable, falling back on Python 3

  return _pygments_highlight(

[NbConvertApp] Writing 338731 bytes to Runtime.dib.html



── markdown ────────────────────────────────────────────────────────────────────

╭──────────────────────────────────────────────────────────────────────────────╮

│ # Toml (Polyglot)                                                            │

╰──────────────────────────────────────────────────────────────────────────────╯



── fsharp ──────────────────────────────────────────────────────────────────────

#!import ../../lib/fsharp/Testing.dib



── fsharp - import ─────────────────────────────────────────────────────────────

#r 

"C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.A

spNetCore.Html.Abstractions.dll"

#r 

"C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D

otNet.Interactive.dll"

#r 

"C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D

otNet.Interactive.FSharp.dll"

#r 

"C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D

otNet.Interactive.Formatting.dll"

open System

open System.IO

open System.Text

open Microsoft.DotNet.Interactive.Formatting



── fsharp - import ─────────────────────────────────────────────────────────────

#r 

"C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D

otNet.Interactive.FSharp.dll"

open Microsoft.DotNet.Interactive.FSharp.FSharpKernelHelpers

#r 

"C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D

otNet.Interactive.dll"

open type Microsoft.DotNet.Interactive.Kernel



── fsharp - import ─────────────────────────────────────────────────────────────

#r @"../../../../../../../.nuget/packages/expecto/10.1.0/lib/net6.0/Expecto.dll"



── fsharp - import ─────────────────────────────────────────────────────────────

//// test



Formatter.ListExpansionLimit <- 100



── fsharp - import ─────────────────────────────────────────────────────────────

//// test



type AssertExceptionFormatter (ex) =

    member _.Text =

        ex.ToString()

            .Replace("32m", "<span style=\"color: green;\">")

            .Replace("36m", "</span>")

            .Replace("31m", "<span style=\"color: red;\">")

            .Replace("\n", "<br/>\n")





Formatter.Register<AssertExceptionFormatter> ((fun (x : 

AssertExceptionFormatter) -> x.Text), "text/html")



── fsharp - import ─────────────────────────────────────────────────────────────

//// test



let inline __expect fn log expected actual =

    if log then printfn $"{actual.ToDisplayString ()}"

    try

        "Testing.__expect" |> fn actual expected

    with :? Expecto.AssertException as ex ->

        AssertExceptionFormatter(ex).Display () |> ignore

        failwith (ex.GetType().FullName)



let inline __contains log expected actual = __expect Expecto.Expect.contains log

expected actual

let inline _contains expected actual = __contains true expected actual



let inline __equal log expected actual = __expect Expecto.Expect.equal log 

expected actual

let inline _equal expected actual = __equal true expected actual



let inline __isGreaterThan log expected actual = __expect 

Expecto.Expect.isGreaterThan log expected actual

let ...



── fsharp - import ─────────────────────────────────────────────────────────────

//// test



let inline __isBetween log a b actual =

    let inline isBetween actual (a, b) _ =

        __isGreaterThanOrEqual log a actual

        __isLessThanOrEqual log b actual

    __expect isBetween log (a, b) actual

let inline _isBetween a b actual = __isBetween true a b actual



── fsharp ──────────────────────────────────────────────────────────────────────

#r @"../../../../../../../.nuget/packages/tomlyn/0.16.2/lib/net6.0/Tomlyn.dll"



── fsharp ──────────────────────────────────────────────────────────────────────

#!import ../../lib/fsharp/Common.fs



── fsharp - import ─────────────────────────────────────────────────────────────

#if !INTERACTIVE

namespace Polyglot

#endif



module Common =



    let nl = System.Environment.NewLine

    let q = @""""



    let inline cons head tail = head :: tail



    module String =

        let inline contains (value : string) (input : string) =

            input.Contains value



        let inline endsWith (value : string) (input : string) =

            input.EndsWith value



        let inline padLeft totalWidth paddingChar (input : string) =

            input.PadLeft (totalWidth, paddingChar)



        let inline replace (oldValue : string) (newValue : string) (input : 

string) =

            input.Replace (oldValue, newValue)



        let inline split separator (input : string) =

            input.Split separator



        let inline spli...



── fsharp ──────────────────────────────────────────────────────────────────────

open Common



── fsharp ──────────────────────────────────────────────────────────────────────

let inline (/./) (table: Tomlyn.Model.TomlTable) (key: string) : 

Tomlyn.Model.TomlTable =

    table.[[key]] :?> Tomlyn.Model.TomlTable



let inline (/../) (table: Tomlyn.Model.TomlTable) (key: string) : 'T seq =

    table.[[key]] :?> Tomlyn.Model.TomlArray |> Seq.cast<'T>



── fsharp ──────────────────────────────────────────────────────────────────────

//// test



let tomlContent =

    """

[[extension]]

paths = [["/a", "/b"]]

"""



let toml = Tomlyn.Toml.Parse tomlContent

let tomlModel = Tomlyn.Toml.ToModel toml



let paths : string seq = tomlModel /./ "extension" /../ "paths"



paths

|> Seq.toList

|> _equal [[ "/a"; "/b" ]]



╭─[ 105.37ms - stdout ]────────────────────────────────────────────────────────╮

│ [ /a, /b ]                                                                   │

│                                                                              │

╰──────────────────────────────────────────────────────────────────────────────╯

[NbConvertApp] Converting notebook Toml.dib.ipynb to html

C:\Users\i574n\scoop\apps\python\current\Lib\site-packages\nbformat\__init__.py:93: MissingIDFieldWarning: Code cell is missing an id field, this will become a hard error in future nbformat versions. You may want to use `normalize()` on your notebooks before validations (available since nbformat 5.1.4). Previous versions of nbformat are fixing this issue transparently, and will stop doing so in the future.

  validate(nb)

C:\Users\i574n\scoop\apps\python\current\Lib\site-packages\nbconvert\filters\highlight.py:71: UserWarning: IPython3 lexer unavailable, falling back on Python 3

  return _pygments_highlight(

[NbConvertApp] Writing 276896 bytes to Toml.dib.html

00:00:00 #1 [Debug] writeDibCode / output: Fs / path: Common.dib

00:00:00 #1 [Debug] writeDibCode / output: Fs / path: AsyncSeq.dib

00:00:00 #1 [Debug] writeDibCode / output: Fs / path: FileSystem.dib

00:00:00 #1 [Debug] writeDibCode / output: Fs / path: Networking.dib

00:00:00 #1 [Debug] writeDibCode / output: Fs / path: Async.dib

00:00:00 #1 [Debug] writeDibCode / output: Fs / path: CommonFSharp.dib

00:00:00 #1 [Debug] writeDibCode / output: Fs / path: Crypto.dib

00:00:00 #1 [Debug] writeDibCode / output: Fs / path: Threading.dib

00:00:00 #6 [Debug] parseDibCode / output: Fs / file: Crypto.dib

00:00:00 #4 [Debug] parseDibCode / output: Fs / file: CommonFSharp.dib

00:00:00 #4 [Debug] parseDibCode / output: Fs / file: Threading.dib

00:00:00 #8 [Debug] parseDibCode / output: Fs / file: FileSystem.dib

00:00:00 #9 [Debug] parseDibCode / output: Fs / file: Networking.dib

00:00:00 #7 [Debug] parseDibCode / output: Fs / file: AsyncSeq.dib

00:00:00 #4 [Debug] parseDibCode / output: Fs / file: Async.dib

00:00:00 #5 [Debug] parseDibCode / output: Fs / file: Common.dib

00:00:00 #11 [Debug] writeDibCode / output: Fs / path: Runtime.dib

00:00:00 #11 [Debug] writeDibCode / output: Fs / path: Toml.dib

00:00:00 #12 [Debug] parseDibCode / output: Fs / file: Runtime.dib

00:00:00 #13 [Debug] parseDibCode / output: Fs / file: Toml.dib

In [ ]:
{ . "$ScriptDir/../apps/spiral/build.ps1" } | Invoke-Block

── markdown ────────────────────────────────────────────────────────────────────

╭──────────────────────────────────────────────────────────────────────────────╮

│ # Supervisor (Polyglot)                                                      │

╰──────────────────────────────────────────────────────────────────────────────╯



── fsharp ──────────────────────────────────────────────────────────────────────

#!import ../../lib/fsharp/Testing.dib



── fsharp - import ─────────────────────────────────────────────────────────────

#r 

"C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.A

spNetCore.Html.Abstractions.dll"

#r 

"C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D

otNet.Interactive.dll"

#r 

"C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D

otNet.Interactive.FSharp.dll"

#r 

"C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D

otNet.Interactive.Formatting.dll"

open System

open System.IO

open System.Text

open Microsoft.DotNet.Interactive.Formatting



── fsharp - import ─────────────────────────────────────────────────────────────

#r 

"C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D

otNet.Interactive.FSharp.dll"

open Microsoft.DotNet.Interactive.FSharp.FSharpKernelHelpers

#r 

"C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D

otNet.Interactive.dll"

open type Microsoft.DotNet.Interactive.Kernel



── fsharp - import ─────────────────────────────────────────────────────────────

#r @"../../../../../../../.nuget/packages/expecto/10.1.0/lib/net6.0/Expecto.dll"



── fsharp - import ─────────────────────────────────────────────────────────────

//// test



Formatter.ListExpansionLimit <- 100



── fsharp - import ─────────────────────────────────────────────────────────────

//// test



type AssertExceptionFormatter (ex) =

    member _.Text =

        ex.ToString()

            .Replace("32m", "<span style=\"color: green;\">")

            .Replace("36m", "</span>")

            .Replace("31m", "<span style=\"color: red;\">")

            .Replace("\n", "<br/>\n")





Formatter.Register<AssertExceptionFormatter> ((fun (x : 

AssertExceptionFormatter) -> x.Text), "text/html")



── fsharp - import ─────────────────────────────────────────────────────────────

//// test



let inline __expect fn log expected actual =

    if log then printfn $"{actual.ToDisplayString ()}"

    try

        "Testing.__expect" |> fn actual expected

    with :? Expecto.AssertException as ex ->

        AssertExceptionFormatter(ex).Display () |> ignore

        failwith (ex.GetType().FullName)



let inline __contains log expected actual = __expect Expecto.Expect.contains log

expected actual

let inline _contains expected actual = __contains true expected actual



let inline __equal log expected actual = __expect Expecto.Expect.equal log 

expected actual

let inline _equal expected actual = __equal true expected actual



let inline __isGreaterThan log expected actual = __expect 

Expecto.Expect.isGreaterThan log expected actual

let ...



── fsharp - import ─────────────────────────────────────────────────────────────

//// test



let inline __isBetween log a b actual =

    let inline isBetween actual (a, b) _ =

        __isGreaterThanOrEqual log a actual

        __isLessThanOrEqual log b actual

    __expect isBetween log (a, b) actual

let inline _isBetween a b actual = __isBetween true a b actual



── fsharp ──────────────────────────────────────────────────────────────────────

#r 

@"../../../../../../../.nuget/packages/fsharp.control.asyncseq/3.2.1/lib/netstan

dard2.1/FSharp.Control.AsyncSeq.dll"

#r 

@"../../../../../../../.nuget/packages/system.reactive/6.0.1-preview.1/lib/net6.

0/System.Reactive.dll"

#r 

@"../../../../../../../.nuget/packages/system.reactive.linq/6.0.1-preview.1/lib/

netstandard2.0/System.Reactive.Linq.dll"

#r 

@"../../../../../../../.nuget/packages/argu/6.1.1/lib/netstandard2.0/Argu.dll"

#r 

@"../../../../../../../.nuget/packages/system.commandline/2.0.0-beta4.22272.1/li

b/net6.0/System.CommandLine.dll"

#r 

@"../../../../../../../.nuget/packages/microsoft.aspnetcore.http.connections.com

mon/7.0.0/lib/net7.0/Microsoft.AspNetCore.Http.Connections.Common.dll"

#r 

@"../../../../../../../.nuget/packages/microsoft.aspnetcore.http.connections.cli

ent/7.0.0/lib/net7.0/Microsoft.AspNetCore.Http.Connections.Client.dll"

#r 

@"../../../../../../../.nuget/packages/microsoft.aspnetcore.signalr.common/7.0.0

/lib/net7.0/Microsoft.AspNetCore.SignalR.Common.dll"

#r 

@"../../../../../../../.nuget/packages/microsoft.aspnetcore.signalr.client/7.0.0

/lib/net7.0/Microsoft.AspNetCore.SignalR.Client.dll"

#r 

@"../../../../../../../.nuget/packages/microsoft.aspnetcore.signalr.client.core/

7.0.0/lib/net7.0/Microsoft.AspNetCore.SignalR.Client.Core.dll"

#r 

@"../../../../../../../.nuget/packages/fsharp.json/0.4.1/lib/netstandard2.0/FSha

rp.Json.dll"



── fsharp ──────────────────────────────────────────────────────────────────────

#!import ../../lib/fsharp/Common.fs

#!import ../../lib/fsharp/CommonFSharp.fs

#!import ../../lib/fsharp/Threading.fs

#!import ../../lib/fsharp/Async.fs

#!import ../../lib/fsharp/AsyncSeq.fs

#!import ../../lib/fsharp/Networking.fs

#!import ../../lib/fsharp/Runtime.fs

#!import ../../lib/fsharp/FileSystem.fs



── fsharp - import ─────────────────────────────────────────────────────────────

#if !INTERACTIVE

namespace Polyglot

#endif



module Common =



    let nl = System.Environment.NewLine

    let q = @""""



    let inline cons head tail = head :: tail



    module String =

        let inline contains (value : string) (input : string) =

            input.Contains value



        let inline endsWith (value : string) (input : string) =

            input.EndsWith value



        let inline padLeft totalWidth paddingChar (input : string) =

            input.PadLeft (totalWidth, paddingChar)



        let inline replace (oldValue : string) (newValue : string) (input : 

string) =

            input.Replace (oldValue, newValue)



        let inline split separator (input : string) =

            input.Split separator



        let inline spli...



── fsharp - import ─────────────────────────────────────────────────────────────

#if !INTERACTIVE

namespace Polyglot

#endif



module CommonFSharp =



    open Common



    /// ## getUnionCaseName



    let inline getUnionCaseName<'T> (x: 'T) =

        match Reflection.FSharpValue.GetUnionFields(x, typeof<'T>) with

        | case, _ -> case.Name





── fsharp - import ─────────────────────────────────────────────────────────────

#if !INTERACTIVE

namespace Polyglot

#endif



module Threading =



    open Common



    /// ## newDisposableToken



    let inline newDisposableToken (mergeToken: 

System.Threading.CancellationToken option) =

        let cts = new System.Threading.CancellationTokenSource ()

        let cts =

            match mergeToken with

            | None -> cts

            | Some mergeToken ->

                System.Threading.CancellationTokenSource.CreateLinkedTokenSource

[[| cts.Token; mergeToken |]]

        let disposable = newDisposable cts.Cancel

        cts.Token, disposable





── fsharp - import ─────────────────────────────────────────────────────────────

#if !INTERACTIVE

namespace Polyglot

#endif



module Async =



    open Common



    /// ## choice



    let inline choice asyncs = async {

        let e = Event<_> ()

        use cts = new System.Threading.CancellationTokenSource ()

        let fn =

            asyncs

            |> Seq.map (fun a -> async {

                let! x = a

                e.Trigger x

            })

            |> Async.Parallel

            |> Async.Ignore

        Async.Start (fn, cts.Token)

        let! result = Async.AwaitEvent e.Publish

        cts.Cancel ()

        return result

    }



    /// ## map



    let inline map fn a = async {

        let! x = a

        return fn x

    }



    /// ## catch



    let inline catch a =

        a

        |> Async.Catch

        ...



── fsharp - import ─────────────────────────────────────────────────────────────

#if !INTERACTIVE

namespace Polyglot

#endif



module AsyncSeq =



    open Common



    /// ## subscribeEvent



    let inline subscribeEvent (event: IEvent<'H, 'A>) map =

        let observable = System.Reactive.Linq.Observable.FromEventPattern<'H, 

'A>(event.AddHandler, event.RemoveHandler)

        System.Reactive.Linq.Observable.Select (observable, fun event -> map 

event.EventArgs)

        |> FSharp.Control.AsyncSeq.ofObservableBuffered



    let subscribeToken (token : System.Threading.CancellationToken) =

        let tcs = new System.Threading.Tasks.TaskCompletionSource ()

        System.Action tcs.SetResult |> token.Register |> ignore

        let start = System.DateTime.Now.Ticks

        FSharp.Control.AsyncSeq.unfoldAsync

            (fun (...



── fsharp - import ─────────────────────────────────────────────────────────────

#if !INTERACTIVE

namespace Polyglot

#endif



module Networking =



    open Common



    /// ## testPortOpen



    let inline testPortOpen port = async {

        let! ct = Async.CancellationToken

        use client = new System.Net.Sockets.TcpClient ()

        try

            do! client.ConnectAsync ("127.0.0.1", port, ct) |> 

Async.awaitValueTaskUnit

            return true

        with ex ->

            trace Verbose (fun () -> $"testPortOpen / ex: {ex |> 

printException}") getLocals

            return false

    }



    let inline testPortOpenTimeout timeout port = async {

        let! result =

            testPortOpen port

            |> Async.runWithTimeoutAsync timeout

        return

            match result with

            | None -> false

 ...



── fsharp - import ─────────────────────────────────────────────────────────────

#if !INTERACTIVE

namespace Polyglot

#endif



module Runtime =



    open Common



    /// ## isWindows



    let isWindows =

        fun () ->

            System.Runtime.InteropServices.RuntimeInformation.IsOSPlatform

                System.Runtime.InteropServices.OSPlatform.Windows

        |> memoize



    /// ## getExecutableSuffix



    let inline getExecutableSuffix () =

        if isWindows ()

        then ".exe"

        else ""



    /// ## splitCommand



    type private CommandParseStep =

        | Start

        | Path of quoted: bool

        | Arguments



    let splitCommand (command: string) =

        let rec loop (path, args) chars step =

            match chars, step with

            | ('"' | '\'') :: tail, _ when path = "" -> loop (pat...



── fsharp - import ─────────────────────────────────────────────────────────────

#if !INTERACTIVE

namespace Polyglot

#endif



module FileSystem =



    open Common



    /// ## Operators



    module Operators =

        let inline (</>) a b =

            System.IO.Path.Combine (a, b)



    open Operators



    /// ## createTempDirectoryName



    let inline createTempDirectoryName () =

        let root = System.Reflection.Assembly.GetEntryAssembly().GetName().Name



        System.IO.Path.GetTempPath ()

        </> $"!{root}"

        </> string (newGuidFromDateTime System.DateTime.Now)



    /// ## createTempDirectory



    let inline createTempDirectory () =

        let tempFolder = createTempDirectoryName ()

        let result = System.IO.Directory.CreateDirectory tempFolder



        if not result.Exists then

            let ge...



── fsharp ──────────────────────────────────────────────────────────────────────

open Common

open FileSystem.Operators

open Microsoft.AspNetCore.SignalR.Client



── markdown ────────────────────────────────────────────────────────────────────

╭──────────────────────────────────────────────────────────────────────────────╮

│ ## sendJson                                                                  │

╰──────────────────────────────────────────────────────────────────────────────╯



── fsharp ──────────────────────────────────────────────────────────────────────

let inline sendJson (port : int) (json : string) = async {

    let! portOpen = Networking.testPortOpen port

    if portOpen then

        try

            let connection = 

HubConnectionBuilder().WithUrl($"http://127.0.0.1:{port}").Build()

            do! connection.StartAsync () |> Async.AwaitTask

            let! result = connection.InvokeAsync<string>("ClientToServerMsg", 

json) |> Async.AwaitTask

            do! connection.StopAsync () |> Async.AwaitTask

            trace Debug (fun () -> $"sendJson / port: {port} / json: {json} / 

result.Length: {result |> Option.ofObj |> Option.map String.length}") getLocals

            return Some result

        with ex ->

            trace Critical (fun () -> $"sendJson / port: {port} / json: {json} /

ex: {ex |> printException}") getLocals

            return None

    else

        trace Debug (fun () -> "sendJson / error: port not open") getLocals

        return None

}



── markdown ────────────────────────────────────────────────────────────────────

╭──────────────────────────────────────────────────────────────────────────────╮

│ ## sendObj                                                                   │

╰──────────────────────────────────────────────────────────────────────────────╯



── fsharp ──────────────────────────────────────────────────────────────────────

let inline sendObj port obj =

    obj

    |> System.Text.Json.JsonSerializer.Serialize

    |> sendJson port



── markdown ────────────────────────────────────────────────────────────────────

╭──────────────────────────────────────────────────────────────────────────────╮

│ ## awaitCompiler                                                             │

╰──────────────────────────────────────────────────────────────────────────────╯



── fsharp ──────────────────────────────────────────────────────────────────────

type VSCPos = {| line : int; character : int |}

type VSCRange = VSCPos * VSCPos

type RString = VSCRange * string

type TracedError = {| trace : string list; message : string |}

type ClientErrorsRes =

    | FatalError of string

    | TracedError of TracedError

    | PackageErrors of {| uri : string; errors : RString list |}

    | TokenizerErrors of {| uri : string; errors : RString list |}

    | ParserErrors of {| uri : string; errors : RString list |}

    | TypeErrors of {| uri : string; errors : RString list |}



── fsharp ──────────────────────────────────────────────────────────────────────

let inline awaitCompiler port cancellationToken = async {

    let! ct =

        cancellationToken

        |> Option.defaultValue System.Threading.CancellationToken.None

        |> Async.mergeCancellationTokenWithDefaultAsync

    

    let cts = new System.Threading.CancellationTokenSource ()



    let compiler = MailboxProcessor.Start (fun inbox -> async {

        let! availablePort = Networking.getAvailablePort (Some 60) port

        if availablePort <> port then

            inbox.Post port

        else

            let repositoryRoot = FileSystem.getSourceDirectory () |> 

FileSystem.findParent ".paket" false



            let compilerPath =

                repositoryRoot </> "deps/The-Spiral-Language/The Spiral Language

2/artifacts/bin/The Spiral Language 2/release"

                |> System.IO.Path.GetFullPath



            let dllPath = compilerPath </> "Spiral.dll"



            let! exitCode, result =

                Runtime.executeWithOptionsAsync

                    {

                        Command = $@"dotnet ""{dllPath}"" port={availablePort}"

                        CancellationToken = Some ct

                        WorkingDirectory = None

                        OnLine = Some <| fun { Line = line } -> async {

                            if line |> String.contains $"Server bound to: 

http://localhost:{availablePort}" then

                                do! Networking.waitForPortAccess (Some 500) true

availablePort |> Async.Ignore



                                let rec loop retry = async {

                                    let getLocals () = $"port: {availablePort} /

retry: {retry} / {getLocals ()}"

                                    try

                                        let pingObj = {| Ping = true |}

                                        let! pingResult = pingObj |> sendObj 

availablePort

                                        trace Verbose (fun () -> $"awaitCompiler

/ Ping / result: {pingResult}") getLocals

                                    with ex ->

                                        trace Verbose (fun () -> $"awaitCompiler

/ Ping / ex: {ex |> printException}") getLocals

                                        do! Async.Sleep 10

                                        do! loop (retry + 1)

                                }

                                do! loop 0

                                inbox.Post availablePort

                        }

                    }

            trace Debug (fun () -> $"awaitCompiler / exitCode: {exitCode} / 

result: {result}") getLocals

            cts.Cancel ()

    }, ct)



    let! serverPort = compiler.Receive ()



    let connection = 

HubConnectionBuilder().WithUrl($"http://127.0.0.1:{serverPort}").Build ()

    do! connection.StartAsync () |> Async.AwaitTask



    let event = Event<_> ()

    let disposable = connection.On<string> ("ServerToClientMsg", event.Trigger)

    let stream =

        FSharp.Control.AsyncSeq.unfoldAsync

            (fun () -> async {

                let! msg = event.Publish |> Async.AwaitEvent

                return Some (msg |> 

FSharp.Json.Json.deserialize<ClientErrorsRes>, ())

            })

            ()



    let disposable =

        newDisposable (fun () ->

            disposable.Dispose ()

            connection.StopAsync () |> Async.AwaitTask |> Async.StartImmediate

        )



    return

        serverPort,

        stream,

        cts.Token,

        disposable

}



── markdown ────────────────────────────────────────────────────────────────────

╭──────────────────────────────────────────────────────────────────────────────╮

│ ## getFileUri                                                                │

╰──────────────────────────────────────────────────────────────────────────────╯



── fsharp ──────────────────────────────────────────────────────────────────────

let inline getFileUri path =

    $"file:///{path |> String.trimStart [[| '/' |]]}"



── fsharp ──────────────────────────────────────────────────────────────────────

let inline getFilePathFromUri uri =

    match System.Uri.TryCreate (uri, System.UriKind.Absolute) with

    | true, uri -> uri.AbsolutePath |> System.IO.Path.GetFullPath

    | _ -> failwith "invalid uri"



── fsharp ──────────────────────────────────────────────────────────────────────

let inline getCompilerPort () =

    13805



── markdown ────────────────────────────────────────────────────────────────────

╭──────────────────────────────────────────────────────────────────────────────╮

│ ## buildFile                                                                 │

╰──────────────────────────────────────────────────────────────────────────────╯



── fsharp ──────────────────────────────────────────────────────────────────────

let inline buildFile timeout port cancellationToken path = async {

    let fullPath = path |> System.IO.Path.GetFullPath

    let fileDir = fullPath |> System.IO.Path.GetDirectoryName

    let fileName = fullPath |> System.IO.Path.GetFileNameWithoutExtension

    let! code = fullPath |> FileSystem.readAllTextAsync



    let eventFilter = function

        | FileSystem.FileSystemChange.Changed (path, _) when path = 

$"{fileName}.fsx" -> true

        | _ -> false



    let stream, disposable = fileDir |> FileSystem.watchDirectory eventFilter

    use _ = disposable



    let token, disposable = Threading.newDisposableToken cancellationToken

    use _ = disposable



    let! serverPort, errors, ct, disposable = awaitCompiler port (Some token)

    use _ = disposable



    let fsxContentSeq =

        stream

        |> FSharp.Control.AsyncSeq.choose (function

            | _, (FileSystem.FileSystemChange.Changed (path, Some content) as 

event)

                when event |> eventFilter

                ->

                Some content

            | _ -> None

        )

        |> FSharp.Control.AsyncSeq.map (fun content ->

            Some (content |> String.replace "\r\n" "\n"), None

        )



    let inline printErrorData (data : {| uri : string; errors : RString list |})

=

        let fileName = data.uri |> System.IO.Path.GetFileName

        let errors =

            data.errors

            |> List.map snd

            |> String.concat "\n"

        $"{fileName}:\n{errors}"



    let errorsSeq =

        errors

        |> FSharp.Control.AsyncSeq.choose (fun error ->

            match error with

            | FatalError message ->

                Some (message, error)

            | TracedError data ->

                Some (data.message, error)

            | PackageErrors data when data.errors |> List.isEmpty |> not ->

                Some (data |> printErrorData, error)

            | TokenizerErrors data when data.errors |> List.isEmpty |> not ->

                Some (data |> printErrorData, error)

            | ParserErrors data when data.errors |> List.isEmpty |> not ->

                Some (data |> printErrorData, error)

            | TypeErrors data when data.errors |> List.isEmpty |> not ->

                Some (data |> printErrorData, error)

            | _ -> None

        )

        |> FSharp.Control.AsyncSeq.map (fun (message, error) ->

            None, Some (message, error)

        )

    

    let timerSeq =

        1000

        |> FSharp.Control.AsyncSeq.intervalMs

        |> FSharp.Control.AsyncSeq.map (fun _ -> None, None)



    let outputSeq =

        [[ fsxContentSeq; errorsSeq; timerSeq ]]

        |> FSharp.Control.AsyncSeq.mergeAll



    let! outputChild =

        ((None, [[]], 0), outputSeq)

        ||> FSharp.Control.AsyncSeq.scan (

            fun (fsxContentResult, errors, typeErrorCount) (fsxContent, error) 

->

                match fsxContent, error with

                | Some fsxContent, None -> Some fsxContent, errors, 

typeErrorCount

                | None, Some (_, FatalError "File main has a type error 

somewhere in its path.") ->

                    fsxContentResult, errors, typeErrorCount + 1

                | None, Some error -> fsxContentResult, error :: errors, 

typeErrorCount

                | None, None when typeErrorCount >= 1 ->

                    fsxContentResult, errors, typeErrorCount + 1

                | _ -> fsxContentResult, errors, typeErrorCount

        )

        |> FSharp.Control.AsyncSeq.takeWhileInclusive (fun (fsxContent, errors, 

typeErrorCount) ->

            trace Debug (fun () -> $"buildFile / takeWhileInclusive / 

fsxContent: {fsxContent |> Option.defaultValue System.String.Empty |> 

String.ellipsis 750} / errors: {errors} / typeErrorCount: {typeErrorCount}") 

getLocals

            match fsxContent, errors with

            | None, [[]] when typeErrorCount > 2 -> false

            | None, [[]] -> true

            | _ -> false

        )

        |> FSharp.Control.AsyncSeq.tryLast

        |> Async.withCancellationToken ct

        |> Async.catch

        |> Async.runWithTimeoutAsync timeout

        |> Async.StartChild



    let fileOpenObj = {| FileOpen = {| uri = fullPath |> getFileUri; spiText = 

code |} |}

    let! _fileOpenResult = fileOpenObj |> sendObj serverPort



    do! Async.Sleep 30



    let buildFileObj = {| BuildFile = {| uri = fullPath |> getFileUri; backend =

"Fsharp" |} |}

    let! _buildFileResult = buildFileObj |> sendObj serverPort



    return!

        outputChild

        |> Async.map (function

            | Some (Ok (Some (message, errors, _))) -> message, errors |> 

List.distinct |> List.rev

            | Some (Error ex) ->

                trace Critical (fun () -> $"buildFile / error: {ex |> 

printException}") getLocals

                None, [[]]

            | _ -> None, [[]]

        )

}



── markdown ────────────────────────────────────────────────────────────────────

╭──────────────────────────────────────────────────────────────────────────────╮

│ ## persistCode                                                               │

╰──────────────────────────────────────────────────────────────────────────────╯



── fsharp ──────────────────────────────────────────────────────────────────────

let inline persistCode code = async {

    let tempDir = FileSystem.createTempDirectory ()



    let mainPath = tempDir </> "main.spi"

    do! code |> FileSystem.writeAllTextAsync mainPath



    let repositoryRoot = FileSystem.getSourceDirectory () |> 

FileSystem.findParent ".paket" false



    let spiprojPath = tempDir </> "package.spiproj"

    let spiprojCode =

        $"""packageDir: {repositoryRoot </> "lib"}

packages:

    |core-

    spiral-

modules:

    main

"""

    do! spiprojCode |> FileSystem.writeAllTextAsync spiprojPath



    let disposable = newDisposable (fun () ->

        ()

        // tempDir |> FileSystem.deleteDirectoryAsync |> Async.Ignore |> 

Async.RunSynchronously

    )



    return mainPath, disposable

}



── markdown ────────────────────────────────────────────────────────────────────

╭──────────────────────────────────────────────────────────────────────────────╮

│ ## buildCode                                                                 │

╰──────────────────────────────────────────────────────────────────────────────╯



── fsharp ──────────────────────────────────────────────────────────────────────

let inline buildCode timeout cancellationToken code = async {

    let! mainPath, disposable = persistCode code

    use _ = disposable

    let port = getCompilerPort ()

    return! mainPath |> buildFile timeout port cancellationToken

}



── fsharp ──────────────────────────────────────────────────────────────────────

//// test



let buildCode timeout cancellationToken code = buildCode timeout 

cancellationToken code



── fsharp ──────────────────────────────────────────────────────────────────────

//// test



"""inl app () =

    console.write_line "text"

    1i32



inl main () =

    app

    |> dyn

    |> ignore

"""

|> buildCode 15000 None

|> Async.runWithTimeout 15000

|> Option.map (fun (fsxContent, errors) -> fsxContent, errors |> List.map fst)

|> _equal (

    Some (

        Some """let rec closure0 () () : int32 =

    let v0 : string = "text"

    System.Console.WriteLine v0

    1

let v0 : (unit -> int32) = closure0()

()

""",

        [[]]

    )

)



╭─[ 3.02s - stdout ]───────────────────────────────────────────────────────────╮

│ 00:00:00 #1 [Debug] runWithTimeoutAsync / timeout: 60                        │

│ 00:00:00 #2 [Debug] executeAsync / options: { Command =                      │

│    "dotnet "C:\home\git\polyglot\deps\The-Spiral-Language\The Spiral         │

│ Language 2\artifacts\bin\The Spiral Language 2\release\Spiral.dll"           │

│ port=13805"                                                                  │

│   WorkingDirectory = None                                                    │

│   CancellationToken = Some System.Threading.CancellationToken                │

│   OnLine = Some <fun:buildCode@3-983> }                                      │

│ 00:00:00 #3 [Verbose] > pwd: C:\home\git\polyglot\apps\spiral                │

│ 00:00:00 #4 [Verbose] > dll_path:                                            │

│ C:\home\git\polyglot\deps\The-Spiral-Language\The Spiral Language            │

│ 2\artifacts\bin\The Spiral Language 2\release                                │

│ 00:00:00 #5 [Debug] runWithTimeoutAsync / timeout: 500                       │

│ 00:00:00 #6 [Verbose] waitForPortAccess / port: 13805 / retry: 0             │

│ 00:00:01 #7 [Debug] sendJson / port: 13805 / json: {"Ping":true} /           │

│ result.Length:                                                               │

│ 00:00:01 #8 [Verbose] awaitCompiler / Ping / result: Some(null) / port:      │

│ 13805 / retry: 0                                                             │

│ 00:00:01 #9 [Verbose] > Server bound to: http://localhost:13805              │

│ 00:00:01 #10 [Debug] buildFile / takeWhileInclusive / fsxContent:  / errors: │

│ [] / typeErrorCount: 0                                                       │

│ 00:00:01 #11 [Debug] buildFile / takeWhileInclusive / fsxContent:  / errors: │

│ [] / typeErrorCount: 0                                                       │

│ 00:00:01 #12 [Debug] sendJson / port: 13805 / json:                          │

│ {"FileOpen":{"spiText":"inl app () =\n    console.write_line                 │

│ \u0022text\u0022\n    1i32\n\ninl main () =\n    app\n    |\u003E dyn\n      │

│ |\u003E                                                                      │

│ ignore\n","uri":"file:///C:\\Users\\i574n\\AppData\\Local\\Temp\\!dotnet-rep │

│ l\\20231130-0856-4149-4918-41201b753cf7\\main.spi"}} / result.Length:        │

│ 00:00:01 #13 [Debug] sendJson / port: 13805 / json:                          │

│ {"BuildFile":{"backend":"Fsharp","uri":"file:///C:\\Users\\i574n\\AppData\\L │

│ ocal\\Temp\\!dotnet-repl\\20231130-0856-4149-4918-41201b753cf7\\main.spi"}}  │

│ / result.Length:                                                             │

│ 00:00:01 #14 [Verbose] > Building                                            │

│ C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0856-4149-4918-41201 │

│ b753cf7\main.spi                                                             │

│ 00:00:02 #15 [Debug] buildFile / takeWhileInclusive / fsxContent:  / errors: │

│ [] / typeErrorCount: 0                                                       │

│ 00:00:02 #16 [Debug] buildFile / takeWhileInclusive / fsxContent: let rec    │

│ closure0 () () : int32 =                                                     │

│     let v0 : string = "text"                                                 │

│     System.Console.WriteLine v0                                              │

│     1                                                                        │

│ let v0 : (unit -> int32) = closure0()                                        │

│ ()                                                                           │

│  / errors: [] / typeErrorCount: 0                                            │

│ 00:00:02 #17 [Debug] watchWithFilter / Disposing watch stream / filter:      │

│ FileName, LastWrite                                                          │

│ FSharpOption<Tuple<FSharpOption<String>,FSharpList<String>>>                 │

│       Value:       - FSharpOption<String>                                    │

│           Value: let rec closure0 () () : int32 =                            │

│     let v0 : string = "text"                                                 │

│     System.Console.WriteLine v0                                              │

│     1                                                                        │

│ let v0 : (unit -> int32) = closure0()                                        │

│ ()                                                                           │

│                                                                              │

│       - [  ]                                                                 │

│                                                                              │

╰──────────────────────────────────────────────────────────────────────────────╯



── fsharp ──────────────────────────────────────────────────────────────────────

//// test



""

|> buildCode 10000 None

|> Async.runWithTimeout 10000

|> _equal None



╭─[ 10.22s - stdout ]──────────────────────────────────────────────────────────╮

│ 00:00:02 #18 [Debug] runWithTimeoutAsync / timeout: 60                       │

│ 00:00:02 #19 [Debug] executeAsync / options: { Command =                     │

│    "dotnet "C:\home\git\polyglot\deps\The-Spiral-Language\The Spiral         │

│ Language 2\artifacts\bin\The Spiral Language 2\release\Spiral.dll"           │

│ port=13805"                                                                  │

│   WorkingDirectory = None                                                    │

│   CancellationToken = Some System.Threading.CancellationToken                │

│   OnLine = Some <fun:buildCode@3-983> }                                      │

│ 00:00:03 #20 [Verbose] > pwd: C:\home\git\polyglot\apps\spiral               │

│ 00:00:03 #21 [Verbose] > dll_path:                                           │

│ C:\home\git\polyglot\deps\The-Spiral-Language\The Spiral Language            │

│ 2\artifacts\bin\The Spiral Language 2\release                                │

│ 00:00:03 #22 [Debug] runWithTimeoutAsync / timeout: 500                      │

│ 00:00:03 #23 [Verbose] waitForPortAccess / port: 13805 / retry: 0            │

│ 00:00:03 #24 [Debug] sendJson / port: 13805 / json: {"Ping":true} /          │

│ result.Length:                                                               │

│ 00:00:03 #25 [Verbose] awaitCompiler / Ping / result: Some(null) / port:     │

│ 13805 / retry: 0                                                             │

│ 00:00:03 #26 [Verbose] > Server bound to: http://localhost:13805             │

│ 00:00:03 #27 [Debug] buildFile / takeWhileInclusive / fsxContent:  / errors: │

│ [] / typeErrorCount: 0                                                       │

│ 00:00:03 #28 [Debug] buildFile / takeWhileInclusive / fsxContent:  / errors: │

│ [] / typeErrorCount: 0                                                       │

│ 00:00:03 #29 [Debug] sendJson / port: 13805 / json:                          │

│ {"FileOpen":{"spiText":"","uri":"file:///C:\\Users\\i574n\\AppData\\Local\\T │

│ emp\\!dotnet-repl\\20231130-0856-4449-4943-40176821671b\\main.spi"}} /       │

│ result.Length:                                                               │

│ 00:00:03 #30 [Debug] sendJson / port: 13805 / json:                          │

│ {"BuildFile":{"backend":"Fsharp","uri":"file:///C:\\Users\\i574n\\AppData\\L │

│ ocal\\Temp\\!dotnet-repl\\20231130-0856-4449-4943-40176821671b\\main.spi"}}  │

│ / result.Length:                                                             │

│ 00:00:04 #31 [Verbose] > Building                                            │

│ C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0856-4449-4943-40176 │

│ 821671b\main.spi                                                             │

│ 00:00:04 #32 [Debug] buildFile / takeWhileInclusive / fsxContent:  / errors: │

│ [] / typeErrorCount: 0                                                       │

│ 00:00:05 #33 [Verbose] > Cannot find `main` in file main.                    │

│ 00:00:05 #34 [Verbose] > Build skipped for                                   │

│ C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0856-4449-4943-40176 │

│ 821671b\main.spi                                                             │

│ 00:00:05 #35 [Debug] buildFile / takeWhileInclusive / fsxContent:  / errors: │

│ [] / typeErrorCount: 0                                                       │

│ 00:00:06 #36 [Debug] buildFile / takeWhileInclusive / fsxContent:  / errors: │

│ [] / typeErrorCount: 0                                                       │

│ 00:00:07 #37 [Debug] buildFile / takeWhileInclusive / fsxContent:  / errors: │

│ [] / typeErrorCount: 0                                                       │

│ 00:00:08 #38 [Debug] buildFile / takeWhileInclusive / fsxContent:  / errors: │

│ [] / typeErrorCount: 0                                                       │

│ 00:00:09 #39 [Debug] buildFile / takeWhileInclusive / fsxContent:  / errors: │

│ [] / typeErrorCount: 0                                                       │

│ 00:00:10 #40 [Debug] buildFile / takeWhileInclusive / fsxContent:  / errors: │

│ [] / typeErrorCount: 0                                                       │

│ 00:00:11 #41 [Debug] buildFile / takeWhileInclusive / fsxContent:  / errors: │

│ [] / typeErrorCount: 0                                                       │

│ 00:00:12 #42 [Debug] runWithTimeoutAsync / timeout: 10000                    │

│ 00:00:12 #43 [Debug] watchWithFilter / Disposing watch stream / filter:      │

│ FileName, LastWrite                                                          │

│ <null>                                                                       │

│                                                                              │

╰──────────────────────────────────────────────────────────────────────────────╯



── fsharp ──────────────────────────────────────────────────────────────────────

//// test



"inl app () =

    0i32



inl a = 1



inl main () =

    app

    |> dyn

    |> ignore

"

|> buildCode 10000 None

|> Async.runWithTimeout 10000

|> Option.map (fun (fsxContent, errors) -> fsxContent, errors |> List.map fst)

|> _equal (

    Some (

        None,

        [[ "main.spi:

Global inl/let statements should all return functions known at parse time." ]]

    )

)



╭─[ 1.60s - stdout ]───────────────────────────────────────────────────────────╮

│ 00:00:12 #44 [Debug] buildFile / takeWhileInclusive / fsxContent:  / errors: │

│ [] / typeErrorCount: 0                                                       │

│ 00:00:13 #45 [Debug] runWithTimeoutAsync / timeout: 60                       │

│ 00:00:13 #46 [Debug] executeAsync / options: { Command =                     │

│    "dotnet "C:\home\git\polyglot\deps\The-Spiral-Language\The Spiral         │

│ Language 2\artifacts\bin\The Spiral Language 2\release\Spiral.dll"           │

│ port=13805"                                                                  │

│   WorkingDirectory = None                                                    │

│   CancellationToken = Some System.Threading.CancellationToken                │

│   OnLine = Some <fun:buildCode@3-983> }                                      │

│ 00:00:13 #47 [Verbose] > pwd: C:\home\git\polyglot\apps\spiral               │

│ 00:00:13 #48 [Verbose] > dll_path:                                           │

│ C:\home\git\polyglot\deps\The-Spiral-Language\The Spiral Language            │

│ 2\artifacts\bin\The Spiral Language 2\release                                │

│ 00:00:13 #50 [Debug] runWithTimeoutAsync / timeout: 500                      │

│ 00:00:14 #52 [Debug] sendJson / port: 13805 / json: {"Ping":true} /          │

│ result.Length:                                                               │

│ 00:00:14 #53 [Verbose] awaitCompiler / Ping / result: Some(null) / port:     │

│ 13805 / retry: 0                                                             │

│ 00:00:14 #54 [Verbose] > Server bound to: http://localhost:13805             │

│ 00:00:14 #55 [Debug] buildFile / takeWhileInclusive / fsxContent:  / errors: │

│ [] / typeErrorCount: 0                                                       │

│ 00:00:14 #56 [Debug] buildFile / takeWhileInclusive / fsxContent:  / errors: │

│ [] / typeErrorCount: 0                                                       │

│ 00:00:14 #57 [Debug] sendJson / port: 13805 / json:                          │

│ {"FileOpen":{"spiText":"inl app () =\n    0i32\n\ninl a = 1\n\ninl main ()   │

│ =\n    app\n    |\u003E dyn\n    |\u003E                                     │

│ ignore\n","uri":"file:///C:\\Users\\i574n\\AppData\\Local\\Temp\\!dotnet-rep │

│ l\\20231130-0856-5476-7695-77007124665a\\main.spi"}} / result.Length:        │

│ 00:00:14 #58 [Debug] sendJson / port: 13805 / json:                          │

│ {"BuildFile":{"backend":"Fsharp","uri":"file:///C:\\Users\\i574n\\AppData\\L │

│ ocal\\Temp\\!dotnet-repl\\20231130-0856-5476-7695-77007124665a\\main.spi"}}  │

│ / result.Length:                                                             │

│ 00:00:14 #59 [Verbose] > Building                                            │

│ C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0856-5476-7695-77007 │

│ 124665a\main.spi                                                             │

│ 00:00:14 #60 [Debug] buildFile / takeWhileInclusive / fsxContent:  / errors: │

│ [(main.spi:                                                                  │

│ Global inl/let statements should all return functions known at parse time.,  │

│ ParserErrors                                                                 │

│   { errors =                                                                 │

│      [(({ character = 0                                                      │

│           line = 3 }, { character = 9                                        │

│                         line = 3 }),                                         │

│        "Global inl/let statements should all return functions known at parse │

│ time.")]                                                                     │

│     uri =                                                                    │

│                                                                              │

│ "file:///C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0856-5476-7 │

│ 695-77007124665a\main.spi" })] / typeErrorCount: 0                           │

│ 00:00:14 #61 [Debug] watchWithFilter / Disposing watch stream / filter:      │

│ FileName, LastWrite                                                          │

│ FSharpOption<Tuple<FSharpOption<String>,FSharpList<String>>>                 │

│       Value:       - <null>                                                  │

│       - [ main.spi:                                                          │

│ Global inl/let statements should all return functions known at parse time. ] │

│                                                                              │

╰──────────────────────────────────────────────────────────────────────────────╯



── fsharp ──────────────────────────────────────────────────────────────────────

//// test



"""inl main () =

    1i32 / 0i32

"""

|> buildCode 10000 None

|> Async.runWithTimeout 10000

|> Option.map (fun (fsxContent, errors) -> fsxContent, errors |> List.map fst)

|> _equal (

    Some (

        None,

        [[ "An attempt to divide by zero has been detected at compile time." ]]

    )

)



╭─[ 2.48s - stdout ]───────────────────────────────────────────────────────────╮

│ 00:00:14 #62 [Debug] runWithTimeoutAsync / timeout: 60                       │

│ 00:00:14 #63 [Debug] executeAsync / options: { Command =                     │

│    "dotnet "C:\home\git\polyglot\deps\The-Spiral-Language\The Spiral         │

│ Language 2\artifacts\bin\The Spiral Language 2\release\Spiral.dll"           │

│ port=13805"                                                                  │

│   WorkingDirectory = None                                                    │

│   CancellationToken = Some System.Threading.CancellationToken                │

│   OnLine = Some <fun:buildCode@3-983> }                                      │

│ 00:00:15 #65 [Verbose] > pwd: C:\home\git\polyglot\apps\spiral               │

│ 00:00:15 #66 [Verbose] > dll_path:                                           │

│ C:\home\git\polyglot\deps\The-Spiral-Language\The Spiral Language            │

│ 2\artifacts\bin\The Spiral Language 2\release                                │

│ 00:00:15 #67 [Debug] runWithTimeoutAsync / timeout: 500                      │

│ 00:00:15 #68 [Debug] sendJson / port: 13805 / json: {"Ping":true} /          │

│ result.Length:                                                               │

│ 00:00:15 #69 [Verbose] awaitCompiler / Ping / result: Some(null) / port:     │

│ 13805 / retry: 0                                                             │

│ 00:00:15 #70 [Verbose] > Server bound to: http://localhost:13805             │

│ 00:00:15 #71 [Debug] buildFile / takeWhileInclusive / fsxContent:  / errors: │

│ [] / typeErrorCount: 0                                                       │

│ 00:00:15 #72 [Debug] buildFile / takeWhileInclusive / fsxContent:  / errors: │

│ [] / typeErrorCount: 0                                                       │

│ 00:00:15 #73 [Debug] sendJson / port: 13805 / json:                          │

│ {"FileOpen":{"spiText":"inl main () =\n    1i32 /                            │

│ 0i32\n","uri":"file:///C:\\Users\\i574n\\AppData\\Local\\Temp\\!dotnet-repl\ │

│ \20231130-0856-5643-4353-46bdd4420711\\main.spi"}} / result.Length:          │

│ 00:00:15 #74 [Debug] sendJson / port: 13805 / json:                          │

│ {"BuildFile":{"backend":"Fsharp","uri":"file:///C:\\Users\\i574n\\AppData\\L │

│ ocal\\Temp\\!dotnet-repl\\20231130-0856-5643-4353-46bdd4420711\\main.spi"}}  │

│ / result.Length:                                                             │

│ 00:00:16 #76 [Verbose] > Building                                            │

│ C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0856-5643-4353-46bdd │

│ 4420711\main.spi                                                             │

│ 00:00:16 #77 [Debug] buildFile / takeWhileInclusive / fsxContent:  / errors: │

│ [] / typeErrorCount: 0                                                       │

│ 00:00:17 #79 [Debug] buildFile / takeWhileInclusive / fsxContent:  / errors: │

│ [(An attempt to divide by zero has been detected at compile time.,           │

│ TracedError                                                                  │

│   { message = "An attempt to divide by zero has been detected at compile     │

│ time."                                                                       │

│     trace =                                                                  │

│      ["Error trace on line: 1, column: 10 in module:                         │

│ C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0856-5643-4353-46bdd │

│ 4420711\main.spi.                                                            │

│ inl main () =                                                                │

│          ^                                                                   │

│ ";                                                                           │

│       "Error trace on line: 2, column: 5 in module:                          │

│ C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0856-5643-4353-46bdd │

│ 4420711\main.spi.                                                            │

│     1i32 / 0i32                                                              │

│     ^                                                                        │

│ "] })] / typeErrorCount: 0                                                   │

│ 00:00:17 #80 [Debug] watchWithFilter / Disposing watch stream / filter:      │

│ FileName, LastWrite                                                          │

│ FSharpOption<Tuple<FSharpOption<String>,FSharpList<String>>>                 │

│       Value:       - <null>                                                  │

│       - [ An attempt to divide by zero has been detected at compile time. ]  │

│                                                                              │

╰──────────────────────────────────────────────────────────────────────────────╯



── fsharp ──────────────────────────────────────────────────────────────────────

//// test



"""inl main () =

    1 + ""

"""

|> buildCode 10000 None

|> Async.runWithTimeout 10000

|> Option.map (fun (fsxContent, errors) -> fsxContent, errors |> List.map fst)

|> _equal (

    Some (

        None,

        [[

            "main.spi:

Constraint satisfaction error.

Got: string

Fails to satisfy: number"

        ]]

    )

)



╭─[ 2.22s - stdout ]───────────────────────────────────────────────────────────╮

│ 00:00:17 #81 [Debug] runWithTimeoutAsync / timeout: 60                       │

│ 00:00:17 #82 [Debug] executeAsync / options: { Command =                     │

│    "dotnet "C:\home\git\polyglot\deps\The-Spiral-Language\The Spiral         │

│ Language 2\artifacts\bin\The Spiral Language 2\release\Spiral.dll"           │

│ port=13805"                                                                  │

│   WorkingDirectory = None                                                    │

│   CancellationToken = Some System.Threading.CancellationToken                │

│   OnLine = Some <fun:buildCode@3-983> }                                      │

│ 00:00:17 #83 [Verbose] > pwd: C:\home\git\polyglot\apps\spiral               │

│ 00:00:17 #84 [Verbose] > dll_path:                                           │

│ C:\home\git\polyglot\deps\The-Spiral-Language\The Spiral Language            │

│ 2\artifacts\bin\The Spiral Language 2\release                                │

│ 00:00:18 #86 [Debug] runWithTimeoutAsync / timeout: 500                      │

│ 00:00:18 #87 [Debug] sendJson / port: 13805 / json: {"Ping":true} /          │

│ result.Length:                                                               │

│ 00:00:18 #88 [Verbose] awaitCompiler / Ping / result: Some(null) / port:     │

│ 13805 / retry: 0                                                             │

│ 00:00:18 #89 [Verbose] > Server bound to: http://localhost:13805             │

│ 00:00:18 #90 [Debug] buildFile / takeWhileInclusive / fsxContent:  / errors: │

│ [] / typeErrorCount: 0                                                       │

│ 00:00:18 #91 [Debug] buildFile / takeWhileInclusive / fsxContent:  / errors: │

│ [] / typeErrorCount: 0                                                       │

│ 00:00:18 #92 [Debug] sendJson / port: 13805 / json:                          │

│ {"FileOpen":{"spiText":"inl main () =\n    1 \u002B                          │

│ \u0022\u0022\n","uri":"file:///C:\\Users\\i574n\\AppData\\Local\\Temp\\!dotn │

│ et-repl\\20231130-0856-5892-9206-96ca15d396b2\\main.spi"}} / result.Length:  │

│ 00:00:18 #93 [Debug] sendJson / port: 13805 / json:                          │

│ {"BuildFile":{"backend":"Fsharp","uri":"file:///C:\\Users\\i574n\\AppData\\L │

│ ocal\\Temp\\!dotnet-repl\\20231130-0856-5892-9206-96ca15d396b2\\main.spi"}}  │

│ / result.Length:                                                             │

│ 00:00:18 #94 [Verbose] > Building                                            │

│ C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0856-5892-9206-96ca1 │

│ 5d396b2\main.spi                                                             │

│ 00:00:19 #96 [Debug] buildFile / takeWhileInclusive / fsxContent:  / errors: │

│ [] / typeErrorCount: 0                                                       │

│ 00:00:19 #97 [Debug] buildFile / takeWhileInclusive / fsxContent:  / errors: │

│ [] / typeErrorCount: 1                                                       │

│ 00:00:19 #98 [Debug] buildFile / takeWhileInclusive / fsxContent:  / errors: │

│ [(main.spi:                                                                  │

│ Constraint satisfaction error.                                               │

│ Got: string                                                                  │

│ Fails to satisfy: number, TypeErrors                                         │

│   { errors =                                                                 │

│      [(({ character = 8                                                      │

│           line = 1 }, { character = 10                                       │

│                         line = 1 }),                                         │

│        "Constraint satisfaction error.                                       │

│ Got: string                                                                  │

│ Fails to satisfy: number")]                                                  │

│     uri =                                                                    │

│                                                                              │

│ "file:///C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0856-5892-9 │

│ 206-96ca15d396b2\main.spi" })] / typeErrorCount: 1                           │

│ 00:00:19 #99 [Debug] watchWithFilter / Disposing watch stream / filter:      │

│ FileName, LastWrite                                                          │

│ FSharpOption<Tuple<FSharpOption<String>,FSharpList<String>>>                 │

│       Value:       - <null>                                                  │

│       - [ main.spi:                                                          │

│ Constraint satisfaction error.                                               │

│ Got: string                                                                  │

│ Fails to satisfy: number ]                                                   │

│                                                                              │

╰──────────────────────────────────────────────────────────────────────────────╯



── fsharp ──────────────────────────────────────────────────────────────────────

//// test



"""inl main () =

    x + y

"""

|> buildCode 10000 None

|> Async.runWithTimeout 10000

|> Option.map (fun (fsxContent, errors) -> fsxContent, errors |> List.map fst)

|> _equal (

    Some (

        None,

        [[

            "main.spi:

Unbound variable: x.

Unbound variable: y."

        ]]

    )

)



╭─[ 2.28s - stdout ]───────────────────────────────────────────────────────────╮

│ 00:00:19 #100 [Debug] runWithTimeoutAsync / timeout: 60                      │

│ 00:00:19 #101 [Debug] executeAsync / options: { Command =                    │

│    "dotnet "C:\home\git\polyglot\deps\The-Spiral-Language\The Spiral         │

│ Language 2\artifacts\bin\The Spiral Language 2\release\Spiral.dll"           │

│ port=13805"                                                                  │

│   WorkingDirectory = None                                                    │

│   CancellationToken = Some System.Threading.CancellationToken                │

│   OnLine = Some <fun:buildCode@3-983> }                                      │

│ 00:00:19 #102 [Verbose] > pwd: C:\home\git\polyglot\apps\spiral              │

│ 00:00:19 #103 [Verbose] > dll_path:                                          │

│ C:\home\git\polyglot\deps\The-Spiral-Language\The Spiral Language            │

│ 2\artifacts\bin\The Spiral Language 2\release                                │

│ 00:00:20 #105 [Debug] runWithTimeoutAsync / timeout: 500                     │

│ 00:00:20 #106 [Verbose] waitForPortAccess / port: 13805 / retry: 0           │

│ 00:00:20 #107 [Debug] sendJson / port: 13805 / json: {"Ping":true} /         │

│ result.Length:                                                               │

│ 00:00:20 #108 [Verbose] awaitCompiler / Ping / result: Some(null) / port:    │

│ 13805 / retry: 0                                                             │

│ 00:00:20 #109 [Verbose] > Server bound to: http://localhost:13805            │

│ 00:00:20 #110 [Debug] buildFile / takeWhileInclusive / fsxContent:  /        │

│ errors: [] / typeErrorCount: 0                                               │

│ 00:00:20 #111 [Debug] buildFile / takeWhileInclusive / fsxContent:  /        │

│ errors: [] / typeErrorCount: 0                                               │

│ 00:00:20 #112 [Debug] sendJson / port: 13805 / json:                         │

│ {"FileOpen":{"spiText":"inl main () =\n    x \u002B                          │

│ y\n","uri":"file:///C:\\Users\\i574n\\AppData\\Local\\Temp\\!dotnet-repl\\20 │

│ 231130-0857-0118-1831-14bd1e9fe322\\main.spi"}} / result.Length:             │

│ 00:00:20 #113 [Debug] sendJson / port: 13805 / json:                         │

│ {"BuildFile":{"backend":"Fsharp","uri":"file:///C:\\Users\\i574n\\AppData\\L │

│ ocal\\Temp\\!dotnet-repl\\20231130-0857-0118-1831-14bd1e9fe322\\main.spi"}}  │

│ / result.Length:                                                             │

│ 00:00:20 #114 [Verbose] > Building                                           │

│ C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0857-0118-1831-14bd1 │

│ e9fe322\main.spi                                                             │

│ 00:00:21 #116 [Debug] buildFile / takeWhileInclusive / fsxContent:  /        │

│ errors: [] / typeErrorCount: 0                                               │

│ 00:00:21 #117 [Debug] buildFile / takeWhileInclusive / fsxContent:  /        │

│ errors: [] / typeErrorCount: 1                                               │

│ 00:00:21 #118 [Debug] buildFile / takeWhileInclusive / fsxContent:  /        │

│ errors: [(main.spi:                                                          │

│ Unbound variable: x.                                                         │

│ Unbound variable: y., TypeErrors                                             │

│   { errors =                                                                 │

│      [(({ character = 4                                                      │

│           line = 1 }, { character = 5                                        │

│                         line = 1 }), "Unbound variable: x.");                │

│       (({ character = 8                                                      │

│           line = 1 }, { character = 9                                        │

│                         line = 1 }), "Unbound variable: y.")]                │

│     uri =                                                                    │

│                                                                              │

│ "file:///C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0857-0118-1 │

│ 831-14bd1e9fe322\main.spi" })] / typeErrorCount: 1                           │

│ 00:00:21 #119 [Debug] watchWithFilter / Disposing watch stream / filter:     │

│ FileName, LastWrite                                                          │

│ FSharpOption<Tuple<FSharpOption<String>,FSharpList<String>>>                 │

│       Value:       - <null>                                                  │

│       - [ main.spi:                                                          │

│ Unbound variable: x.                                                         │

│ Unbound variable: y. ]                                                       │

│                                                                              │

╰──────────────────────────────────────────────────────────────────────────────╯



── fsharp ──────────────────────────────────────────────────────────────────────

//// test



"""union a =

    | B

    | c



inl main () =

    ()

"""

|> buildCode 10000 None

|> Async.runWithTimeout 10000

|> Option.map (fun (fsxContent, errors) -> fsxContent, errors |> List.map fst)

|> _equal (

    Some (

        None,

        [[ "main.spi:

Expected: uppercase variable" ]]

    )

)



╭─[ 1.62s - stdout ]───────────────────────────────────────────────────────────╮

│ 00:00:21 #120 [Debug] runWithTimeoutAsync / timeout: 60                      │

│ 00:00:21 #121 [Debug] executeAsync / options: { Command =                    │

│    "dotnet "C:\home\git\polyglot\deps\The-Spiral-Language\The Spiral         │

│ Language 2\artifacts\bin\The Spiral Language 2\release\Spiral.dll"           │

│ port=13805"                                                                  │

│   WorkingDirectory = None                                                    │

│   CancellationToken = Some System.Threading.CancellationToken                │

│   OnLine = Some <fun:buildCode@3-983> }                                      │

│ 00:00:22 #123 [Verbose] > pwd: C:\home\git\polyglot\apps\spiral              │

│ 00:00:22 #124 [Verbose] > dll_path:                                          │

│ C:\home\git\polyglot\deps\The-Spiral-Language\The Spiral Language            │

│ 2\artifacts\bin\The Spiral Language 2\release                                │

│ 00:00:22 #125 [Debug] runWithTimeoutAsync / timeout: 500                     │

│ 00:00:22 #126 [Verbose] waitForPortAccess / port: 13805 / retry: 0           │

│ 00:00:22 #127 [Debug] sendJson / port: 13805 / json: {"Ping":true} /         │

│ result.Length:                                                               │

│ 00:00:22 #128 [Verbose] awaitCompiler / Ping / result: Some(null) / port:    │

│ 13805 / retry: 0                                                             │

│ 00:00:22 #129 [Verbose] > Server bound to: http://localhost:13805            │

│ 00:00:22 #130 [Debug] buildFile / takeWhileInclusive / fsxContent:  /        │

│ errors: [] / typeErrorCount: 0                                               │

│ 00:00:22 #131 [Debug] buildFile / takeWhileInclusive / fsxContent:  /        │

│ errors: [] / typeErrorCount: 0                                               │

│ 00:00:22 #132 [Debug] sendJson / port: 13805 / json:                         │

│ {"FileOpen":{"spiText":"union a =\n    | B\n    | c\n\ninl main () =\n       │

│ ()\n","uri":"file:///C:\\Users\\i574n\\AppData\\Local\\Temp\\!dotnet-repl\\2 │

│ 0231130-0857-0349-4903-4d445c04e1e4\\main.spi"}} / result.Length:            │

│ 00:00:22 #133 [Debug] sendJson / port: 13805 / json:                         │

│ {"BuildFile":{"backend":"Fsharp","uri":"file:///C:\\Users\\i574n\\AppData\\L │

│ ocal\\Temp\\!dotnet-repl\\20231130-0857-0349-4903-4d445c04e1e4\\main.spi"}}  │

│ / result.Length:                                                             │

│ 00:00:23 #135 [Verbose] > Building                                           │

│ C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0857-0349-4903-4d445 │

│ c04e1e4\main.spi                                                             │

│ 00:00:23 #136 [Debug] buildFile / takeWhileInclusive / fsxContent:  /        │

│ errors: [(main.spi:                                                          │

│ Expected: uppercase variable, ParserErrors                                   │

│   { errors = [(({ character = 6                                              │

│                   line = 2 }, { character = 7                                │

│                                 line = 2 }), "Expected: uppercase            │

│ variable")]                                                                  │

│     uri =                                                                    │

│                                                                              │

│ "file:///C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0857-0349-4 │

│ 903-4d445c04e1e4\main.spi" })] / typeErrorCount: 0                           │

│ 00:00:23 #137 [Debug] watchWithFilter / Disposing watch stream / filter:     │

│ FileName, LastWrite                                                          │

│ FSharpOption<Tuple<FSharpOption<String>,FSharpList<String>>>                 │

│       Value:       - <null>                                                  │

│       - [ main.spi:                                                          │

│ Expected: uppercase variable ]                                               │

│                                                                              │

╰──────────────────────────────────────────────────────────────────────────────╯



── fsharp ──────────────────────────────────────────────────────────────────────

//// test



"""

/// abc

inl main () =

    ()

"""

|> buildCode 10000 None

|> Async.runWithTimeout 10000

|> Option.map (fun (fsxContent, errors) -> fsxContent, errors |> List.map fst)

|> _equal (

    Some (

        None,

        [[ "main.spi:

Expected: whitespace" ]]

    )

)



╭─[ 1.47s - stdout ]───────────────────────────────────────────────────────────╮

│ 00:00:23 #138 [Debug] runWithTimeoutAsync / timeout: 60                      │

│ 00:00:23 #139 [Debug] executeAsync / options: { Command =                    │

│    "dotnet "C:\home\git\polyglot\deps\The-Spiral-Language\The Spiral         │

│ Language 2\artifacts\bin\The Spiral Language 2\release\Spiral.dll"           │

│ port=13805"                                                                  │

│   WorkingDirectory = None                                                    │

│   CancellationToken = Some System.Threading.CancellationToken                │

│   OnLine = Some <fun:buildCode@3-983> }                                      │

│ 00:00:23 #140 [Verbose] > pwd: C:\home\git\polyglot\apps\spiral              │

│ 00:00:23 #141 [Verbose] > dll_path:                                          │

│ C:\home\git\polyglot\deps\The-Spiral-Language\The Spiral Language            │

│ 2\artifacts\bin\The Spiral Language 2\release                                │

│ 00:00:24 #143 [Debug] runWithTimeoutAsync / timeout: 500                     │

│ 00:00:24 #144 [Verbose] waitForPortAccess / port: 13805 / retry: 0           │

│ 00:00:24 #145 [Debug] sendJson / port: 13805 / json: {"Ping":true} /         │

│ result.Length:                                                               │

│ 00:00:24 #146 [Verbose] awaitCompiler / Ping / result: Some(null) / port:    │

│ 13805 / retry: 0                                                             │

│ 00:00:24 #147 [Verbose] > Server bound to: http://localhost:13805            │

│ 00:00:24 #148 [Debug] buildFile / takeWhileInclusive / fsxContent:  /        │

│ errors: [] / typeErrorCount: 0                                               │

│ 00:00:24 #149 [Debug] buildFile / takeWhileInclusive / fsxContent:  /        │

│ errors: [] / typeErrorCount: 0                                               │

│ 00:00:24 #150 [Debug] sendJson / port: 13805 / json:                         │

│ {"FileOpen":{"spiText":"\n/// abc\ninl main () =\n                           │

│ ()\n","uri":"file:///C:\\Users\\i574n\\AppData\\Local\\Temp\\!dotnet-repl\\2 │

│ 0231130-0857-0511-1148-12804f52239f\\main.spi"}} / result.Length:            │

│ 00:00:24 #151 [Debug] sendJson / port: 13805 / json:                         │

│ {"BuildFile":{"backend":"Fsharp","uri":"file:///C:\\Users\\i574n\\AppData\\L │

│ ocal\\Temp\\!dotnet-repl\\20231130-0857-0511-1148-12804f52239f\\main.spi"}}  │

│ / result.Length:                                                             │

│ 00:00:24 #152 [Debug] buildFile / takeWhileInclusive / fsxContent:  /        │

│ errors: [(main.spi:                                                          │

│ Expected: whitespace, TokenizerErrors                                        │

│   { errors = [(({ character = 2                                              │

│                   line = 1 }, { character = 3                                │

│                                 line = 1 }), "Expected: whitespace")]        │

│     uri =                                                                    │

│                                                                              │

│ "file:///C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0857-0511-1 │

│ 148-12804f52239f\main.spi" })] / typeErrorCount: 0                           │

│ 00:00:24 #153 [Debug] watchWithFilter / Disposing watch stream / filter:     │

│ FileName, LastWrite                                                          │

│ FSharpOption<Tuple<FSharpOption<String>,FSharpList<String>>>                 │

│       Value:       - <null>                                                  │

│       - [ main.spi:                                                          │

│ Expected: whitespace ]                                                       │

│                                                                              │

╰──────────────────────────────────────────────────────────────────────────────╯



── fsharp ──────────────────────────────────────────────────────────────────────

//// test



"""

inl main () =

    real

        inl real_unbox forall a. (obj : a) : a =

            typecase obj with

            | _ => obj

        real_unbox ()

    ()

"""

|> buildCode 10000 None

|> Async.runWithTimeout 10000

|> Option.map (fun (fsxContent, errors) -> fsxContent, errors |> List.map fst)

|> _equal (

    Some (

        None,

        [[ "Cannot apply a forall with a term." ]]

    )

)



╭─[ 2.59s - stdout ]───────────────────────────────────────────────────────────╮

│ 00:00:25 #155 [Debug] runWithTimeoutAsync / timeout: 60                      │

│ 00:00:25 #156 [Debug] executeAsync / options: { Command =                    │

│    "dotnet "C:\home\git\polyglot\deps\The-Spiral-Language\The Spiral         │

│ Language 2\artifacts\bin\The Spiral Language 2\release\Spiral.dll"           │

│ port=13805"                                                                  │

│   WorkingDirectory = None                                                    │

│   CancellationToken = Some System.Threading.CancellationToken                │

│   OnLine = Some <fun:buildCode@3-983> }                                      │

│ 00:00:25 #157 [Verbose] > pwd: C:\home\git\polyglot\apps\spiral              │

│ 00:00:25 #158 [Verbose] > dll_path:                                          │

│ C:\home\git\polyglot\deps\The-Spiral-Language\The Spiral Language            │

│ 2\artifacts\bin\The Spiral Language 2\release                                │

│ 00:00:25 #159 [Debug] runWithTimeoutAsync / timeout: 500                     │

│ 00:00:25 #160 [Verbose] waitForPortAccess / port: 13805 / retry: 0           │

│ 00:00:26 #162 [Debug] sendJson / port: 13805 / json: {"Ping":true} /         │

│ result.Length:                                                               │

│ 00:00:26 #163 [Verbose] awaitCompiler / Ping / result: Some(null) / port:    │

│ 13805 / retry: 0                                                             │

│ 00:00:26 #164 [Verbose] > Server bound to: http://localhost:13805            │

│ 00:00:26 #165 [Debug] buildFile / takeWhileInclusive / fsxContent:  /        │

│ errors: [] / typeErrorCount: 0                                               │

│ 00:00:26 #166 [Debug] buildFile / takeWhileInclusive / fsxContent:  /        │

│ errors: [] / typeErrorCount: 0                                               │

│ 00:00:26 #167 [Debug] sendJson / port: 13805 / json:                         │

│ {"FileOpen":{"spiText":"\ninl main () =\n    real\n        inl real_unbox    │

│ forall a. (obj : a) : a =\n            typecase obj with\n            | _    │

│ =\u003E obj\n        real_unbox ()\n                                         │

│ ()\n","uri":"file:///C:\\Users\\i574n\\AppData\\Local\\Temp\\!dotnet-repl\\2 │

│ 0231130-0857-0663-6303-6cb01143f1d9\\main.spi"}} / result.Length:            │

│ 00:00:26 #168 [Debug] sendJson / port: 13805 / json:                         │

│ {"BuildFile":{"backend":"Fsharp","uri":"file:///C:\\Users\\i574n\\AppData\\L │

│ ocal\\Temp\\!dotnet-repl\\20231130-0857-0663-6303-6cb01143f1d9\\main.spi"}}  │

│ / result.Length:                                                             │

│ 00:00:26 #169 [Verbose] > Building                                           │

│ C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0857-0663-6303-6cb01 │

│ 143f1d9\main.spi                                                             │

│ 00:00:27 #171 [Debug] buildFile / takeWhileInclusive / fsxContent:  /        │

│ errors: [] / typeErrorCount: 0                                               │

│ 00:00:27 #172 [Debug] buildFile / takeWhileInclusive / fsxContent:  /        │

│ errors: [(Cannot apply a forall with a term., TracedError                    │

│   { message = "Cannot apply a forall with a term."                           │

│     trace =                                                                  │

│      ["Error trace on line: 2, column: 10 in module:                         │

│ C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0857-0663-6303-6cb01 │

│ 143f1d9\main.spi.                                                            │

│ inl main () =                                                                │

│          ^                                                                   │

│ ";                                                                           │

│       "Error trace on line: 4, column: 9 in module:                          │

│ C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0857-0663-6303-6cb01 │

│ 143f1d9\main.spi.                                                            │

│         inl real_unbox forall a. (obj : a) : a =                             │

│         ^                                                                    │

│ ";                                                                           │

│       "Error trace on line: 7, column: 9 in module:                          │

│ C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0857-0663-6303-6cb01 │

│ 143f1d9\main.spi.                                                            │

│         real_unbox ()                                                        │

│         ^                                                                    │

│ "] })] / typeErrorCount: 0                                                   │

│ 00:00:27 #173 [Debug] watchWithFilter / Disposing watch stream / filter:     │

│ FileName, LastWrite                                                          │

│ FSharpOption<Tuple<FSharpOption<String>,FSharpList<String>>>                 │

│       Value:       - <null>                                                  │

│       - [ Cannot apply a forall with a term. ]                               │

│                                                                              │

╰──────────────────────────────────────────────────────────────────────────────╯



── fsharp ──────────────────────────────────────────────────────────────────────

//// test



"""

inl main () =

    real

        inl real_unbox forall a. (obj : a) : a =

            typecase obj with

            | _ => obj

        real_unbox `i32 1

"""

|> buildCode 10000 None

|> Async.runWithTimeout 10000

|> Option.map (fun (fsxContent, errors) -> fsxContent, errors |> List.map fst)

|> _equal (

    Some (

        None,

        [[ "The main function should not have a forall." ]]

    )

)



╭─[ 2.37s - stdout ]───────────────────────────────────────────────────────────╮

│ 00:00:27 #174 [Debug] runWithTimeoutAsync / timeout: 60                      │

│ 00:00:27 #175 [Debug] executeAsync / options: { Command =                    │

│    "dotnet "C:\home\git\polyglot\deps\The-Spiral-Language\The Spiral         │

│ Language 2\artifacts\bin\The Spiral Language 2\release\Spiral.dll"           │

│ port=13805"                                                                  │

│   WorkingDirectory = None                                                    │

│   CancellationToken = Some System.Threading.CancellationToken                │

│   OnLine = Some <fun:buildCode@3-983> }                                      │

│ 00:00:27 #176 [Verbose] > pwd: C:\home\git\polyglot\apps\spiral              │

│ 00:00:27 #177 [Verbose] > dll_path:                                          │

│ C:\home\git\polyglot\deps\The-Spiral-Language\The Spiral Language            │

│ 2\artifacts\bin\The Spiral Language 2\release                                │

│ 00:00:28 #179 [Debug] runWithTimeoutAsync / timeout: 500                     │

│ 00:00:28 #180 [Debug] sendJson / port: 13805 / json: {"Ping":true} /         │

│ result.Length:                                                               │

│ 00:00:28 #181 [Verbose] awaitCompiler / Ping / result: Some(null) / port:    │

│ 13805 / retry: 0                                                             │

│ 00:00:28 #182 [Verbose] > Server bound to: http://localhost:13805            │

│ 00:00:28 #183 [Debug] buildFile / takeWhileInclusive / fsxContent:  /        │

│ errors: [] / typeErrorCount: 0                                               │

│ 00:00:28 #184 [Debug] buildFile / takeWhileInclusive / fsxContent:  /        │

│ errors: [] / typeErrorCount: 0                                               │

│ 00:00:28 #185 [Debug] sendJson / port: 13805 / json:                         │

│ {"FileOpen":{"spiText":"\ninl main () =\n    real\n        inl real_unbox    │

│ forall a. (obj : a) : a =\n            typecase obj with\n            | _    │

│ =\u003E obj\n        real_unbox \u0060i32                                    │

│ 1\n","uri":"file:///C:\\Users\\i574n\\AppData\\Local\\Temp\\!dotnet-repl\\20 │

│ 231130-0857-0921-2195-22d9e1b6dfbc\\main.spi"}} / result.Length:             │

│ 00:00:28 #186 [Debug] sendJson / port: 13805 / json:                         │

│ {"BuildFile":{"backend":"Fsharp","uri":"file:///C:\\Users\\i574n\\AppData\\L │

│ ocal\\Temp\\!dotnet-repl\\20231130-0857-0921-2195-22d9e1b6dfbc\\main.spi"}}  │

│ / result.Length:                                                             │

│ 00:00:28 #187 [Verbose] > Building                                           │

│ C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0857-0921-2195-22d9e │

│ 1b6dfbc\main.spi                                                             │

│ 00:00:29 #189 [Debug] buildFile / takeWhileInclusive / fsxContent:  /        │

│ errors: [] / typeErrorCount: 0                                               │

│ 00:00:29 #190 [Debug] buildFile / takeWhileInclusive / fsxContent:  /        │

│ errors: [(The main function should not have a forall., TracedError { message │

│ = "The main function should not have a forall."                              │

│               trace = [] })] / typeErrorCount: 0                             │

│ 00:00:29 #191 [Debug] watchWithFilter / Disposing watch stream / filter:     │

│ FileName, LastWrite                                                          │

│ FSharpOption<Tuple<FSharpOption<String>,FSharpList<String>>>                 │

│       Value:       - <null>                                                  │

│       - [ The main function should not have a forall. ]                      │

│                                                                              │

╰──────────────────────────────────────────────────────────────────────────────╯



── fsharp ──────────────────────────────────────────────────────────────────────

//// test



"""

inl init_series start end inc =

    inl total : f64 = conv ((end - start) / inc) + 1

    listm.init total (conv >> (*) inc >> (+) start) : list f64



type integration = (f64 -> f64) -> f64 -> f64 -> f64



inl integral dt : integration =

    fun f a b =>

        init_series (a + dt / 2) (b - dt / 2) dt

        |> listm.map (f >> (*) dt)

        |> listm.fold (+) 0



inl main () =

    integral 0.1 (fun x => x ** 2) 0 1

"""

|> buildCode 10000 None

|> Async.runWithTimeout 10000

|> Option.map (fun (fsxContent, errors) -> fsxContent, errors |> List.map fst)

|> _equal (

    Some (

        Some "0.3325000000000001\n",

        [[]]

    )

)



╭─[ 2.58s - stdout ]───────────────────────────────────────────────────────────╮

│ 00:00:30 #193 [Debug] runWithTimeoutAsync / timeout: 60                      │

│ 00:00:30 #194 [Debug] executeAsync / options: { Command =                    │

│    "dotnet "C:\home\git\polyglot\deps\The-Spiral-Language\The Spiral         │

│ Language 2\artifacts\bin\The Spiral Language 2\release\Spiral.dll"           │

│ port=13805"                                                                  │

│   WorkingDirectory = None                                                    │

│   CancellationToken = Some System.Threading.CancellationToken                │

│   OnLine = Some <fun:buildCode@3-983> }                                      │

│ 00:00:30 #195 [Verbose] > pwd: C:\home\git\polyglot\apps\spiral              │

│ 00:00:30 #196 [Verbose] > dll_path:                                          │

│ C:\home\git\polyglot\deps\The-Spiral-Language\The Spiral Language            │

│ 2\artifacts\bin\The Spiral Language 2\release                                │

│ 00:00:30 #197 [Debug] runWithTimeoutAsync / timeout: 500                     │

│ 00:00:31 #198 [Debug] sendJson / port: 13805 / json: {"Ping":true} /         │

│ result.Length:                                                               │

│ 00:00:31 #199 [Verbose] awaitCompiler / Ping / result: Some(null) / port:    │

│ 13805 / retry: 0                                                             │

│ 00:00:31 #200 [Verbose] > Server bound to: http://localhost:13805            │

│ 00:00:31 #201 [Debug] buildFile / takeWhileInclusive / fsxContent:  /        │

│ errors: [] / typeErrorCount: 0                                               │

│ 00:00:31 #202 [Debug] buildFile / takeWhileInclusive / fsxContent:  /        │

│ errors: [] / typeErrorCount: 0                                               │

│ 00:00:31 #204 [Debug] sendJson / port: 13805 / json:                         │

│ {"FileOpen":{"spiText":"\ninl init_series start end inc =\n    inl total :   │

│ f64 = conv ((end - start) / inc) \u002B 1\n    listm.init total (conv        │

│ \u003E\u003E (*) inc \u003E\u003E (\u002B) start) : list f64\n\ntype         │

│ integration = (f64 -\u003E f64) -\u003E f64 -\u003E f64 -\u003E f64\n\ninl   │

│ integral dt : integration =\n    fun f a b =\u003E\n        init_series (a   │

│ \u002B dt / 2) (b - dt / 2) dt\n        |\u003E listm.map (f \u003E\u003E    │

│ (*) dt)\n        |\u003E listm.fold (\u002B) 0\n\ninl main () =\n            │

│ integral 0.1 (fun x =\u003E x ** 2) 0                                        │

│ 1\n","uri":"file:///C:\\Users\\i574n\\AppData\\Local\\Temp\\!dotnet-repl\\20 │

│ 231130-0857-1163-6396-6ccf39b1f1ed\\main.spi"}} / result.Length:             │

│ 00:00:31 #205 [Debug] sendJson / port: 13805 / json:                         │

│ {"BuildFile":{"backend":"Fsharp","uri":"file:///C:\\Users\\i574n\\AppData\\L │

│ ocal\\Temp\\!dotnet-repl\\20231130-0857-1163-6396-6ccf39b1f1ed\\main.spi"}}  │

│ / result.Length:                                                             │

│ 00:00:31 #206 [Verbose] > Building                                           │

│ C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0857-1163-6396-6ccf3 │

│ 9b1f1ed\main.spi                                                             │

│ 00:00:32 #207 [Debug] buildFile / takeWhileInclusive / fsxContent:  /        │

│ errors: [] / typeErrorCount: 0                                               │

│ 00:00:32 #209 [Debug] buildFile / takeWhileInclusive / fsxContent:           │

│ 0.3325000000000001                                                           │

│  / errors: [] / typeErrorCount: 0                                            │

│ 00:00:32 #210 [Debug] watchWithFilter / Disposing watch stream / filter:     │

│ FileName, LastWrite                                                          │

│ FSharpOption<Tuple<FSharpOption<String>,FSharpList<String>>>                 │

│       Value:       - FSharpOption<String>                                    │

│           Value: 0.3325000000000001                                          │

│                                                                              │

│       - [  ]                                                                 │

│                                                                              │

╰──────────────────────────────────────────────────────────────────────────────╯



── fsharp ──────────────────────────────────────────────────────────────────────

//// test



"""

inl init_series start end inc =

    inl total : f64 = conv ((end - start) / inc) + 1

    listm.init total (conv >> (*) inc >> (+) start) : list f64



type integration = (f64 -> f64) -> f64 -> f64 -> f64



inl integral dt : integration =

    fun f a b =>

        init_series (a + dt / 2) (b - dt / 2) dt

        |> listm.map (f >> (*) dt)

        |> listm.fold (+) 0



inl main () =

    integral 0.01 (fun x => x ** 2) 0 1

"""

|> buildCode 10000 None

|> Async.runWithTimeout 10000

|> Option.map (fun (fsxContent, errors) -> fsxContent, errors |> List.map fst)

// |> _equal None

// |> fun x -> printfn $"{x.ToDisplayString ()}"



╭─[ 6.28s - return value ]─────────────────────────────────────────────────────╮

│ <details open="open" class="dni-treeview"><summary><span                     │

│ class="dni-code-hint"><code>Some((, [                                        │

│ ]))</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><t │

│ d>Value</td><td><details class="dni-treeview"><summary><span                 │

│ class="dni-code-hint"><code>(, [                                             │

│ ])</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td │

│ >Item1</td><td><div                                                          │

│ class="dni-plaintext"><pre>&lt;null&gt;</pre></div></td></tr><tr><td>Item2</ │

│ td><td><div class="dni-plaintext"><pre>[                                     │

│ ]</pre></div></td></tr></tbody></table></div></details></td></tr></tbody></t │

│ able></div></details><style>                                                 │

│ .dni-code-hint {                                                             │

│     font-style: italic;                                                      │

│     overflow: hidden;                                                        │

│     white-space: nowrap;                                                     │

│ }                                                                            │

│ .dni-treeview {                                                              │

│     white-space: nowrap;                                                     │

│ }                                                                            │

│ .dni-treeview td {                                                           │

│     ve...                                                                    │

╰──────────────────────────────────────────────────────────────────────────────╯



╭─[ 6.30s - stdout ]───────────────────────────────────────────────────────────╮

│ 00:00:32 #211 [Debug] runWithTimeoutAsync / timeout: 60                      │

│ 00:00:32 #212 [Debug] executeAsync / options: { Command =                    │

│    "dotnet "C:\home\git\polyglot\deps\The-Spiral-Language\The Spiral         │

│ Language 2\artifacts\bin\The Spiral Language 2\release\Spiral.dll"           │

│ port=13805"                                                                  │

│   WorkingDirectory = None                                                    │

│   CancellationToken = Some System.Threading.CancellationToken                │

│   OnLine = Some <fun:buildCode@3-983> }                                      │

│ 00:00:32 #213 [Verbose] > pwd: C:\home\git\polyglot\apps\spiral              │

│ 00:00:32 #214 [Verbose] > dll_path:                                          │

│ C:\home\git\polyglot\deps\The-Spiral-Language\The Spiral Language            │

│ 2\artifacts\bin\The Spiral Language 2\release                                │

│ 00:00:33 #216 [Debug] runWithTimeoutAsync / timeout: 500                     │

│ 00:00:33 #217 [Verbose] waitForPortAccess / port: 13805 / retry: 0           │

│ 00:00:33 #218 [Debug] sendJson / port: 13805 / json: {"Ping":true} /         │

│ result.Length:                                                               │

│ 00:00:33 #219 [Verbose] awaitCompiler / Ping / result: Some(null) / port:    │

│ 13805 / retry: 0                                                             │

│ 00:00:33 #220 [Verbose] > Server bound to: http://localhost:13805            │

│ 00:00:33 #221 [Debug] buildFile / takeWhileInclusive / fsxContent:  /        │

│ errors: [] / typeErrorCount: 0                                               │

│ 00:00:33 #222 [Debug] buildFile / takeWhileInclusive / fsxContent:  /        │

│ errors: [] / typeErrorCount: 0                                               │

│ 00:00:33 #223 [Debug] sendJson / port: 13805 / json:                         │

│ {"FileOpen":{"spiText":"\ninl init_series start end inc =\n    inl total :   │

│ f64 = conv ((end - start) / inc) \u002B 1\n    listm.init total (conv        │

│ \u003E\u003E (*) inc \u003E\u003E (\u002B) start) : list f64\n\ntype         │

│ integration = (f64 -\u003E f64) -\u003E f64 -\u003E f64 -\u003E f64\n\ninl   │

│ integral dt : integration =\n    fun f a b =\u003E\n        init_series (a   │

│ \u002B dt / 2) (b - dt / 2) dt\n        |\u003E listm.map (f \u003E\u003E    │

│ (*) dt)\n        |\u003E listm.fold (\u002B) 0\n\ninl main () =\n            │

│ integral 0.01 (fun x =\u003E x ** 2) 0                                       │

│ 1\n","uri":"file:///C:\\Users\\i574n\\AppData\\Local\\Temp\\!dotnet-repl\\20 │

│ 231130-0857-1431-3140-37558ce7a459\\main.spi"}} / result.Length:             │

│ 00:00:33 #224 [Debug] sendJson / port: 13805 / json:                         │

│ {"BuildFile":{"backend":"Fsharp","uri":"file:///C:\\Users\\i574n\\AppData\\L │

│ ocal\\Temp\\!dotnet-repl\\20231130-0857-1431-3140-37558ce7a459\\main.spi"}}  │

│ / result.Length:                                                             │

│ 00:00:33 #225 [Verbose] > Building                                           │

│ C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0857-1431-3140-37558 │

│ ce7a459\main.spi                                                             │

│ 00:00:34 #227 [Debug] buildFile / takeWhileInclusive / fsxContent:  /        │

│ errors: [] / typeErrorCount: 0                                               │

│ 00:00:34 #228 [Verbose] > Stack overflow.                                    │

│ 00:00:34 #229 [Verbose] > Repeat 3 times:                                    │

│ 00:00:34 #230 [Verbose] > --------------------------------                   │

│ 00:00:34 #231 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv,     │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)             │

│ 00:00:34 #232 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv,     │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)             │

│ 00:00:34 #233 [Verbose] >    at                                              │

│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr,     │

│ Void (IntPtr, Byte ByRef,                                                    │

│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)         │

│ 00:00:34 #234 [Verbose] > --------------------------------                   │

│ 00:00:34 #235 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv,     │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)             │

│ 00:00:34 #236 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv,     │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)             │

│ 00:00:34 #237 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv,     │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)             │

│ 00:00:34 #238 [Verbose] >    at                                              │

│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr,     │

│ Void (IntPtr, Byte ByRef,                                                    │

│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)         │

│ 00:00:34 #239 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv,     │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)             │

│ 00:00:34 #240 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv,     │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)             │

│ 00:00:34 #241 [Verbose] >    at                                              │

│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr,     │

│ Void (IntPtr, Byte ByRef,                                                    │

│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)         │

│ 00:00:34 #242 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv,     │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)             │

│ 00:00:34 #243 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv,     │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)             │

│ 00:00:34 #244 [Verbose] >    at                                              │

│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr,     │

│ Void (IntPtr, Byte ByRef,                                                    │

│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)         │

│ 00:00:34 #245 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv,     │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)             │

│ 00:00:34 #246 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv,     │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)             │

│ 00:00:34 #247 [Verbose] >    at                                              │

│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr,     │

│ Void (IntPtr, Byte ByRef,                                                    │

│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)         │

│ 00:00:34 #248 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv,     │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)             │

│ 00:00:34 #249 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv,     │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)             │

│ 00:00:34 #250 [Verbose] >    at                                              │

│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr,     │

│ Void (IntPtr, Byte ByRef,                                                    │

│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)         │

│ 00:00:34 #251 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv,     │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)             │

│ 00:00:35 #252 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv,     │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)             │

│ 00:00:35 #253 [Verbose] >    at                                              │

│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr,     │

│ Void (IntPtr, Byte ByRef,                                                    │

│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)         │

│ 00:00:35 #254 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv,     │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)             │

│ 00:00:35 #255 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv,     │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)             │

│ 00:00:35 #256 [Verbose] >    at                                              │

│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr,     │

│ Void (IntPtr, Byte ByRef,                                                    │

│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)         │

│ 00:00:35 #257 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv,     │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)             │

│ 00:00:35 #258 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv,     │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)             │

│ 00:00:35 #259 [Verbose] >    at                                              │

│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr,     │

│ Void (IntPtr, Byte ByRef,                                                    │

│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)         │

│ 00:00:35 #260 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv,     │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)             │

│ 00:00:35 #261 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv,     │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)             │

│ 00:00:35 #262 [Verbose] >    at                                              │

│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr,     │

│ Void (IntPtr, Byte ByRef,                                                    │

│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)         │

│ 00:00:35 #263 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv,     │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)             │

│ 00:00:35 #264 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv,     │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)             │

│ 00:00:35 #265 [Verbose] >    at                                              │

│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr,     │

│ Void (IntPtr, Byte ByRef,                                                    │

│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)         │

│ 00:00:35 #266 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv,     │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)             │

│ 00:00:35 #267 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv,     │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)             │

│ 00:00:35 #268 [Verbose] >    at                                              │

│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr,     │

│ Void (IntPtr, Byte ByRef,                                                    │

│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)         │

│ 00:00:35 #269 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv,     │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)             │

│ 00:00:35 #270 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv,     │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)             │

│ 00:00:35 #271 [Verbose] >    at                                              │

│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr,     │

│ Void (IntPtr, Byte ByRef,                                                    │

│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)         │

│ 00:00:35 #272 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv,     │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)             │

│ 00:00:35 #273 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv,     │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)             │

│ 00:00:35 #274 [Verbose] >    at                                              │

│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr,     │

│ Void (IntPtr, Byte ByRef,                                                    │

│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)         │

│ 00:00:35 #275 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv,     │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)             │

│ 00:00:35 #276 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv,     │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)             │

│ 00:00:35 #277 [Verbose] >    at                                              │

│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr,     │

│ Void (IntPtr, Byte ByRef,                                                    │

│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)         │

│ 00:00:35 #278 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv,     │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)             │

│ 00:00:35 #279 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv,     │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)             │

│ 00:00:35 #280 [Verbose] >    at                                              │

│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr,     │

│ Void (IntPtr, Byte ByRef,                                                    │

│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)         │

│ 00:00:35 #281 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv,     │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)             │

│ 00:00:35 #282 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv,     │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)             │

│ 00:00:35 #283 [Verbose] >    at                                              │

│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr,     │

│ Void (IntPtr, Byte ByRef,                                                    │

│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)         │

│ 00:00:35 #284 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv,     │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)             │

│ 00:00:35 #285 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv,     │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)             │

│ 00:00:35 #286 [Verbose] >    at                                              │

│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr,     │

│ Void (IntPtr, Byte ByRef,                                                    │

│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)         │

│ 00:00:35 #287 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv,     │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)             │

│ 00:00:35 #288 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv,     │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)             │

│ 00:00:35 #289 [Verbose] >    at                                              │

│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr,     │

│ Void (IntPtr, Byte ByRef,                                                    │

│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)         │

│ 00:00:35 #290 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv,     │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)             │

│ 00:00:35 #291 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv,     │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)             │

│ 00:00:35 #292 [Verbose] >    at                                              │

│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr,     │

│ Void (IntPtr, Byte ByRef,                                                    │

│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)         │

│ 00:00:35 #293 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv,     │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)             │

│ 00:00:35 #294 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv,     │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)             │

│ 00:00:35 #295 [Verbose] >    at                                              │

│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr,     │

│ Void (IntPtr, Byte ByRef,                                                    │

│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)         │

│ 00:00:35 #296 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv,     │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)             │

│ 00:00:35 #297 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv,     │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)             │

│ 00:00:35 #298 [Verbose] >    at                                              │

│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr,     │

│ Void (IntPtr, Byte ByRef,                                                    │

│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)         │

│ 00:00:35 #299 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv,     │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)             │

│ 00:00:35 #300 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv,     │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)             │

│ 00:00:35 #301 [Verbose] >    at                                              │

│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr,     │

│ Void (IntPtr, Byte ByRef,                                                    │

│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)         │

│ 00:00:35 #302 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv,     │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)             │

│ 00:00:35 #303 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv,     │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)             │

│ 00:00:35 #304 [Verbose] >    at                                              │

│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr,     │

│ Void (IntPtr, Byte ByRef,                                                    │

│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)         │

│ 00:00:35 #305 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv,     │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)             │

│ 00:00:35 #306 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv,     │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)             │

│ 00:00:35 #307 [Verbose] >    at                                              │

│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr,     │

│ Void (IntPtr, Byte ByRef,                                                    │

│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)         │

│ 00:00:35 #308 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv,     │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)             │

│ 00:00:35 #309 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv,     │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)             │

│ 00:00:35 #310 [Verbose] >    at                                              │

│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr,     │

│ Void (IntPtr, Byte ByRef,                                                    │

│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)         │

│ 00:00:35 #311 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv,     │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)             │

│ 00:00:35 #312 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv,     │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)             │

│ 00:00:35 #313 [Verbose] >    at                                              │

│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr,     │

│ Void (IntPtr, Byte ByRef,                                                    │

│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)         │

│ 00:00:35 #314 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv,     │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)             │

│ 00:00:35 #315 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv,     │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)             │

│ 00:00:35 #316 [Verbose] >    at                                              │

│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr,     │

│ Void (IntPtr, Byte ByRef,                                                    │

│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)         │

│ 00:00:35 #317 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv,     │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)             │

│ 00:00:35 #318 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv,     │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)             │

│ 00:00:35 #319 [Verbose] >    at                                              │

│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr,     │

│ Void (IntPtr, Byte ByRef,                                                    │

│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)         │

│ 00:00:35 #320 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv,     │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)             │

│ 00:00:35 #321 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv,     │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)             │

│ 00:00:35 #322 [Verbose] >    at                                              │

│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr,     │

│ Void (IntPtr, Byte ByRef,                                                    │

│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)         │

│ 00:00:35 #323 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv,     │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)             │

│ 00:00:35 #324 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv,     │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)             │

│ 00:00:35 #325 [Verbose] >    at                                              │

│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr,     │

│ Void (IntPtr, Byte ByRef,                                                    │

│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)         │

│ 00:00:35 #326 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv,     │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)             │

│ 00:00:35 #327 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv,     │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)             │

│ 00:00:35 #328 [Verbose] >    at                                              │

│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr,     │

│ Void (IntPtr, Byte ByRef,                                                    │

│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)         │

│ 00:00:35 #329 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv,     │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)             │

│ 00:00:35 #330 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv,     │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)             │

│ 00:00:35 #331 [Verbose] >    at                                              │

│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr,     │

│ Void (IntPtr, Byte ByRef,                                                    │

│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)         │

│ 00:00:35 #332 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv,     │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)             │

│ 00:00:35 #333 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv,     │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)             │

│ 00:00:35 #334 [Verbose] >    at                                              │

│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr,     │

│ Void (IntPtr, Byte ByRef,                                                    │

│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)         │

│ 00:00:35 #335 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv,     │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)             │

│ 00:00:35 #336 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv,     │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)             │

│ 00:00:35 #337 [Verbose] >    at                                              │

│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr,     │

│ Void (IntPtr, Byte ByRef,                                                    │

│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)         │

│ 00:00:35 #338 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv,     │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)             │

│ 00:00:35 #339 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv,     │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)             │

│ 00:00:35 #340 [Verbose] >    at                                              │

│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr,     │

│ Void (IntPtr, Byte ByRef,                                                    │

│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)         │

│ 00:00:35 #341 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv,     │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)             │

│ 00:00:35 #342 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv,     │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)             │

│ 00:00:35 #343 [Verbose] >    at                                              │

│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr,     │

│ Void (IntPtr, Byte ByRef,                                                    │

│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)         │

│ 00:00:35 #344 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv,     │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)             │

│ 00:00:35 #345 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv,     │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)             │

│ 00:00:35 #346 [Verbose] >    at                                              │

│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr,     │

│ Void (IntPtr, Byte ByRef,                                                    │

│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)         │

│ 00:00:35 #347 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv,     │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)             │

│ 00:00:35 #348 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv,     │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)             │

│ 00:00:35 #349 [Verbose] >    at                                              │

│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr,     │

│ Void (IntPtr, Byte ByRef,                                                    │

│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)         │

│ 00:00:35 #350 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv,     │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)             │

│ 00:00:35 #351 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv,     │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)             │

│ 00:00:35 #352 [Verbose] >    at                                              │

│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr,     │

│ Void (IntPtr, Byte ByRef,                                                    │

│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)         │

│ 00:00:35 #353 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv,     │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)             │

│ 00:00:35 #354 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv,     │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)             │

│ 00:00:35 #355 [Verbose] >    at                                              │

│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr,     │

│ Void (IntPtr, Byte ByRef,                                                    │

│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)         │

│ 00:00:35 #356 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv,     │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)             │

│ 00:00:35 #357 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv,     │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)             │

│ 00:00:35 #358 [Verbose] >    at                                              │

│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr,     │

│ Void (IntPtr, Byte ByRef,                                                    │

│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)         │

│ 00:00:35 #359 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv,     │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)             │

│ 00:00:35 #360 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv,     │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)             │

│ 00:00:35 #361 [Verbose] >    at                                              │

│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr,     │

│ Void (IntPtr, Byte ByRef,                                                    │

│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)         │

│ 00:00:35 #362 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv,     │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)             │

│ 00:00:35 #363 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv,     │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)             │

│ 00:00:35 #364 [Verbose] >    at                                              │

│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr,     │

│ Void (IntPtr, Byte ByRef,                                                    │

│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)         │

│ 00:00:35 #365 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv,     │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)             │

│ 00:00:35 #366 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv,     │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)             │

│ 00:00:35 #367 [Verbose] >    at                                              │

│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr,     │

│ Void (IntPtr, Byte ByRef,                                                    │

│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)         │

│ 00:00:35 #368 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv,     │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)             │

│ 00:00:35 #369 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv,     │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)             │

│ 00:00:35 #370 [Verbose] >    at                                              │

│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr,     │

│ Void (IntPtr, Byte ByRef,                                                    │

│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)         │

│ 00:00:35 #371 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv,     │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)             │

│ 00:00:35 #372 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv,     │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)             │

│ 00:00:35 #373 [Verbose] >    at                                              │

│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr,     │

│ Void (IntPtr, Byte ByRef,                                                    │

│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)         │

│ 00:00:35 #374 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv,     │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)             │

│ 00:00:35 #375 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv,     │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)             │

│ 00:00:35 #376 [Verbose] >    at                                              │

│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr,     │

│ Void (IntPtr, Byte ByRef,                                                    │

│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)         │

│ 00:00:35 #377 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv,     │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)             │

│ 00:00:35 #378 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv,     │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)             │

│ 00:00:35 #379 [Verbose] >    at                                              │

│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr,     │

│ Void (IntPtr, Byte ByRef,                                                    │

│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)         │

│ 00:00:35 #380 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv,     │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)             │

│ 00:00:35 #381 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv,     │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)             │

│ 00:00:35 #382 [Verbose] >    at                                              │

│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr,     │

│ Void (IntPtr, Byte ByRef,                                                    │

│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)         │

│ 00:00:35 #383 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv,     │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)             │

│ 00:00:35 #384 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv,     │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)             │

│ 00:00:35 #385 [Verbose] >    at                                              │

│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr,     │

│ Void (IntPtr, Byte ByRef,                                                    │

│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)         │

│ 00:00:35 #386 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv,     │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)             │

│ 00:00:35 #387 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv,     │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)             │

│ 00:00:35 #388 [Verbose] >    at                                              │

│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr,     │

│ Void (IntPtr, Byte ByRef,                                                    │

│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)         │

│ 00:00:35 #389 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv,     │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)             │

│ 00:00:35 #390 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv,     │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)             │

│ 00:00:35 #391 [Verbose] >    at                                              │

│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr,     │

│ Void (IntPtr, Byte ByRef,                                                    │

│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)         │

│ 00:00:35 #392 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv,     │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)             │

│ 00:00:35 #393 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv,     │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)             │

│ 00:00:35 #394 [Verbose] >    at                                              │

│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr,     │

│ Void (IntPtr, Byte ByRef,                                                    │

│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)         │

│ 00:00:35 #395 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv,     │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)             │

│ 00:00:35 #396 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv,     │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)             │

│ 00:00:35 #397 [Verbose] >    at                                              │

│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr,     │

│ Void (IntPtr, Byte ByRef,                                                    │

│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)         │

│ 00:00:35 #398 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv,     │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)             │

│ 00:00:35 #399 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv,     │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)             │

│ 00:00:35 #400 [Verbose] >    at                                              │

│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr,     │

│ Void (IntPtr, Byte ByRef,                                                    │

│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)         │

│ 00:00:35 #401 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv,     │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)             │

│ 00:00:35 #402 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv,     │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)             │

│ 00:00:35 #403 [Verbose] >    at                                              │

│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr,     │

│ Void (IntPtr, Byte ByRef,                                                    │

│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)         │

│ 00:00:35 #404 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv,     │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)             │

│ 00:00:35 #405 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv,     │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)             │

│ 00:00:35 #406 [Verbose] >    at                                              │

│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr,     │

│ Void (IntPtr, Byte ByRef,                                                    │

│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)         │

│ 00:00:35 #407 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv,     │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)             │

│ 00:00:35 #408 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv,     │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)             │

│ 00:00:35 #409 [Verbose] >    at                                              │

│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr,     │

│ Void (IntPtr, Byte ByRef,                                                    │

│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)         │

│ 00:00:35 #410 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv,     │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)             │

│ 00:00:35 #411 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv,     │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)             │

│ 00:00:35 #412 [Verbose] >    at                                              │

│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr,     │

│ Void (IntPtr, Byte ByRef,                                                    │

│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)         │

│ 00:00:35 #413 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv,     │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)             │

│ 00:00:35 #414 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv,     │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)             │

│ 00:00:35 #415 [Verbose] >    at                                              │

│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr,     │

│ Void (IntPtr, Byte ByRef,                                                    │

│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)         │

│ 00:00:35 #416 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv,     │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)             │

│ 00:00:35 #417 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv,     │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)             │

│ 00:00:35 #418 [Verbose] >    at                                              │

│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr,     │

│ Void (IntPtr, Byte ByRef,                                                    │

│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)         │

│ 00:00:35 #419 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv,     │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)             │

│ 00:00:35 #420 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv,     │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)             │

│ 00:00:35 #421 [Verbose] >    at                                              │

│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr,     │

│ Void (IntPtr, Byte ByRef,                                                    │

│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)         │

│ 00:00:35 #422 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv,     │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)             │

│ 00:00:35 #423 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv,     │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)             │

│ 00:00:35 #424 [Verbose] >    at                                              │

│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr,     │

│ Void (IntPtr, Byte ByRef,                                                    │

│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)         │

│ 00:00:35 #425 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv,     │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)             │

│ 00:00:35 #426 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv,     │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)             │

│ 00:00:35 #427 [Verbose] >    at                                              │

│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr,     │

│ Void (IntPtr, Byte ByRef,                                                    │

│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)         │

│ 00:00:35 #428 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv,     │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)             │

│ 00:00:35 #429 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv,     │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)             │

│ 00:00:35 #430 [Verbose] >    at                                              │

│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr,     │

│ Void (IntPtr, Byte ByRef,                                                    │

│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)         │

│ 00:00:35 #431 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv,     │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)             │

│ 00:00:35 #432 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv,     │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)             │

│ 00:00:35 #433 [Verbose] >    at                                              │

│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr,     │

│ Void (IntPtr, Byte ByRef,                                                    │

│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)         │

│ 00:00:35 #434 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv,     │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)             │

│ 00:00:35 #435 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv,     │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)             │

│ 00:00:35 #436 [Verbose] >    at                                              │

│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr,     │

│ Void (IntPtr, Byte ByRef,                                                    │

│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)         │

│ 00:00:35 #437 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv,     │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)             │

│ 00:00:35 #438 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv,     │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)             │

│ 00:00:35 #439 [Verbose] >    at                                              │

│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr,     │

│ Void (IntPtr, Byte ByRef,                                                    │

│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)         │

│ 00:00:35 #440 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv,     │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)             │

│ 00:00:35 #441 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv,     │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)             │

│ 00:00:35 #442 [Verbose] >    at                                              │

│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr,     │

│ Void (IntPtr, Byte ByRef,                                                    │

│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)         │

│ 00:00:35 #443 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv,     │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)             │

│ 00:00:35 #444 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv,     │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)             │

│ 00:00:35 #445 [Verbose] >    at                                              │

│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr,     │

│ Void (IntPtr, Byte ByRef,                                                    │

│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)         │

│ 00:00:35 #446 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv,     │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)             │

│ 00:00:35 #447 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv,     │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)             │

│ 00:00:35 #448 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv,     │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)             │

│ 00:00:35 #449 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv,     │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)             │

│ 00:00:35 #450 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv,     │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)             │

│ 00:00:35 #451 [Verbose] >    at                                              │

│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr,     │

│ Void (IntPtr, Byte ByRef,                                                    │

│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)         │

│ 00:00:35 #452 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv,     │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)             │

│ 00:00:35 #453 [Verbose] >    at                                              │

│ Spiral.PartEval.Main.term_scope''@574(TopEnv,                                │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)             │

│ 00:00:35 #454 [Verbose] >    at Spiral.PartEval.Main.term_scope'@578(TopEnv, │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv,                │

│ System.Collections.Generic.Dictionary`2<TypedOp,Data>, E)                    │

│ 00:00:35 #455 [Verbose] >    at Spiral.PartEval.Main.term_scope@579(TopEnv,  │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)             │

│ 00:00:35 #456 [Verbose] >    at Spiral.PartEval.Main.peval(TopEnv, E)        │

│ 00:00:35 #457 [Verbose] >    at                                              │

│ Spiral.Supervisor.file_build$cont@383(System.String, SupervisorState,        │

│ PrepassTopEnv, Microsoft.FSharp.Core.FSharpOption`1<E>,                      │

│ Microsoft.FSharp.Core.Unit)                                                  │

│ 00:00:35 #458 [Verbose] >    at                                              │

│ Spiral.Supervisor.x2yJ@1-28(SupervisorErrorSources, System.String,           │

│ System.String, SupervisorState, PrepassTopEnv)                               │

│ 00:00:35 #459 [Verbose] >    at                                              │

│ Spiral.Supervisor+x2yJ@380-41.Do(PrepassTopEnv)                              │

│ 00:00:35 #460 [Verbose] >    at Hopac.Core.ContBind`2[[System.__Canon,       │

│ System.Private.CoreLib, Version=8.0.0.0, Culture=neutral,                    │

│ PublicKeyToken=7cec85d7bea7798e],[System.__Canon, System.Private.CoreLib,    │

│ Version=8.0.0.0, Culture=neutral,                                            │

│ PublicKeyToken=7cec85d7bea7798e]].DoCont(Hopac.Core.Worker ByRef,            │

│ System.__Canon)                                                              │

│ 00:00:35 #461 [Verbose] >    at Hopac.Job+result@1000-1[[System.__Canon,     │

│ System.Private.CoreLib, Version=8.0.0.0, Culture=neutral,                    │

│ PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef,             │

│ Hopac.Core.Cont`1<System.__Canon>)                                           │

│ 00:00:35 #462 [Verbose] >    at Hopac.Core.ContBind`2[[System.__Canon,       │

│ System.Private.CoreLib, Version=8.0.0.0, Culture=neutral,                    │

│ PublicKeyToken=7cec85d7bea7798e],[System.__Canon, System.Private.CoreLib,    │

│ Version=8.0.0.0, Culture=neutral,                                            │

│ PublicKeyToken=7cec85d7bea7798e]].DoCont(Hopac.Core.Worker ByRef,            │

│ System.__Canon)                                                              │

│ 00:00:35 #463 [Verbose] >    at Hopac.Promise`1+Fulfill[[System.__Canon,     │

│ System.Private.CoreLib, Version=8.0.0.0, Culture=neutral,                    │

│ PublicKeyToken=7cec85d7bea7798e]].Do(Hopac.Core.Worker ByRef,                │

│ System.__Canon)                                                              │

│ 00:00:35 #464 [Verbose] >    at Hopac.Promise`1+Fulfill[[System.__Canon,     │

│ System.Private.CoreLib, Version=8.0.0.0, Culture=neutral,                    │

│ PublicKeyToken=7cec85d7bea7798e]].DoCont(Hopac.Core.Worker ByRef,            │

│ System.__Canon)                                                              │

│ 00:00:35 #465 [Verbose] >    at Hopac.Job+result@1000-1[[System.__Canon,     │

│ System.Private.CoreLib, Version=8.0.0.0, Culture=neutral,                    │

│ PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef,             │

│ Hopac.Core.Cont`1<System.__Canon>)                                           │

│ 00:00:35 #466 [Verbose] >    at Hopac.Core.ContBind`2[[System.__Canon,       │

│ System.Private.CoreLib, Version=8.0.0.0, Culture=neutral,                    │

│ PublicKeyToken=7cec85d7bea7798e],[System.__Canon, System.Private.CoreLib,    │

│ Version=8.0.0.0, Culture=neutral,                                            │

│ PublicKeyToken=7cec85d7bea7798e]].DoCont(Hopac.Core.Worker ByRef,            │

│ System.__Canon)                                                              │

│ 00:00:35 #467 [Verbose] >    at Hopac.Core.Cont.Do[[System.__Canon,          │

│ System.Private.CoreLib, Version=8.0.0.0, Culture=neutral,                    │

│ PublicKeyToken=7cec85d7bea7798e]](Hopac.Core.Cont`1<System.__Canon>,         │

│ Hopac.Core.Worker ByRef, System.__Canon)                                     │

│ 00:00:35 #468 [Verbose] >    at Hopac.Promise`1[[System.__Canon,             │

│ System.Private.CoreLib, Version=8.0.0.0, Culture=neutral,                    │

│ PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef,             │

│ Hopac.Core.Cont`1<System.__Canon>)                                           │

│ 00:00:35 #469 [Verbose] >    at Hopac.Core.JobCont`2[[System.__Canon,        │

│ System.Private.CoreLib, Version=8.0.0.0, Culture=neutral,                    │

│ PublicKeyToken=7cec85d7bea7798e],[System.__Canon, System.Private.CoreLib,    │

│ Version=8.0.0.0, Culture=neutral,                                            │

│ PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef,             │

│ Hopac.Core.Cont`1<System.__Canon>)                                           │

│ 00:00:35 #470 [Verbose] >    at Hopac.Core.Job.Do[[System.__Canon,           │

│ System.Private.CoreLib, Version=8.0.0.0, Culture=neutral,                    │

│ PublicKeyToken=7cec85d7bea7798e]](Hopac.Job`1<System.__Canon>,               │

│ Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)                  │

│ 00:00:35 #471 [Verbose] >    at Hopac.Promise`1[[System.__Canon,             │

│ System.Private.CoreLib, Version=8.0.0.0, Culture=neutral,                    │

│ PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef,             │

│ Hopac.Core.Cont`1<System.__Canon>)                                           │

│ 00:00:35 #472 [Verbose] >    at Hopac.Core.JobCont`2[[System.__Canon,        │

│ System.Private.CoreLib, Version=8.0.0.0, Culture=neutral,                    │

│ PublicKeyToken=7cec85d7bea7798e],[System.__Canon, System.Private.CoreLib,    │

│ Version=8.0.0.0, Culture=neutral,                                            │

│ PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef,             │

│ Hopac.Core.Cont`1<System.__Canon>)                                           │

│ 00:00:35 #473 [Verbose] >    at Hopac.Core.ContBind`2[[System.__Canon,       │

│ System.Private.CoreLib, Version=8.0.0.0, Culture=neutral,                    │

│ PublicKeyToken=7cec85d7bea7798e],[System.__Canon, System.Private.CoreLib,    │

│ Version=8.0.0.0, Culture=neutral,                                            │

│ PublicKeyToken=7cec85d7bea7798e]].DoCont(Hopac.Core.Worker ByRef,            │

│ System.__Canon)                                                              │

│ 00:00:35 #474 [Verbose] >    at Hopac.Promise`1+Fulfill[[System.__Canon,     │

│ System.Private.CoreLib, Version=8.0.0.0, Culture=neutral,                    │

│ PublicKeyToken=7cec85d7bea7798e]].Do(Hopac.Core.Worker ByRef,                │

│ System.__Canon)                                                              │

│ 00:00:35 #475 [Verbose] >    at Hopac.Promise`1+Fulfill[[System.__Canon,     │

│ System.Private.CoreLib, Version=8.0.0.0, Culture=neutral,                    │

│ PublicKeyToken=7cec85d7bea7798e]].DoCont(Hopac.Core.Worker ByRef,            │

│ System.__Canon)                                                              │

│ 00:00:35 #476 [Verbose] >    at Hopac.Core.ContMap`2[[System.__Canon,        │

│ System.Private.CoreLib, Version=8.0.0.0, Culture=neutral,                    │

│ PublicKeyToken=7cec85d7bea7798e],[System.__Canon, System.Private.CoreLib,    │

│ Version=8.0.0.0, Culture=neutral,                                            │

│ PublicKeyToken=7cec85d7bea7798e]].DoCont(Hopac.Core.Worker ByRef,            │

│ System.__Canon)                                                              │

│ 00:00:35 #477 [Verbose] >    at Hopac.Promise`1+Fulfill[[System.__Canon,     │

│ System.Private.CoreLib, Version=8.0.0.0, Culture=neutral,                    │

│ PublicKeyToken=7cec85d7bea7798e]].Do(Hopac.Core.Worker ByRef,                │

│ System.__Canon)                                                              │

│ 00:00:35 #478 [Verbose] >    at Hopac.Promise`1+Fulfill[[System.__Canon,     │

│ System.Private.CoreLib, Version=8.0.0.0, Culture=neutral,                    │

│ PublicKeyToken=7cec85d7bea7798e]].DoCont(Hopac.Core.Worker ByRef,            │

│ System.__Canon)                                                              │

│ 00:00:35 #479 [Verbose] >    at Hopac.Core.Cont.Do[[System.__Canon,          │

│ System.Private.CoreLib, Version=8.0.0.0, Culture=neutral,                    │

│ PublicKeyToken=7cec85d7bea7798e]](Hopac.Core.Cont`1<System.__Canon>,         │

│ Hopac.Core.Worker ByRef, System.__Canon)                                     │

│ 00:00:35 #480 [Verbose] >    at Hopac.Core.JobThunk`1[[System.__Canon,       │

│ System.Private.CoreLib, Version=8.0.0.0, Culture=neutral,                    │

│ PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef,             │

│ Hopac.Core.Cont`1<System.__Canon>)                                           │

│ 00:00:35 #481 [Verbose] >    at Hopac.Core.Job.Do[[System.__Canon,           │

│ System.Private.CoreLib, Version=8.0.0.0, Culture=neutral,                    │

│ PublicKeyToken=7cec85d7bea7798e]](Hopac.Job`1<System.__Canon>,               │

│ Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)                  │

│ 00:00:35 #482 [Verbose] >    at Hopac.Promise`1[[System.__Canon,             │

│ System.Private.CoreLib, Version=8.0.0.0, Culture=neutral,                    │

│ PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef,             │

│ Hopac.Core.Cont`1<System.__Canon>)                                           │

│ 00:00:35 #483 [Verbose] >    at Hopac.Core.JobCont`2[[System.__Canon,        │

│ System.Private.CoreLib, Version=8.0.0.0, Culture=neutral,                    │

│ PublicKeyToken=7cec85d7bea7798e],[System.__Canon, System.Private.CoreLib,    │

│ Version=8.0.0.0, Culture=neutral,                                            │

│ PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef,             │

│ Hopac.Core.Cont`1<System.__Canon>)                                           │

│ 00:00:35 #484 [Verbose] >    at Hopac.Core.ContBind`2[[System.__Canon,       │

│ System.Private.CoreLib, Version=8.0.0.0, Culture=neutral,                    │

│ PublicKeyToken=7cec85d7bea7798e],[System.__Canon, System.Private.CoreLib,    │

│ Version=8.0.0.0, Culture=neutral,                                            │

│ PublicKeyToken=7cec85d7bea7798e]].DoCont(Hopac.Core.Worker ByRef,            │

│ System.__Canon)                                                              │

│ 00:00:35 #485 [Verbose] >    at Hopac.Core.Cont.Do[[System.__Canon,          │

│ System.Private.CoreLib, Version=8.0.0.0, Culture=neutral,                    │

│ PublicKeyToken=7cec85d7bea7798e]](Hopac.Core.Cont`1<System.__Canon>,         │

│ Hopac.Core.Worker ByRef, System.__Canon)                                     │

│ 00:00:35 #486 [Verbose] >    at Hopac.Promise`1[[System.__Canon,             │

│ System.Private.CoreLib, Version=8.0.0.0, Culture=neutral,                    │

│ PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef,             │

│ Hopac.Core.Cont`1<System.__Canon>)                                           │

│ 00:00:35 #487 [Verbose] >    at Hopac.Core.JobCont`2[[System.__Canon,        │

│ System.Private.CoreLib, Version=8.0.0.0, Culture=neutral,                    │

│ PublicKeyToken=7cec85d7bea7798e],[System.__Canon, System.Private.CoreLib,    │

│ Version=8.0.0.0, Culture=neutral,                                            │

│ PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef,             │

│ Hopac.Core.Cont`1<System.__Canon>)                                           │

│ 00:00:35 #488 [Verbose] >    at Hopac.Core.Job.Do[[System.__Canon,           │

│ System.Private.CoreLib, Version=8.0.0.0, Culture=neutral,                    │

│ PublicKeyToken=7cec85d7bea7798e]](Hopac.Job`1<System.__Canon>,               │

│ Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)                  │

│ 00:00:35 #489 [Verbose] >    at Hopac.Promise`1[[System.__Canon,             │

│ System.Private.CoreLib, Version=8.0.0.0, Culture=neutral,                    │

│ PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef,             │

│ Hopac.Core.Cont`1<System.__Canon>)                                           │

│ 00:00:35 #490 [Verbose] >    at Hopac.Core.JobCont`2[[System.__Canon,        │

│ System.Private.CoreLib, Version=8.0.0.0, Culture=neutral,                    │

│ PublicKeyToken=7cec85d7bea7798e],[System.__Canon, System.Private.CoreLib,    │

│ Version=8.0.0.0, Culture=neutral,                                            │

│ PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef,             │

│ Hopac.Core.Cont`1<System.__Canon>)                                           │

│ 00:00:35 #491 [Verbose] >    at Hopac.Core.ContBind`2[[System.__Canon,       │

│ System.Private.CoreLib, Version=8.0.0.0, Culture=neutral,                    │

│ PublicKeyToken=7cec85d7bea7798e],[System.__Canon, System.Private.CoreLib,    │

│ Version=8.0.0.0, Culture=neutral,                                            │

│ PublicKeyToken=7cec85d7bea7798e]].DoCont(Hopac.Core.Worker ByRef,            │

│ System.__Canon)                                                              │

│ 00:00:35 #492 [Verbose] >    at Hopac.Promise`1+Fulfill[[System.__Canon,     │

│ System.Private.CoreLib, Version=8.0.0.0, Culture=neutral,                    │

│ PublicKeyToken=7cec85d7bea7798e]].Do(Hopac.Core.Worker ByRef,                │

│ System.__Canon)                                                              │

│ 00:00:35 #493 [Verbose] >    at Hopac.Promise`1+Fulfill[[System.__Canon,     │

│ System.Private.CoreLib, Version=8.0.0.0, Culture=neutral,                    │

│ PublicKeyToken=7cec85d7bea7798e]].DoCont(Hopac.Core.Worker ByRef,            │

│ System.__Canon)                                                              │

│ 00:00:35 #494 [Verbose] >    at Hopac.Core.ContMap`2[[System.__Canon,        │

│ System.Private.CoreLib, Version=8.0.0.0, Culture=neutral,                    │

│ PublicKeyToken=7cec85d7bea7798e],[System.__Canon, System.Private.CoreLib,    │

│ Version=8.0.0.0, Culture=neutral,                                            │

│ PublicKeyToken=7cec85d7bea7798e]].DoCont(Hopac.Core.Worker ByRef,            │

│ System.__Canon)                                                              │

│ 00:00:35 #495 [Verbose] >    at Hopac.Promise`1+Fulfill[[System.__Canon,     │

│ System.Private.CoreLib, Version=8.0.0.0, Culture=neutral,                    │

│ PublicKeyToken=7cec85d7bea7798e]].Do(Hopac.Core.Worker ByRef,                │

│ System.__Canon)                                                              │

│ 00:00:35 #496 [Verbose] >    at Hopac.Promise`1+Fulfill[[System.__Canon,     │

│ System.Private.CoreLib, Version=8.0.0.0, Culture=neutral,                    │

│ PublicKeyToken=7cec85d7bea7798e]].DoCont(Hopac.Core.Worker ByRef,            │

│ System.__Canon)                                                              │

│ 00:00:35 #497 [Verbose] >    at Hopac.Core.Cont.Do[[System.__Canon,          │

│ System.Private.CoreLib, Version=8.0.0.0, Culture=neutral,                    │

│ PublicKeyToken=7cec85d7bea7798e]](Hopac.Core.Cont`1<System.__Canon>,         │

│ Hopac.Core.Worker ByRef, System.__Canon)                                     │

│ 00:00:35 #498 [Verbose] >    at Hopac.Core.JobThunk`1[[System.__Canon,       │

│ System.Private.CoreLib, Version=8.0.0.0, Culture=neutral,                    │

│ PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef,             │

│ Hopac.Core.Cont`1<System.__Canon>)                                           │

│ 00:00:35 #499 [Verbose] >    at Hopac.Core.Job.Do[[System.__Canon,           │

│ System.Private.CoreLib, Version=8.0.0.0, Culture=neutral,                    │

│ PublicKeyToken=7cec85d7bea7798e]](Hopac.Job`1<System.__Canon>,               │

│ Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)                  │

│ 00:00:35 #500 [Verbose] >    at Hopac.Promise`1[[System.__Canon,             │

│ System.Private.CoreLib, Version=8.0.0.0, Culture=neutral,                    │

│ PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef,             │

│ Hopac.Core.Cont`1<System.__Canon>)                                           │

│ 00:00:35 #501 [Verbose] >    at Hopac.Core.JobCont`2[[System.__Canon,        │

│ System.Private.CoreLib, Version=8.0.0.0, Culture=neutral,                    │

│ PublicKeyToken=7cec85d7bea7798e],[System.__Canon, System.Private.CoreLib,    │

│ Version=8.0.0.0, Culture=neutral,                                            │

│ PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef,             │

│ Hopac.Core.Cont`1<System.__Canon>)                                           │

│ 00:00:35 #502 [Verbose] >    at Hopac.Core.ContBind`2[[System.__Canon,       │

│ System.Private.CoreLib, Version=8.0.0.0, Culture=neutral,                    │

│ PublicKeyToken=7cec85d7bea7798e],[System.__Canon, System.Private.CoreLib,    │

│ Version=8.0.0.0, Culture=neutral,                                            │

│ PublicKeyToken=7cec85d7bea7798e]].DoCont(Hopac.Core.Worker ByRef,            │

│ System.__Canon)                                                              │

│ 00:00:35 #503 [Verbose] >    at Hopac.Core.Cont.Do[[System.__Canon,          │

│ System.Private.CoreLib, Version=8.0.0.0, Culture=neutral,                    │

│ PublicKeyToken=7cec85d7bea7798e]](Hopac.Core.Cont`1<System.__Canon>,         │

│ Hopac.Core.Worker ByRef, System.__Canon)                                     │

│ 00:00:35 #504 [Verbose] >    at Hopac.Promise`1[[System.__Canon,             │

│ System.Private.CoreLib, Version=8.0.0.0, Culture=neutral,                    │

│ PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef,             │

│ Hopac.Core.Cont`1<System.__Canon>)                                           │

│ 00:00:35 #505 [Verbose] >    at Hopac.Core.JobCont`2[[System.__Canon,        │

│ System.Private.CoreLib, Version=8.0.0.0, Culture=neutral,                    │

│ PublicKeyToken=7cec85d7bea7798e],[System.__Canon, System.Private.CoreLib,    │

│ Version=8.0.0.0, Culture=neutral,                                            │

│ PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef,             │

│ Hopac.Core.Cont`1<System.__Canon>)                                           │

│ 00:00:35 #506 [Verbose] >    at Hopac.Core.Job.Do[[System.__Canon,           │

│ System.Private.CoreLib, Version=8.0.0.0, Culture=neutral,                    │

│ PublicKeyToken=7cec85d7bea7798e]](Hopac.Job`1<System.__Canon>,               │

│ Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)                  │

│ 00:00:35 #507 [Verbose] >    at Hopac.Promise`1[[System.__Canon,             │

│ System.Private.CoreLib, Version=8.0.0.0, Culture=neutral,                    │

│ PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef,             │

│ Hopac.Core.Cont`1<System.__Canon>)                                           │

│ 00:00:35 #508 [Verbose] >    at Hopac.Core.JobCont`2[[System.__Canon,        │

│ System.Private.CoreLib, Version=8.0.0.0, Culture=neutral,                    │

│ PublicKeyToken=7cec85d7bea7798e],[System.__Canon, System.Private.CoreLib,    │

│ Version=8.0.0.0, Culture=neutral,                                            │

│ PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef,             │

│ Hopac.Core.Cont`1<System.__Canon>)                                           │

│ 00:00:35 #509 [Verbose] >    at Hopac.Core.ContBind`2[[System.__Canon,       │

│ System.Private.CoreLib, Version=8.0.0.0, Culture=neutral,                    │

│ PublicKeyToken=7cec85d7bea7798e],[System.__Canon, System.Private.CoreLib,    │

│ Version=8.0.0.0, Culture=neutral,                                            │

│ PublicKeyToken=7cec85d7bea7798e]].DoCont(Hopac.Core.Worker ByRef,            │

│ System.__Canon)                                                              │

│ 00:00:35 #510 [Verbose] >    at Hopac.Promise`1+Fulfill[[System.__Canon,     │

│ System.Private.CoreLib, Version=8.0.0.0, Culture=neutral,                    │

│ PublicKeyToken=7cec85d7bea7798e]].Do(Hopac.Core.Worker ByRef,                │

│ System.__Canon)                                                              │

│ 00:00:35 #511 [Verbose] >    at Hopac.Promise`1+Fulfill[[System.__Canon,     │

│ System.Private.CoreLib, Version=8.0.0.0, Culture=neutral,                    │

│ PublicKeyToken=7cec85d7bea7798e]].DoCont(Hopac.Core.Worker ByRef,            │

│ System.__Canon)                                                              │

│ 00:00:35 #512 [Verbose] >    at Hopac.Core.ContMap`2[[System.__Canon,        │

│ System.Private.CoreLib, Version=8.0.0.0, Culture=neutral,                    │

│ PublicKeyToken=7cec85d7bea7798e],[System.__Canon, System.Private.CoreLib,    │

│ Version=8.0.0.0, Culture=neutral,                                            │

│ PublicKeyToken=7cec85d7bea7798e]].DoCont(Hopac.Core.Worker ByRef,            │

│ System.__Canon)                                                              │

│ 00:00:35 #513 [Verbose] >    at Hopac.Promise`1+Fulfill[[System.__Canon,     │

│ System.Private.CoreLib, Version=8.0.0.0, Culture=neutral,                    │

│ PublicKeyToken=7cec85d7bea7798e]].Do(Hopac.Core.Worker ByRef,                │

│ System.__Canon)                                                              │

│ 00:00:35 #514 [Verbose] >    at Hopac.Promise`1+Fulfill[[System.__Canon,     │

│ System.Private.CoreLib, Version=8.0.0.0, Culture=neutral,                    │

│ PublicKeyToken=7cec85d7bea7798e]].DoCont(Hopac.Core.Worker ByRef,            │

│ System.__Canon)                                                              │

│ 00:00:35 #515 [Verbose] >    at Hopac.Core.Cont.Do[[System.__Canon,          │

│ System.Private.CoreLib, Version=8.0.0.0, Culture=neutral,                    │

│ PublicKeyToken=7cec85d7bea7798e]](Hopac.Core.Cont`1<System.__Canon>,         │

│ Hopac.Core.Worker ByRef, System.__Canon)                                     │

│ 00:00:35 #516 [Verbose] >    at Hopac.Core.JobThunk`1[[System.__Canon,       │

│ System.Private.CoreLib, Version=8.0.0.0, Culture=neutral,                    │

│ PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef,             │

│ Hopac.Core.Cont`1<System.__Canon>)                                           │

│ 00:00:35 #517 [Verbose] >    at Hopac.Core.Job.Do[[System.__Canon,           │

│ System.Private.CoreLib, Version=8.0.0.0, Culture=neutral,                    │

│ PublicKeyToken=7cec85d7bea7798e]](Hopac.Job`1<System.__Canon>,               │

│ Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)                  │

│ 00:00:35 #518 [Verbose] >    at Hopac.Promise`1[[System.__Canon,             │

│ System.Private.CoreLib, Version=8.0.0.0, Culture=neutral,                    │

│ PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef,             │

│ Hopac.Core.Cont`1<System.__Canon>)                                           │

│ 00:00:35 #519 [Verbose] >    at Hopac.Core.JobCont`2[[System.__Canon,        │

│ System.Private.CoreLib, Version=8.0.0.0, Culture=neutral,                    │

│ PublicKeyToken=7cec85d7bea7798e],[System.__Canon, System.Private.CoreLib,    │

│ Version=8.0.0.0, Culture=neutral,                                            │

│ PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef,             │

│ Hopac.Core.Cont`1<System.__Canon>)                                           │

│ 00:00:35 #520 [Verbose] >    at Hopac.Core.ContBind`2[[System.__Canon,       │

│ System.Private.CoreLib, Version=8.0.0.0, Culture=neutral,                    │

│ PublicKeyToken=7cec85d7bea7798e],[System.__Canon, System.Private.CoreLib,    │

│ Version=8.0.0.0, Culture=neutral,                                            │

│ PublicKeyToken=7cec85d7bea7798e]].DoCont(Hopac.Core.Worker ByRef,            │

│ System.__Canon)                                                              │

│ 00:00:35 #521 [Verbose] >    at Hopac.Core.Cont.Do[[System.__Canon,          │

│ System.Private.CoreLib, Version=8.0.0.0, Culture=neutral,                    │

│ PublicKeyToken=7cec85d7bea7798e]](Hopac.Core.Cont`1<System.__Canon>,         │

│ Hopac.Core.Worker ByRef, System.__Canon)                                     │

│ 00:00:35 #522 [Verbose] >    at Hopac.Promise`1[[System.__Canon,             │

│ System.Private.CoreLib, Version=8.0.0.0, Culture=neutral,                    │

│ PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef,             │

│ Hopac.Core.Cont`1<System.__Canon>)                                           │

│ 00:00:35 #523 [Verbose] >    at Hopac.Core.JobCont`2[[System.__Canon,        │

│ System.Private.CoreLib, Version=8.0.0.0, Culture=neutral,                    │

│ PublicKeyToken=7cec85d7bea7798e],[System.__Canon, System.Private.CoreLib,    │

│ Version=8.0.0.0, Culture=neutral,                                            │

│ PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef,             │

│ Hopac.Core.Cont`1<System.__Canon>)                                           │

│ 00:00:35 #524 [Verbose] >    at Hopac.Core.Job.Do[[System.__Canon,           │

│ System.Private.CoreLib, Version=8.0.0.0, Culture=neutral,                    │

│ PublicKeyToken=7cec85d7bea7798e]](Hopac.Job`1<System.__Canon>,               │

│ Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)                  │

│ 00:00:35 #525 [Verbose] >    at Hopac.Promise`1[[System.__Canon,             │

│ System.Private.CoreLib, Version=8.0.0.0, Culture=neutral,                    │

│ PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef,             │

│ Hopac.Core.Cont`1<System.__Canon>)                                           │

│ 00:00:35 #526 [Verbose] >    at Hopac.Core.JobCont`2[[System.__Canon,        │

│ System.Private.CoreLib, Version=8.0.0.0, Culture=neutral,                    │

│ PublicKeyToken=7cec85d7bea7798e],[System.__Canon, System.Private.CoreLib,    │

│ Version=8.0.0.0, Culture=neutral,                                            │

│ PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef,             │

│ Hopac.Core.Cont`1<System.__Canon>)                                           │

│ 00:00:35 #527 [Verbose] >    at Hopac.Core.ContBind`2[[System.__Canon,       │

│ System.Private.CoreLib, Version=8.0.0.0, Culture=neutral,                    │

│ PublicKeyToken=7cec85d7bea7798e],[System.__Canon, System.Private.CoreLib,    │

│ Version=8.0.0.0, Culture=neutral,                                            │

│ PublicKeyToken=7cec85d7bea7798e]].DoCont(Hopac.Core.Worker ByRef,            │

│ System.__Canon)                                                              │

│ 00:00:35 #528 [Verbose] >    at Hopac.Promise`1+Fulfill[[System.__Canon,     │

│ System.Private.CoreLib, Version=8.0.0.0, Culture=neutral,                    │

│ PublicKeyToken=7cec85d7bea7798e]].Do(Hopac.Core.Worker ByRef,                │

│ System.__Canon)                                                              │

│ 00:00:35 #529 [Verbose] >    at Hopac.Promise`1+Fulfill[[System.__Canon,     │

│ System.Private.CoreLib, Version=8.0.0.0, Culture=neutral,                    │

│ PublicKeyToken=7cec85d7bea7798e]].DoCont(Hopac.Core.Worker ByRef,            │

│ System.__Canon)                                                              │

│ 00:00:35 #530 [Verbose] >    at Hopac.Core.ContMap`2[[System.__Canon,        │

│ System.Private.CoreLib, Version=8.0.0.0, Culture=neutral,                    │

│ PublicKeyToken=7cec85d7bea7798e],[System.__Canon, System.Private.CoreLib,    │

│ Version=8.0.0.0, Culture=neutral,                                            │

│ PublicKeyToken=7cec85d7bea7798e]].DoCont(Hopac.Core.Worker ByRef,            │

│ System.__Canon)                                                              │

│ 00:00:35 #531 [Verbose] >    at Hopac.Promise`1+Fulfill[[System.__Canon,     │

│ System.Private.CoreLib, Version=8.0.0.0, Culture=neutral,                    │

│ PublicKeyToken=7cec85d7bea7798e]].Do(Hopac.Core.Worker ByRef,                │

│ System.__Canon)                                                              │

│ 00:00:35 #532 [Verbose] >    at Hopac.Promise`1+Fulfill[[System.__Canon,     │

│ System.Private.CoreLib, Version=8.0.0.0, Culture=neutral,                    │

│ PublicKeyToken=7cec85d7bea7798e]].DoCont(Hopac.Core.Worker ByRef,            │

│ System.__Canon)                                                              │

│ 00:00:35 #533 [Verbose] >    at Hopac.Core.Cont.Do[[System.__Canon,          │

│ System.Private.CoreLib, Version=8.0.0.0, Culture=neutral,                    │

│ PublicKeyToken=7cec85d7bea7798e]](Hopac.Core.Cont`1<System.__Canon>,         │

│ Hopac.Core.Worker ByRef, System.__Canon)                                     │

│ 00:00:35 #534 [Verbose] >    at Hopac.Core.JobThunk`1[[System.__Canon,       │

│ System.Private.CoreLib, Version=8.0.0.0, Culture=neutral,                    │

│ PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef,             │

│ Hopac.Core.Cont`1<System.__Canon>)                                           │

│ 00:00:35 #535 [Verbose] >    at Hopac.Core.JobWork`1[[System.__Canon,        │

│ System.Private.CoreLib, Version=8.0.0.0, Culture=neutral,                    │

│ PublicKeyToken=7cec85d7bea7798e]].DoWork(Hopac.Core.Worker ByRef)            │

│ 00:00:35 #536 [Verbose] >    at Hopac.Core.Worker.Run(Hopac.Scheduler,       │

│ Int32)                                                                       │

│ 00:00:35 #537 [Verbose] >    at Hopac.Platform.Scheduler+thread@30.Invoke()  │

│ 00:00:35 #538 [Verbose] >    at                                              │

│ System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionCont │

│ ext, System.Threading.ContextCallback, System.Object)                        │

│ 00:00:35 #540 [Debug] buildFile / takeWhileInclusive / fsxContent:  /        │

│ errors: [] / typeErrorCount: 0                                               │

│ 00:00:36 #542 [Debug] buildFile / takeWhileInclusive / fsxContent:  /        │

│ errors: [] / typeErrorCount: 0                                               │

│ 00:00:37 #544 [Debug] buildFile / takeWhileInclusive / fsxContent:  /        │

│ errors: [] / typeErrorCount: 0                                               │

│ 00:00:38 #546 [Debug] executeAsync / exitCode: -1073741571 / output.Length:  │

│ 170941                                                                       │

│ 00:00:38 #547 [Debug] awaitCompiler / exitCode: -1073741571 / result: pwd:   │

│ C:\home\git\polyglot\apps\spiral                                             │

│ dll_path: C:\home\git\polyglot\deps\The-Spiral-Language\The Spiral Language  │

│ 2\artifacts\bin\The Spiral Language 2\release                                │

│ Server bound to: http://localhost:13805                                      │

│ Building                                                                     │

│ C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0857-1431-3140-37558 │

│ ce7a459\main.spi                                                             │

│ [Stack overflow.]                                                            │

│ [Repeat 3 times:]                                                            │

│ [--------------------------------]                                           │

│ [   at Spiral.PartEval.Main.term@684-65(TopEnv,                              │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]            │

│ [   at Spiral.PartEval.Main.term@684-65(TopEnv,                              │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]            │

│ [   at                                                                       │

│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr,     │

│ Void (IntPtr, Byte ByRef,                                                    │

│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)]        │

│ [--------------------------------]                                           │

│ [   at Spiral.PartEval.Main.term@684-65(TopEnv,                              │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]            │

│ [   at Spiral.PartEval.Main.term@684-65(TopEnv,                              │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]            │

│ [   at Spiral.PartEval.Main.term@684-65(TopEnv,                              │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]            │

│ [   at                                                                       │

│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr,     │

│ Void (IntPtr, Byte ByRef,                                                    │

│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)]        │

│ [   at Spiral.PartEval.Main.term@684-65(TopEnv,                              │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]            │

│ [   at Spiral.PartEval.Main.term@684-65(TopEnv,                              │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]            │

│ [   at                                                                       │

│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr,     │

│ Void (IntPtr, Byte ByRef,                                                    │

│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)]        │

│ [   at Spiral.PartEval.Main.term@684-65(TopEnv,                              │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]            │

│ [   at Spiral.PartEval.Main.term@684-65(TopEnv,                              │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]            │

│ [   at                                                                       │

│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr,     │

│ Void (IntPtr, Byte ByRef,                                                    │

│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)]        │

│ [   at Spiral.PartEval.Main.term@684-65(TopEnv,                              │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]            │

│ [   at Spiral.PartEval.Main.term@684-65(TopEnv,                              │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]            │

│ [   at                                                                       │

│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr,     │

│ Void (IntPtr, Byte ByRef,                                                    │

│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)]        │

│ [   at Spiral.PartEval.Main.term@684-65(TopEnv,                              │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]            │

│ [   at Spiral.PartEval.Main.term@684-65(TopEnv,                              │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]            │

│ [   at                                                                       │

│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr,     │

│ Void (IntPtr, Byte ByRef,                                                    │

│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)]        │

│ [   at Spiral.PartEval.Main.term@684-65(TopEnv,                              │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]            │

│ [   at Spiral.PartEval.Main.term@684-65(TopEnv,                              │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]            │

│ [   at                                                                       │

│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr,     │

│ Void (IntPtr, Byte ByRef,                                                    │

│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)]        │

│ [   at Spiral.PartEval.Main.term@684-65(TopEnv,                              │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]            │

│ [   at Spiral.PartEval.Main.term@684-65(TopEnv,                              │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]            │

│ [   at                                                                       │

│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr,     │

│ Void (IntPtr, Byte ByRef,                                                    │

│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)]        │

│ [   at Spiral.PartEval.Main.term@684-65(TopEnv,                              │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]            │

│ [   at Spiral.PartEval.Main.term@684-65(TopEnv,                              │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]            │

│ [   at                                                                       │

│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr,     │

│ Void (IntPtr, Byte ByRef,                                                    │

│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)]        │

│ [   at Spiral.PartEval.Main.term@684-65(TopEnv,                              │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]            │

│ [   at Spiral.PartEval.Main.term@684-65(TopEnv,                              │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]            │

│ [   at                                                                       │

│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr,     │

│ Void (IntPtr, Byte ByRef,                                                    │

│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)]        │

│ [   at Spiral.PartEval.Main.term@684-65(TopEnv,                              │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]            │

│ [   at Spiral.PartEval.Main.term@684-65(TopEnv,                              │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]            │

│ [   at                                                                       │

│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr,     │

│ Void (IntPtr, Byte ByRef,                                                    │

│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)]        │

│ [   at Spiral.PartEval.Main.term@684-65(TopEnv,                              │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]            │

│ [   at Spiral.PartEval.Main.term@684-65(TopEnv,                              │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]            │

│ [   at                                                                       │

│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr,     │

│ Void (IntPtr, Byte ByRef,                                                    │

│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)]        │

│ [   at Spiral.PartEval.Main.term@684-65(TopEnv,                              │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]            │

│ [   at Spiral.PartEval.Main.term@684-65(TopEnv,                              │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]            │

│ [   at                                                                       │

│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr,     │

│ Void (IntPtr, Byte ByRef,                                                    │

│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)]        │

│ [   at Spiral.PartEval.Main.term@684-65(TopEnv,                              │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]            │

│ [   at Spiral.PartEval.Main.term@684-65(TopEnv,                              │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]            │

│ [   at                                                                       │

│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr,     │

│ Void (IntPtr, Byte ByRef,                                                    │

│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)]        │

│ [   at Spiral.PartEval.Main.term@684-65(TopEnv,                              │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]            │

│ [   at Spiral.PartEval.Main.term@684-65(TopEnv,                              │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]            │

│ [   at                                                                       │

│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr,     │

│ Void (IntPtr, Byte ByRef,                                                    │

│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)]        │

│ [   at Spiral.PartEval.Main.term@684-65(TopEnv,                              │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]            │

│ [   at Spiral.PartEval.Main.term@684-65(TopEnv,                              │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]            │

│ [   at                                                                       │

│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr,     │

│ Void (IntPtr, Byte ByRef,                                                    │

│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)]        │

│ [   at Spiral.PartEval.Main.term@684-65(TopEnv,                              │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]            │

│ [   at Spiral.PartEval.Main.term@684-65(TopEnv,                              │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]            │

│ [   at                                                                       │

│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr,     │

│ Void (IntPtr, Byte ByRef,                                                    │

│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)]        │

│ [   at Spiral.PartEval.Main.term@684-65(TopEnv,                              │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]            │

│ [   at Spiral.PartEval.Main.term@684-65(TopEnv,                              │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]            │

│ [   at                                                                       │

│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr,     │

│ Void (IntPtr, Byte ByRef,                                                    │

│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)]        │

│ [   at Spiral.PartEval.Main.term@684-65(TopEnv,                              │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]            │

│ [   at Spiral.PartEval.Main.term@684-65(TopEnv,                              │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]            │

│ [   at                                                                       │

│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr,     │

│ Void (IntPtr, Byte ByRef,                                                    │

│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)]        │

│ [   at Spiral.PartEval.Main.term@684-65(TopEnv,                              │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]            │

│ [   at Spiral.PartEval.Main.term@684-65(TopEnv,                              │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]            │

│ [   at                                                                       │

│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr,     │

│ Void (IntPtr, Byte ByRef,                                                    │

│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)]        │

│ [   at Spiral.PartEval.Main.term@684-65(TopEnv,                              │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]            │

│ [   at Spiral.PartEval.Main.term@684-65(TopEnv,                              │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]            │

│ [   at                                                                       │

│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr,     │

│ Void (IntPtr, Byte ByRef,                                                    │

│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)]        │

│ [   at Spiral.PartEval.Main.term@684-65(TopEnv,                              │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]            │

│ [   at Spiral.PartEval.Main.term@684-65(TopEnv,                              │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]            │

│ [   at                                                                       │

│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr,     │

│ Void (IntPtr, Byte ByRef,                                                    │

│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)]        │

│ [   at Spiral.PartEval.Main.term@684-65(TopEnv,                              │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]            │

│ [   at Spiral.PartEval.Main.term@684-65(TopEnv,                              │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]            │

│ [   at                                                                       │

│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr,     │

│ Void (IntPtr, Byte ByRef,                                                    │

│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)]        │

│ [   at Spiral.PartEval.Main.term@684-65(TopEnv,                              │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]            │

│ [   at Spiral.PartEval.Main.term@684-65(TopEnv,                              │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]            │

│ [   at                                                                       │

│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr,     │

│ Void (IntPtr, Byte ByRef,                                                    │

│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)]        │

│ [   at Spiral.PartEval.Main.term@684-65(TopEnv,                              │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]            │

│ [   at Spiral.PartEval.Main.term@684-65(TopEnv,                              │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]            │

│ [   at                                                                       │

│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr,     │

│ Void (IntPtr, Byte ByRef,                                                    │

│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)]        │

│ [   at Spiral.PartEval.Main.term@684-65(TopEnv,                              │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]            │

│ [   at Spiral.PartEval.Main.term@684-65(TopEnv,                              │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]            │

│ [   at                                                                       │

│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr,     │

│ Void (IntPtr, Byte ByRef,                                                    │

│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)]        │

│ [   at Spiral.PartEval.Main.term@684-65(TopEnv,                              │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]            │

│ [   at Spiral.PartEval.Main.term@684-65(TopEnv,                              │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]            │

│ [   at                                                                       │

│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr,     │

│ Void (IntPtr, Byte ByRef,                                                    │

│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)]        │

│ [   at Spiral.PartEval.Main.term@684-65(TopEnv,                              │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]            │

│ [   at Spiral.PartEval.Main.term@684-65(TopEnv,                              │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]            │

│ [   at                                                                       │

│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr,     │

│ Void (IntPtr, Byte ByRef,                                                    │

│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)]        │

│ [   at Spiral.PartEval.Main.term@684-65(TopEnv,                              │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]            │

│ [   at Spiral.PartEval.Main.term@684-65(TopEnv,                              │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]            │

│ [   at                                                                       │

│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr,     │

│ Void (IntPtr, Byte ByRef,                                                    │

│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)]        │

│ [   at Spiral.PartEval.Main.term@684-65(TopEnv,                              │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]            │

│ [   at Spiral.PartEval.Main.term@684-65(TopEnv,                              │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]            │

│ [   at                                                                       │

│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr,     │

│ Void (IntPtr, Byte ByRef,                                                    │

│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)]        │

│ [   at Spiral.PartEval.Main.term@684-65(TopEnv,                              │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]            │

│ [   at Spiral.PartEval.Main.term@684-65(TopEnv,                              │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]            │

│ [   at                                                                       │

│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr,     │

│ Void (IntPtr, Byte ByRef,                                                    │

│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)]        │

│ [   at Spiral.PartEval.Main.term@684-65(TopEnv,                              │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]            │

│ [   at Spiral.PartEval.Main.term@684-65(TopEnv,                              │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]            │

│ [   at                                                                       │

│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr,     │

│ Void (IntPtr, Byte ByRef,                                                    │

│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)]        │

│ [   at Spiral.PartEval.Main.term@684-65(TopEnv,                              │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]            │

│ [   at Spiral.PartEval.Main.term@684-65(TopEnv,                              │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]            │

│ [   at                                                                       │

│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr,     │

│ Void (IntPtr, Byte ByRef,                                                    │

│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)]        │

│ [   at Spiral.PartEval.Main.term@684-65(TopEnv,                              │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]            │

│ [   at Spiral.PartEval.Main.term@684-65(TopEnv,                              │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]            │

│ [   at                                                                       │

│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr,     │

│ Void (IntPtr, Byte ByRef,                                                    │

│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)]        │

│ [   at Spiral.PartEval.Main.term@684-65(TopEnv,                              │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]            │

│ [   at Spiral.PartEval.Main.term@684-65(TopEnv,                              │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]            │

│ [   at                                                                       │

│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr,     │

│ Void (IntPtr, Byte ByRef,                                                    │

│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)]        │

│ [   at Spiral.PartEval.Main.term@684-65(TopEnv,                              │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]            │

│ [   at Spiral.PartEval.Main.term@684-65(TopEnv,                              │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]            │

│ [   at                                                                       │

│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr,     │

│ Void (IntPtr, Byte ByRef,                                                    │

│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)]        │

│ [   at Spiral.PartEval.Main.term@684-65(TopEnv,                              │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]            │

│ [   at Spiral.PartEval.Main.term@684-65(TopEnv,                              │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]            │

│ [   at                                                                       │

│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr,     │

│ Void (IntPtr, Byte ByRef,                                                    │

│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)]        │

│ [   at Spiral.PartEval.Main.term@684-65(TopEnv,                              │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]            │

│ [   at Spiral.PartEval.Main.term@684-65(TopEnv,                              │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]            │

│ [   at                                                                       │

│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr,     │

│ Void (IntPtr, Byte ByRef,                                                    │

│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)]        │

│ [   at Spiral.PartEval.Main.term@684-65(TopEnv,                              │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]            │

│ [   at Spiral.PartEval.Main.term@684-65(TopEnv,                              │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]            │

│ [   at                                                                       │

│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr,     │

│ Void (IntPtr, Byte ByRef,                                                    │

│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)]        │

│ [   at Spiral.PartEval.Main.term@684-65(TopEnv,                              │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]            │

│ [   at Spiral.PartEval.Main.term@684-65(TopEnv,                              │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]            │

│ [   at                                                                       │

│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr,     │

│ Void (IntPtr, Byte ByRef,                                                    │

│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)]        │

│ [   at Spiral.PartEval.Main.term@684-65(TopEnv,                              │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]            │

│ [   at Spiral.PartEval.Main.term@684-65(TopEnv,                              │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]            │

│ [   at                                                                       │

│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr,     │

│ Void (IntPtr, Byte ByRef,                                                    │

│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)]        │

│ [   at Spiral.PartEval.Main.term@684-65(TopEnv,                              │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]            │

│ [   at Spiral.PartEval.Main.term@684-65(TopEnv,                              │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]            │

│ [   at                                                                       │

│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr,     │

│ Void (IntPtr, Byte ByRef,                                                    │

│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)]        │

│ [   at Spiral.PartEval.Main.term@684-65(TopEnv,                              │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]            │

│ [   at Spiral.PartEval.Main.term@684-65(TopEnv,                              │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]            │

│ [   at                                                                       │

│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr,     │

│ Void (IntPtr, Byte ByRef,                                                    │

│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)]        │

│ [   at Spiral.PartEval.Main.term@684-65(TopEnv,                              │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]            │

│ [   at Spiral.PartEval.Main.term@684-65(TopEnv,                              │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]            │

│ [   at                                                                       │

│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr,     │

│ Void (IntPtr, Byte ByRef,                                                    │

│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)]        │

│ [   at Spiral.PartEval.Main.term@684-65(TopEnv,                              │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]            │

│ [   at Spiral.PartEval.Main.term@684-65(TopEnv,                              │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]            │

│ [   at                                                                       │

│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr,     │

│ Void (IntPtr, Byte ByRef,                                                    │

│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)]        │

│ [   at Spiral.PartEval.Main.term@684-65(TopEnv,                              │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]            │

│ [   at Spiral.PartEval.Main.term@684-65(TopEnv,                              │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]            │

│ [   at                                                                       │

│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr,     │

│ Void (IntPtr, Byte ByRef,                                                    │

│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)]        │

│ [   at Spiral.PartEval.Main.term@684-65(TopEnv,                              │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]            │

│ [   at Spiral.PartEval.Main.term@684-65(TopEnv,                              │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]            │

│ [   at                                                                       │

│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr,     │

│ Void (IntPtr, Byte ByRef,                                                    │

│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)]        │

│ [   at Spiral.PartEval.Main.term@684-65(TopEnv,                              │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]            │

│ [   at Spiral.PartEval.Main.term@684-65(TopEnv,                              │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]            │

│ [   at                                                                       │

│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr,     │

│ Void (IntPtr, Byte ByRef,                                                    │

│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)]        │

│ [   at Spiral.PartEval.Main.term@684-65(TopEnv,                              │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]            │

│ [   at Spiral.PartEval.Main.term@684-65(TopEnv,                              │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]            │

│ [   at                                                                       │

│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr,     │

│ Void (IntPtr, Byte ByRef,                                                    │

│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)]        │

│ [   at Spiral.PartEval.Main.term@684-65(TopEnv,                              │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]            │

│ [   at Spiral.PartEval.Main.term@684-65(TopEnv,                              │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]            │

│ [   at                                                                       │

│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr,     │

│ Void (IntPtr, Byte ByRef,                                                    │

│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)]        │

│ [   at Spiral.PartEval.Main.term@684-65(TopEnv,                              │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]            │

│ [   at Spiral.PartEval.Main.term@684-65(TopEnv,                              │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]            │

│ [   at                                                                       │

│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr,     │

│ Void (IntPtr, Byte ByRef,                                                    │

│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)]        │

│ [   at Spiral.PartEval.Main.term@684-65(TopEnv,                              │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]            │

│ [   at Spiral.PartEval.Main.term@684-65(TopEnv,                              │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]            │

│ [   at                                                                       │

│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr,     │

│ Void (IntPtr, Byte ByRef,                                                    │

│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)]        │

│ [   at Spiral.PartEval.Main.term@684-65(TopEnv,                              │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]            │

│ [   at Spiral.PartEval.Main.term@684-65(TopEnv,                              │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]            │

│ [   at                                                                       │

│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr,     │

│ Void (IntPtr, Byte ByRef,                                                    │

│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)]        │

│ [   at Spiral.PartEval.Main.term@684-65(TopEnv,                              │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]            │

│ [   at Spiral.PartEval.Main.term@684-65(TopEnv,                              │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]            │

│ [   at                                                                       │

│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr,     │

│ Void (IntPtr, Byte ByRef,                                                    │

│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)]        │

│ [   at Spiral.PartEval.Main.term@684-65(TopEnv,                              │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]            │

│ [   at Spiral.PartEval.Main.term@684-65(TopEnv,                              │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]            │

│ [   at                                                                       │

│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr,     │

│ Void (IntPtr, Byte ByRef,                                                    │

│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)]        │

│ [   at Spiral.PartEval.Main.term@684-65(TopEnv,                              │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]            │

│ [   at Spiral.PartEval.Main.term@684-65(TopEnv,                              │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]            │

│ [   at                                                                       │

│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr,     │

│ Void (IntPtr, Byte ByRef,                                                    │

│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)]        │

│ [   at Spiral.PartEval.Main.term@684-65(TopEnv,                              │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]            │

│ [   at Spiral.PartEval.Main.term@684-65(TopEnv,                              │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]            │

│ [   at                                                                       │

│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr,     │

│ Void (IntPtr, Byte ByRef,                                                    │

│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)]        │

│ [   at Spiral.PartEval.Main.term@684-65(TopEnv,                              │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]            │

│ [   at Spiral.PartEval.Main.term@684-65(TopEnv,                              │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]            │

│ [   at                                                                       │

│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr,     │

│ Void (IntPtr, Byte ByRef,                                                    │

│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)]        │

│ [   at Spiral.PartEval.Main.term@684-65(TopEnv,                              │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]            │

│ [   at Spiral.PartEval.Main.term@684-65(TopEnv,                              │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]            │

│ [   at                                                                       │

│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr,     │

│ Void (IntPtr, Byte ByRef,                                                    │

│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)]        │

│ [   at Spiral.PartEval.Main.term@684-65(TopEnv,                              │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]            │

│ [   at Spiral.PartEval.Main.term@684-65(TopEnv,                              │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]            │

│ [   at                                                                       │

│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr,     │

│ Void (IntPtr, Byte ByRef,                                                    │

│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)]        │

│ [   at Spiral.PartEval.Main.term@684-65(TopEnv,                              │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]            │

│ [   at Spiral.PartEval.Main.term@684-65(TopEnv,                              │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]            │

│ [   at                                                                       │

│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr,     │

│ Void (IntPtr, Byte ByRef,                                                    │

│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)]        │

│ [   at Spiral.PartEval.Main.term@684-65(TopEnv,                              │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]            │

│ [   at Spiral.PartEval.Main.term@684-65(TopEnv,                              │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]            │

│ [   at                                                                       │

│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr,     │

│ Void (IntPtr, Byte ByRef,                                                    │

│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)]        │

│ [   at Spiral.PartEval.Main.term@684-65(TopEnv,                              │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]            │

│ [   at Spiral.PartEval.Main.term@684-65(TopEnv,                              │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]            │

│ [   at                                                                       │

│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr,     │

│ Void (IntPtr, Byte ByRef,                                                    │

│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)]        │

│ [   at Spiral.PartEval.Main.term@684-65(TopEnv,                              │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]            │

│ [   at Spiral.PartEval.Main.term@684-65(TopEnv,                              │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]            │

│ [   at                                                                       │

│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr,     │

│ Void (IntPtr, Byte ByRef,                                                    │

│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)]        │

│ [   at Spiral.PartEval.Main.term@684-65(TopEnv,                              │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]            │

│ [   at Spiral.PartEval.Main.term@684-65(TopEnv,                              │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]            │

│ [   at                                                                       │

│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr,     │

│ Void (IntPtr, Byte ByRef,                                                    │

│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)]        │

│ [   at Spiral.PartEval.Main.term@684-65(TopEnv,                              │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]            │

│ [   at Spiral.PartEval.Main.term@684-65(TopEnv,                              │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]            │

│ [   at                                                                       │

│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr,     │

│ Void (IntPtr, Byte ByRef,                                                    │

│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)]        │

│ [   at Spiral.PartEval.Main.term@684-65(TopEnv,                              │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]            │

│ [   at Spiral.PartEval.Main.term@684-65(TopEnv,                              │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]            │

│ [   at                                                                       │

│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr,     │

│ Void (IntPtr, Byte ByRef,                                                    │

│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)]        │

│ [   at Spiral.PartEval.Main.term@684-65(TopEnv,                              │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]            │

│ [   at Spiral.PartEval.Main.term@684-65(TopEnv,                              │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]            │

│ [   at                                                                       │

│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr,     │

│ Void (IntPtr, Byte ByRef,                                                    │

│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)]        │

│ [   at Spiral.PartEval.Main.term@684-65(TopEnv,                              │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]            │

│ [   at Spiral.PartEval.Main.term@684-65(TopEnv,                              │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]            │

│ [   at                                                                       │

│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr,     │

│ Void (IntPtr, Byte ByRef,                                                    │

│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)]        │

│ [   at Spiral.PartEval.Main.term@684-65(TopEnv,                              │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]            │

│ [   at Spiral.PartEval.Main.term@684-65(TopEnv,                              │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]            │

│ [   at                                                                       │

│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr,     │

│ Void (IntPtr, Byte ByRef,                                                    │

│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)]        │

│ [   at Spiral.PartEval.Main.term@684-65(TopEnv,                              │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]            │

│ [   at Spiral.PartEval.Main.term@684-65(TopEnv,                              │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]            │

│ [   at                                                                       │

│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr,     │

│ Void (IntPtr, Byte ByRef,                                                    │

│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)]        │

│ [   at Spiral.PartEval.Main.term@684-65(TopEnv,                              │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]            │

│ [   at Spiral.PartEval.Main.term@684-65(TopEnv,                              │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]            │

│ [   at Spiral.PartEval.Main.term@684-65(TopEnv,                              │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]            │

│ [   at Spiral.PartEval.Main.term@684-65(TopEnv,                              │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]            │

│ [   at Spiral.PartEval.Main.term@684-65(TopEnv,                              │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]            │

│ [   at                                                                       │

│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr,     │

│ Void (IntPtr, Byte ByRef,                                                    │

│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)]        │

│ [   at Spiral.PartEval.Main.term@684-65(TopEnv,                              │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]            │

│ [   at Spiral.PartEval.Main.term_scope''@574(TopEnv,                         │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]            │

│ [   at Spiral.PartEval.Main.term_scope'@578(TopEnv,                          │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv,                │

│ System.Collections.Generic.Dictionary`2<TypedOp,Data>, E)]                   │

│ [   at Spiral.PartEval.Main.term_scope@579(TopEnv,                           │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[                 │

│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[           │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │

│ on`1<System.String>>>,HashConsTable>>,                                       │

│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[                 │

│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │

│ []>>>,HashConsTable>>,                                                       │

│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │

│ Generic.Dictionary`2<ConsedNode`1<Ty[                                        │

│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>,                │

│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │

│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]            │

│ [   at Spiral.PartEval.Main.peval(TopEnv, E)]                                │

│ [   at Spiral.Supervisor.file_build$cont@383(System.String, SupervisorState, │

│ PrepassTopEnv, Microsoft.FSharp.Core.FSharpOption`1<E>,                      │

│ Microsoft.FSharp.Core.Unit)]                                                 │

│ [   at Spiral.Supervisor.x2yJ@1-28(SupervisorErrorSources, System.String,    │

│ System.String, SupervisorState, PrepassTopEnv)]                              │

│ [   at Spiral.Supervisor+x2yJ@380-41.Do(PrepassTopEnv)]                      │

│ [   at Hopac.Core.ContBind`2[[System.__Canon, System.Private.CoreLib,        │

│ Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[         │

│ System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral,    │

│ PublicKeyToken=7cec85d7bea7798e]].DoCont(Hopac.Core.Worker ByRef,            │

│ System.__Canon)]                                                             │

│ [   at Hopac.Job+result@1000-1[[System.__Canon, System.Private.CoreLib,      │

│ Version=8.0.0.0, Culture=neutral,                                            │

│ PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef,             │

│ Hopac.Core.Cont`1<System.__Canon>)]                                          │

│ [   at Hopac.Core.ContBind`2[[System.__Canon, System.Private.CoreLib,        │

│ Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[         │

│ System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral,    │

│ PublicKeyToken=7cec85d7bea7798e]].DoCont(Hopac.Core.Worker ByRef,            │

│ System.__Canon)]                                                             │

│ [   at Hopac.Promise`1+Fulfill[[System.__Canon, System.Private.CoreLib,      │

│ Version=8.0.0.0, Culture=neutral,                                            │

│ PublicKeyToken=7cec85d7bea7798e]].Do(Hopac.Core.Worker ByRef,                │

│ System.__Canon)]                                                             │

│ [   at Hopac.Promise`1+Fulfill[[System.__Canon, System.Private.CoreLib,      │

│ Version=8.0.0.0, Culture=neutral,                                            │

│ PublicKeyToken=7cec85d7bea7798e]].DoCont(Hopac.Core.Worker ByRef,            │

│ System.__Canon)]                                                             │

│ [   at Hopac.Job+result@1000-1[[System.__Canon, System.Private.CoreLib,      │

│ Version=8.0.0.0, Culture=neutral,                                            │

│ PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef,             │

│ Hopac.Core.Cont`1<System.__Canon>)]                                          │

│ [   at Hopac.Core.ContBind`2[[System.__Canon, System.Private.CoreLib,        │

│ Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[         │

│ System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral,    │

│ PublicKeyToken=7cec85d7bea7798e]].DoCont(Hopac.Core.Worker ByRef,            │

│ System.__Canon)]                                                             │

│ [   at Hopac.Core.Cont.Do[[System.__Canon, System.Private.CoreLib,           │

│ Version=8.0.0.0, Culture=neutral,                                            │

│ PublicKeyToken=7cec85d7bea7798e]](Hopac.Core.Cont`1<System.__Canon>,         │

│ Hopac.Core.Worker ByRef, System.__Canon)]                                    │

│ [   at Hopac.Promise`1[[System.__Canon, System.Private.CoreLib,              │

│ Version=8.0.0.0, Culture=neutral,                                            │

│ PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef,             │

│ Hopac.Core.Cont`1<System.__Canon>)]                                          │

│ [   at Hopac.Core.JobCont`2[[System.__Canon, System.Private.CoreLib,         │

│ Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[         │

│ System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral,    │

│ PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef,             │

│ Hopac.Core.Cont`1<System.__Canon>)]                                          │

│ [   at Hopac.Core.Job.Do[[System.__Canon, System.Private.CoreLib,            │

│ Version=8.0.0.0, Culture=neutral,                                            │

│ PublicKeyToken=7cec85d7bea7798e]](Hopac.Job`1<System.__Canon>,               │

│ Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)]                 │

│ [   at Hopac.Promise`1[[System.__Canon, System.Private.CoreLib,              │

│ Version=8.0.0.0, Culture=neutral,                                            │

│ PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef,             │

│ Hopac.Core.Cont`1<System.__Canon>)]                                          │

│ [   at Hopac.Core.JobCont`2[[System.__Canon, System.Private.CoreLib,         │

│ Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[         │

│ System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral,    │

│ PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef,             │

│ Hopac.Core.Cont`1<System.__Canon>)]                                          │

│ [   at Hopac.Core.ContBind`2[[System.__Canon, System.Private.CoreLib,        │

│ Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[         │

│ System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral,    │

│ PublicKeyToken=7cec85d7bea7798e]].DoCont(Hopac.Core.Worker ByRef,            │

│ System.__Canon)]                                                             │

│ [   at Hopac.Promise`1+Fulfill[[System.__Canon, System.Private.CoreLib,      │

│ Version=8.0.0.0, Culture=neutral,                                            │

│ PublicKeyToken=7cec85d7bea7798e]].Do(Hopac.Core.Worker ByRef,                │

│ System.__Canon)]                                                             │

│ [   at Hopac.Promise`1+Fulfill[[System.__Canon, System.Private.CoreLib,      │

│ Version=8.0.0.0, Culture=neutral,                                            │

│ PublicKeyToken=7cec85d7bea7798e]].DoCont(Hopac.Core.Worker ByRef,            │

│ System.__Canon)]                                                             │

│ [   at Hopac.Core.ContMap`2[[System.__Canon, System.Private.CoreLib,         │

│ Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[         │

│ System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral,    │

│ PublicKeyToken=7cec85d7bea7798e]].DoCont(Hopac.Core.Worker ByRef,            │

│ System.__Canon)]                                                             │

│ [   at Hopac.Promise`1+Fulfill[[System.__Canon, System.Private.CoreLib,      │

│ Version=8.0.0.0, Culture=neutral,                                            │

│ PublicKeyToken=7cec85d7bea7798e]].Do(Hopac.Core.Worker ByRef,                │

│ System.__Canon)]                                                             │

│ [   at Hopac.Promise`1+Fulfill[[System.__Canon, System.Private.CoreLib,      │

│ Version=8.0.0.0, Culture=neutral,                                            │

│ PublicKeyToken=7cec85d7bea7798e]].DoCont(Hopac.Core.Worker ByRef,            │

│ System.__Canon)]                                                             │

│ [   at Hopac.Core.Cont.Do[[System.__Canon, System.Private.CoreLib,           │

│ Version=8.0.0.0, Culture=neutral,                                            │

│ PublicKeyToken=7cec85d7bea7798e]](Hopac.Core.Cont`1<System.__Canon>,         │

│ Hopac.Core.Worker ByRef, System.__Canon)]                                    │

│ [   at Hopac.Core.JobThunk`1[[System.__Canon, System.Private.CoreLib,        │

│ Version=8.0.0.0, Culture=neutral,                                            │

│ PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef,             │

│ Hopac.Core.Cont`1<System.__Canon>)]                                          │

│ [   at Hopac.Core.Job.Do[[System.__Canon, System.Private.CoreLib,            │

│ Version=8.0.0.0, Culture=neutral,                                            │

│ PublicKeyToken=7cec85d7bea7798e]](Hopac.Job`1<System.__Canon>,               │

│ Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)]                 │

│ [   at Hopac.Promise`1[[System.__Canon, System.Private.CoreLib,              │

│ Version=8.0.0.0, Culture=neutral,                                            │

│ PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef,             │

│ Hopac.Core.Cont`1<System.__Canon>)]                                          │

│ [   at Hopac.Core.JobCont`2[[System.__Canon, System.Private.CoreLib,         │

│ Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[         │

│ System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral,    │

│ PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef,             │

│ Hopac.Core.Cont`1<System.__Canon>)]                                          │

│ [   at Hopac.Core.ContBind`2[[System.__Canon, System.Private.CoreLib,        │

│ Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[         │

│ System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral,    │

│ PublicKeyToken=7cec85d7bea7798e]].DoCont(Hopac.Core.Worker ByRef,            │

│ System.__Canon)]                                                             │

│ [   at Hopac.Core.Cont.Do[[System.__Canon, System.Private.CoreLib,           │

│ Version=8.0.0.0, Culture=neutral,                                            │

│ PublicKeyToken=7cec85d7bea7798e]](Hopac.Core.Cont`1<System.__Canon>,         │

│ Hopac.Core.Worker ByRef, System.__Canon)]                                    │

│ [   at Hopac.Promise`1[[System.__Canon, System.Private.CoreLib,              │

│ Version=8.0.0.0, Culture=neutral,                                            │

│ PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef,             │

│ Hopac.Core.Cont`1<System.__Canon>)]                                          │

│ [   at Hopac.Core.JobCont`2[[System.__Canon, System.Private.CoreLib,         │

│ Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[         │

│ System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral,    │

│ PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef,             │

│ Hopac.Core.Cont`1<System.__Canon>)]                                          │

│ [   at Hopac.Core.Job.Do[[System.__Canon, System.Private.CoreLib,            │

│ Version=8.0.0.0, Culture=neutral,                                            │

│ PublicKeyToken=7cec85d7bea7798e]](Hopac.Job`1<System.__Canon>,               │

│ Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)]                 │

│ [   at Hopac.Promise`1[[System.__Canon, System.Private.CoreLib,              │

│ Version=8.0.0.0, Culture=neutral,                                            │

│ PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef,             │

│ Hopac.Core.Cont`1<System.__Canon>)]                                          │

│ [   at Hopac.Core.JobCont`2[[System.__Canon, System.Private.CoreLib,         │

│ Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[         │

│ System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral,    │

│ PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef,             │

│ Hopac.Core.Cont`1<System.__Canon>)]                                          │

│ [   at Hopac.Core.ContBind`2[[System.__Canon, System.Private.CoreLib,        │

│ Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[         │

│ System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral,    │

│ PublicKeyToken=7cec85d7bea7798e]].DoCont(Hopac.Core.Worker ByRef,            │

│ System.__Canon)]                                                             │

│ [   at Hopac.Promise`1+Fulfill[[System.__Canon, System.Private.CoreLib,      │

│ Version=8.0.0.0, Culture=neutral,                                            │

│ PublicKeyToken=7cec85d7bea7798e]].Do(Hopac.Core.Worker ByRef,                │

│ System.__Canon)]                                                             │

│ [   at Hopac.Promise`1+Fulfill[[System.__Canon, System.Private.CoreLib,      │

│ Version=8.0.0.0, Culture=neutral,                                            │

│ PublicKeyToken=7cec85d7bea7798e]].DoCont(Hopac.Core.Worker ByRef,            │

│ System.__Canon)]                                                             │

│ [   at Hopac.Core.ContMap`2[[System.__Canon, System.Private.CoreLib,         │

│ Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[         │

│ System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral,    │

│ PublicKeyToken=7cec85d7bea7798e]].DoCont(Hopac.Core.Worker ByRef,            │

│ System.__Canon)]                                                             │

│ [   at Hopac.Promise`1+Fulfill[[System.__Canon, System.Private.CoreLib,      │

│ Version=8.0.0.0, Culture=neutral,                                            │

│ PublicKeyToken=7cec85d7bea7798e]].Do(Hopac.Core.Worker ByRef,                │

│ System.__Canon)]                                                             │

│ [   at Hopac.Promise`1+Fulfill[[System.__Canon, System.Private.CoreLib,      │

│ Version=8.0.0.0, Culture=neutral,                                            │

│ PublicKeyToken=7cec85d7bea7798e]].DoCont(Hopac.Core.Worker ByRef,            │

│ System.__Canon)]                                                             │

│ [   at Hopac.Core.Cont.Do[[System.__Canon, System.Private.CoreLib,           │

│ Version=8.0.0.0, Culture=neutral,                                            │

│ PublicKeyToken=7cec85d7bea7798e]](Hopac.Core.Cont`1<System.__Canon>,         │

│ Hopac.Core.Worker ByRef, System.__Canon)]                                    │

│ [   at Hopac.Core.JobThunk`1[[System.__Canon, System.Private.CoreLib,        │

│ Version=8.0.0.0, Culture=neutral,                                            │

│ PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef,             │

│ Hopac.Core.Cont`1<System.__Canon>)]                                          │

│ [   at Hopac.Core.Job.Do[[System.__Canon, System.Private.CoreLib,            │

│ Version=8.0.0.0, Culture=neutral,                                            │

│ PublicKeyToken=7cec85d7bea7798e]](Hopac.Job`1<System.__Canon>,               │

│ Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)]                 │

│ [   at Hopac.Promise`1[[System.__Canon, System.Private.CoreLib,              │

│ Version=8.0.0.0, Culture=neutral,                                            │

│ PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef,             │

│ Hopac.Core.Cont`1<System.__Canon>)]                                          │

│ [   at Hopac.Core.JobCont`2[[System.__Canon, System.Private.CoreLib,         │

│ Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[         │

│ System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral,    │

│ PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef,             │

│ Hopac.Core.Cont`1<System.__Canon>)]                                          │

│ [   at Hopac.Core.ContBind`2[[System.__Canon, System.Private.CoreLib,        │

│ Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[         │

│ System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral,    │

│ PublicKeyToken=7cec85d7bea7798e]].DoCont(Hopac.Core.Worker ByRef,            │

│ System.__Canon)]                                                             │

│ [   at Hopac.Core.Cont.Do[[System.__Canon, System.Private.CoreLib,           │

│ Version=8.0.0.0, Culture=neutral,                                            │

│ PublicKeyToken=7cec85d7bea7798e]](Hopac.Core.Cont`1<System.__Canon>,         │

│ Hopac.Core.Worker ByRef, System.__Canon)]                                    │

│ [   at Hopac.Promise`1[[System.__Canon, System.Private.CoreLib,              │

│ Version=8.0.0.0, Culture=neutral,                                            │

│ PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef,             │

│ Hopac.Core.Cont`1<System.__Canon>)]                                          │

│ [   at Hopac.Core.JobCont`2[[System.__Canon, System.Private.CoreLib,         │

│ Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[         │

│ System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral,    │

│ PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef,             │

│ Hopac.Core.Cont`1<System.__Canon>)]                                          │

│ [   at Hopac.Core.Job.Do[[System.__Canon, System.Private.CoreLib,            │

│ Version=8.0.0.0, Culture=neutral,                                            │

│ PublicKeyToken=7cec85d7bea7798e]](Hopac.Job`1<System.__Canon>,               │

│ Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)]                 │

│ [   at Hopac.Promise`1[[System.__Canon, System.Private.CoreLib,              │

│ Version=8.0.0.0, Culture=neutral,                                            │

│ PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef,             │

│ Hopac.Core.Cont`1<System.__Canon>)]                                          │

│ [   at Hopac.Core.JobCont`2[[System.__Canon, System.Private.CoreLib,         │

│ Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[         │

│ System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral,    │

│ PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef,             │

│ Hopac.Core.Cont`1<System.__Canon>)]                                          │

│ [   at Hopac.Core.ContBind`2[[System.__Canon, System.Private.CoreLib,        │

│ Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[         │

│ System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral,    │

│ PublicKeyToken=7cec85d7bea7798e]].DoCont(Hopac.Core.Worker ByRef,            │

│ System.__Canon)]                                                             │

│ [   at Hopac.Promise`1+Fulfill[[System.__Canon, System.Private.CoreLib,      │

│ Version=8.0.0.0, Culture=neutral,                                            │

│ PublicKeyToken=7cec85d7bea7798e]].Do(Hopac.Core.Worker ByRef,                │

│ System.__Canon)]                                                             │

│ [   at Hopac.Promise`1+Fulfill[[System.__Canon, System.Private.CoreLib,      │

│ Version=8.0.0.0, Culture=neutral,                                            │

│ PublicKeyToken=7cec85d7bea7798e]].DoCont(Hopac.Core.Worker ByRef,            │

│ System.__Canon)]                                                             │

│ [   at Hopac.Core.ContMap`2[[System.__Canon, System.Private.CoreLib,         │

│ Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[         │

│ System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral,    │

│ PublicKeyToken=7cec85d7bea7798e]].DoCont(Hopac.Core.Worker ByRef,            │

│ System.__Canon)]                                                             │

│ [   at Hopac.Promise`1+Fulfill[[System.__Canon, System.Private.CoreLib,      │

│ Version=8.0.0.0, Culture=neutral,                                            │

│ PublicKeyToken=7cec85d7bea7798e]].Do(Hopac.Core.Worker ByRef,                │

│ System.__Canon)]                                                             │

│ [   at Hopac.Promise`1+Fulfill[[System.__Canon, System.Private.CoreLib,      │

│ Version=8.0.0.0, Culture=neutral,                                            │

│ PublicKeyToken=7cec85d7bea7798e]].DoCont(Hopac.Core.Worker ByRef,            │

│ System.__Canon)]                                                             │

│ [   at Hopac.Core.Cont.Do[[System.__Canon, System.Private.CoreLib,           │

│ Version=8.0.0.0, Culture=neutral,                                            │

│ PublicKeyToken=7cec85d7bea7798e]](Hopac.Core.Cont`1<System.__Canon>,         │

│ Hopac.Core.Worker ByRef, System.__Canon)]                                    │

│ [   at Hopac.Core.JobThunk`1[[System.__Canon, System.Private.CoreLib,        │

│ Version=8.0.0.0, Culture=neutral,                                            │

│ PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef,             │

│ Hopac.Core.Cont`1<System.__Canon>)]                                          │

│ [   at Hopac.Core.Job.Do[[System.__Canon, System.Private.CoreLib,            │

│ Version=8.0.0.0, Culture=neutral,                                            │

│ PublicKeyToken=7cec85d7bea7798e]](Hopac.Job`1<System.__Canon>,               │

│ Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)]                 │

│ [   at Hopac.Promise`1[[System.__Canon, System.Private.CoreLib,              │

│ Version=8.0.0.0, Culture=neutral,                                            │

│ PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef,             │

│ Hopac.Core.Cont`1<System.__Canon>)]                                          │

│ [   at Hopac.Core.JobCont`2[[System.__Canon, System.Private.CoreLib,         │

│ Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[         │

│ System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral,    │

│ PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef,             │

│ Hopac.Core.Cont`1<System.__Canon>)]                                          │

│ [   at Hopac.Core.ContBind`2[[System.__Canon, System.Private.CoreLib,        │

│ Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[         │

│ System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral,    │

│ PublicKeyToken=7cec85d7bea7798e]].DoCont(Hopac.Core.Worker ByRef,            │

│ System.__Canon)]                                                             │

│ [   at Hopac.Core.Cont.Do[[System.__Canon, System.Private.CoreLib,           │

│ Version=8.0.0.0, Culture=neutral,                                            │

│ PublicKeyToken=7cec85d7bea7798e]](Hopac.Core.Cont`1<System.__Canon>,         │

│ Hopac.Core.Worker ByRef, System.__Canon)]                                    │

│ [   at Hopac.Promise`1[[System.__Canon, System.Private.CoreLib,              │

│ Version=8.0.0.0, Culture=neutral,                                            │

│ PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef,             │

│ Hopac.Core.Cont`1<System.__Canon>)]                                          │

│ [   at Hopac.Core.JobCont`2[[System.__Canon, System.Private.CoreLib,         │

│ Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[         │

│ System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral,    │

│ PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef,             │

│ Hopac.Core.Cont`1<System.__Canon>)]                                          │

│ [   at Hopac.Core.Job.Do[[System.__Canon, System.Private.CoreLib,            │

│ Version=8.0.0.0, Culture=neutral,                                            │

│ PublicKeyToken=7cec85d7bea7798e]](Hopac.Job`1<System.__Canon>,               │

│ Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)]                 │

│ [   at Hopac.Promise`1[[System.__Canon, System.Private.CoreLib,              │

│ Version=8.0.0.0, Culture=neutral,                                            │

│ PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef,             │

│ Hopac.Core.Cont`1<System.__Canon>)]                                          │

│ [   at Hopac.Core.JobCont`2[[System.__Canon, System.Private.CoreLib,         │

│ Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[         │

│ System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral,    │

│ PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef,             │

│ Hopac.Core.Cont`1<System.__Canon>)]                                          │

│ [   at Hopac.Core.ContBind`2[[System.__Canon, System.Private.CoreLib,        │

│ Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[         │

│ System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral,    │

│ PublicKeyToken=7cec85d7bea7798e]].DoCont(Hopac.Core.Worker ByRef,            │

│ System.__Canon)]                                                             │

│ [   at Hopac.Promise`1+Fulfill[[System.__Canon, System.Private.CoreLib,      │

│ Version=8.0.0.0, Culture=neutral,                                            │

│ PublicKeyToken=7cec85d7bea7798e]].Do(Hopac.Core.Worker ByRef,                │

│ System.__Canon)]                                                             │

│ [   at Hopac.Promise`1+Fulfill[[System.__Canon, System.Private.CoreLib,      │

│ Version=8.0.0.0, Culture=neutral,                                            │

│ PublicKeyToken=7cec85d7bea7798e]].DoCont(Hopac.Core.Worker ByRef,            │

│ System.__Canon)]                                                             │

│ [   at Hopac.Core.ContMap`2[[System.__Canon, System.Private.CoreLib,         │

│ Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[         │

│ System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral,    │

│ PublicKeyToken=7cec85d7bea7798e]].DoCont(Hopac.Core.Worker ByRef,            │

│ System.__Canon)]                                                             │

│ [   at Hopac.Promise`1+Fulfill[[System.__Canon, System.Private.CoreLib,      │

│ Version=8.0.0.0, Culture=neutral,                                            │

│ PublicKeyToken=7cec85d7bea7798e]].Do(Hopac.Core.Worker ByRef,                │

│ System.__Canon)]                                                             │

│ [   at Hopac.Promise`1+Fulfill[[System.__Canon, System.Private.CoreLib,      │

│ Version=8.0.0.0, Culture=neutral,                                            │

│ PublicKeyToken=7cec85d7bea7798e]].DoCont(Hopac.Core.Worker ByRef,            │

│ System.__Canon)]                                                             │

│ [   at Hopac.Core.Cont.Do[[System.__Canon, System.Private.CoreLib,           │

│ Version=8.0.0.0, Culture=neutral,                                            │

│ PublicKeyToken=7cec85d7bea7798e]](Hopac.Core.Cont`1<System.__Canon>,         │

│ Hopac.Core.Worker ByRef, System.__Canon)]                                    │

│ [   at Hopac.Core.JobThunk`1[[System.__Canon, System.Private.CoreLib,        │

│ Version=8.0.0.0, Culture=neutral,                                            │

│ PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef,             │

│ Hopac.Core.Cont`1<System.__Canon>)]                                          │

│ [   at Hopac.Core.JobWork`1[[System.__Canon, System.Private.CoreLib,         │

│ Version=8.0.0.0, Culture=neutral,                                            │

│ PublicKeyToken=7cec85d7bea7798e]].DoWork(Hopac.Core.Worker ByRef)]           │

│ [   at Hopac.Core.Worker.Run(Hopac.Scheduler, Int32)]                        │

│ [   at Hopac.Platform.Scheduler+thread@30.Invoke()]                          │

│ [   at                                                                       │

│ System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionCont │

│ ext, System.Threading.ContextCallback, System.Object)]                       │

│ 00:00:38 #548 [Critical] buildFile / error: System.AggregateException: One   │

│ or more errors occurred. (One or more errors occurred. (A task was           │

│ canceled.))                                                                  │

│ 00:00:38 #549 [Debug] watchWithFilter / Disposing watch stream / filter:     │

│ FileName, LastWrite                                                          │

│                                                                              │

╰──────────────────────────────────────────────────────────────────────────────╯



── markdown ────────────────────────────────────────────────────────────────────

╭──────────────────────────────────────────────────────────────────────────────╮

│ ## getFileTokenRange                                                         │

╰──────────────────────────────────────────────────────────────────────────────╯



── fsharp ──────────────────────────────────────────────────────────────────────

let inline getFileTokenRange port cancellationToken path = async {

    let fullPath = path |> System.IO.Path.GetFullPath

    let! code = fullPath |> FileSystem.readAllTextAsync

    let lines = code |> String.split [[| '\n' |]]



    let token, disposable = Threading.newDisposableToken cancellationToken

    use _ = disposable



    let! serverPort, _errors, ct, disposable = awaitCompiler port (Some token)

    use _ = disposable



    let fileOpenObj = {| FileOpen = {| uri = fullPath |> getFileUri; spiText = 

code |} |}

    let! _fileOpenResult = fileOpenObj |> sendObj serverPort



    let fileTokenRangeObj =

        {|

            FileTokenRange =

                {|

                    uri = fullPath |> getFileUri

                    range =

                        [[|

                            {| line = 0; character = 0 |}

                            {| line = lines.Length - 1; character = 

lines.[[lines.Length - 1]].Length |}

                        |]]

                |}

        |}

    let! fileTokenRangeResult =

        fileTokenRangeObj

        |> sendObj serverPort

        |> Async.withCancellationToken ct



    return fileTokenRangeResult |> Option.map FSharp.Json.Json.deserialize<int 

array>

}



── markdown ────────────────────────────────────────────────────────────────────

╭──────────────────────────────────────────────────────────────────────────────╮

│ ## getCodeTokenRange                                                         │

╰──────────────────────────────────────────────────────────────────────────────╯



── fsharp ──────────────────────────────────────────────────────────────────────

let inline getCodeTokenRange cancellationToken code = async {

    let! mainPath, disposable = persistCode code

    use _ = disposable

    let port = getCompilerPort ()

    return! mainPath |> getFileTokenRange port cancellationToken

}



── fsharp ──────────────────────────────────────────────────────────────────────

//// test



"""inl main () = ()"""

|> getCodeTokenRange None

|> Async.runWithTimeout 10000

|> Option.flatten

|> _equal (Some [[| 0; 0; 3; 7; 0; 0; 4; 4; 0; 0; 0; 5; 1; 8; 0; 0; 1; 1; 8; 0; 

0; 2; 1; 4; 0; 0;

2; 1; 8; 0; 0; 1; 1; 8; 0 |]])



╭─[ 4.78s - stdout ]───────────────────────────────────────────────────────────╮

│ 00:00:49 #561 [Debug] runWithTimeoutAsync / timeout: 60                      │

│ 00:00:49 #562 [Debug] executeAsync / options: { Command =                    │

│    "dotnet "C:\home\git\polyglot\deps\The-Spiral-Language\The Spiral         │

│ Language 2\artifacts\bin\The Spiral Language 2\release\Spiral.dll"           │

│ port=13805"                                                                  │

│   WorkingDirectory = None                                                    │

│   CancellationToken = Some System.Threading.CancellationToken                │

│   OnLine = Some <fun:it@4-434> }                                             │

│ 00:00:49 #563 [Verbose] > pwd: C:\home\git\polyglot\apps\spiral              │

│ 00:00:50 #564 [Verbose] > dll_path:                                          │

│ C:\home\git\polyglot\deps\The-Spiral-Language\The Spiral Language            │

│ 2\artifacts\bin\The Spiral Language 2\release                                │

│ 00:00:50 #565 [Debug] runWithTimeoutAsync / timeout: 500                     │

│ 00:00:50 #566 [Debug] sendJson / port: 13805 / json: {"Ping":true} /         │

│ result.Length:                                                               │

│ 00:00:50 #567 [Verbose] awaitCompiler / Ping / result: Some(null) / port:    │

│ 13805 / retry: 0                                                             │

│ 00:00:50 #568 [Verbose] > Server bound to: http://localhost:13805            │

│ 00:00:50 #570 [Debug] sendJson / port: 13805 / json:                         │

│ {"FileOpen":{"spiText":"inl main () =                                        │

│ ()","uri":"file:///C:\\Users\\i574n\\AppData\\Local\\Temp\\!dotnet-repl\\202 │

│ 31130-0857-3132-3214-3e7d00b6538d\\main.spi"}} / result.Length:              │

│ 00:00:51 #571 [Debug] sendJson / port: 13805 / json:                         │

│ {"FileTokenRange":{"range":[                                                 │

│ {"character":0,"line":0},{"character":16,"line":0}],"uri":"file:///C:\\Users │

│ \\i574n\\AppData\\Local\\Temp\\!dotnet-repl\\20231130-0857-3132-3214-3e7d00b │

│ 6538d\\main.spi"}} / result.Length: Some(213)                                │

│ FSharpOption<Int32[]>                                                        │

│       Value: [ 0, 0, 3, 7, 0, 0, 4, 4, 0, 0, 0, 5, 1, 8, 0, 0, 1, 1, 8, 0,   │

│ 0, 2, 1, 4, 0, 0, 2, 1, 8, 0, 0, 1, 1, 8, 0 ]                                │

│                                                                              │

╰──────────────────────────────────────────────────────────────────────────────╯



── fsharp ──────────────────────────────────────────────────────────────────────

//// test



"""inl main () = 1i32"""

|> getCodeTokenRange None

|> Async.runWithTimeout 10000

|> Option.flatten

|> _equal (Some [[| 0; 0; 3; 7; 0; 0; 4; 4; 0; 0; 0; 5; 1; 8; 0; 0; 1; 1; 8; 0; 

0; 2; 1; 4; 0; 0;

2; 1; 3; 0; 0; 1; 3; 12; 0 |]])



╭─[ 4.90s - stdout ]───────────────────────────────────────────────────────────╮

│ 00:00:54 #575 [Debug] runWithTimeoutAsync / timeout: 60                      │

│ 00:00:54 #576 [Debug] executeAsync / options: { Command =                    │

│    "dotnet "C:\home\git\polyglot\deps\The-Spiral-Language\The Spiral         │

│ Language 2\artifacts\bin\The Spiral Language 2\release\Spiral.dll"           │

│ port=13805"                                                                  │

│   WorkingDirectory = None                                                    │

│   CancellationToken = Some System.Threading.CancellationToken                │

│   OnLine = Some <fun:it@4-801> }                                             │

│ 00:00:54 #577 [Verbose] > pwd: C:\home\git\polyglot\apps\spiral              │

│ 00:00:54 #578 [Verbose] > dll_path:                                          │

│ C:\home\git\polyglot\deps\The-Spiral-Language\The Spiral Language            │

│ 2\artifacts\bin\The Spiral Language 2\release                                │

│ 00:00:55 #580 [Debug] runWithTimeoutAsync / timeout: 500                     │

│ 00:00:55 #581 [Verbose] waitForPortAccess / port: 13805 / retry: 0           │

│ 00:00:55 #582 [Debug] sendJson / port: 13805 / json: {"Ping":true} /         │

│ result.Length:                                                               │

│ 00:00:55 #583 [Verbose] awaitCompiler / Ping / result: Some(null) / port:    │

│ 13805 / retry: 0                                                             │

│ 00:00:55 #584 [Verbose] > Server bound to: http://localhost:13805            │

│ 00:00:55 #585 [Debug] sendJson / port: 13805 / json:                         │

│ {"FileOpen":{"spiText":"inl main () =                                        │

│ 1i32","uri":"file:///C:\\Users\\i574n\\AppData\\Local\\Temp\\!dotnet-repl\\2 │

│ 0231130-0857-3625-2550-2625981c0d49\\main.spi"}} / result.Length:            │

│ 00:00:56 #586 [Debug] sendJson / port: 13805 / json:                         │

│ {"FileTokenRange":{"range":[                                                 │

│ {"character":0,"line":0},{"character":18,"line":0}],"uri":"file:///C:\\Users │

│ \\i574n\\AppData\\Local\\Temp\\!dotnet-repl\\20231130-0857-3625-2550-2625981 │

│ c0d49\\main.spi"}} / result.Length: Some(214)                                │

│ FSharpOption<Int32[]>                                                        │

│       Value: [ 0, 0, 3, 7, 0, 0, 4, 4, 0, 0, 0, 5, 1, 8, 0, 0, 1, 1, 8, 0,   │

│ 0, 2, 1, 4, 0, 0, 2, 1, 3, 0, 0, 1, 3, 12, 0 ]                               │

│                                                                              │

╰──────────────────────────────────────────────────────────────────────────────╯



── markdown ────────────────────────────────────────────────────────────────────

╭──────────────────────────────────────────────────────────────────────────────╮

│ ## Arguments                                                                 │

╰──────────────────────────────────────────────────────────────────────────────╯



── fsharp ──────────────────────────────────────────────────────────────────────

[[<RequireQualifiedAccess>]]

type Arguments =

    | Build_File of string * string

    | File_Token_Range of string * string

    | Execute_Command of string

    | Timeout of int

    | Port of int



    interface Argu.IArgParserTemplate with

        member s.Usage =

            match s with

            | Build_File _ -> nameof Build_File

            | File_Token_Range _ -> nameof File_Token_Range

            | Execute_Command _ -> nameof Execute_Command

            | Timeout _ -> nameof Timeout

            | Port _ -> nameof Port



── fsharp ──────────────────────────────────────────────────────────────────────

//// test



Argu.ArgumentParser.Create<Arguments>().PrintUsage ()



╭─[ 150.33ms - return value ]──────────────────────────────────────────────────╮

│ USAGE: dotnet.exe [--help] [--build-file <string> <string>]                  │

│                   [--file-token-range <string> <string>]                     │

│                   [--execute-command <string>] [--timeout <int>] [--port     │

│ <int>]                                                                       │

│                                                                              │

│ OPTIONS:                                                                     │

│                                                                              │

│     --build-file <string> <string>                                           │

│                           Build_File                                         │

│     --file-token-range <string> <string>                                     │

│                           File_Token_Range                                   │

│     --execute-command <string>                                               │

│                           Execute_Command                                    │

│     --timeout <int>       Timeout                                            │

│     --port <int>          Port                                               │

│     --help                display this list of options.                      │

│                                                                              │

╰──────────────────────────────────────────────────────────────────────────────╯



── markdown ────────────────────────────────────────────────────────────────────

╭──────────────────────────────────────────────────────────────────────────────╮

│ ## main                                                                      │

╰──────────────────────────────────────────────────────────────────────────────╯



── fsharp ──────────────────────────────────────────────────────────────────────

let main args =

    let argsMap = args |> Runtime.parseArgsMap<Arguments>



    let buildFileActions =

        argsMap

        |> Map.tryFind (nameof Arguments.Build_File)

        |> Option.defaultValue [[]]

        |> List.choose (function

            | Arguments.Build_File (inputPath, outputPath) -> Some (inputPath, 

outputPath)

            | _ -> None

        )



    let fileTokenRangeActions =

        argsMap

        |> Map.tryFind (nameof Arguments.File_Token_Range)

        |> Option.defaultValue [[]]

        |> List.choose (function

            | Arguments.File_Token_Range (inputPath, outputPath) -> Some 

(inputPath, outputPath)

            | _ -> None

        )



    let executeCommandActions =

        argsMap

        |> Map.tryFind (nameof Arguments.Execute_Command)

        |> Option.defaultValue [[]]

        |> List.choose (function

            | Arguments.Execute_Command command -> Some command

            | _ -> None

        )



    let timeout =

        match argsMap |> Map.tryFind (nameof Arguments.Timeout) with

        | Some [[ Arguments.Timeout timeout ]] -> timeout

        | _ -> 60000 * 60



    let port =

        match argsMap |> Map.tryFind (nameof Arguments.Port) with

        | Some [[ Arguments.Port port ]] -> Some port

        | _ -> None



    async {

        let! buildFileResult =

            buildFileActions

            |> List.map (fun (inputPath, outputPath) -> async {

                let port = port |> Option.defaultWith getCompilerPort

                let! outputCode, errors = inputPath |> buildFile timeout port 

None

                

                errors

                |> List.map snd

                |> List.iter (fun error ->

                    trace Critical (fun () -> $"main / error: {error}") 

getLocals

                )



                match outputCode with

                | Some outputCode ->

                    do! outputCode |> FileSystem.writeAllTextAsync outputPath

                    return 0

                | None ->

                    return 1

            })

            |> Async.Sequential



        let! fileTokenRangeResult =

            fileTokenRangeActions

            |> List.map (fun (inputPath, outputPath) -> async {

                let port = port |> Option.defaultWith getCompilerPort

                let! tokenRange = inputPath |> getFileTokenRange port None

                match tokenRange with

                | Some tokenRange ->

                    do! tokenRange |> FSharp.Json.Json.serialize |> 

FileSystem.writeAllTextAsync outputPath

                    return 0

                | None ->

                    return 1

            })

            |> Async.Sequential

        

        let! executeCommandResult =

            executeCommandActions

            |> List.map (fun command -> async {

                let port = port |> Option.defaultWith getCompilerPort



                let localToken, disposable = Threading.newDisposableToken None

                use _ = disposable



                let! serverPort, _errors, compilerToken, disposable = 

awaitCompiler port (Some localToken)

                use _ = disposable

                

                let! exitCode, result =

                    Runtime.executeWithOptionsAsync

                        {

                            Command = command

                            CancellationToken = Some compilerToken

                            WorkingDirectory = None

                            OnLine = None

                        }



                trace Debug (fun () -> $"main / executeCommand / exitCode: 

{exitCode}") getLocals



                return exitCode

            })

            |> Async.Sequential

            

        return

            [[| buildFileResult; fileTokenRangeResult; executeCommandResult |]]

            |> Array.collect id

            |> Array.sum

    }

    |> Async.runWithTimeout timeout

    |> Option.defaultValue 1



── fsharp ──────────────────────────────────────────────────────────────────────

//// test



let args =

    System.Environment.GetEnvironmentVariable "ARGS"

    |> Runtime.splitArgs

    |> Seq.toArray



match args with

| [[||]] -> 0

| args -> if main args = 0 then 0 else failwith "main failed"



╭─[ 25.02ms - return value ]───────────────────────────────────────────────────╮

│ <div class="dni-plaintext"><pre>0</pre></div><style>                         │

│ .dni-code-hint {                                                             │

│     font-style: italic;                                                      │

│     overflow: hidden;                                                        │

│     white-space: nowrap;                                                     │

│ }                                                                            │

│ .dni-treeview {                                                              │

│     white-space: nowrap;                                                     │

│ }                                                                            │

│ .dni-treeview td {                                                           │

│     vertical-align: top;                                                     │

│     text-align: start;                                                       │

│ }                                                                            │

│ details.dni-treeview {                                                       │

│     padding-left: 1em;                                                       │

│ }                                                                            │

│ table td {                                                                   │

│     text-align: start;                                                       │

│ }                                                                            │

│ table tr {                                                                   │

│     vertical-align: top;                                                     │

│     margin: 0em 0px;                                                         │

│ }                                                                            │

│ table tr td pre                                                              │

│ {                                                                            │

│     vertical-align: top !important;                                          │

│     margin: 0em 0px !important;                                              │

│ }                                                                            │

│ table th {                                                                   │

│     text-align: start;                                                       │

│ }                                                                            │

│ </style>                                                                     │

╰──────────────────────────────────────────────────────────────────────────────╯

[NbConvertApp] Converting notebook Supervisor.dib.ipynb to html

C:\Users\i574n\scoop\apps\python\current\Lib\site-packages\nbformat\__init__.py:93: MissingIDFieldWarning: Code cell is missing an id field, this will become a hard error in future nbformat versions. You may want to use `normalize()` on your notebooks before validations (available since nbformat 5.1.4). Previous versions of nbformat are fixing this issue transparently, and will stop doing so in the future.

  validate(nb)

C:\Users\i574n\scoop\apps\python\current\Lib\site-packages\nbconvert\filters\highlight.py:71: UserWarning: IPython3 lexer unavailable, falling back on Python 3

  return _pygments_highlight(

[NbConvertApp] Writing 834904 bytes to Supervisor.dib.html

00:00:00 #1 [Debug] writeDibCode / output: Fs / path: Supervisor.dib

00:00:00 #2 [Debug] parseDibCode / output: Fs / file: Supervisor.dib

00:00:00 #1 [Debug] persistCodeProject / packages: [Argu; FSharp.Control.AsyncSeq; FSharp.Json; ... ] / modules: [lib/fsharp/Common.fs; lib/fsharp/CommonFSharp.fs; lib/fsharp/Threading.fs; ... ] / name: Supervisor / code.Length: 18769

00:00:00 #2 [Debug] buildProject / fullPath: C:\home\git\polyglot\target\polyglot\builder\Supervisor\Supervisor.fsproj

00:00:00 #3 [Debug] executeAsync / options: { Command =

   "dotnet publish "C:\home\git\polyglot\target/polyglot/builder\Supervisor\Supervisor.fsproj" --configuration Release --output "C:\home\git\polyglot\apps\spiral\dist" --runtime linux-x64"

  WorkingDirectory =

   Some "C:\home\git\polyglot\target\polyglot\builder\Supervisor"

  CancellationToken = None

  OnLine = None }

00:00:00 #4 [Verbose] > MSBuild version 17.8.3+195e7f5a3 for .NET

00:00:00 #5 [Verbose] >   Determining projects to restore...

00:00:01 #6 [Verbose] >   Restored C:\home\git\polyglot\target\polyglot\builder\Supervisor\Supervisor.fsproj (in 395 ms).

00:00:13 #7 [Verbose] >   Supervisor -> C:\home\git\polyglot\target\polyglot\builder\Supervisor\bin\Release\net8.0\linux-x64\Supervisor.dll

00:00:14 #8 [Verbose] >   Supervisor -> C:\home\git\polyglot\apps\spiral\dist\

00:00:14 #9 [Debug] executeAsync / exitCode: 0 / output.Length: 347

00:00:14 #10 [Debug] executeAsync / options: { Command =

   "dotnet publish "C:\home\git\polyglot\target/polyglot/builder\Supervisor\Supervisor.fsproj" --configuration Release --output "C:\home\git\polyglot\apps\spiral\dist" --runtime win-x64"

  WorkingDirectory =

   Some "C:\home\git\polyglot\target\polyglot\builder\Supervisor"

  CancellationToken = None

  OnLine = None }

00:00:14 #11 [Verbose] > MSBuild version 17.8.3+195e7f5a3 for .NET

00:00:15 #12 [Verbose] >   Determining projects to restore...

00:00:16 #13 [Verbose] >   Restored C:\home\git\polyglot\target\polyglot\builder\Supervisor\Supervisor.fsproj (in 400 ms).

00:00:28 #14 [Verbose] >   Supervisor -> C:\home\git\polyglot\target\polyglot\builder\Supervisor\bin\Release\net8.0\win-x64\Supervisor.dll

00:00:31 #15 [Verbose] >   Supervisor -> C:\home\git\polyglot\apps\spiral\dist\

00:00:31 #16 [Debug] executeAsync / exitCode: 0 / output.Length: 345

00:00:00 #1 [Debug] runWithTimeoutAsync / timeout: 60

00:00:00 #2 [Debug] executeAsync / options: { Command =

   "dotnet "C:\home\git\polyglot\deps\The-Spiral-Language\The Spiral Language 2\artifacts\bin\The Spiral Language 2\release\Spiral.dll" port=13805"

  WorkingDirectory = None

  CancellationToken = Some System.Threading.CancellationToken

  OnLine = Some <fun:main@450-1020> }

00:00:00 #3 [Verbose] > pwd: C:\home\git\polyglot\apps\spiral

00:00:00 #4 [Verbose] > dll_path: C:\home\git\polyglot\deps\The-Spiral-Language\The Spiral Language 2\artifacts\bin\The Spiral Language 2\release

00:00:00 #5 [Debug] runWithTimeoutAsync / timeout: 500

00:00:00 #6 [Verbose] waitForPortAccess / port: 13805 / retry: 0

00:00:01 #7 [Debug] sendJson / port: 13805 / json: {"Ping":true} / result.Length:

00:00:01 #8 [Verbose] awaitCompiler / Ping / result: Some(null) / port: 13805 / retry: 0

00:00:01 #9 [Verbose] > Server bound to: http://localhost:13805

00:00:01 #10 [Debug] executeAsync / options: { Command = "pwsh -c "../../scripts/invoke-dib.ps1 Tasks.dib -Retries 3""

  WorkingDirectory = None

  CancellationToken = Some System.Threading.CancellationToken

  OnLine = None }

00:00:03 #11 [Verbose] >

00:00:03 #12 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────

00:00:03 #13 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮

00:00:03 #14 [Verbose] > │ ## Tasks (Polyglot)                                                          │

00:00:03 #15 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:03 #16 [Verbose] >

00:00:03 #17 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:03 #18 [Verbose] > // // test

00:00:03 #19 [Verbose] >

00:00:03 #20 [Verbose] > open testing

00:00:06 #21 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0858-3720-2070-251ffd72a961\main.spi

00:00:08 #22 [Verbose] >

00:00:08 #23 [Verbose] > ╭─[ 4.83s - stdout ]───────────────────────────────────────────────────────────╮

00:00:08 #24 [Verbose] > │ ()                                                                           │

00:00:08 #25 [Verbose] > │                                                                              │

00:00:08 #26 [Verbose] > │                                                                              │

00:00:08 #27 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:08 #28 [Verbose] >

00:00:08 #29 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:08 #30 [Verbose] > inl types () =

00:00:08 #31 [Verbose] >     global "[[<Fable.Core.Erase; Fable.Core.Emit(\"std::string::String\")>]]

00:00:08 #32 [Verbose] > type std_string_String = class end"

00:00:08 #33 [Verbose] >     global "[[<Fable.Core.Erase; Fable.Core.Emit(\"&$0\")>]] type Ref<'T> =

00:00:08 #34 [Verbose] > class end"

00:00:08 #35 [Verbose] >     global "[[<Fable.Core.Erase; Fable.Core.Emit(\"str\")>]] type Str = class

00:00:08 #36 [Verbose] > end"

00:00:08 #37 [Verbose] >

00:00:08 #38 [Verbose] > inl emit_expr forall a t. (args : a) (code : string) : t =

00:00:08 #39 [Verbose] >     real

00:00:08 #40 [Verbose] >         $"Fable.Core.RustInterop.emitRustExpr !args !code" : t

00:00:08 #41 [Verbose] >

00:00:08 #42 [Verbose] >

00:00:08 #43 [Verbose] > nominal std_string = $"std_string_String"

00:00:08 #44 [Verbose] > nominal ref' t = $"Ref<`t>"

00:00:08 #45 [Verbose] > nominal str = $"Str"

00:00:08 #46 [Verbose] >

00:00:08 #47 [Verbose] > inl format_debug forall t. (x : t) : std_string =

00:00:08 #48 [Verbose] >     real

00:00:08 #49 [Verbose] >         emit_expr `t `std_string x "format!(\"{:?}\", $0)"

00:00:08 #50 [Verbose] >

00:00:08 #51 [Verbose] > inl format_pretty forall t. (x : t) : std_string =

00:00:08 #52 [Verbose] >     real

00:00:08 #53 [Verbose] >         emit_expr `t `std_string x "format!(\"{:#?}\", $0)"

00:00:08 #54 [Verbose] >

00:00:08 #55 [Verbose] > inl to_std_string (str : ref' str) : std_string =

00:00:08 #56 [Verbose] >     // inl str = join str

00:00:08 #57 [Verbose] >     // // emit_expr () $"\"!str.to_string()\""

00:00:08 #58 [Verbose] >     // // emit_expr () $"\"alloc::string::to_string(!str)\""

00:00:08 #59 [Verbose] >     // emit_expr str "($0).to_string()"

00:00:08 #60 [Verbose] >     emit_expr str $"\"String::from(core::ops::Deref::deref($0))\""

00:00:08 #61 [Verbose] >     // emit_expr str $"\"String::from(*$0)\""

00:00:08 #62 [Verbose] >     // emit_expr () $"\"String::from(!str)\""

00:00:08 #63 [Verbose] >

00:00:08 #64 [Verbose] > inl format forall t. (x : t) : std_string =

00:00:08 #65 [Verbose] >     real

00:00:08 #66 [Verbose] >         inl result : std_string =

00:00:08 #67 [Verbose] >             typecase t with

00:00:08 #68 [Verbose] >             | string => to_std_string x

00:00:08 #69 [Verbose] >             | std_string => x

00:00:08 #70 [Verbose] >             | _ => format_pretty `t x

00:00:08 #71 [Verbose] >         result

00:00:08 #72 [Verbose] >

00:00:08 #73 [Verbose] > inl raw_string_literal (s : string) : ref' str =

00:00:08 #74 [Verbose] >     emit_expr () $"\"r#\\\"\" + !s + \"\\\"#\""

00:00:08 #75 [Verbose] >

00:00:08 #76 [Verbose] > inl (~#) (s : string) : ref' str =

00:00:08 #77 [Verbose] >     raw_string_literal s

00:00:08 #78 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0858-4000-0019-0ea19944e606\main.spi

00:00:08 #79 [Verbose] >

00:00:08 #80 [Verbose] > ╭─[ 240.85ms - stdout ]────────────────────────────────────────────────────────╮

00:00:08 #81 [Verbose] > │ ()                                                                           │

00:00:08 #82 [Verbose] > │                                                                              │

00:00:08 #83 [Verbose] > │                                                                              │

00:00:08 #84 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:08 #85 [Verbose] >

00:00:08 #86 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:08 #87 [Verbose] > nominal task_name = string

00:00:08 #88 [Verbose] >

00:00:08 #89 [Verbose] > union manual_scheduling =

00:00:08 #90 [Verbose] >     | WithSuggestion

00:00:08 #91 [Verbose] >     | WithoutSuggestion

00:00:08 #92 [Verbose] >

00:00:08 #93 [Verbose] > union recurrency_offset =

00:00:08 #94 [Verbose] >     | Days : i32

00:00:08 #95 [Verbose] >     | Weeks : i32

00:00:08 #96 [Verbose] >     | Months : i32

00:00:08 #97 [Verbose] >

00:00:08 #98 [Verbose] > union day_of_week =

00:00:08 #99 [Verbose] >     | Sunday

00:00:08 #100 [Verbose] >     | Monday

00:00:08 #101 [Verbose] >     | Tuesday

00:00:08 #102 [Verbose] >     | Wednesday

00:00:08 #103 [Verbose] >     | Thursday

00:00:08 #104 [Verbose] >     | Friday

00:00:08 #105 [Verbose] >     | Saturday

00:00:08 #106 [Verbose] >

00:00:08 #107 [Verbose] > union month =

00:00:08 #108 [Verbose] >     | January

00:00:08 #109 [Verbose] >     | February

00:00:08 #110 [Verbose] >     | March

00:00:08 #111 [Verbose] >     | April

00:00:08 #112 [Verbose] >     | May

00:00:08 #113 [Verbose] >     | June

00:00:08 #114 [Verbose] >     | July

00:00:08 #115 [Verbose] >     | August

00:00:08 #116 [Verbose] >     | September

00:00:08 #117 [Verbose] >     | October

00:00:08 #118 [Verbose] >     | November

00:00:08 #119 [Verbose] >     | December

00:00:08 #120 [Verbose] >

00:00:08 #121 [Verbose] > nominal day = i32

00:00:08 #122 [Verbose] > nominal year = i32

00:00:08 #123 [Verbose] >

00:00:08 #124 [Verbose] > union fixed_recurrency =

00:00:08 #125 [Verbose] >     | Weekly : day_of_week

00:00:08 #126 [Verbose] >     | Monthly : day

00:00:08 #127 [Verbose] >     | Yearly : day * month

00:00:08 #128 [Verbose] >

00:00:08 #129 [Verbose] > union recurrency =

00:00:08 #130 [Verbose] >     | Offset : recurrency_offset

00:00:08 #131 [Verbose] >     | Fixed : list fixed_recurrency

00:00:08 #132 [Verbose] >

00:00:08 #133 [Verbose] > union scheduling =

00:00:08 #134 [Verbose] >     | Manual : manual_scheduling

00:00:08 #135 [Verbose] >     | Recurrent : recurrency

00:00:08 #136 [Verbose] >

00:00:08 #137 [Verbose] > type task =

00:00:08 #138 [Verbose] >     {

00:00:08 #139 [Verbose] >         name : task_name

00:00:08 #140 [Verbose] >         scheduling : scheduling

00:00:08 #141 [Verbose] >     }

00:00:08 #142 [Verbose] >

00:00:08 #143 [Verbose] > type date =

00:00:08 #144 [Verbose] >     {

00:00:08 #145 [Verbose] >         year : year

00:00:08 #146 [Verbose] >         month : month

00:00:08 #147 [Verbose] >         day : day

00:00:08 #148 [Verbose] >     }

00:00:08 #149 [Verbose] >

00:00:08 #150 [Verbose] > union status =

00:00:08 #151 [Verbose] >     | Postponed : option ()

00:00:08 #152 [Verbose] >

00:00:08 #153 [Verbose] > type event =

00:00:08 #154 [Verbose] >     {

00:00:08 #155 [Verbose] >         date : date

00:00:08 #156 [Verbose] >         status : status

00:00:08 #157 [Verbose] >     }

00:00:08 #158 [Verbose] >

00:00:08 #159 [Verbose] > type task_template =

00:00:08 #160 [Verbose] >     {

00:00:08 #161 [Verbose] >         task : task

00:00:08 #162 [Verbose] >         events : list event

00:00:08 #163 [Verbose] >     }

00:00:08 #164 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0858-4023-2369-2f0eb8f7a928\main.spi

00:00:08 #165 [Verbose] >

00:00:08 #166 [Verbose] > ╭─[ 201.13ms - stdout ]────────────────────────────────────────────────────────╮

00:00:08 #167 [Verbose] > │ ()                                                                           │

00:00:08 #168 [Verbose] > │                                                                              │

00:00:08 #169 [Verbose] > │                                                                              │

00:00:08 #170 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:08 #171 [Verbose] >

00:00:08 #172 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:08 #173 [Verbose] > // // test

00:00:08 #174 [Verbose] > // // rust=

00:00:08 #175 [Verbose] >

00:00:08 #176 [Verbose] > types ()

00:00:08 #177 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0858-4044-4402-4e8a2e3d0531\main.spi

00:00:14 #178 [Verbose] >

00:00:14 #179 [Verbose] > ╭─[ 5.58s - return value ]─────────────────────────────────────────────────────╮

00:00:14 #180 [Verbose] > │ .rs output:                                                                  │

00:00:14 #181 [Verbose] > │                                                                              │

00:00:14 #182 [Verbose] > │                                                                              │

00:00:14 #183 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:14 #184 [Verbose] >

00:00:14 #185 [Verbose] > ╭─[ 5.59s - stdout ]───────────────────────────────────────────────────────────╮

00:00:14 #186 [Verbose] > │                                                                              │

00:00:14 #187 [Verbose] > │ .fsx:                                                                        │

00:00:14 #188 [Verbose] > │ [<Fable.Core.Erase; Fable.Core.Emit("std::string::String")>] type            │

00:00:14 #189 [Verbose] > │ std_string_String = class end                                                │

00:00:14 #190 [Verbose] > │ [<Fable.Core.Erase; Fable.Core.Emit("&$0")>] type Ref<'T> = class end        │

00:00:14 #191 [Verbose] > │ [<Fable.Core.Erase; Fable.Core.Emit("str")>] type Str = class end            │

00:00:14 #192 [Verbose] > │ let rec method0 () : unit =                                                  │

00:00:14 #193 [Verbose] > │     ()                                                                       │

00:00:14 #194 [Verbose] > │ method0()                                                                    │

00:00:14 #195 [Verbose] > │                                                                              │

00:00:14 #196 [Verbose] > │ .rs:                                                                         │

00:00:14 #197 [Verbose] > │ #![allow(dead_code,)]                                                        │

00:00:14 #198 [Verbose] > │ #![allow(non_camel_case_types,)]                                             │

00:00:14 #199 [Verbose] > │ #![allow(non_snake_case,)]                                                   │

00:00:14 #200 [Verbose] > │ #![allow(non_upper_case_globals,)]                                           │

00:00:14 #201 [Verbose] > │ #![allow(unreachable_code,)]                                                 │

00:00:14 #202 [Verbose] > │ #![allow(unused_attributes,)]                                                │

00:00:14 #203 [Verbose] > │ #![allow(unused_imports,)]                                                   │

00:00:14 #204 [Verbose] > │ #![allow(unused_macros,)]                                                    │

00:00:14 #205 [Verbose] > │ #![allow(unused_parens,)]                                                    │

00:00:14 #206 [Verbose] > │ #![allow(unused_variables,)]                                                 │

00:00:14 #207 [Verbose] > │ mod module_e32d1f60 {                                                        │

00:00:14 #208 [Verbose] > │     pub mod Fs_rs {                                                          │

00:00:14 #209 [Verbose] > │         use super::*;                                                        │

00:00:14 #210 [Verbose] > │         use fable_library_rust::Native_::on_startup;                         │

00:00:14 #211 [Verbose] > │         pub fn method0() { (); }                                             │

00:00:14 #212 [Verbose] > │         on_startup!(Fs_rs::method0());                                       │

00:00:14 #213 [Verbose] > │     }                                                                        │

00:00:14 #214 [Verbose] > │ }                                                                            │

00:00:14 #215 [Verbose] > │ pub use module_e32d1f60::*;                                                  │

00:00:14 #216 [Verbose] > │                                                                              │

00:00:14 #217 [Verbose] > │                                                                              │

00:00:14 #218 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:14 #219 [Verbose] >

00:00:14 #220 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:14 #221 [Verbose] > // // test

00:00:14 #222 [Verbose] > // // rust=

00:00:14 #223 [Verbose] >

00:00:14 #224 [Verbose] > inl get_tasks () : list task_template =

00:00:14 #225 [Verbose] >     [[

00:00:14 #226 [Verbose] >         {

00:00:14 #227 [Verbose] >             task =

00:00:14 #228 [Verbose] >                 {

00:00:14 #229 [Verbose] >                     name = task_name "01"

00:00:14 #230 [Verbose] >                     scheduling = Manual WithSuggestion

00:00:14 #231 [Verbose] >                 }

00:00:14 #232 [Verbose] >             events = [[]]

00:00:14 #233 [Verbose] >         }

00:00:14 #234 [Verbose] >         {

00:00:14 #235 [Verbose] >             task =

00:00:14 #236 [Verbose] >                 {

00:00:14 #237 [Verbose] >                     name = task_name "02"

00:00:14 #238 [Verbose] >                     scheduling = Manual WithSuggestion

00:00:14 #239 [Verbose] >                 }

00:00:14 #240 [Verbose] >             events = [[]]

00:00:14 #241 [Verbose] >         }

00:00:14 #242 [Verbose] >         {

00:00:14 #243 [Verbose] >             task =

00:00:14 #244 [Verbose] >                 {

00:00:14 #245 [Verbose] >                     name = task_name "03"

00:00:14 #246 [Verbose] >                     scheduling = Manual WithSuggestion

00:00:14 #247 [Verbose] >                 }

00:00:14 #248 [Verbose] >             events = [[]]

00:00:14 #249 [Verbose] >         }

00:00:14 #250 [Verbose] >     ]]

00:00:14 #251 [Verbose] >

00:00:14 #252 [Verbose] > types ()

00:00:14 #253 [Verbose] > get_tasks () |> format_pretty |> console.write_line

00:00:14 #254 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0858-4604-0496-098cdeb0c6fb\main.spi

00:00:19 #255 [Verbose] >

00:00:19 #256 [Verbose] > ╭─[ 5.19s - return value ]─────────────────────────────────────────────────────╮

00:00:19 #257 [Verbose] > │ .rs output:                                                                  │

00:00:19 #258 [Verbose] > │ UH2_0(                                                                       │

00:00:19 #259 [Verbose] > │     UH0_1,                                                                   │

00:00:19 #260 [Verbose] > │     "01",                                                                    │

00:00:19 #261 [Verbose] > │     US4_0(                                                                   │

00:00:19 #262 [Verbose] > │         US3_0,                                                               │

00:00:19 #263 [Verbose] > │     ),                                                                       │

00:00:19 #264 [Verbose] > │     UH2_0(                                                                   │

00:00:19 #265 [Verbose] > │         UH0_1,                                                               │

00:00:19 #266 [Verbose] > │         "02",                                                                │

00:00:19 #267 [Verbose] > │         US4_0(                                                               │

00:00:19 #268 [Verbose] > │             US3_0,                                                           │

00:00:19 #269 [Verbose] > │         ),                                                                   │

00:00:19 #270 [Verbose] > │         UH2_0(                                                               │

00:00:19 #271 [Verbose] > │             UH0_1,                                                           │

00:00:19 #272 [Verbose] > │             "03",                                                            │

00:00:19 #273 [Verbose] > │             US4_0(                                                           │

00:00:19 #274 [Verbose] > │                 US3_0,                                                       │

00:00:19 #275 [Verbose] > │             ),                                                               │

00:00:19 #276 [Verbose] > │             UH2_1,                                                           │

00:00:19 #277 [Verbose] > │         ),                                                                   │

00:00:19 #278 [Verbose] > │     ),                                                                       │

00:00:19 #279 [Verbose] > │ )                                                                            │

00:00:19 #280 [Verbose] > │                                                                              │

00:00:19 #281 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:19 #282 [Verbose] >

00:00:19 #283 [Verbose] > ╭─[ 5.21s - stdout ]───────────────────────────────────────────────────────────╮

00:00:19 #284 [Verbose] > │                                                                              │

00:00:19 #285 [Verbose] > │ .fsx:                                                                        │

00:00:19 #286 [Verbose] > │ [<Fable.Core.Erase; Fable.Core.Emit("std::string::String")>] type            │

00:00:19 #287 [Verbose] > │ std_string_String = class end                                                │

00:00:19 #288 [Verbose] > │ [<Fable.Core.Erase; Fable.Core.Emit("&$0")>] type Ref<'T> = class end        │

00:00:19 #289 [Verbose] > │ [<Fable.Core.Erase; Fable.Core.Emit("str")>] type Str = class end            │

00:00:19 #290 [Verbose] > │ type [<Struct>] US0 =                                                        │

00:00:19 #291 [Verbose] > │     | US0_0                                                                  │

00:00:19 #292 [Verbose] > │     | US0_1                                                                  │

00:00:19 #293 [Verbose] > │     | US0_2                                                                  │

00:00:19 #294 [Verbose] > │     | US0_3                                                                  │

00:00:19 #295 [Verbose] > │     | US0_4                                                                  │

00:00:19 #296 [Verbose] > │     | US0_5                                                                  │

00:00:19 #297 [Verbose] > │     | US0_6                                                                  │

00:00:19 #298 [Verbose] > │     | US0_7                                                                  │

00:00:19 #299 [Verbose] > │     | US0_8                                                                  │

00:00:19 #300 [Verbose] > │     | US0_9                                                                  │

00:00:19 #301 [Verbose] > │     | US0_10                                                                 │

00:00:19 #302 [Verbose] > │     | US0_11                                                                 │

00:00:19 #303 [Verbose] > │ and [<Struct>] US2 =                                                         │

00:00:19 #304 [Verbose] > │     | US2_0                                                                  │

00:00:19 #305 [Verbose] > │     | US2_1                                                                  │

00:00:19 #306 [Verbose] > │ and [<Struct>] US1 =                                                         │

00:00:19 #307 [Verbose] > │     | US1_0 of f0_0 : US2                                                    │

00:00:19 #308 [Verbose] > │ and UH0 =                                                                    │

00:00:19 #309 [Verbose] > │     | UH0_0 of int32 * US0 * int32 * US1 * UH0                               │

00:00:19 #310 [Verbose] > │     | UH0_1                                                                  │

00:00:19 #311 [Verbose] > │ and [<Struct>] US3 =                                                         │

00:00:19 #312 [Verbose] > │     | US3_0                                                                  │

00:00:19 #313 [Verbose] > │     | US3_1                                                                  │

00:00:19 #314 [Verbose] > │ and [<Struct>] US7 =                                                         │

00:00:19 #315 [Verbose] > │     | US7_0                                                                  │

00:00:19 #316 [Verbose] > │     | US7_1                                                                  │

00:00:19 #317 [Verbose] > │     | US7_2                                                                  │

00:00:19 #318 [Verbose] > │     | US7_3                                                                  │

00:00:19 #319 [Verbose] > │     | US7_4                                                                  │

00:00:19 #320 [Verbose] > │     | US7_5                                                                  │

00:00:19 #321 [Verbose] > │     | US7_6                                                                  │

00:00:19 #322 [Verbose] > │ and [<Struct>] US6 =                                                         │

00:00:19 #323 [Verbose] > │     | US6_0 of f0_0 : int32                                                  │

00:00:19 #324 [Verbose] > │     | US6_1 of f1_0 : US7                                                    │

00:00:19 #325 [Verbose] > │     | US6_2 of f2_0 : int32 * f2_1 : US0                                     │

00:00:19 #326 [Verbose] > │ and UH1 =                                                                    │

00:00:19 #327 [Verbose] > │     | UH1_0 of US6 * UH1                                                     │

00:00:19 #328 [Verbose] > │     | UH1_1                                                                  │

00:00:19 #329 [Verbose] > │ and [<Struct>] US8 =                                                         │

00:00:19 #330 [Verbose] > │     | US8_0 of f0_0 : int32                                                  │

00:00:19 #331 [Verbose] > │     | US8_1 of f1_0 : int32                                                  │

00:00:19 #332 [Verbose] > │     | US8_2 of f2_0 : int32                                                  │

00:00:19 #333 [Verbose] > │ and [<Struct>] US5 =                                                         │

00:00:19 #334 [Verbose] > │     | US5_0 of f0_0 : UH1                                                    │

00:00:19 #335 [Verbose] > │     | US5_1 of f1_0 : US8                                                    │

00:00:19 #336 [Verbose] > │ and [<Struct>] US4 =                                                         │

00:00:19 #337 [Verbose] > │     | US4_0 of f0_0 : US3                                                    │

00:00:19 #338 [Verbose] > │     | US4_1 of f1_0 : US5                                                    │

00:00:19 #339 [Verbose] > │ and UH2 =                                                                    │

00:00:19 #340 [Verbose] > │     | UH2_0 of UH0 * string * US4 * UH2                                      │

00:00:19 #341 [Verbose] > │     | UH2_1                                                                  │

00:00:19 #342 [Verbose] > │ let rec method0 () : unit =                                                  │

00:00:19 #343 [Verbose] > │     let v0 : UH0 = UH0_1                                                     │

00:00:19 #344 [Verbose] > │     let v1 : string = "01"                                                   │

00:00:19 #345 [Verbose] > │     let v2 : US3 = US3_0                                                     │

00:00:19 #346 [Verbose] > │     let v3 : US4 = US4_0(v2)                                                 │

00:00:19 #347 [Verbose] > │     let v4 : UH0 = UH0_1                                                     │

00:00:19 #348 [Verbose] > │     let v5 : string = "02"                                                   │

00:00:19 #349 [Verbose] > │     let v6 : US3 = US3_0                                                     │

00:00:19 #350 [Verbose] > │     let v7 : US4 = US4_0(v6)                                                 │

00:00:19 #351 [Verbose] > │     let v8 : UH0 = UH0_1                                                     │

00:00:19 #352 [Verbose] > │     let v9 : string = "03"                                                   │

00:00:19 #353 [Verbose] > │     let v10 : US3 = US3_0                                                    │

00:00:19 #354 [Verbose] > │     let v11 : US4 = US4_0(v10)                                               │

00:00:19 #355 [Verbose] > │     let v12 : UH2 = UH2_1                                                    │

00:00:19 #356 [Verbose] > │     let v13 : UH2 = UH2_0(v8, v9, v11, v12)                                  │

00:00:19 #357 [Verbose] > │     let v14 : UH2 = UH2_0(v4, v5, v7, v13)                                   │

00:00:19 #358 [Verbose] > │     let v15 : UH2 = UH2_0(v0, v1, v3, v14)                                   │

00:00:19 #359 [Verbose] > │     let v16 : string = "format!(\"{:#?}\", $0)"                              │

00:00:19 #360 [Verbose] > │     let v17 : std_string_String = Fable.Core.RustInterop.emitRustExpr v15    │

00:00:19 #361 [Verbose] > │ v16                                                                          │

00:00:19 #362 [Verbose] > │     System.Console.WriteLine v17                                             │

00:00:19 #363 [Verbose] > │     ()                                                                       │

00:00:19 #364 [Verbose] > │ method0()                                                                    │

00:00:19 #365 [Verbose] > │                                                                              │

00:00:19 #366 [Verbose] > │ .rs:                                                                         │

00:00:19 #367 [Verbose] > │ #![allow(dead_code,)]                                                        │

00:00:19 #368 [Verbose] > │ #![allow(non_camel_case_types,)]                                             │

00:00:19 #369 [Verbose] > │ #![allow(non_snake_case,)]                                                   │

00:00:19 #370 [Verbose] > │ #![allow(non_upper_case_globals,)]                                           │

00:00:19 #371 [Verbose] > │ #![allow(unreachable_code,)]                                                 │

00:00:19 #372 [Verbose] > │ #![allow(unused_attributes,)]                                                │

00:00:19 #373 [Verbose] > │ #![allow(unused_imports,)]                                                   │

00:00:19 #374 [Verbose] > │ #![allow(unused_macros,)]                                                    │

00:00:19 #375 [Verbose] > │ #![allow(unused_parens,)]                                                    │

00:00:19 #376 [Verbose] > │ #![allow(unused_variables,)]                                                 │

00:00:19 #377 [Verbose] > │ mod module_e32d1f60 {                                                        │

00:00:19 #378 [Verbose] > │     pub mod Fs_rs {                                                          │

00:00:19 #379 [Verbose] > │         use super::*;                                                        │

00:00:19 #380 [Verbose] > │         use fable_library_rust::Native_::Any;                                │

00:00:19 #381 [Verbose] > │         use fable_library_rust::Native_::LrcPtr;                             │

00:00:19 #382 [Verbose] > │         use fable_library_rust::Native_::on_startup;                         │

00:00:19 #383 [Verbose] > │         use fable_library_rust::String_::string;                             │

00:00:19 #384 [Verbose] > │         #[derive(Clone, Copy, Debug, PartialEq, PartialOrd, Hash, Eq, Ord,)] │

00:00:19 #385 [Verbose] > │         pub enum US0 {                                                       │

00:00:19 #386 [Verbose] > │             US0_0,                                                           │

00:00:19 #387 [Verbose] > │             US0_1,                                                           │

00:00:19 #388 [Verbose] > │             US0_2,                                                           │

00:00:19 #389 [Verbose] > │             US0_3,                                                           │

00:00:19 #390 [Verbose] > │             US0_4,                                                           │

00:00:19 #391 [Verbose] > │             US0_5,                                                           │

00:00:19 #392 [Verbose] > │             US0_6,                                                           │

00:00:19 #393 [Verbose] > │             US0_7,                                                           │

00:00:19 #394 [Verbose] > │             US0_8,                                                           │

00:00:19 #395 [Verbose] > │             US0_9,                                                           │

00:00:19 #396 [Verbose] > │             US0_10,                                                          │

00:00:19 #397 [Verbose] > │             US0_11,                                                          │

00:00:19 #398 [Verbose] > │         }                                                                    │

00:00:19 #399 [Verbose] > │         impl core::fmt::Display for Fs_rs::US0 {                             │

00:00:19 #400 [Verbose] > │             fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result │

00:00:19 #401 [Verbose] > │ {                                                                            │

00:00:19 #402 [Verbose] > │                 write!(f, "{}", core::any::type_name::<Self>())              │

00:00:19 #403 [Verbose] > │             }                                                                │

00:00:19 #404 [Verbose] > │         }                                                                    │

00:00:19 #405 [Verbose] > │         #[derive(Clone, Copy, Debug, PartialEq, PartialOrd, Hash, Eq, Ord,)] │

00:00:19 #406 [Verbose] > │         pub enum US2 { US2_0, US2_1, }                                       │

00:00:19 #407 [Verbose] > │         impl core::fmt::Display for Fs_rs::US2 {                             │

00:00:19 #408 [Verbose] > │             fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result │

00:00:19 #409 [Verbose] > │ {                                                                            │

00:00:19 #410 [Verbose] > │                 write!(f, "{}", core::any::type_name::<Self>())              │

00:00:19 #411 [Verbose] > │             }                                                                │

00:00:19 #412 [Verbose] > │         }                                                                    │

00:00:19 #413 [Verbose] > │         #[derive(Clone, Copy, Debug, PartialEq, PartialOrd, Hash, Eq, Ord,)] │

00:00:19 #414 [Verbose] > │         pub enum US1 { US1_0(Fs_rs::US2), }                                  │

00:00:19 #415 [Verbose] > │         impl core::fmt::Display for Fs_rs::US1 {                             │

00:00:19 #416 [Verbose] > │             fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result │

00:00:19 #417 [Verbose] > │ {                                                                            │

00:00:19 #418 [Verbose] > │                 write!(f, "{}", core::any::type_name::<Self>())              │

00:00:19 #419 [Verbose] > │             }                                                                │

00:00:19 #420 [Verbose] > │         }                                                                    │

00:00:19 #421 [Verbose] > │         #[derive(Clone, Debug, PartialEq, PartialOrd, Hash, Eq, Ord,)]       │

00:00:19 #422 [Verbose] > │         pub enum UH0 {                                                       │

00:00:19 #423 [Verbose] > │             UH0_0(i32, Fs_rs::US0, i32, Fs_rs::US1, LrcPtr<Fs_rs::UH0>),     │

00:00:19 #424 [Verbose] > │             UH0_1,                                                           │

00:00:19 #425 [Verbose] > │         }                                                                    │

00:00:19 #426 [Verbose] > │         impl core::fmt::Display for Fs_rs::UH0 {                             │

00:00:19 #427 [Verbose] > │             fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result │

00:00:19 #428 [Verbose] > │ {                                                                            │

00:00:19 #429 [Verbose] > │                 write!(f, "{}", core::any::type_name::<Self>())              │

00:00:19 #430 [Verbose] > │             }                                                                │

00:00:19 #431 [Verbose] > │         }                                                                    │

00:00:19 #432 [Verbose] > │         #[derive(Clone, Copy, Debug, PartialEq, PartialOrd, Hash, Eq, Ord,)] │

00:00:19 #433 [Verbose] > │         pub enum US3 { US3_0, US3_1, }                                       │

00:00:19 #434 [Verbose] > │         impl core::fmt::Display for Fs_rs::US3 {                             │

00:00:19 #435 [Verbose] > │             fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result │

00:00:19 #436 [Verbose] > │ {                                                                            │

00:00:19 #437 [Verbose] > │                 write!(f, "{}", core::any::type_name::<Self>())              │

00:00:19 #438 [Verbose] > │             }                                                                │

00:00:19 #439 [Verbose] > │         }                                                                    │

00:00:19 #440 [Verbose] > │         #[derive(Clone, Copy, Debug, PartialEq, PartialOrd, Hash, Eq, Ord,)] │

00:00:19 #441 [Verbose] > │         pub enum US7 { US7_0, US7_1, US7_2, US7_3, US7_4, US7_5, US7_6, }    │

00:00:19 #442 [Verbose] > │         impl core::fmt::Display for Fs_rs::US7 {                             │

00:00:19 #443 [Verbose] > │             fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result │

00:00:19 #444 [Verbose] > │ {                                                                            │

00:00:19 #445 [Verbose] > │                 write!(f, "{}", core::any::type_name::<Self>())              │

00:00:19 #446 [Verbose] > │             }                                                                │

00:00:19 #447 [Verbose] > │         }                                                                    │

00:00:19 #448 [Verbose] > │         #[derive(Clone, Copy, Debug, PartialEq, PartialOrd, Hash, Eq, Ord,)] │

00:00:19 #449 [Verbose] > │         pub enum US6 {                                                       │

00:00:19 #450 [Verbose] > │             US6_0(i32),                                                      │

00:00:19 #451 [Verbose] > │             US6_1(Fs_rs::US7),                                               │

00:00:19 #452 [Verbose] > │             US6_2(i32, Fs_rs::US0),                                          │

00:00:19 #453 [Verbose] > │         }                                                                    │

00:00:19 #454 [Verbose] > │         impl core::fmt::Display for Fs_rs::US6 {                             │

00:00:19 #455 [Verbose] > │             fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result │

00:00:19 #456 [Verbose] > │ {                                                                            │

00:00:19 #457 [Verbose] > │                 write!(f, "{}", core::any::type_name::<Self>())              │

00:00:19 #458 [Verbose] > │             }                                                                │

00:00:19 #459 [Verbose] > │         }                                                                    │

00:00:19 #460 [Verbose] > │         #[derive(Clone, Debug, PartialEq, PartialOrd, Hash, Eq, Ord,)]       │

00:00:19 #461 [Verbose] > │         pub enum UH1 { UH1_0(Fs_rs::US6, LrcPtr<Fs_rs::UH1>), UH1_1, }       │

00:00:19 #462 [Verbose] > │         impl core::fmt::Display for Fs_rs::UH1 {                             │

00:00:19 #463 [Verbose] > │             fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result │

00:00:19 #464 [Verbose] > │ {                                                                            │

00:00:19 #465 [Verbose] > │                 write!(f, "{}", core::any::type_name::<Self>())              │

00:00:19 #466 [Verbose] > │             }                                                                │

00:00:19 #467 [Verbose] > │         }                                                                    │

00:00:19 #468 [Verbose] > │         #[derive(Clone, Copy, Debug, PartialEq, PartialOrd, Hash, Eq, Ord,)] │

00:00:19 #469 [Verbose] > │         pub enum US8 { US8_0(i32), US8_1(i32), US8_2(i32), }                 │

00:00:19 #470 [Verbose] > │         impl core::fmt::Display for Fs_rs::US8 {                             │

00:00:19 #471 [Verbose] > │             fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result │

00:00:19 #472 [Verbose] > │ {                                                                            │

00:00:19 #473 [Verbose] > │                 write!(f, "{}", core::any::type_name::<Self>())              │

00:00:19 #474 [Verbose] > │             }                                                                │

00:00:19 #475 [Verbose] > │         }                                                                    │

00:00:19 #476 [Verbose] > │         #[derive(Clone, Debug, PartialEq, PartialOrd, Hash, Eq, Ord,)]       │

00:00:19 #477 [Verbose] > │         pub enum US5 { US5_0(LrcPtr<Fs_rs::UH1>), US5_1(Fs_rs::US8), }       │

00:00:19 #478 [Verbose] > │         impl core::fmt::Display for Fs_rs::US5 {                             │

00:00:19 #479 [Verbose] > │             fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result │

00:00:19 #480 [Verbose] > │ {                                                                            │

00:00:19 #481 [Verbose] > │                 write!(f, "{}", core::any::type_name::<Self>())              │

00:00:19 #482 [Verbose] > │             }                                                                │

00:00:19 #483 [Verbose] > │         }                                                                    │

00:00:19 #484 [Verbose] > │         #[derive(Clone, Debug, PartialEq, PartialOrd, Hash, Eq, Ord,)]       │

00:00:19 #485 [Verbose] > │         pub enum US4 { US4_0(Fs_rs::US3), US4_1(Fs_rs::US5), }               │

00:00:19 #486 [Verbose] > │         impl core::fmt::Display for Fs_rs::US4 {                             │

00:00:19 #487 [Verbose] > │             fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result │

00:00:19 #488 [Verbose] > │ {                                                                            │

00:00:19 #489 [Verbose] > │                 write!(f, "{}", core::any::type_name::<Self>())              │

00:00:19 #490 [Verbose] > │             }                                                                │

00:00:19 #491 [Verbose] > │         }                                                                    │

00:00:19 #492 [Verbose] > │         #[derive(Clone, Debug, PartialEq, PartialOrd, Hash, Eq, Ord,)]       │

00:00:19 #493 [Verbose] > │         pub enum UH2 {                                                       │

00:00:19 #494 [Verbose] > │             UH2_0(LrcPtr<Fs_rs::UH0>, string, Fs_rs::US4,                    │

00:00:19 #495 [Verbose] > │ LrcPtr<Fs_rs::UH2>),                                                         │

00:00:19 #496 [Verbose] > │             UH2_1,                                                           │

00:00:19 #497 [Verbose] > │         }                                                                    │

00:00:19 #498 [Verbose] > │         impl core::fmt::Display for Fs_rs::UH2 {                             │

00:00:19 #499 [Verbose] > │             fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result │

00:00:19 #500 [Verbose] > │ {                                                                            │

00:00:19 #501 [Verbose] > │                 write!(f, "{}", core::any::type_name::<Self>())              │

00:00:19 #502 [Verbose] > │             }                                                                │

00:00:19 #503 [Verbose] > │         }                                                                    │

00:00:19 #504 [Verbose] > │         pub fn method0() {                                                   │

00:00:19 #505 [Verbose] > │             let v17: std::string::String =                                   │

00:00:19 #506 [Verbose] > │                 format!("{:#?}",                                             │

00:00:19 #507 [Verbose] > │ &LrcPtr::new(Fs_rs::UH2::UH2_0(LrcPtr::new(Fs_rs::UH0::UH0_1),               │

00:00:19 #508 [Verbose] > │                                                                              │

00:00:19 #509 [Verbose] > │ string("01"),                                                                │

00:00:19 #510 [Verbose] > │                                                                              │

00:00:19 #511 [Verbose] > │ Fs_rs::US4::US4_0(Fs_rs::US3::US3_0),                                        │

00:00:19 #512 [Verbose] > │                                                                              │

00:00:19 #513 [Verbose] > │ LrcPtr::new(Fs_rs::UH2::UH2_0(LrcPtr::new(Fs_rs::UH0::UH0_1),                │

00:00:19 #514 [Verbose] > │                                                                              │

00:00:19 #515 [Verbose] > │ string("02"),                                                                │

00:00:19 #516 [Verbose] > │                                                                              │

00:00:19 #517 [Verbose] > │ Fs_rs::US4::US4_0(Fs_rs::US3::US3_0),                                        │

00:00:19 #518 [Verbose] > │                                                                              │

00:00:19 #519 [Verbose] > │ LrcPtr::new(Fs_rs::UH2::UH2_0(LrcPtr::new(Fs_rs::UH0::UH0_1),                │

00:00:19 #520 [Verbose] > │                                                                              │

00:00:19 #521 [Verbose] > │ string("03"),                                                                │

00:00:19 #522 [Verbose] > │                                                                              │

00:00:19 #523 [Verbose] > │ Fs_rs::US4::US4_0(Fs_rs::US3::US3_0),                                        │

00:00:19 #524 [Verbose] > │                                                                              │

00:00:19 #525 [Verbose] > │ LrcPtr::new(Fs_rs::UH2::UH2_1))))))));                                       │

00:00:19 #526 [Verbose] > │             println!("{0}", &v17,);                                          │

00:00:19 #527 [Verbose] > │             ()                                                               │

00:00:19 #528 [Verbose] > │         }                                                                    │

00:00:19 #529 [Verbose] > │         on_startup!(Fs_rs::method0());                                       │

00:00:19 #530 [Verbose] > │     }                                                                        │

00:00:19 #531 [Verbose] > │ }                                                                            │

00:00:19 #532 [Verbose] > │ pub use module_e32d1f60::*;                                                  │

00:00:19 #533 [Verbose] > │                                                                              │

00:00:19 #534 [Verbose] > │                                                                              │

00:00:19 #535 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:19 #536 [Verbose] >

00:00:19 #537 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:19 #538 [Verbose] > // // test

00:00:19 #539 [Verbose] > // // rust=

00:00:19 #540 [Verbose] >

00:00:19 #541 [Verbose] > get_tasks ()

00:00:19 #542 [Verbose] > |> listm'.try_item 0i32

00:00:19 #543 [Verbose] > |> fun (Some task) => task.task.name

00:00:19 #544 [Verbose] > |> _equal (task_name "01")

00:00:19 #545 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0858-5133-3350-363b1b10edbd\main.spi

00:00:24 #546 [Verbose] >

00:00:24 #547 [Verbose] > ╭─[ 4.53s - return value ]─────────────────────────────────────────────────────╮

00:00:24 #548 [Verbose] > │ .rs output:                                                                  │

00:00:24 #549 [Verbose] > │                                                                              │

00:00:24 #550 [Verbose] > │                                                                              │

00:00:24 #551 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:24 #552 [Verbose] >

00:00:24 #553 [Verbose] > ╭─[ 4.54s - stdout ]───────────────────────────────────────────────────────────╮

00:00:24 #554 [Verbose] > │                                                                              │

00:00:24 #555 [Verbose] > │ .fsx:                                                                        │

00:00:24 #556 [Verbose] > │ let rec method0 () : unit =                                                  │

00:00:24 #557 [Verbose] > │     let v0 : string = "01"                                                   │

00:00:24 #558 [Verbose] > │     let v1 : string = $"__expect / actual: %A{v0} / expected: %A{v0}"        │

00:00:24 #559 [Verbose] > │     ()                                                                       │

00:00:24 #560 [Verbose] > │ method0()                                                                    │

00:00:24 #561 [Verbose] > │                                                                              │

00:00:24 #562 [Verbose] > │ .rs:                                                                         │

00:00:24 #563 [Verbose] > │ #![allow(dead_code,)]                                                        │

00:00:24 #564 [Verbose] > │ #![allow(non_camel_case_types,)]                                             │

00:00:24 #565 [Verbose] > │ #![allow(non_snake_case,)]                                                   │

00:00:24 #566 [Verbose] > │ #![allow(non_upper_case_globals,)]                                           │

00:00:24 #567 [Verbose] > │ #![allow(unreachable_code,)]                                                 │

00:00:24 #568 [Verbose] > │ #![allow(unused_attributes,)]                                                │

00:00:24 #569 [Verbose] > │ #![allow(unused_imports,)]                                                   │

00:00:24 #570 [Verbose] > │ #![allow(unused_macros,)]                                                    │

00:00:24 #571 [Verbose] > │ #![allow(unused_parens,)]                                                    │

00:00:24 #572 [Verbose] > │ #![allow(unused_variables,)]                                                 │

00:00:24 #573 [Verbose] > │ mod module_e32d1f60 {                                                        │

00:00:24 #574 [Verbose] > │     pub mod Fs_rs {                                                          │

00:00:24 #575 [Verbose] > │         use super::*;                                                        │

00:00:24 #576 [Verbose] > │         use fable_library_rust::Native_::Any;                                │

00:00:24 #577 [Verbose] > │         use fable_library_rust::Native_::on_startup;                         │

00:00:24 #578 [Verbose] > │         use fable_library_rust::String_::sprintf;                            │

00:00:24 #579 [Verbose] > │         use fable_library_rust::String_::string;                             │

00:00:24 #580 [Verbose] > │         pub fn method0() {                                                   │

00:00:24 #581 [Verbose] > │             let v1: string =                                                 │

00:00:24 #582 [Verbose] > │                 sprintf!("__expect / actual: {:?} / expected: {:?}",         │

00:00:24 #583 [Verbose] > │                          &string("01"), &string("01"));                      │

00:00:24 #584 [Verbose] > │             ()                                                               │

00:00:24 #585 [Verbose] > │         }                                                                    │

00:00:24 #586 [Verbose] > │         on_startup!(Fs_rs::method0());                                       │

00:00:24 #587 [Verbose] > │     }                                                                        │

00:00:24 #588 [Verbose] > │ }                                                                            │

00:00:24 #589 [Verbose] > │ pub use module_e32d1f60::*;                                                  │

00:00:24 #590 [Verbose] > │                                                                              │

00:00:24 #591 [Verbose] > │                                                                              │

00:00:24 #592 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:24 #593 [Verbose] >

00:00:24 #594 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:24 #595 [Verbose] > // // test

00:00:24 #596 [Verbose] >

00:00:24 #597 [Verbose] > ()

00:00:24 #598 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0858-5588-8863-83da3f0231aa\main.spi

00:00:24 #599 [Verbose] >

00:00:24 #600 [Verbose] > ╭─[ 373.53ms - stdout ]────────────────────────────────────────────────────────╮

00:00:24 #601 [Verbose] > │ let rec method0 () : unit =                                                  │

00:00:24 #602 [Verbose] > │     ()                                                                       │

00:00:24 #603 [Verbose] > │ method0()                                                                    │

00:00:24 #604 [Verbose] > │                                                                              │

00:00:24 #605 [Verbose] > │                                                                              │

00:00:24 #606 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:26 #607 [Verbose] > [NbConvertApp] Converting notebook Tasks.dib.ipynb to html

00:00:26 #608 [Verbose] > C:\Users\i574n\scoop\apps\python\current\Lib\site-packages\nbformat\__init__.py:93: MissingIDFieldWarning: Code cell is missing an id field, this will become a hard error in future nbformat versions. You may want to use `normalize()` on your notebooks before validations (available since nbformat 5.1.4). Previous versions of nbformat are fixing this issue transparently, and will stop doing so in the future.

00:00:26 #609 [Verbose] >   validate(nb)

00:00:26 #610 [Verbose] > C:\Users\i574n\scoop\apps\python\current\Lib\site-packages\nbconvert\filters\highlight.py:71: UserWarning: IPython3 lexer unavailable, falling back on Python 3

00:00:26 #611 [Verbose] >   return _pygments_highlight(

00:00:27 #612 [Verbose] > [NbConvertApp] Writing 303593 bytes to Tasks.dib.html

00:00:27 #613 [Debug] executeAsync / exitCode: 0 / output.Length: 36458

00:00:27 #614 [Debug] main / executeCommand / exitCode: 0

00:00:00 #1 [Debug] writeDibCode / output: Spi / path: Tasks.dib

00:00:00 #2 [Debug] parseDibCode / output: Spi / file: Tasks.dib

In [ ]:
{ . "$ScriptDir/../apps/spiral/temp/test/build.ps1" } | Invoke-Block

── pwsh ────────────────────────────────────────────────────────────────────────

. ../../../../scripts/nbs_header.ps1

. ../../../../scripts/core.ps1



── pwsh ────────────────────────────────────────────────────────────────────────

{ . ../../../../apps/spiral/dist/Supervisor$(GetExecutableSuffix) --build-file 

test.spi test.fsx --timeout 10000 } | Invoke-Block



╭─[ 3.76s - stdout ]───────────────────────────────────────────────────────────╮

│ 00:00:00 #1 [Debug] runWithTimeoutAsync / timeout: 60                        │

│ 00:00:00 #2 [Debug] executeAsync / options: { Command =                      │

│    "dotnet "C:\home\git\polyglot\deps\The-Spiral-Language\The Spiral         │

│ Language 2\artifacts\bin\The Spiral Language 2\release\Spiral.dll"           │

│ port=13805"                                                                  │

│   WorkingDirectory = None                                                    │

│   CancellationToken = Some System.Threading.CancellationToken                │

│   OnLine = Some <fun:main@411-297> }                                         │

│ 00:00:00 #3 [Verbose] > pwd: C:\home\git\polyglot\apps\spiral\temp\test      │

│ 00:00:00 #4 [Verbose] > dll_path:                                            │

│ C:\home\git\polyglot\deps\The-Spiral-Language\The Spiral Language            │

│ 2\artifacts\bin\The Spiral Language 2\release                                │

│ 00:00:00 #5 [Debug] runWithTimeoutAsync / timeout: 500                       │

│ 00:00:00 #6 [Verbose] waitForPortAccess / port: 13805 / retry: 0             │

│ 00:00:01 #7 [Debug] sendJson / port: 13805 / json: {"Ping":true} /           │

│ result.Length:                                                               │

│ 00:00:01 #8 [Verbose] awaitCompiler / Ping / result: Some(null) / port:      │

│ 13805 / retry: 0                                                             │

│ 00:00:01 #9 [Verbose] > Server bound to: http://localhost:13805              │

│ 00:00:01 #10 [Debug] buildFile / takeWhileInclusive / fsxContent:  / errors: │

│ [] / typeErrorCount: 0                                                       │

│ 00:00:01 #11 [Debug] buildFile / takeWhileInclusive / fsxContent:  / errors: │

│ [] / typeErrorCount: 0                                                       │

│ 00:00:01 #12 [Debug] sendJson / port: 13805 / json:                          │

│ {"FileOpen":{"spiText":"inl app () =\r\n    \u0022test\u0022 |\u003E         │

│ console.write_line\r\n    0i32\r\n\r\ninl main () =\r\n    print_static      │

│ \u0022\u003Ctest\u003E\u0022\r\n\r\n    app\r\n    |\u003E dyn\r\n           │

│ |\u003E ignore\r\n\r\n    print_static                                       │

│ \u0022\u003C/test\u003E\u0022\r\n","uri":"file:///C:\\home\\git\\polyglot\\a │

│ pps\\spiral\\temp\\test\\test.spi"}} / result.Length:                        │

│ 00:00:01 #13 [Debug] sendJson / port: 13805 / json:                          │

│ {"BuildFile":{"backend":"Fsharp","uri":"file:///C:\\home\\git\\polyglot\\app │

│ s\\spiral\\temp\\test\\test.spi"}} / result.Length:                          │

│ 00:00:01 #14 [Verbose] > Building                                            │

│ C:\home\git\polyglot\apps\spiral\temp\test\test.spi                          │

│ 00:00:02 #15 [Debug] buildFile / takeWhileInclusive / fsxContent:  / errors: │

│ [] / typeErrorCount: 0                                                       │

│ 00:00:03 #16 [Verbose] > <test>                                              │

│ 00:00:03 #17 [Verbose] > </test>                                             │

│ 00:00:03 #18 [Debug] buildFile / takeWhileInclusive / fsxContent: let rec    │

│ closure0 () () : int32 =                                                     │

│     let v0 : string = "test"                                                 │

│     System.Console.WriteLine v0                                              │

│     0                                                                        │

│ let v0 : (unit -> int32) = closure0()                                        │

│ ()                                                                           │

│  / errors: [] / typeErrorCount: 0                                            │

│ 00:00:03 #19 [Debug] watchWithFilter / Disposing watch stream / filter:      │

│ FileName, LastWrite                                                          │

│                                                                              │

╰──────────────────────────────────────────────────────────────────────────────╯



── pwsh ────────────────────────────────────────────────────────────────────────

dotnet fable --optimize --lang rs --extension .rs



╭─[ 3.49s - stdout ]───────────────────────────────────────────────────────────╮

│ Fable 4.5.0: F# to Rust compiler (status: alpha)                             │

│                                                                              │

│ Thanks to the contributor! @devcrafting                                      │

│ Stand with Ukraine! https://standwithukraine.com.ua/                         │

│                                                                              │

│ Parsing test.fsproj...                                                       │

│ Retrieving project options from cache, in case of issues run `dotnet fable   │

│ clean` or try `--noCache` option.                                            │

│ Project and references (1 source files) parsed in 208ms                      │

│                                                                              │

│ Started Fable compilation...                                                 │

│ Fable compilation finished in 1591ms                                         │

│                                                                              │

│ .\test.fsx(6,0): (6,2) warning FABLE: For Rust, support for F# static and    │

│ module do bindings is disabled by default. It can be enabled with the        │

│ 'static_do_bindings' feature. Use at your own risk!                          │

│                                                                              │

╰──────────────────────────────────────────────────────────────────────────────╯



── pwsh ────────────────────────────────────────────────────────────────────────

cargo fmt --



── pwsh ────────────────────────────────────────────────────────────────────────

cargo build --release



╭─[ 8.96s - stdout ]───────────────────────────────────────────────────────────╮

│    Compiling test v0.0.1 (C:\home\git\polyglot\apps\spiral\temp\test) │

│ warning: unused import: `info`                                        │

│    --> apps\spiral\temp\test\./main.rs:190:15                         │

│     |                                                                 │

│ 190 | use tracing::{info, Level};                                     │

│     |               ^^^^                                              │

│     |                                                                 │

│     = note: `#[warn(unused_imports)]` on by default                   │

│                                                                       │

│ warning: associated items `new`, `add_item`, and `remove_item` are      │

│ never used                                                                 │

│   --> apps\spiral\temp\test\./main.rs:46:8                            │

│    |                                                                  │

│ 45 | impl Cart {                                                      │

│    | --------- associated items in this implementation                │

│ 46 |     fn new() -> Cart {                                           │

│    |        ^^^                                                       │

│ ...                                                                   │

│ 50 |     fn add_item(&mut self, item: Item) {                         │

│    |        ^^^^^^^^                                                  │

│ ...                                                                   │

│ 56 |     fn remove_item(&mut self, item: &Item) {                     │

│    |        ^^^^^^^^^^^                                               │

│    |                                                                  │

│    = note: `#[warn(dead_code)]` on by default                         │

│                                                                       │

│ warning: function `parse_comment` is never used                       │

│    --> apps\spiral\temp\test\./main.rs:124:4                          │

│     |                                                                 │

│ 124 | fn parse_comment(input: &str) -> IResult<&str, SpiralToken> {   │

│     |    ^^^^^^^^^^^^^                                                │

│                                                                       │

│ warning: function `parse_string` is never used                        │

│    --> apps\spiral\temp\test\./main.rs:130:4                          │

│     |                                                                 │

│ 130 | fn parse_string(input: &str) -> IResult<&str, SpiralToken> {    │

│     |    ^^^^^^^^^^^^                                                 │

│                                                                       │

│ warning: function `parse_identifier` is never used                    │

│    --> apps\spiral\temp\test\./main.rs:145:4                          │

│     |                                                                 │

│ 145 | fn parse_identifier(input: &str) -> IResult<&str, SpiralToken> {[  │

│ 0m                                                                           │

│     |    ^^^^^^^^^^^^^^^^                                             │

│                                                                       │

│ warning: function `parse_integer` is never used                       │

│    --> apps\spiral\temp\test\./main.rs:157:4                          │

│     |                                                                 │

│ 157 | fn parse_integer(input: &str) -> IResult<&str, SpiralToken> {   │

│     |    ^^^^^^^^^^^^^                                                │

│                                                                       │

│ warning: function `parse_operator` is never used                      │

│    --> apps\spiral\temp\test\./main.rs:165:4                          │

│     |                                                                 │

│ 165 | fn parse_operator(input: &str) -> IResult<&str, SpiralToken> {  │

│     |    ^^^^^^^^^^^^^^                                               │

│                                                                       │

│ warning: function `parse_token` is never used                         │

│    --> apps\spiral\temp\test\./main.rs:170:4                          │

│     |                                                                 │

│ 170 | fn parse_token(input: &str) -> IResult<&str, SpiralToken> {     │

│     |    ^^^^^^^^^^^                                                  │

│                                                                       │

│ warning: function `format_token` is never used                        │

│    --> apps\spiral\temp\test\./main.rs:180:4                          │

│     |                                                                 │

│ 180 | fn format_token(token: &SpiralToken) -> String {                │

│     |    ^^^^^^^^^^^^                                                 │

│                                                                       │

│ warning: function `parse_expression` is never used                    │

│    --> apps\spiral\temp\test\./main.rs:213:4                          │

│     |                                                                 │

│ 213 | fn parse_expression(input: &str) -> IResult<&str, SpiralToken> {[  │

│ 0m                                                                           │

│     |    ^^^^^^^^^^^^^^^^                                             │

│                                                                       │

│ warning: `test` (bin "test") generated 10 warnings (run `cargo fix      │

│ --bin "test"` to apply 1 suggestion)                                       │

│     Finished release [optimized] target(s) in 8.79s                   │

│                                                                              │

╰──────────────────────────────────────────────────────────────────────────────╯



── pwsh ────────────────────────────────────────────────────────────────────────

$env:RUST_LOG="info"

{ cargo test --release } | Invoke-Block



╭─[ 24.50s - stdout ]──────────────────────────────────────────────────────────╮

│    Compiling test v0.0.1 (C:\home\git\polyglot\apps\spiral\temp\test) │

│     Finished release [optimized] target(s) in 24.02s                  │

│      Running unittests main.rs                                          │

│ (C:\home\git\polyglot\target\release\deps\test-df6d3d2be0886ce6.exe)       │

│                                                                              │

│ running 3 tests                                                              │

│ test test_parse_number ... ok                                                │

│ 2023-11-30T12:59:44.008118Z  INFO test:                     │

│ input=Comment("!%61q\"BX:/O+nB_+")                                           │

│ 2023-11-30T12:59:44.008217Z  INFO test: input=Comment("")   │

│ 2023-11-30T12:59:44.008322Z  INFO test: input=Operator("=") │

│ 2023-11-30T12:59:44.008401Z  INFO test:                     │

│ input=StringLiteral(":oNc6?#Ci7:^={=y~${y#<$r~y*")                           │

│ 2023-11-30T12:59:44.008439Z  INFO test:                     │

│ input=Integer(426728176545666477)                                            │

│ 2023-11-30T12:59:44.008515Z  INFO test:                     │

│ input=Comment(":B:g&Z1F\\j/ZO<**=!+sv|:\\It")                                │

│ 2023-11-30T12:59:44.008561Z  INFO test:                     │

│ input=Identifier("wnIg2oMm5ECz39Y91mZR9")                                    │

│ 2023-11-30T12:59:44.008592Z  INFO test:                     │

│ input=StringLiteral("ra{xTR[B2GeSE'")                                        │

│ 2023-11-30T12:59:44.008629Z  INFO test: input=Operator("+") │

│ 2023-11-30T12:59:44.008693Z  INFO test:                     │

│ input=StringLiteral("A^nN0$K':*=;{*=gMl$:%X0*")                              │

│ 2023-11-30T12:59:44.008756Z  INFO test:                     │

│ input=Comment("'cR")                                                         │

│ 2023-11-30T12:59:44.008802Z  INFO test:                     │

│ input=Integer(6933749532322007710)                                           │

│ 2023-11-30T12:59:44.008859Z  INFO test:                     │

│ input=StringLiteral("J* ?u.?'y`<:")                                          │

│ 2023-11-30T12:59:44.008900Z  INFO test:                     │

│ input=Integer(8656013012231918816)                                           │

│ 2023-11-30T12:59:44.008948Z  INFO test: input=Operator("*") │

│ 2023-11-30T12:59:44.009005Z  INFO test:                     │

│ input=StringLiteral("b{&+k=/6$P=5q(T.sl")                                    │

│ 2023-11-30T12:59:44.009054Z  INFO test: input=Operator("-") │

│ 2023-11-30T12:59:44.009109Z  INFO test:                     │

│ input=Comment("uv'%o?8 /.`hC")                                               │

│ 2023-11-30T12:59:44.009155Z  INFO test:                     │

│ input=StringLiteral("1")                                                     │

│ 2023-11-30T12:59:44.009193Z  INFO test: input=Operator("(") │

│ 2023-11-30T12:59:44.009286Z  INFO test:                     │

│ input=Comment("@<b*+?+&\"L7")                                                │

│ 2023-11-30T12:59:44.009338Z  INFO test:                     │

│ input=StringLiteral(".5 ")                                                   │

│ 2023-11-30T12:59:44.009388Z  INFO test: input=Operator("-") │

│ 2023-11-30T12:59:44.009473Z  INFO test:                     │

│ input=Identifier("WO")                                                       │

│ 2023-11-30T12:59:44.009567Z  INFO test:                     │

│ input=Integer(7374853088126587392)                                           │

│ 2023-11-30T12:59:44.009632Z  INFO test: input=Operator("+") │

│ 2023-11-30T12:59:44.009682Z  INFO test:                     │

│ input=StringLiteral(".(=U{iRI2*$")                                           │

│ 2023-11-30T12:59:44.009731Z  INFO test: input=Operator("*") │

│ 2023-11-30T12:59:44.009778Z  INFO test: input=Operator("/") │

│ 2023-11-30T12:59:44.009822Z  INFO test:                     │

│ input=Integer(-8273731687390720372)                                          │

│ 2023-11-30T12:59:44.009868Z  INFO test:                     │

│ input=Integer(-5506169621551331054)                                          │

│ 2023-11-30T12:59:44.009933Z  INFO test:                     │

│ input=Identifier("PTLWYvG9u1ANAz8X1SAvIx")                                   │

│ 2023-11-30T12:59:44.009984Z  INFO test:                     │

│ input=StringLiteral("S")                                                     │

│ 2023-11-30T12:59:44.010043Z  INFO test:                     │

│ input=StringLiteral("$&m`t%&hGrb")                                           │

│ 2023-11-30T12:59:44.010125Z  INFO test: input=Operator("(") │

│ 2023-11-30T12:59:44.010170Z  INFO test: input=Operator(")") │

│ 2023-11-30T12:59:44.010214Z  INFO test:                     │

│ input=Integer(6659222542066352486)                                           │

│ 2023-11-30T12:59:44.010277Z  INFO test:                     │

│ input=Identifier("RR82RaUrB6f21")                                            │

│ 2023-11-30T12:59:44.010343Z  INFO test:                     │

│ input=StringLiteral("TB%fRUD^V,}:<_`^a`?mb")                                 │

│ 2023-11-30T12:59:44.010394Z  INFO test: input=Comment("")   │

│ 2023-11-30T12:59:44.010442Z  INFO test:                     │

│ input=Identifier("CNCZ")                                                     │

│ 2023-11-30T12:59:44.010491Z  INFO test: input=Operator("/") │

│ 2023-11-30T12:59:44.010562Z  INFO test:                     │

│ input=Identifier("OHw9qmblNu0uj4Xz0rJhTtWKYqW38z8yB")                        │

│ 2023-11-30T12:59:44.010610Z  INFO test: input=Comment(",")  │

│ 2023-11-30T12:59:44.010653Z  INFO test:                     │

│ input=Integer(59367934939354613)                                             │

│ 2023-11-30T12:59:44.010702Z  INFO test: input=Operator("/") │

│ 2023-11-30T12:59:44.010763Z  INFO test:                     │

│ input=Comment("3={\"x&%U7(~{m%")                                             │

│ 2023-11-30T12:59:44.010811Z  INFO test:                     │

│ input=Integer(7664564044411037516)                                           │

│ 2023-11-30T12:59:44.010873Z  INFO test:                     │

│ input=Identifier("z2zEipO35AQAO8acA59")                                      │

│ 2023-11-30T12:59:44.010918Z  INFO test:                     │

│ input=Integer(4636104509502857231)                                           │

│ 2023-11-30T12:59:44.010958Z  INFO test: input=Operator("+") │

│ 2023-11-30T12:59:44.011027Z  INFO test:                     │

│ input=Comment("N&sspV?<.i.J*=F'6\"i(vOC*B*ez")                               │

│ 2023-11-30T12:59:44.011078Z  INFO test:                     │

│ input=Integer(2469451846374961668)                                           │

│ 2023-11-30T12:59:44.011149Z  INFO test:                     │

│ input=Identifier("zX3v4lOJg8dwk118F1IPAFCLHX9UNr")                           │

│ 2023-11-30T12:59:44.011194Z  INFO test: input=Comment("")   │

│ 2023-11-30T12:59:44.011241Z  INFO test: input=Operator("/") │

│ 2023-11-30T12:59:44.011284Z  INFO test:                     │

│ input=Integer(3010995508626453058)                                           │

│ 2023-11-30T12:59:44.011330Z  INFO test: input=Operator("=") │

│ 2023-11-30T12:59:44.011390Z  INFO test:                     │

│ input=StringLiteral("=o&P{u(gF.L=m?M'")                                      │

│ 2023-11-30T12:59:44.011461Z  INFO test:                     │

│ input=Identifier("d9ezJVo32N4941gf5jINFjcJ8xX7786w")                         │

│ 2023-11-30T12:59:44.011509Z  INFO test: input=Operator("-") │

│ 2023-11-30T12:59:44.011556Z  INFO test: input=Operator("=") │

│ 2023-11-30T12:59:44.011633Z  INFO test:                     │

│ input=Identifier("ZiK6hVq24ZrSYLb9cNU9slX26I883lhb")                         │

│ 2023-11-30T12:59:44.011679Z  INFO test:                     │

│ input=Integer(-5624330045863482756)                                          │

│ 2023-11-30T12:59:44.011714Z  INFO test:                     │

│ input=Integer(8902593608261914796)                                           │

│ 2023-11-30T12:59:44.011768Z  INFO test:                     │

│ input=Comment("4c~Xr4=<sl<")                                                 │

│ 2023-11-30T12:59:44.011836Z  INFO test:                     │

│ input=StringLiteral("c_q6N._/LW`'$)")                                        │

│ 2023-11-30T12:59:44.011900Z  INFO test:                     │

│ input=Comment("VYdhP0%_$'=a,_P*%!VJ`/r@a")                                   │

│ 2023-11-30T12:59:44.011942Z  INFO test:                     │

│ input=Integer(7867352221756162530)                                           │

│ 2023-11-30T12:59:44.012013Z  INFO test:                     │

│ input=StringLiteral(".Z3<G_$3<(0&Z:!d`'d7'N9")                               │

│ 2023-11-30T12:59:44.012070Z  INFO test: input=Operator("(") │

│ 2023-11-30T12:59:44.012137Z  INFO test:                     │

│ input=Comment("Da<`n0Zx7=$j.'D(/\\{,ll")                                     │

│ 2023-11-30T12:59:44.012183Z  INFO test: input=Comment("")   │

│ 2023-11-30T12:59:44.012226Z  INFO test:                     │

│ input=Integer(1784859726325739322)                                           │

│ 2023-11-30T12:59:44.012264Z  INFO test:                     │

│ input=Integer(1701520845302554822)                                           │

│ 2023-11-30T12:59:44.012335Z  INFO test:                     │

│ input=Comment("%5]c0 ,LM\" O?)+dt/nB.b")                                     │

│ 2023-11-30T12:59:44.012397Z  INFO test:                     │

│ input=StringLiteral("?:D*Su|<8=]v~.J]*0'&N:%7")                              │

│ 2023-11-30T12:59:44.012455Z  INFO test:                     │

│ input=Identifier("vXSxtuOvpxDDOl2z9P")                                       │

│ 2023-11-30T12:59:44.012486Z  INFO test: input=Operator("=") │

│ 2023-11-30T12:59:44.012516Z  INFO test:                     │

│ input=Identifier("LtCx6vILzm5UcMJfaoX")                                      │

│ 2023-11-30T12:59:44.012554Z  INFO test:                     │

│ input=Identifier("jUhc46S86JEd621rzxfGMD25v1WP19Ku5")                        │

│ 2023-11-30T12:59:44.012580Z  INFO test:                     │

│ input=StringLiteral("y{F[{JS")                                               │

│ 2023-11-30T12:59:44.012602Z  INFO test:                     │

│ input=StringLiteral("&")                                                     │

│ 2023-11-30T12:59:44.012638Z  INFO test:                     │

│ input=Identifier("a9maeeza31iwpFBMj73c7OdW0")                                │

│ 2023-11-30T12:59:44.012678Z  INFO test:                     │

│ input=Identifier("RMsuzkmQ6Qh9WunBWuEdnf7wZYPzdBy")                          │

│ 2023-11-30T12:59:44.012707Z  INFO test:                     │

│ input=Integer(-2377895233133525099)                                          │

│ 2023-11-30T12:59:44.012726Z  INFO test:                     │

│ input=Integer(-1391504456572402783)                                          │

│ 2023-11-30T12:59:44.012769Z  INFO test:                     │

│ input=StringLiteral("=,4(2A`[r<")                                            │

│ 2023-11-30T12:59:44.012809Z  INFO test: input=Operator("=") │

│ 2023-11-30T12:59:44.012847Z  INFO test:                     │

│ input=Identifier("f9cyv1f30QzwU0L1i20eDtHGuO5SBN")                           │

│ 2023-11-30T12:59:44.012869Z  INFO test: input=Operator("+") │

│ 2023-11-30T12:59:44.012887Z  INFO test:                     │

│ input=Identifier("T")                                                        │

│ 2023-11-30T12:59:44.012906Z  INFO test: input=Operator("-") │

│ 2023-11-30T12:59:44.012923Z  INFO test:                     │

│ input=Integer(4729011491487160566)                                           │

│ 2023-11-30T12:59:44.012942Z  INFO test:                     │

│ input=Integer(-895161283203619665)                                           │

│ 2023-11-30T12:59:44.012962Z  INFO test: input=Operator("(") │

│ 2023-11-30T12:59:44.012983Z  INFO test:                     │

│ input=Comment("0LQ'")                                                        │

│ 2023-11-30T12:59:44.013003Z  INFO test: input=Operator("*") │

│ 2023-11-30T12:59:44.013026Z  INFO test:                     │

│ input=Identifier("vl1KUmo7bOS")                                              │

│ 2023-11-30T12:59:44.013045Z  INFO test:                     │

│ input=Integer(9027446022626062481)                                           │

│ 2023-11-30T12:59:44.013080Z  INFO test:                     │

│ input=StringLiteral("ugAi./l/=bF~s:OK<;'J$:YD'")                             │

│ 2023-11-30T12:59:44.013117Z  INFO test:                     │

│ input=Identifier("DG5o6ZBuSN4f2Q6Uo7J3mLQlv3o3WeeX7")                        │

│ 2023-11-30T12:59:44.013149Z  INFO test:                     │

│ input=StringLiteral("X&`6$_&N'l*[!,Ta5qt")                                   │

│ 2023-11-30T12:59:44.013184Z  INFO test:                     │

│ input=Identifier("FKMNDx72kS9nH3Xl6fpLU9QkP")                                │

│ 2023-11-30T12:59:44.013225Z  INFO test: input=Operator("(") │

│ 2023-11-30T12:59:44.013278Z  INFO test:                     │

│ input=StringLiteral("Wa%bB|O=P<jRJ`U+'rnn?%S& i)")                           │

│ 2023-11-30T12:59:44.013327Z  INFO test:                     │

│ input=Identifier("ldiNf3X8kwj66d40mP7GH")                                    │

│ 2023-11-30T12:59:44.013361Z  INFO test: input=Operator("=") │

│ 2023-11-30T12:59:44.013386Z  INFO test:                     │

│ input=Integer(1219332823062166933)                                           │

│ 2023-11-30T12:59:44.013412Z  INFO test:                     │

│ input=Integer(2712193547263843843)                                           │

│ 2023-11-30T12:59:44.013451Z  INFO test:                     │

│ input=Comment("V?P]/oRG@zoKY^")                                              │

│ 2023-11-30T12:59:44.013495Z  INFO test:                     │

│ input=Identifier("mc34dafl433WVp8l")                                         │

│ 2023-11-30T12:59:44.013520Z  INFO test:                     │

│ input=Identifier("j6R")                                                      │

│ 2023-11-30T12:59:44.013539Z  INFO test:                     │

│ input=Integer(-8791625096988066497)                                          │

│ 2023-11-30T12:59:44.013572Z  INFO test:                     │

│ input=StringLiteral("ob..')L{`;u#^:)'X<{/cP:")                               │

│ 2023-11-30T12:59:44.013596Z  INFO test: input=Operator("*") │

│ 2023-11-30T12:59:44.031476Z  INFO test:                     │

│ input=Comment(":wU8tYY%[*8_w:]C;:<Eadrq!qUo")                                │

│ 2023-11-30T12:59:44.031576Z  INFO test:                     │

│ input=StringLiteral("oHzV{o0r*$#ltu=3Yu~dZ")                                 │

│ 2023-11-30T12:59:44.031627Z  INFO test: input=Operator("-") │

│ 2023-11-30T12:59:44.031686Z  INFO test:                     │

│ input=StringLiteral("ua^k~*h<<S:4K3&c.M.&i")                                 │

│ 2023-11-30T12:59:44.031748Z  INFO test: input=Operator(")") │

│ 2023-11-30T12:59:44.031820Z  INFO test:                     │

│ input=Identifier("L3Y9M5JY4K9X5wdUe7b46")                                    │

│ 2023-11-30T12:59:44.031875Z  INFO test: input=Operator(")") │

│ 2023-11-30T12:59:44.031935Z  INFO test:                     │

│ input=StringLiteral("/+eBDlSLMO'7@%=,eu")                                    │

│ 2023-11-30T12:59:44.032016Z  INFO test:                     │

│ input=Comment("'c<hC=|'e%7f$>f<<E$H`$4g`")                                   │

│ 2023-11-30T12:59:44.032068Z  INFO test: input=Operator("*") │

│ 2023-11-30T12:59:44.032124Z  INFO test: input=Comment("5")  │

│ 2023-11-30T12:59:44.032181Z  INFO test: input=Operator("*") │

│ 2023-11-30T12:59:44.032232Z  INFO test:                     │

│ input=Integer(6983934538697847764)                                           │

│ 2023-11-30T12:59:44.032290Z  INFO test: input=Comment("GOr[ │

│ M{'{j")                                                                      │

│ 2023-11-30T12:59:44.032361Z  INFO test:                     │

│ input=Comment("&hu$\\=rE'<Wh?%7")                                            │

│ 2023-11-30T12:59:44.032422Z  INFO test:                     │

│ input=StringLiteral("|$+6..*UP")                                             │

│ 2023-11-30T12:59:44.032494Z  INFO test:                     │

│ input=Identifier("ix3h3hR1RXYF8aWz5")                                        │

│ 2023-11-30T12:59:44.032575Z  INFO test:                     │

│ input=StringLiteral("s^OP<.Q::<N!*9m~>n.`*.'<0lTM")                          │

│ 2023-11-30T12:59:44.032649Z  INFO test:                     │

│ input=StringLiteral("C:x93lik(/J/.{;*!'")                                    │

│ 2023-11-30T12:59:44.032724Z  INFO test:                     │

│ input=StringLiteral("<O1ej<;v'A={g`d}hR:`")                                  │

│ 2023-11-30T12:59:44.032800Z  INFO test:                     │

│ input=StringLiteral("t?(|=`{-*l,gC[#:=c%?")                                  │

│ 2023-11-30T12:59:44.032873Z  INFO test:                     │

│ input=Identifier("LlhWzNgbU7qP1Kaz9VmEWzHK0q")                               │

│ 2023-11-30T12:59:44.032970Z  INFO test:                     │

│ input=StringLiteral("/??o*e$/.j!B%W&fbo*'V{,")                               │

│ 2023-11-30T12:59:44.033030Z  INFO test: input=Comment("")   │

│ 2023-11-30T12:59:44.033062Z  INFO test:                     │

│ input=Identifier("dEI7N")                                                    │

│ 2023-11-30T12:59:44.033098Z  INFO test:                     │

│ input=Identifier("HE9K4vjiw1hwX0ZX7w4")                                      │

│ 2023-11-30T12:59:44.033142Z  INFO test:                     │

│ input=StringLiteral("? k@F8<L=_|vB,***my$.{/g:o")                            │

│ 2023-11-30T12:59:44.033172Z  INFO test: input=Operator("/") │

│ 2023-11-30T12:59:44.033196Z  INFO test: input=Operator("-") │

│ 2023-11-30T12:59:44.033221Z  INFO test: input=Operator("(") │

│ 2023-11-30T12:59:44.033259Z  INFO test:                     │

│ input=StringLiteral("VQx0'c{Zz'B<%7<q?;=:wx{")                               │

│ 2023-11-30T12:59:44.033305Z  INFO test:                     │

│ input=StringLiteral("L%`55<sK]90'X*:[,9!GW|BOQ]#q")                          │

│ 2023-11-30T12:59:44.033332Z  INFO test:                     │

│ input=Integer(7972674318999238770)                                           │

│ 2023-11-30T12:59:44.033364Z  INFO test:                     │

│ input=Comment("{m?/G81):;2rl1;")                                             │

│ 2023-11-30T12:59:44.033392Z  INFO test:                     │

│ input=Integer(8892606627763463895)                                           │

│ 2023-11-30T12:59:44.033416Z  INFO test: input=Comment("3")  │

│ 2023-11-30T12:59:44.033439Z  INFO test:                     │

│ input=Identifier("UVC")                                                      │

│ 2023-11-30T12:59:44.033472Z  INFO test:                     │

│ input=StringLiteral(":h.{a..f=&*")                                           │

│ 2023-11-30T12:59:44.033513Z  INFO test:                     │

│ input=Identifier("x08Jnxacpeu6vcs4g6aTpGoO4R5")                              │

│ 2023-11-30T12:59:44.033542Z  INFO test: input=Operator("*") │

│ 2023-11-30T12:59:44.033564Z  INFO test:                     │

│ input=Integer(8500288300919810140)                                           │

│ 2023-11-30T12:59:44.033603Z  INFO test:                     │

│ input=Comment("T).%T?SGr2%d%y/a\"c$s!@\":&%p*")                              │

│ 2023-11-30T12:59:44.033634Z  INFO test: input=Operator("/") │

│ 2023-11-30T12:59:44.033671Z  INFO test:                     │

│ input=Comment("@(:%dL.<%-ed^Z-c!U56\"IN5{`'8p)6")                            │

│ 2023-11-30T12:59:44.033698Z  INFO test:                     │

│ input=Integer(1057187377433763752)                                           │

│ 2023-11-30T12:59:44.033723Z  INFO test: input=Operator("-") │

│ 2023-11-30T12:59:44.033746Z  INFO test: input=Operator("=") │

│ 2023-11-30T12:59:44.033771Z  INFO test:                     │

│ input=Identifier("BMbp45n")                                                  │

│ 2023-11-30T12:59:44.033794Z  INFO test:                     │

│ input=Integer(6342090627064408502)                                           │

│ 2023-11-30T12:59:44.033818Z  INFO test: input=Operator("/") │

│ 2023-11-30T12:59:44.033845Z  INFO test:                     │

│ input=Identifier("wd9YWri0aZW")                                              │

│ 2023-11-30T12:59:44.033914Z  INFO test:                     │

│ input=Identifier("WWr988EexLID0jA9HlXXri")                                   │

│ 2023-11-30T12:59:44.033984Z  INFO test:                     │

│ input=Identifier("NNTH9DZSTUU9zhWNP124r9a4V")                                │

│ 2023-11-30T12:59:44.034017Z  INFO test: input=Comment("")   │

│ 2023-11-30T12:59:44.034042Z  INFO test:                     │

│ input=Identifier("iW9544S")                                                  │

│ 2023-11-30T12:59:44.034075Z  INFO test:                     │

│ input=StringLiteral("e]Ns$5Le=qb")                                           │

│ 2023-11-30T12:59:44.034099Z  INFO test:                     │

│ input=Integer(-7422299526278077858)                                          │

│ 2023-11-30T12:59:44.034119Z  INFO test:                     │

│ input=Integer(8858146754609276991)                                           │

│ 2023-11-30T12:59:44.034142Z  INFO test:                     │

│ input=Identifier("eXK")                                                      │

│ 2023-11-30T12:59:44.034169Z  INFO test:                     │

│ input=Comment("'F{<&")                                                       │

│ 2023-11-30T12:59:44.034191Z  INFO test:                     │

│ input=Integer(-5941639639306569790)                                          │

│ 2023-11-30T12:59:44.034231Z  INFO test:                     │

│ input=Comment("\\d9\"\"<L``{/yO[)$,4F$'J8\"vmMu7/U")                         │

│ 2023-11-30T12:59:44.034258Z  INFO test:                     │

│ input=Integer(5366538441324806961)                                           │

│ 2023-11-30T12:59:44.034282Z  INFO test: input=Operator("(") │

│ 2023-11-30T12:59:44.034304Z  INFO test: input=Operator("+") │

│ 2023-11-30T12:59:44.034330Z  INFO test: input=Operator("/") │

│ 2023-11-30T12:59:44.034369Z  INFO test:                     │

│ input=Identifier("jWp3zoSKGWBE692x54BUx3xv15L4IR4")                          │

│ 2023-11-30T12:59:44.034393Z  INFO test:                     │

│ input=Integer(-8829585643220933283)                                          │

│ 2023-11-30T12:59:44.034433Z  INFO test:                     │

│ input=Identifier("v0CYS3KMiBnZ3QIKPpT5sD54j")                                │

│ 2023-11-30T12:59:44.034459Z  INFO test:                     │

│ input=Identifier("yFBa6jH")                                                  │

│ 2023-11-30T12:59:44.034487Z  INFO test: input=Operator("(") │

│ 2023-11-30T12:59:44.034507Z  INFO test:                     │

│ input=Integer(2426423863830370130)                                           │

│ 2023-11-30T12:59:44.034528Z  INFO test:                     │

│ input=Identifier("B")                                                        │

│ 2023-11-30T12:59:44.034564Z  INFO test:                     │

│ input=Identifier("tR2A2bz520nKIC5T0H842U6DEQT")                              │

│ 2023-11-30T12:59:44.034598Z  INFO test:                     │

│ input=Comment("?k?s7:\"=.%e\"")                                              │

│ 2023-11-30T12:59:44.034634Z  INFO test:                     │

│ input=Comment("oyI@:pR(<a'Z~=")                                              │

│ 2023-11-30T12:59:44.034674Z  INFO test: input=Operator("-") │

│ 2023-11-30T12:59:44.034737Z  INFO test:                     │

│ input=Comment("2I/,*:2-*p@-/t")                                              │

│ 2023-11-30T12:59:44.034788Z  INFO test:                     │

│ input=Integer(504983275749545279)                                            │

│ 2023-11-30T12:59:44.034855Z  INFO test:                     │

│ input=Comment("T{23Ta2ZoR1bOZ")                                              │

│ 2023-11-30T12:59:44.034922Z  INFO test:                     │

│ input=Identifier("NYYMq2qo6Qvth9F35dGnDwLl")                                 │

│ 2023-11-30T12:59:44.034986Z  INFO test:                     │

│ input=Identifier("PMeC0F8XX5WgKFoyI8xlV")                                    │

│ 2023-11-30T12:59:44.035040Z  INFO test:                     │

│ input=Identifier("s")                                                        │

│ 2023-11-30T12:59:44.035106Z  INFO test:                     │

│ input=Comment("{b\\.%0dF{~v,@]D")                                            │

│ 2023-11-30T12:59:44.035170Z  INFO test:                     │

│ input=Identifier("e1eV5GM67tgOFK8")                                          │

│ 2023-11-30T12:59:44.035233Z  INFO test:                     │

│ input=Identifier("MKknXQvz10A255UG")                                         │

│ 2023-11-30T12:59:44.035286Z  INFO test:                     │

│ input=Integer(5199645730377396063)                                           │

│ 2023-11-30T12:59:44.035336Z  INFO test: input=Operator("*") │

│ 2023-11-30T12:59:44.035405Z  INFO test:                     │

│ input=StringLiteral("ggz,`:$Xc+FX$5{;")                                      │

│ 2023-11-30T12:59:44.035460Z  INFO test:                     │

│ input=Identifier("Nj7UfT")                                                   │

│ 2023-11-30T12:59:44.035513Z  INFO test: input=Operator("=") │

│ 2023-11-30T12:59:44.035592Z  INFO test:                     │

│ input=StringLiteral("?dC+<J.Lj7/i0f(}bs-*5M=.=")                             │

│ 2023-11-30T12:59:44.035648Z  INFO test:                     │

│ input=Identifier("HncaCd2hjF8SQA557qCUTi0n16r")                              │

│ 2023-11-30T12:59:44.035697Z  INFO test: input=Operator("(") │

│ 2023-11-30T12:59:44.035748Z  INFO test:                     │

│ input=Identifier("i4")                                                       │

│ 2023-11-30T12:59:44.035799Z  INFO test:                     │

│ input=StringLiteral("ebX/'b")                                                │

│ 2023-11-30T12:59:44.035867Z  INFO test:                     │

│ input=StringLiteral("ai4a8$vP{?)ld;jr(N>5")                                  │

│ 2023-11-30T12:59:44.035915Z  INFO test:                     │

│ input=Integer(-8074525491623151177)                                          │

│ 2023-11-30T12:59:44.035964Z  INFO test:                     │

│ input=Integer(-4046836317943071790)                                          │

│ 2023-11-30T12:59:44.036040Z  INFO test:                     │

│ input=Identifier("xR8y4wKV8UVQ5X5Pcp1iXA9ct7nZ")                             │

│ 2023-11-30T12:59:44.036087Z  INFO test:                     │

│ input=Integer(5383512510537894871)                                           │

│ 2023-11-30T12:59:44.036152Z  INFO test:                     │

│ input=Comment("fc<d6|=9n6M%")                                                │

│ 2023-11-30T12:59:44.036225Z  INFO test:                     │

│ input=StringLiteral("`okd:6Fj5?$%.'Q'M3S,#>-}e&W")                           │

│ 2023-11-30T12:59:44.036293Z  INFO test:                     │

│ input=Comment(".?_6L'u*>-E-4At=8!%l")                                        │

│ 2023-11-30T12:59:44.036355Z  INFO test:                     │

│ input=Comment("8DYGJ?b*Ye")                                                  │

│ 2023-11-30T12:59:44.036441Z  INFO test:                     │

│ input=Identifier("U6T3MaXkqFBe88SPI5ddh1D73F")                               │

│ 2023-11-30T12:59:44.036503Z  INFO test:                     │

│ input=StringLiteral("=:;&R=/kA/}'m1Y=m}")                                    │

│ 2023-11-30T12:59:44.036548Z  INFO test:                     │

│ input=Comment("/.)B#e<M@l%n%|ij&]")                                          │

│ 2023-11-30T12:59:44.036614Z  INFO test:                     │

│ input=Identifier("lYqYK2Pui14F3jE44zK14xI6v0zs")                             │

│ 2023-11-30T12:59:44.036664Z  INFO test:                     │

│ input=Integer(3215070598743257209)                                           │

│ 2023-11-30T12:59:44.036720Z  INFO test: input=Operator("(") │

│ 2023-11-30T12:59:44.036769Z  INFO test:                     │

│ input=Integer(558014806932981013)                                            │

│ 2023-11-30T12:59:44.036817Z  INFO test:                     │

│ input=Integer(-4919034096521100922)                                          │

│ 2023-11-30T12:59:44.036867Z  INFO test:                     │

│ input=Integer(89696865613831795)                                             │

│ 2023-11-30T12:59:44.036914Z  INFO test:                     │

│ input=Integer(-256805586460969021)                                           │

│ 2023-11-30T12:59:44.036983Z  INFO test:                     │

│ input=StringLiteral("=:&sj=`eh!%MF*/[3'&")                                   │

│ 2023-11-30T12:59:44.037042Z  INFO test: input=Operator("(") │

│ 2023-11-30T12:59:44.037089Z  INFO test:                     │

│ input=Integer(5530572752562960555)                                           │

│ 2023-11-30T12:59:44.037143Z  INFO test:                     │

│ input=StringLiteral("0X")                                                    │

│ 2023-11-30T12:59:44.037202Z  INFO test:                     │

│ input=Comment("fRHa+M")                                                      │

│ 2023-11-30T12:59:44.037246Z  INFO test:                     │

│ input=Integer(-6223459766742821726)                                          │

│ 2023-11-30T12:59:44.037301Z  INFO test: input=Comment("")   │

│ 2023-11-30T12:59:44.037342Z  INFO test:                     │

│ input=Integer(2908166310710633316)                                           │

│ 2023-11-30T12:59:44.037393Z  INFO test:                     │

│ input=Integer(8514806404482361860)                                           │

│ 2023-11-30T12:59:44.037453Z  INFO test:                     │

│ input=Comment(".L#1Ty..x[P")                                                 │

│ 2023-11-30T12:59:44.037503Z  INFO test:                     │

│ input=Integer(4028247734378596399)                                           │

│ 2023-11-30T12:59:44.037575Z  INFO test: input=Comment("`,   │

│ g=w-`]pT&-V9@(rY`dWA")                                                       │

│ 2023-11-30T12:59:44.037629Z  INFO test:                     │

│ input=Integer(-7653986521611079256)                                          │

│ 2023-11-30T12:59:44.037655Z  INFO test:                     │

│ input=Integer(6340760648003424756)                                           │

│ 2023-11-30T12:59:44.037688Z  INFO test:                     │

│ input=Comment("?B<PL/W*?{^*$XF?")                                            │

│ 2023-11-30T12:59:44.037750Z  INFO test:                     │

│ input=Identifier("NByEBMAJ7Zrt0CNa92b0gFFp")                                 │

│ 2023-11-30T12:59:44.037816Z  INFO test:                     │

│ input=Identifier("TbAViL1O4MU74H7")                                          │

│ 2023-11-30T12:59:44.037879Z  INFO test:                     │

│ input=StringLiteral("G/>Y6!`")                                               │

│ 2023-11-30T12:59:44.037963Z  INFO test:                     │

│ input=Identifier("P8o29AWKz89urfLLD5qgZtbQvda2ae")                           │

│ 2023-11-30T12:59:44.038020Z  INFO test:                     │

│ input=Comment("'6rgsm:L")                                                    │

│ 2023-11-30T12:59:44.038080Z  INFO test:                     │

│ input=Identifier("PiMVQ8U2")                                                 │

│ 2023-11-30T12:59:44.038136Z  INFO test: input=Operator(")") │

│ 2023-11-30T12:59:44.038199Z  INFO test:                     │

│ input=Identifier("IG5o1NW0Z9O6b7y0s7")                                       │

│ 2023-11-30T12:59:44.038260Z  INFO test:                     │

│ input=Identifier("AgoVTKFCZk3879u")                                          │

│ 2023-11-30T12:59:44.038302Z  INFO test:                     │

│ input=Integer(2338726175247300008)                                           │

│ test prop_parse_format_idempotent ... ok                                     │

│ test                                                                         │

│ adding_and_then_removing_an_item_from_the_cart_leaves_the_cart_unchanged ... │

│ ok                                                                           │

│                                                                              │

│ test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out;  │

│ finished in 0.19s                                                            │

│                                                                              │

│                                                                              │

╰──────────────────────────────────────────────────────────────────────────────╯



── pwsh ────────────────────────────────────────────────────────────────────────

{ . $ScriptDir/../../../../target/release/test$(GetExecutableSuffix) } | 

Invoke-Block



╭─[ 77.09ms - stdout ]─────────────────────────────────────────────────────────╮

│ app=test                                                                     │

│                                                                              │

╰──────────────────────────────────────────────────────────────────────────────╯

[NbConvertApp] Converting notebook build.dib.ipynb to html

C:\Users\i574n\scoop\apps\python\current\Lib\site-packages\nbformat\__init__.py:93: MissingIDFieldWarning: Code cell is missing an id field, this will become a hard error in future nbformat versions. You may want to use `normalize()` on your notebooks before validations (available since nbformat 5.1.4). Previous versions of nbformat are fixing this issue transparently, and will stop doing so in the future.

  validate(nb)

C:\Users\i574n\scoop\apps\python\current\Lib\site-packages\nbconvert\filters\highlight.py:71: UserWarning: IPython3 lexer unavailable, falling back on Python 3

  return _pygments_highlight(

[NbConvertApp] Writing 315104 bytes to build.dib.html

In [ ]:
{ . "$ScriptDir/../apps/plot/build.ps1" } | Invoke-Block
    Finished release [optimized] target(s) in 0.53s

In [ ]:
{ . "$ScriptDir/../lib/spiral/build.ps1" } | Invoke-Block
00:00:00 #1 [Debug] runWithTimeoutAsync / timeout: 60

00:00:00 #2 [Debug] executeAsync / options: { Command =

   "dotnet "C:\home\git\polyglot\deps\The-Spiral-Language\The Spiral Language 2\artifacts\bin\The Spiral Language 2\release\Spiral.dll" port=13805"

  WorkingDirectory = None

  CancellationToken = Some System.Threading.CancellationToken

  OnLine = Some <fun:main@450-1020> }

00:00:00 #3 [Verbose] > pwd: C:\home\git\polyglot\lib\spiral

00:00:00 #4 [Verbose] > dll_path: C:\home\git\polyglot\deps\The-Spiral-Language\The Spiral Language 2\artifacts\bin\The Spiral Language 2\release

00:00:00 #5 [Debug] runWithTimeoutAsync / timeout: 500

00:00:00 #6 [Verbose] waitForPortAccess / port: 13805 / retry: 0

00:00:01 #7 [Debug] sendJson / port: 13805 / json: {"Ping":true} / result.Length:

00:00:01 #8 [Verbose] awaitCompiler / Ping / result: Some(null) / port: 13805 / retry: 0

00:00:01 #9 [Verbose] > Server bound to: http://localhost:13805

00:00:01 #10 [Debug] executeAsync / options: { Command = "pwsh -c "../../scripts/invoke-dib.ps1 testing.dib""

  WorkingDirectory = None

  CancellationToken = Some System.Threading.CancellationToken

  OnLine = None }

00:00:03 #11 [Verbose] >

00:00:03 #12 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────

00:00:03 #13 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮

00:00:03 #14 [Verbose] > │ # testing                                                                    │

00:00:03 #15 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:03 #16 [Verbose] >

00:00:03 #17 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:03 #18 [Verbose] > inl __expect fn log b a =

00:00:03 #19 [Verbose] >     if log

00:00:03 #20 [Verbose] >     then $"$\"__expect / actual: %A{!a} / expected: %A{!b}\""

00:00:03 #21 [Verbose] >     else "__expect"

00:00:03 #22 [Verbose] >     |> assert (fn a b)

00:00:03 #23 [Verbose] >

00:00:03 #24 [Verbose] > inl __almost_equal log b a = __expect (fun a b => abs (b - a) < 0.00000001) log

00:00:03 #25 [Verbose] > b a

00:00:03 #26 [Verbose] > inl _almost_equal b a = __almost_equal true b a

00:00:03 #27 [Verbose] >

00:00:03 #28 [Verbose] > inl __equal log b a = __expect (=) log b a

00:00:03 #29 [Verbose] > inl _equal b a = __equal true b a

00:00:03 #30 [Verbose] >

00:00:03 #31 [Verbose] > inl __is_greater_than log b a = __expect (>) log b a

00:00:03 #32 [Verbose] > inl _is_greater_than b a = __is_greater_than true b a

00:00:03 #33 [Verbose] >

00:00:03 #34 [Verbose] > inl __is_greater_than_or_equal log b a = __expect (>=) log b a

00:00:03 #35 [Verbose] > inl _is_greater_than_or_equal b a = __is_greater_than_or_equal true b a

00:00:03 #36 [Verbose] >

00:00:03 #37 [Verbose] > inl __is_less_than log b a = __expect (<) log b a

00:00:03 #38 [Verbose] > inl _is_less_than b a = __is_less_than true b a

00:00:03 #39 [Verbose] >

00:00:03 #40 [Verbose] > inl __is_less_than_or_equal log b a = __expect (<=) log b a

00:00:03 #41 [Verbose] > inl _is_less_than_or_equal b a = __is_less_than_or_equal true b a

00:00:03 #42 [Verbose] >

00:00:03 #43 [Verbose] > inl _throws (fn : () -> ()) : option string =

00:00:03 #44 [Verbose] >     inl none = None : option string

00:00:03 #45 [Verbose] >     inl some (s : string) = Some s

00:00:03 #46 [Verbose] >     $"try !fn (); !none with ex -> !some ex.Message"

00:00:06 #47 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0859-5424-2459-290a3017d5b9\main.spi

00:00:08 #48 [Verbose] >

00:00:08 #49 [Verbose] > ╭─[ 4.93s - stdout ]───────────────────────────────────────────────────────────╮

00:00:08 #50 [Verbose] > │ ()                                                                           │

00:00:08 #51 [Verbose] > │                                                                              │

00:00:08 #52 [Verbose] > │                                                                              │

00:00:08 #53 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:08 #54 [Verbose] >

00:00:08 #55 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:08 #56 [Verbose] > inl print_and_return x =

00:00:08 #57 [Verbose] >     $"printfn $\"print_and_return / x: {!x}\""

00:00:08 #58 [Verbose] >     x

00:00:08 #59 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0859-5712-1254-130ba725ca8c\main.spi

00:00:08 #60 [Verbose] >

00:00:08 #61 [Verbose] > ╭─[ 208.79ms - stdout ]────────────────────────────────────────────────────────╮

00:00:08 #62 [Verbose] > │ ()                                                                           │

00:00:08 #63 [Verbose] > │                                                                              │

00:00:08 #64 [Verbose] > │                                                                              │

00:00:08 #65 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:10 #66 [Verbose] > [NbConvertApp] Converting notebook testing.dib.ipynb to html

00:00:10 #67 [Verbose] > C:\Users\i574n\scoop\apps\python\current\Lib\site-packages\nbformat\__init__.py:93: MissingIDFieldWarning: Code cell is missing an id field, this will become a hard error in future nbformat versions. You may want to use `normalize()` on your notebooks before validations (available since nbformat 5.1.4). Previous versions of nbformat are fixing this issue transparently, and will stop doing so in the future.

00:00:10 #68 [Verbose] >   validate(nb)

00:00:11 #69 [Verbose] > C:\Users\i574n\scoop\apps\python\current\Lib\site-packages\nbconvert\filters\highlight.py:71: UserWarning: IPython3 lexer unavailable, falling back on Python 3

00:00:11 #70 [Verbose] >   return _pygments_highlight(

00:00:11 #71 [Verbose] > [NbConvertApp] Writing 277232 bytes to testing.dib.html

00:00:12 #72 [Debug] executeAsync / exitCode: 0 / output.Length: 3117

00:00:12 #73 [Debug] main / executeCommand / exitCode: 0

00:00:00 #1 [Debug] runWithTimeoutAsync / timeout: 60

00:00:00 #2 [Debug] executeAsync / options: { Command =

   "dotnet "C:\home\git\polyglot\deps\The-Spiral-Language\The Spiral Language 2\artifacts\bin\The Spiral Language 2\release\Spiral.dll" port=13805"

  WorkingDirectory = None

  CancellationToken = Some System.Threading.CancellationToken

  OnLine = Some <fun:main@450-1020> }

00:00:00 #3 [Verbose] > pwd: C:\home\git\polyglot\lib\spiral

00:00:00 #4 [Verbose] > dll_path: C:\home\git\polyglot\deps\The-Spiral-Language\The Spiral Language 2\artifacts\bin\The Spiral Language 2\release

00:00:00 #5 [Debug] runWithTimeoutAsync / timeout: 500

00:00:00 #6 [Verbose] waitForPortAccess / port: 13805 / retry: 0

00:00:01 #7 [Debug] runWithTimeoutAsync / timeout: 500

00:00:01 #8 [Debug] sendJson / port: 13805 / json: {"Ping":true} / result.Length:

00:00:01 #9 [Verbose] awaitCompiler / Ping / result: Some(null) / port: 13805 / retry: 0

00:00:01 #10 [Verbose] > Server bound to: http://localhost:13805

00:00:01 #11 [Debug] executeAsync / options: { Command = "pwsh -c "../../scripts/invoke-dib.ps1 common.dib""

  WorkingDirectory = None

  CancellationToken = Some System.Threading.CancellationToken

  OnLine = None }

00:00:04 #12 [Verbose] >

00:00:04 #13 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────

00:00:04 #14 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮

00:00:04 #15 [Verbose] > │ # common                                                                     │

00:00:04 #16 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:04 #17 [Verbose] >

00:00:04 #18 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:04 #19 [Verbose] > // // test

00:00:04 #20 [Verbose] >

00:00:04 #21 [Verbose] > open testing

00:00:06 #22 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0900-0769-6927-617e31fc82a8\main.spi

00:00:09 #23 [Verbose] >

00:00:09 #24 [Verbose] > ╭─[ 4.98s - stdout ]───────────────────────────────────────────────────────────╮

00:00:09 #25 [Verbose] > │ ()                                                                           │

00:00:09 #26 [Verbose] > │                                                                              │

00:00:09 #27 [Verbose] > │                                                                              │

00:00:09 #28 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:09 #29 [Verbose] >

00:00:09 #30 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────

00:00:09 #31 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮

00:00:09 #32 [Verbose] > │ ## types                                                                     │

00:00:09 #33 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:09 #34 [Verbose] >

00:00:09 #35 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:09 #36 [Verbose] > nominal any = $"obj"

00:00:09 #37 [Verbose] > nominal disposable = $"System.IDisposable"

00:00:09 #38 [Verbose] > nominal exn = $"exn"

00:00:09 #39 [Verbose] > nominal guid = $"System.Guid"

00:00:09 #40 [Verbose] >

00:00:09 #41 [Verbose] > let array x = x

00:00:09 #42 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0900-1059-5901-59a2b3a6acaa\main.spi

00:00:09 #43 [Verbose] >

00:00:09 #44 [Verbose] > ╭─[ 207.31ms - stdout ]────────────────────────────────────────────────────────╮

00:00:09 #45 [Verbose] > │ ()                                                                           │

00:00:09 #46 [Verbose] > │                                                                              │

00:00:09 #47 [Verbose] > │                                                                              │

00:00:09 #48 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:09 #49 [Verbose] >

00:00:09 #50 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────

00:00:09 #51 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮

00:00:09 #52 [Verbose] > │ ## prototype                                                                 │

00:00:09 #53 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:09 #54 [Verbose] >

00:00:09 #55 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:09 #56 [Verbose] > prototype (~:>) r : forall t. t -> r

00:00:09 #57 [Verbose] > prototype append t : t -> t -> t

00:00:09 #58 [Verbose] > prototype of_string t : string -> t

00:00:09 #59 [Verbose] > prototype to_string t : t -> string

00:00:09 #60 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0900-1079-7952-76ff6940746b\main.spi

00:00:09 #61 [Verbose] >

00:00:09 #62 [Verbose] > ╭─[ 233.49ms - stdout ]────────────────────────────────────────────────────────╮

00:00:09 #63 [Verbose] > │ ()                                                                           │

00:00:09 #64 [Verbose] > │                                                                              │

00:00:09 #65 [Verbose] > │                                                                              │

00:00:09 #66 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:09 #67 [Verbose] >

00:00:09 #68 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────

00:00:09 #69 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮

00:00:09 #70 [Verbose] > │ ## null                                                                      │

00:00:09 #71 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:09 #72 [Verbose] >

00:00:09 #73 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:09 #74 [Verbose] > inl null forall t. () : t =

00:00:09 #75 [Verbose] >     $"null |> unbox<`t>"

00:00:09 #76 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0900-1103-0331-0f8dc7386cfd\main.spi

00:00:09 #77 [Verbose] >

00:00:09 #78 [Verbose] > ╭─[ 180.39ms - stdout ]────────────────────────────────────────────────────────╮

00:00:09 #79 [Verbose] > │ ()                                                                           │

00:00:09 #80 [Verbose] > │                                                                              │

00:00:09 #81 [Verbose] > │                                                                              │

00:00:09 #82 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:09 #83 [Verbose] >

00:00:09 #84 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────

00:00:09 #85 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮

00:00:09 #86 [Verbose] > │ ## pair                                                                      │

00:00:09 #87 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:09 #88 [Verbose] >

00:00:09 #89 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:09 #90 [Verbose] > type pair a b = $"(`a * `b)"

00:00:09 #91 [Verbose] >

00:00:09 #92 [Verbose] > inl new_pair forall a b. (a : a) (b : b) : pair a b =

00:00:09 #93 [Verbose] >     $"!a, !b"

00:00:09 #94 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0900-1121-2182-2857c792e7b8\main.spi

00:00:09 #95 [Verbose] >

00:00:09 #96 [Verbose] > ╭─[ 201.83ms - stdout ]────────────────────────────────────────────────────────╮

00:00:09 #97 [Verbose] > │ ()                                                                           │

00:00:09 #98 [Verbose] > │                                                                              │

00:00:09 #99 [Verbose] > │                                                                              │

00:00:09 #100 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:09 #101 [Verbose] >

00:00:09 #102 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────

00:00:09 #103 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮

00:00:09 #104 [Verbose] > │ ## log_level_type                                                            │

00:00:09 #105 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:09 #106 [Verbose] >

00:00:09 #107 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:09 #108 [Verbose] > union log_level_type =

00:00:09 #109 [Verbose] >     | Verbose

00:00:09 #110 [Verbose] >     | Debug

00:00:09 #111 [Verbose] >     | Info

00:00:09 #112 [Verbose] >     | Warning

00:00:09 #113 [Verbose] >     | Critical

00:00:09 #114 [Verbose] >

00:00:09 #115 [Verbose] > instance to_string log_level_type = function

00:00:09 #116 [Verbose] >     | Verbose => "Verbose"

00:00:09 #117 [Verbose] >     | Debug => "Debug"

00:00:09 #118 [Verbose] >     | Info => "Info"

00:00:09 #119 [Verbose] >     | Warning => "Warning"

00:00:09 #120 [Verbose] >     | Critical => "Critical"

00:00:09 #121 [Verbose] >

00:00:09 #122 [Verbose] > instance of_string log_level_type = function

00:00:09 #123 [Verbose] >     | "Verbose" => Verbose

00:00:09 #124 [Verbose] >     | "Debug" => Debug

00:00:09 #125 [Verbose] >     | "Info" => Info

00:00:09 #126 [Verbose] >     | "Warning" => Warning

00:00:09 #127 [Verbose] >     | "Critical" => Critical

00:00:10 #128 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0900-1142-4253-46e8e1c7b349\main.spi

00:00:10 #129 [Verbose] >

00:00:10 #130 [Verbose] > ╭─[ 149.30ms - stdout ]────────────────────────────────────────────────────────╮

00:00:10 #131 [Verbose] > │ ()                                                                           │

00:00:10 #132 [Verbose] > │                                                                              │

00:00:10 #133 [Verbose] > │                                                                              │

00:00:10 #134 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:10 #135 [Verbose] >

00:00:10 #136 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────

00:00:10 #137 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮

00:00:10 #138 [Verbose] > │ ## to_any                                                                    │

00:00:10 #139 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:10 #140 [Verbose] >

00:00:10 #141 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:10 #142 [Verbose] > inl to_any forall t. (obj : t) : any =

00:00:10 #143 [Verbose] >     $"!obj"

00:00:10 #144 [Verbose] >

00:00:10 #145 [Verbose] > instance (~:>) any = to_any

00:00:10 #146 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0900-1157-5793-52323a55ff28\main.spi

00:00:10 #147 [Verbose] >

00:00:10 #148 [Verbose] > ╭─[ 201.02ms - stdout ]────────────────────────────────────────────────────────╮

00:00:10 #149 [Verbose] > │ ()                                                                           │

00:00:10 #150 [Verbose] > │                                                                              │

00:00:10 #151 [Verbose] > │                                                                              │

00:00:10 #152 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:10 #153 [Verbose] >

00:00:10 #154 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────

00:00:10 #155 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮

00:00:10 #156 [Verbose] > │ ## (/@)                                                                      │

00:00:10 #157 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:10 #158 [Verbose] >

00:00:10 #159 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:10 #160 [Verbose] > inl (/@) a b =

00:00:10 #161 [Verbose] >     b |> append a

00:00:10 #162 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0900-1178-7845-795449e3ac3c\main.spi

00:00:10 #163 [Verbose] >

00:00:10 #164 [Verbose] > ╭─[ 162.01ms - stdout ]────────────────────────────────────────────────────────╮

00:00:10 #165 [Verbose] > │ ()                                                                           │

00:00:10 #166 [Verbose] > │                                                                              │

00:00:10 #167 [Verbose] > │                                                                              │

00:00:10 #168 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:10 #169 [Verbose] >

00:00:10 #170 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────

00:00:10 #171 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮

00:00:10 #172 [Verbose] > │ ## (/+)                                                                      │

00:00:10 #173 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:10 #174 [Verbose] >

00:00:10 #175 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:10 #176 [Verbose] > inl (/+) forall t. (a : t) (b : t) : t =

00:00:10 #177 [Verbose] >     $"!a + !b"

00:00:10 #178 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0900-1195-9511-941c605fa3fc\main.spi

00:00:10 #179 [Verbose] >

00:00:10 #180 [Verbose] > ╭─[ 194.74ms - stdout ]────────────────────────────────────────────────────────╮

00:00:10 #181 [Verbose] > │ ()                                                                           │

00:00:10 #182 [Verbose] > │                                                                              │

00:00:10 #183 [Verbose] > │                                                                              │

00:00:10 #184 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:10 #185 [Verbose] >

00:00:10 #186 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────

00:00:10 #187 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮

00:00:10 #188 [Verbose] > │ ## pair                                                                      │

00:00:10 #189 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:10 #190 [Verbose] >

00:00:10 #191 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:10 #192 [Verbose] > inl pair x y =

00:00:10 #193 [Verbose] >     x, y

00:00:10 #194 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0900-1215-1516-1f5a6a8341b9\main.spi

00:00:10 #195 [Verbose] >

00:00:10 #196 [Verbose] > ╭─[ 172.15ms - stdout ]────────────────────────────────────────────────────────╮

00:00:10 #197 [Verbose] > │ ()                                                                           │

00:00:10 #198 [Verbose] > │                                                                              │

00:00:10 #199 [Verbose] > │                                                                              │

00:00:10 #200 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:10 #201 [Verbose] >

00:00:10 #202 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:10 #203 [Verbose] > // // test

00:00:10 #204 [Verbose] >

00:00:10 #205 [Verbose] > pair 1i32 2i32

00:00:10 #206 [Verbose] > |> _equal (1, 2)

00:00:10 #207 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0900-1232-3261-30d86680d3ff\main.spi

00:00:11 #208 [Verbose] >

00:00:11 #209 [Verbose] > ╭─[ 676.96ms - stdout ]────────────────────────────────────────────────────────╮

00:00:11 #210 [Verbose] > │ let rec method0 () : unit =                                                  │

00:00:11 #211 [Verbose] > │     let v0 : string = $"__expect / actual: %A{struct (1, 2)} / expected:     │

00:00:11 #212 [Verbose] > │ %A{struct (1, 2)}"                                                           │

00:00:11 #213 [Verbose] > │     ()                                                                       │

00:00:11 #214 [Verbose] > │ method0()                                                                    │

00:00:11 #215 [Verbose] > │                                                                              │

00:00:11 #216 [Verbose] > │                                                                              │

00:00:11 #217 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:11 #218 [Verbose] >

00:00:11 #219 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────

00:00:11 #220 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮

00:00:11 #221 [Verbose] > │ ## (||>)                                                                     │

00:00:11 #222 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:11 #223 [Verbose] >

00:00:11 #224 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:11 #225 [Verbose] > inl (||>) (arg1, arg2) fn =

00:00:11 #226 [Verbose] >     arg2 |> fn arg1

00:00:11 #227 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0900-1301-0107-0b048be20805\main.spi

00:00:11 #228 [Verbose] >

00:00:11 #229 [Verbose] > ╭─[ 195.67ms - stdout ]────────────────────────────────────────────────────────╮

00:00:11 #230 [Verbose] > │ ()                                                                           │

00:00:11 #231 [Verbose] > │                                                                              │

00:00:11 #232 [Verbose] > │                                                                              │

00:00:11 #233 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:11 #234 [Verbose] >

00:00:11 #235 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:11 #236 [Verbose] > // // test

00:00:11 #237 [Verbose] >

00:00:11 #238 [Verbose] > (3i32, 2i32)

00:00:11 #239 [Verbose] > ||> fun a b => a - b

00:00:11 #240 [Verbose] > |> _equal 1

00:00:11 #241 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0900-1320-2097-258f8ce001e5\main.spi

00:00:11 #242 [Verbose] >

00:00:11 #243 [Verbose] > ╭─[ 217.99ms - stdout ]────────────────────────────────────────────────────────╮

00:00:11 #244 [Verbose] > │ let rec method0 () : unit =                                                  │

00:00:11 #245 [Verbose] > │     let v0 : string = $"__expect / actual: %A{1} / expected: %A{1}"          │

00:00:11 #246 [Verbose] > │     ()                                                                       │

00:00:11 #247 [Verbose] > │ method0()                                                                    │

00:00:11 #248 [Verbose] > │                                                                              │

00:00:11 #249 [Verbose] > │                                                                              │

00:00:11 #250 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:11 #251 [Verbose] >

00:00:11 #252 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────

00:00:11 #253 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮

00:00:11 #254 [Verbose] > │ ## flip                                                                      │

00:00:11 #255 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:11 #256 [Verbose] >

00:00:11 #257 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:11 #258 [Verbose] > inl flip fn a b =

00:00:11 #259 [Verbose] >     fn b a

00:00:12 #260 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0900-1343-4319-4efb9886ab8a\main.spi

00:00:12 #261 [Verbose] >

00:00:12 #262 [Verbose] > ╭─[ 194.60ms - stdout ]────────────────────────────────────────────────────────╮

00:00:12 #263 [Verbose] > │ ()                                                                           │

00:00:12 #264 [Verbose] > │                                                                              │

00:00:12 #265 [Verbose] > │                                                                              │

00:00:12 #266 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:12 #267 [Verbose] >

00:00:12 #268 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:12 #269 [Verbose] > // // test

00:00:12 #270 [Verbose] >

00:00:12 #271 [Verbose] > (1i32, 2i32)

00:00:12 #272 [Verbose] > ||> flip pair

00:00:12 #273 [Verbose] > |> _equal (2, 1)

00:00:12 #274 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0900-1362-6284-6e8829a6506f\main.spi

00:00:12 #275 [Verbose] >

00:00:12 #276 [Verbose] > ╭─[ 204.62ms - stdout ]────────────────────────────────────────────────────────╮

00:00:12 #277 [Verbose] > │ let rec method0 () : unit =                                                  │

00:00:12 #278 [Verbose] > │     let v0 : string = $"__expect / actual: %A{struct (2, 1)} / expected:     │

00:00:12 #279 [Verbose] > │ %A{struct (2, 1)}"                                                           │

00:00:12 #280 [Verbose] > │     ()                                                                       │

00:00:12 #281 [Verbose] > │ method0()                                                                    │

00:00:12 #282 [Verbose] > │                                                                              │

00:00:12 #283 [Verbose] > │                                                                              │

00:00:12 #284 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:12 #285 [Verbose] >

00:00:12 #286 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────

00:00:12 #287 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮

00:00:12 #288 [Verbose] > │ ## join_body                                                                 │

00:00:12 #289 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:12 #290 [Verbose] >

00:00:12 #291 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:12 #292 [Verbose] > inl join_body body acc x =

00:00:12 #293 [Verbose] >     if var_is x |> not

00:00:12 #294 [Verbose] >     then body acc x

00:00:12 #295 [Verbose] >     else

00:00:12 #296 [Verbose] >         inl acc = dyn acc

00:00:12 #297 [Verbose] >         join body acc x

00:00:12 #298 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0900-1383-8389-82acedd32537\main.spi

00:00:12 #299 [Verbose] >

00:00:12 #300 [Verbose] > ╭─[ 258.26ms - stdout ]────────────────────────────────────────────────────────╮

00:00:12 #301 [Verbose] > │ ()                                                                           │

00:00:12 #302 [Verbose] > │                                                                              │

00:00:12 #303 [Verbose] > │                                                                              │

00:00:12 #304 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:12 #305 [Verbose] >

00:00:12 #306 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:12 #307 [Verbose] > // // test

00:00:12 #308 [Verbose] >

00:00:12 #309 [Verbose] > inl rec fold_list f s = function

00:00:12 #310 [Verbose] >     | Cons (x, x') => fold_list f (f s x) x'

00:00:12 #311 [Verbose] >     | Nil => s

00:00:12 #312 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0900-1409-0992-0b3e27671685\main.spi

00:00:12 #313 [Verbose] >

00:00:12 #314 [Verbose] > ╭─[ 155.73ms - stdout ]────────────────────────────────────────────────────────╮

00:00:12 #315 [Verbose] > │ ()                                                                           │

00:00:12 #316 [Verbose] > │                                                                              │

00:00:12 #317 [Verbose] > │                                                                              │

00:00:12 #318 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:12 #319 [Verbose] >

00:00:12 #320 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:12 #321 [Verbose] > // // test

00:00:12 #322 [Verbose] >

00:00:12 #323 [Verbose] > [[5i32; 4; join 3; 2; 1]]

00:00:12 #324 [Verbose] > |> fold_list (+) 0

00:00:12 #325 [Verbose] > |> _equal 15

00:00:12 #326 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0900-1425-2568-27320aeff31b\main.spi

00:00:12 #327 [Verbose] >

00:00:12 #328 [Verbose] > ╭─[ 241.86ms - stdout ]────────────────────────────────────────────────────────╮

00:00:12 #329 [Verbose] > │ let rec method1 () : int32 =                                                 │

00:00:12 #330 [Verbose] > │     3                                                                        │

00:00:12 #331 [Verbose] > │ and method0 () : unit =                                                      │

00:00:12 #332 [Verbose] > │     let v0 : int32 = method1()                                               │

00:00:12 #333 [Verbose] > │     let v1 : int32 = 9 + v0                                                  │

00:00:12 #334 [Verbose] > │     let v2 : int32 = v1 + 2                                                  │

00:00:12 #335 [Verbose] > │     let v3 : int32 = v2 + 1                                                  │

00:00:12 #336 [Verbose] > │     let v4 : string = $"__expect / actual: %A{v3} / expected: %A{15}"        │

00:00:12 #337 [Verbose] > │     let v5 : bool = v3 = 15                                                  │

00:00:12 #338 [Verbose] > │     let v6 : bool = v5 = false                                               │

00:00:12 #339 [Verbose] > │     if v6 then                                                               │

00:00:12 #340 [Verbose] > │         failwith<unit> v4                                                    │

00:00:12 #341 [Verbose] > │ method0()                                                                    │

00:00:12 #342 [Verbose] > │                                                                              │

00:00:13 #343 [Verbose] > │                                                                              │

00:00:13 #344 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:13 #345 [Verbose] >

00:00:13 #346 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:13 #347 [Verbose] > // // test

00:00:13 #348 [Verbose] >

00:00:13 #349 [Verbose] > [[5i32; 4; join 3; 2; 1]]

00:00:13 #350 [Verbose] > |> fold_list (join_body (+)) 0

00:00:13 #351 [Verbose] > |> _equal 15

00:00:13 #352 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0900-1450-5060-52968e4dc451\main.spi

00:00:13 #353 [Verbose] >

00:00:13 #354 [Verbose] > ╭─[ 183.25ms - stdout ]────────────────────────────────────────────────────────╮

00:00:13 #355 [Verbose] > │ let rec method1 () : int32 =                                                 │

00:00:13 #356 [Verbose] > │     3                                                                        │

00:00:13 #357 [Verbose] > │ and method2 (v0 : int32, v1 : int32) : int32 =                               │

00:00:13 #358 [Verbose] > │     let v2 : int32 = v1 + v0                                                 │

00:00:13 #359 [Verbose] > │     v2                                                                       │

00:00:13 #360 [Verbose] > │ and method0 () : unit =                                                      │

00:00:13 #361 [Verbose] > │     let v0 : int32 = method1()                                               │

00:00:13 #362 [Verbose] > │     let v1 : int32 = 9                                                       │

00:00:13 #363 [Verbose] > │     let v2 : int32 = method2(v0, v1)                                         │

00:00:13 #364 [Verbose] > │     let v3 : int32 = v2 + 2                                                  │

00:00:13 #365 [Verbose] > │     let v4 : int32 = v3 + 1                                                  │

00:00:13 #366 [Verbose] > │     let v5 : string = $"__expect / actual: %A{v4} / expected: %A{15}"        │

00:00:13 #367 [Verbose] > │     let v6 : bool = v4 = 15                                                  │

00:00:13 #368 [Verbose] > │     let v7 : bool = v6 = false                                               │

00:00:13 #369 [Verbose] > │     if v7 then                                                               │

00:00:13 #370 [Verbose] > │         failwith<unit> v5                                                    │

00:00:13 #371 [Verbose] > │ method0()                                                                    │

00:00:13 #372 [Verbose] > │                                                                              │

00:00:13 #373 [Verbose] > │                                                                              │

00:00:13 #374 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:13 #375 [Verbose] >

00:00:13 #376 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────

00:00:13 #377 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮

00:00:13 #378 [Verbose] > │ ## join_body_unit                                                            │

00:00:13 #379 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:13 #380 [Verbose] >

00:00:13 #381 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:13 #382 [Verbose] > inl join_body_unit body d x =

00:00:13 #383 [Verbose] >     if var_is d |> not

00:00:13 #384 [Verbose] >     then body x

00:00:13 #385 [Verbose] >     else

00:00:13 #386 [Verbose] >         inl x = dyn x

00:00:13 #387 [Verbose] >         join body x

00:00:13 #388 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0900-1470-7007-70d90f45f9d9\main.spi

00:00:13 #389 [Verbose] >

00:00:13 #390 [Verbose] > ╭─[ 213.21ms - stdout ]────────────────────────────────────────────────────────╮

00:00:13 #391 [Verbose] > │ ()                                                                           │

00:00:13 #392 [Verbose] > │                                                                              │

00:00:13 #393 [Verbose] > │                                                                              │

00:00:13 #394 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:13 #395 [Verbose] >

00:00:13 #396 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:13 #397 [Verbose] > // // test

00:00:13 #398 [Verbose] >

00:00:13 #399 [Verbose] > [[5i32; 4; join 3; 2; 1]]

00:00:13 #400 [Verbose] > |> fold_list (fun acc n => join_body_unit ((+) acc) n n) 0

00:00:13 #401 [Verbose] > |> _equal 15

00:00:13 #402 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0900-1491-9159-9216c8c4be04\main.spi

00:00:13 #403 [Verbose] >

00:00:13 #404 [Verbose] > ╭─[ 150.87ms - stdout ]────────────────────────────────────────────────────────╮

00:00:13 #405 [Verbose] > │ let rec method1 () : int32 =                                                 │

00:00:13 #406 [Verbose] > │     3                                                                        │

00:00:13 #407 [Verbose] > │ and method2 (v0 : int32) : int32 =                                           │

00:00:13 #408 [Verbose] > │     let v1 : int32 = 9 + v0                                                  │

00:00:13 #409 [Verbose] > │     v1                                                                       │

00:00:13 #410 [Verbose] > │ and method0 () : unit =                                                      │

00:00:13 #411 [Verbose] > │     let v0 : int32 = method1()                                               │

00:00:13 #412 [Verbose] > │     let v1 : int32 = method2(v0)                                             │

00:00:13 #413 [Verbose] > │     let v2 : int32 = v1 + 2                                                  │

00:00:13 #414 [Verbose] > │     let v3 : int32 = v2 + 1                                                  │

00:00:13 #415 [Verbose] > │     let v4 : string = $"__expect / actual: %A{v3} / expected: %A{15}"        │

00:00:13 #416 [Verbose] > │     let v5 : bool = v3 = 15                                                  │

00:00:13 #417 [Verbose] > │     let v6 : bool = v5 = false                                               │

00:00:13 #418 [Verbose] > │     if v6 then                                                               │

00:00:13 #419 [Verbose] > │         failwith<unit> v4                                                    │

00:00:13 #420 [Verbose] > │ method0()                                                                    │

00:00:13 #421 [Verbose] > │                                                                              │

00:00:13 #422 [Verbose] > │                                                                              │

00:00:13 #423 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:13 #424 [Verbose] >

00:00:13 #425 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────

00:00:13 #426 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮

00:00:13 #427 [Verbose] > │ ## run_target                                                                │

00:00:13 #428 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:13 #429 [Verbose] >

00:00:13 #430 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:13 #431 [Verbose] > union target_runtime =

00:00:13 #432 [Verbose] >     | Native

00:00:13 #433 [Verbose] >     | Wasm

00:00:13 #434 [Verbose] >

00:00:13 #435 [Verbose] > union target =

00:00:13 #436 [Verbose] >     | Rust : target_runtime

00:00:13 #437 [Verbose] >     | Fsharp

00:00:13 #438 [Verbose] >

00:00:13 #439 [Verbose] > inl run_target forall t. (fn : target -> (() -> t)) : t =

00:00:13 #440 [Verbose] >     $"let mutable result = None"

00:00:13 #441 [Verbose] >     $"#if FABLE_COMPILER_RUST"

00:00:13 #442 [Verbose] >     $"#if \!WASM"

00:00:13 #443 [Verbose] >     fn (Rust Native) () |> fun x => $"!x"

00:00:13 #444 [Verbose] >     $"#else"

00:00:13 #445 [Verbose] >     fn (Rust Wasm) () |> fun x => $"!x"

00:00:13 #446 [Verbose] >     $"#endif"

00:00:13 #447 [Verbose] >     $"#else"

00:00:13 #448 [Verbose] >     fn Fsharp () |> fun x => $"!x"

00:00:13 #449 [Verbose] >     $"#endif"

00:00:13 #450 [Verbose] >     $"|> fun x -> result <- Some x"

00:00:13 #451 [Verbose] >     $"result |> Option.get"

00:00:13 #452 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0900-1507-0773-09263b66daee\main.spi

00:00:13 #453 [Verbose] >

00:00:13 #454 [Verbose] > ╭─[ 166.50ms - stdout ]────────────────────────────────────────────────────────╮

00:00:13 #455 [Verbose] > │ ()                                                                           │

00:00:13 #456 [Verbose] > │                                                                              │

00:00:13 #457 [Verbose] > │                                                                              │

00:00:13 #458 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:13 #459 [Verbose] >

00:00:13 #460 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:13 #461 [Verbose] > // // test

00:00:13 #462 [Verbose] >

00:00:13 #463 [Verbose] > run_target function

00:00:13 #464 [Verbose] >     | Fsharp => fun () => $"1uy"

00:00:13 #465 [Verbose] >     | Rust (Native) => fun () => $"2uy"

00:00:13 #466 [Verbose] >     | Rust (Wasm) => fun () => $"3uy"

00:00:13 #467 [Verbose] > |> _equal 1u8

00:00:13 #468 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0900-1524-2452-2f53822af92d\main.spi

00:00:14 #469 [Verbose] >

00:00:14 #470 [Verbose] > ╭─[ 283.46ms - stdout ]────────────────────────────────────────────────────────╮

00:00:14 #471 [Verbose] > │ let rec method0 () : unit =                                                  │

00:00:14 #472 [Verbose] > │     let mutable result = None                                                │

00:00:14 #473 [Verbose] > │     #if FABLE_COMPILER_RUST                                                  │

00:00:14 #474 [Verbose] > │     #if !WASM                                                                │

00:00:14 #475 [Verbose] > │     let v0 : uint8 = 2uy                                                     │

00:00:14 #476 [Verbose] > │     v0                                                                       │

00:00:14 #477 [Verbose] > │     #else                                                                    │

00:00:14 #478 [Verbose] > │     let v1 : uint8 = 3uy                                                     │

00:00:14 #479 [Verbose] > │     v1                                                                       │

00:00:14 #480 [Verbose] > │     #endif                                                                   │

00:00:14 #481 [Verbose] > │     #else                                                                    │

00:00:14 #482 [Verbose] > │     let v2 : uint8 = 1uy                                                     │

00:00:14 #483 [Verbose] > │     v2                                                                       │

00:00:14 #484 [Verbose] > │     #endif                                                                   │

00:00:14 #485 [Verbose] > │     |> fun x -> result <- Some x                                             │

00:00:14 #486 [Verbose] > │     let v3 : uint8 = result |> Option.get                                    │

00:00:14 #487 [Verbose] > │     let v4 : string = $"__expect / actual: %A{v3} / expected: %A{1uy}"       │

00:00:14 #488 [Verbose] > │     let v5 : bool = v3 = 1uy                                                 │

00:00:14 #489 [Verbose] > │     let v6 : bool = v5 = false                                               │

00:00:14 #490 [Verbose] > │     if v6 then                                                               │

00:00:14 #491 [Verbose] > │         failwith<unit> v4                                                    │

00:00:14 #492 [Verbose] > │ method0()                                                                    │

00:00:14 #493 [Verbose] > │                                                                              │

00:00:14 #494 [Verbose] > │                                                                              │

00:00:14 #495 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:14 #496 [Verbose] >

00:00:14 #497 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:14 #498 [Verbose] > // // test

00:00:14 #499 [Verbose] > // // rust=

00:00:14 #500 [Verbose] >

00:00:14 #501 [Verbose] > run_target function

00:00:14 #502 [Verbose] >     | Fsharp => fun () => $"1uy"

00:00:14 #503 [Verbose] >     | Rust (Native) => fun () => $"2uy"

00:00:14 #504 [Verbose] >     | Rust (Wasm) => fun () => $"3uy"

00:00:14 #505 [Verbose] > |> (=) 2u8

00:00:14 #506 [Verbose] > |> _equal true

00:00:14 #507 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0900-1553-5393-5154f4c574b7\main.spi

00:00:18 #508 [Verbose] >

00:00:18 #509 [Verbose] > ╭─[ 4.80s - return value ]─────────────────────────────────────────────────────╮

00:00:18 #510 [Verbose] > │ .rs output:                                                                  │

00:00:18 #511 [Verbose] > │                                                                              │

00:00:18 #512 [Verbose] > │                                                                              │

00:00:18 #513 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:18 #514 [Verbose] >

00:00:18 #515 [Verbose] > ╭─[ 4.81s - stdout ]───────────────────────────────────────────────────────────╮

00:00:18 #516 [Verbose] > │                                                                              │

00:00:18 #517 [Verbose] > │ .fsx:                                                                        │

00:00:18 #518 [Verbose] > │ let rec method0 () : unit =                                                  │

00:00:18 #519 [Verbose] > │     let mutable result = None                                                │

00:00:18 #520 [Verbose] > │     #if FABLE_COMPILER_RUST                                                  │

00:00:18 #521 [Verbose] > │     #if !WASM                                                                │

00:00:18 #522 [Verbose] > │     let v0 : uint8 = 2uy                                                     │

00:00:18 #523 [Verbose] > │     v0                                                                       │

00:00:18 #524 [Verbose] > │     #else                                                                    │

00:00:18 #525 [Verbose] > │     let v1 : uint8 = 3uy                                                     │

00:00:18 #526 [Verbose] > │     v1                                                                       │

00:00:18 #527 [Verbose] > │     #endif                                                                   │

00:00:18 #528 [Verbose] > │     #else                                                                    │

00:00:18 #529 [Verbose] > │     let v2 : uint8 = 1uy                                                     │

00:00:18 #530 [Verbose] > │     v2                                                                       │

00:00:18 #531 [Verbose] > │     #endif                                                                   │

00:00:18 #532 [Verbose] > │     |> fun x -> result <- Some x                                             │

00:00:18 #533 [Verbose] > │     let v3 : uint8 = result |> Option.get                                    │

00:00:18 #534 [Verbose] > │     let v4 : bool = 2uy = v3                                                 │

00:00:18 #535 [Verbose] > │     let v5 : string = $"__expect / actual: %A{v4} / expected: %A{true}"      │

00:00:18 #536 [Verbose] > │     let v6 : bool = v4 = false                                               │

00:00:18 #537 [Verbose] > │     if v6 then                                                               │

00:00:18 #538 [Verbose] > │         failwith<unit> v5                                                    │

00:00:18 #539 [Verbose] > │ method0()                                                                    │

00:00:18 #540 [Verbose] > │                                                                              │

00:00:18 #541 [Verbose] > │ .rs:                                                                         │

00:00:18 #542 [Verbose] > │ #![allow(dead_code,)]                                                        │

00:00:18 #543 [Verbose] > │ #![allow(non_camel_case_types,)]                                             │

00:00:18 #544 [Verbose] > │ #![allow(non_snake_case,)]                                                   │

00:00:18 #545 [Verbose] > │ #![allow(non_upper_case_globals,)]                                           │

00:00:18 #546 [Verbose] > │ #![allow(unreachable_code,)]                                                 │

00:00:18 #547 [Verbose] > │ #![allow(unused_attributes,)]                                                │

00:00:18 #548 [Verbose] > │ #![allow(unused_imports,)]                                                   │

00:00:18 #549 [Verbose] > │ #![allow(unused_macros,)]                                                    │

00:00:18 #550 [Verbose] > │ #![allow(unused_parens,)]                                                    │

00:00:18 #551 [Verbose] > │ #![allow(unused_variables,)]                                                 │

00:00:18 #552 [Verbose] > │ mod module_e32d1f60 {                                                        │

00:00:18 #553 [Verbose] > │     pub mod Fs_rs {                                                          │

00:00:18 #554 [Verbose] > │         use super::*;                                                        │

00:00:18 #555 [Verbose] > │         use fable_library_rust::Native_::Any;                                │

00:00:18 #556 [Verbose] > │         use fable_library_rust::Native_::MutCell;                            │

00:00:18 #557 [Verbose] > │         use fable_library_rust::Native_::on_startup;                         │

00:00:18 #558 [Verbose] > │         use fable_library_rust::Option_::getValue;                           │

00:00:18 #559 [Verbose] > │         use fable_library_rust::String_::sprintf;                            │

00:00:18 #560 [Verbose] > │         pub fn method0() {                                                   │

00:00:18 #561 [Verbose] > │             let result: MutCell<Option<u8>> = MutCell::new(None::<u8>);      │

00:00:18 #562 [Verbose] > │             result.set(Some(2_u8));                                          │

00:00:18 #563 [Verbose] > │             {                                                                │

00:00:18 #564 [Verbose] > │                 let v4: bool = 2_u8 == getValue(result.get());               │

00:00:18 #565 [Verbose] > │                 if v4 == false {                                             │

00:00:18 #566 [Verbose] > │                     panic!("{}",                                             │

00:00:18 #567 [Verbose] > │                            sprintf!("__expect / actual: {:?} / expected:     │

00:00:18 #568 [Verbose] > │ {:?}", &v4, &true));                                                         │

00:00:18 #569 [Verbose] > │                 }                                                            │

00:00:18 #570 [Verbose] > │             }                                                                │

00:00:18 #571 [Verbose] > │         }                                                                    │

00:00:18 #572 [Verbose] > │         on_startup!(Fs_rs::method0());                                       │

00:00:18 #573 [Verbose] > │     }                                                                        │

00:00:18 #574 [Verbose] > │ }                                                                            │

00:00:18 #575 [Verbose] > │ pub use module_e32d1f60::*;                                                  │

00:00:18 #576 [Verbose] > │                                                                              │

00:00:18 #577 [Verbose] > │                                                                              │

00:00:18 #578 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:18 #579 [Verbose] >

00:00:18 #580 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────

00:00:18 #581 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮

00:00:18 #582 [Verbose] > │ ## nameof                                                                    │

00:00:18 #583 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:18 #584 [Verbose] >

00:00:18 #585 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:18 #586 [Verbose] > inl nameof x : string =

00:00:18 #587 [Verbose] >     $"nameof !x"

00:00:18 #588 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0900-2037-3756-314560f6d3d5\main.spi

00:00:19 #589 [Verbose] >

00:00:19 #590 [Verbose] > ╭─[ 155.37ms - stdout ]────────────────────────────────────────────────────────╮

00:00:19 #591 [Verbose] > │ ()                                                                           │

00:00:19 #592 [Verbose] > │                                                                              │

00:00:19 #593 [Verbose] > │                                                                              │

00:00:19 #594 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:19 #595 [Verbose] >

00:00:19 #596 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────

00:00:19 #597 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮

00:00:19 #598 [Verbose] > │ ## get_environment_variable                                                  │

00:00:19 #599 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:19 #600 [Verbose] >

00:00:19 #601 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:19 #602 [Verbose] > inl get_environment_variable (var : string) : string =

00:00:19 #603 [Verbose] >     $"System.Environment.GetEnvironmentVariable !var"

00:00:19 #604 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0900-2053-5364-5832dcae1304\main.spi

00:00:19 #605 [Verbose] >

00:00:19 #606 [Verbose] > ╭─[ 135.27ms - stdout ]────────────────────────────────────────────────────────╮

00:00:19 #607 [Verbose] > │ ()                                                                           │

00:00:19 #608 [Verbose] > │                                                                              │

00:00:19 #609 [Verbose] > │                                                                              │

00:00:19 #610 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:21 #611 [Verbose] > [NbConvertApp] Converting notebook common.dib.ipynb to html

00:00:21 #612 [Verbose] > C:\Users\i574n\scoop\apps\python\current\Lib\site-packages\nbformat\__init__.py:93: MissingIDFieldWarning: Code cell is missing an id field, this will become a hard error in future nbformat versions. You may want to use `normalize()` on your notebooks before validations (available since nbformat 5.1.4). Previous versions of nbformat are fixing this issue transparently, and will stop doing so in the future.

00:00:21 #613 [Verbose] >   validate(nb)

00:00:21 #614 [Verbose] > C:\Users\i574n\scoop\apps\python\current\Lib\site-packages\nbconvert\filters\highlight.py:71: UserWarning: IPython3 lexer unavailable, falling back on Python 3

00:00:21 #615 [Verbose] >   return _pygments_highlight(

00:00:22 #616 [Verbose] > [NbConvertApp] Writing 323762 bytes to common.dib.html

00:00:22 #617 [Debug] executeAsync / exitCode: 0 / output.Length: 33111

00:00:22 #618 [Debug] main / executeCommand / exitCode: 0

00:00:00 #1 [Debug] runWithTimeoutAsync / timeout: 60

00:00:00 #2 [Debug] executeAsync / options: { Command =

   "dotnet "C:\home\git\polyglot\deps\The-Spiral-Language\The Spiral Language 2\artifacts\bin\The Spiral Language 2\release\Spiral.dll" port=13805"

  WorkingDirectory = None

  CancellationToken = Some System.Threading.CancellationToken

  OnLine = Some <fun:main@450-1020> }

00:00:00 #3 [Verbose] > pwd: C:\home\git\polyglot\lib\spiral

00:00:00 #4 [Verbose] > dll_path: C:\home\git\polyglot\deps\The-Spiral-Language\The Spiral Language 2\artifacts\bin\The Spiral Language 2\release

00:00:00 #5 [Debug] runWithTimeoutAsync / timeout: 500

00:00:00 #6 [Verbose] waitForPortAccess / port: 13805 / retry: 0

00:00:01 #7 [Debug] sendJson / port: 13805 / json: {"Ping":true} / result.Length:

00:00:01 #8 [Verbose] awaitCompiler / Ping / result: Some(null) / port: 13805 / retry: 0

00:00:01 #9 [Verbose] > Server bound to: http://localhost:13805

00:00:01 #10 [Debug] executeAsync / options: { Command = "pwsh -c "../../scripts/invoke-dib.ps1 console.dib""

  WorkingDirectory = None

  CancellationToken = Some System.Threading.CancellationToken

  OnLine = None }

00:00:03 #11 [Verbose] >

00:00:03 #12 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────

00:00:03 #13 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮

00:00:03 #14 [Verbose] > │ # console                                                                    │

00:00:03 #15 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:03 #16 [Verbose] >

00:00:03 #17 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:03 #18 [Verbose] > // // test

00:00:03 #19 [Verbose] >

00:00:03 #20 [Verbose] > open testing

00:00:06 #21 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0900-3045-4521-4cbfedd8b2d1\main.spi

00:00:08 #22 [Verbose] >

00:00:08 #23 [Verbose] > ╭─[ 5.05s - stdout ]───────────────────────────────────────────────────────────╮

00:00:08 #24 [Verbose] > │ ()                                                                           │

00:00:08 #25 [Verbose] > │                                                                              │

00:00:08 #26 [Verbose] > │                                                                              │

00:00:08 #27 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:08 #28 [Verbose] >

00:00:08 #29 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────

00:00:08 #30 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮

00:00:08 #31 [Verbose] > │ ## write_line                                                                │

00:00:08 #32 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:08 #33 [Verbose] >

00:00:08 #34 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:08 #35 [Verbose] > inl write_line obj : () =

00:00:08 #36 [Verbose] >     $"System.Console.WriteLine !obj"

00:00:08 #37 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0900-3338-3862-37a79ee26585\main.spi

00:00:08 #38 [Verbose] >

00:00:08 #39 [Verbose] > ╭─[ 213.77ms - stdout ]────────────────────────────────────────────────────────╮

00:00:08 #40 [Verbose] > │ ()                                                                           │

00:00:08 #41 [Verbose] > │                                                                              │

00:00:08 #42 [Verbose] > │                                                                              │

00:00:08 #43 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:08 #44 [Verbose] >

00:00:08 #45 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:08 #46 [Verbose] > inl write_line_ ~obj : () =

00:00:08 #47 [Verbose] >     $"System.Console.WriteLine !obj"

00:00:08 #48 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0900-3359-5954-549b66c6ca00\main.spi

00:00:09 #49 [Verbose] >

00:00:09 #50 [Verbose] > ╭─[ 232.45ms - stdout ]────────────────────────────────────────────────────────╮

00:00:09 #51 [Verbose] > │ ()                                                                           │

00:00:09 #52 [Verbose] > │                                                                              │

00:00:09 #53 [Verbose] > │                                                                              │

00:00:09 #54 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:09 #55 [Verbose] >

00:00:09 #56 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:09 #57 [Verbose] > nominal console_color = $"System.ConsoleColor"

00:00:09 #58 [Verbose] >

00:00:09 #59 [Verbose] > inl reset_color () : () =

00:00:09 #60 [Verbose] >     run_target function

00:00:09 #61 [Verbose] >         | Fsharp => fun () => $"System.Console.ResetColor ()"

00:00:09 #62 [Verbose] >         | _ => fun () => ()

00:00:09 #63 [Verbose] >

00:00:09 #64 [Verbose] > inl set_foreground_color (color : console_color) : () =

00:00:09 #65 [Verbose] >     run_target function

00:00:09 #66 [Verbose] >         | Fsharp => fun () => $"System.Console.ForegroundColor <- !color"

00:00:09 #67 [Verbose] >         | _ => fun () => ()

00:00:09 #68 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0900-3383-8304-879aa1b6973e\main.spi

00:00:09 #69 [Verbose] >

00:00:09 #70 [Verbose] > ╭─[ 163.68ms - stdout ]────────────────────────────────────────────────────────╮

00:00:09 #71 [Verbose] > │ ()                                                                           │

00:00:09 #72 [Verbose] > │                                                                              │

00:00:09 #73 [Verbose] > │                                                                              │

00:00:09 #74 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:11 #75 [Verbose] > [NbConvertApp] Converting notebook console.dib.ipynb to html

00:00:11 #76 [Verbose] > C:\Users\i574n\scoop\apps\python\current\Lib\site-packages\nbformat\__init__.py:93: MissingIDFieldWarning: Code cell is missing an id field, this will become a hard error in future nbformat versions. You may want to use `normalize()` on your notebooks before validations (available since nbformat 5.1.4). Previous versions of nbformat are fixing this issue transparently, and will stop doing so in the future.

00:00:11 #77 [Verbose] >   validate(nb)

00:00:11 #78 [Verbose] > C:\Users\i574n\scoop\apps\python\current\Lib\site-packages\nbconvert\filters\highlight.py:71: UserWarning: IPython3 lexer unavailable, falling back on Python 3

00:00:11 #79 [Verbose] >   return _pygments_highlight(

00:00:11 #80 [Verbose] > [NbConvertApp] Writing 275909 bytes to console.dib.html

00:00:12 #81 [Debug] executeAsync / exitCode: 0 / output.Length: 3869

00:00:12 #82 [Debug] main / executeCommand / exitCode: 0

00:00:00 #1 [Debug] runWithTimeoutAsync / timeout: 60

00:00:00 #2 [Debug] executeAsync / options: { Command =

   "dotnet "C:\home\git\polyglot\deps\The-Spiral-Language\The Spiral Language 2\artifacts\bin\The Spiral Language 2\release\Spiral.dll" port=13805"

  WorkingDirectory = None

  CancellationToken = Some System.Threading.CancellationToken

  OnLine = Some <fun:main@450-1020> }

00:00:00 #3 [Verbose] > pwd: C:\home\git\polyglot\lib\spiral

00:00:00 #4 [Verbose] > dll_path: C:\home\git\polyglot\deps\The-Spiral-Language\The Spiral Language 2\artifacts\bin\The Spiral Language 2\release

00:00:00 #5 [Debug] runWithTimeoutAsync / timeout: 500

00:00:00 #6 [Verbose] waitForPortAccess / port: 13805 / retry: 0

00:00:01 #7 [Debug] sendJson / port: 13805 / json: {"Ping":true} / result.Length:

00:00:01 #8 [Verbose] awaitCompiler / Ping / result: Some(null) / port: 13805 / retry: 0

00:00:01 #9 [Verbose] > Server bound to: http://localhost:13805

00:00:01 #10 [Debug] executeAsync / options: { Command = "pwsh -c "../../scripts/invoke-dib.ps1 math.dib""

  WorkingDirectory = None

  CancellationToken = Some System.Threading.CancellationToken

  OnLine = None }

00:00:03 #11 [Verbose] >

00:00:03 #12 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────

00:00:03 #13 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮

00:00:03 #14 [Verbose] > │ # math                                                                       │

00:00:03 #15 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:03 #16 [Verbose] >

00:00:03 #17 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:03 #18 [Verbose] > // // test

00:00:03 #19 [Verbose] >

00:00:03 #20 [Verbose] > open testing

00:00:06 #21 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0900-4436-3672-3bb868b22ae5\main.spi

00:00:08 #22 [Verbose] >

00:00:08 #23 [Verbose] > ╭─[ 5.02s - stdout ]───────────────────────────────────────────────────────────╮

00:00:08 #24 [Verbose] > │ ()                                                                           │

00:00:08 #25 [Verbose] > │                                                                              │

00:00:08 #26 [Verbose] > │                                                                              │

00:00:08 #27 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:08 #28 [Verbose] >

00:00:08 #29 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:08 #30 [Verbose] > // // test

00:00:08 #31 [Verbose] >

00:00:08 #32 [Verbose] > 2 * 2 / 0.4f64 |> sqrt

00:00:08 #33 [Verbose] > |> _almost_equal 3.1622776601683795

00:00:08 #34 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0900-4719-1918-169d7c716140\main.spi

00:00:09 #35 [Verbose] >

00:00:09 #36 [Verbose] > ╭─[ 694.99ms - stdout ]────────────────────────────────────────────────────────╮

00:00:09 #37 [Verbose] > │ let rec method0 () : unit =                                                  │

00:00:09 #38 [Verbose] > │     let v0 : string = $"__expect / actual: %A{3.1622776601683795} /          │

00:00:09 #39 [Verbose] > │ expected: %A{3.1622776601683795}"                                            │

00:00:09 #40 [Verbose] > │     ()                                                                       │

00:00:09 #41 [Verbose] > │ method0()                                                                    │

00:00:09 #42 [Verbose] > │                                                                              │

00:00:09 #43 [Verbose] > │                                                                              │

00:00:09 #44 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:09 #45 [Verbose] >

00:00:09 #46 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:09 #47 [Verbose] > // // test

00:00:09 #48 [Verbose] >

00:00:09 #49 [Verbose] > 2f64 / 3

00:00:09 #50 [Verbose] > |> _almost_equal 0.6666666666666666

00:00:09 #51 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0900-4788-8846-843463d43304\main.spi

00:00:09 #52 [Verbose] >

00:00:09 #53 [Verbose] > ╭─[ 157.20ms - stdout ]────────────────────────────────────────────────────────╮

00:00:09 #54 [Verbose] > │ let rec method0 () : unit =                                                  │

00:00:09 #55 [Verbose] > │     let v0 : string = $"__expect / actual: %A{0.6666666666666666} /          │

00:00:09 #56 [Verbose] > │ expected: %A{0.6666666666666666}"                                            │

00:00:09 #57 [Verbose] > │     ()                                                                       │

00:00:09 #58 [Verbose] > │ method0()                                                                    │

00:00:09 #59 [Verbose] > │                                                                              │

00:00:09 #60 [Verbose] > │                                                                              │

00:00:09 #61 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:09 #62 [Verbose] >

00:00:09 #63 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:09 #64 [Verbose] > // // test

00:00:09 #65 [Verbose] >

00:00:09 #66 [Verbose] > 2f64 |> log

00:00:09 #67 [Verbose] > |> _almost_equal 0.6931471805599453

00:00:09 #68 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0900-4804-0462-03e5cfaf2348\main.spi

00:00:09 #69 [Verbose] >

00:00:09 #70 [Verbose] > ╭─[ 170.88ms - stdout ]────────────────────────────────────────────────────────╮

00:00:09 #71 [Verbose] > │ let rec method0 () : unit =                                                  │

00:00:09 #72 [Verbose] > │     let v0 : string = $"__expect / actual: %A{0.6931471805599453} /          │

00:00:09 #73 [Verbose] > │ expected: %A{0.6931471805599453}"                                            │

00:00:09 #74 [Verbose] > │     ()                                                                       │

00:00:09 #75 [Verbose] > │ method0()                                                                    │

00:00:09 #76 [Verbose] > │                                                                              │

00:00:09 #77 [Verbose] > │                                                                              │

00:00:09 #78 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:09 #79 [Verbose] >

00:00:09 #80 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:09 #81 [Verbose] > // // test

00:00:09 #82 [Verbose] >

00:00:09 #83 [Verbose] > pi

00:00:09 #84 [Verbose] > |> _almost_equal 3.141592653589793f64

00:00:09 #85 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0900-4822-2234-238b05efbcf1\main.spi

00:00:10 #86 [Verbose] >

00:00:10 #87 [Verbose] > ╭─[ 163.53ms - stdout ]────────────────────────────────────────────────────────╮

00:00:10 #88 [Verbose] > │ let rec method0 () : unit =                                                  │

00:00:10 #89 [Verbose] > │     let v0 : string = $"__expect / actual: %A{3.141592653589793} / expected: │

00:00:10 #90 [Verbose] > │ %A{3.141592653589793}"                                                       │

00:00:10 #91 [Verbose] > │     ()                                                                       │

00:00:10 #92 [Verbose] > │ method0()                                                                    │

00:00:10 #93 [Verbose] > │                                                                              │

00:00:10 #94 [Verbose] > │                                                                              │

00:00:10 #95 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:10 #96 [Verbose] >

00:00:10 #97 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:10 #98 [Verbose] > // // test

00:00:10 #99 [Verbose] >

00:00:10 #100 [Verbose] > pi |> cos

00:00:10 #101 [Verbose] > |> _equal -1f64

00:00:10 #102 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0900-4838-3886-3430bfbdf6f6\main.spi

00:00:10 #103 [Verbose] >

00:00:10 #104 [Verbose] > ╭─[ 179.60ms - stdout ]────────────────────────────────────────────────────────╮

00:00:10 #105 [Verbose] > │ let rec method0 () : unit =                                                  │

00:00:10 #106 [Verbose] > │     let v0 : string = $"__expect / actual: %A{-1.0} / expected: %A{-1.0}"    │

00:00:10 #107 [Verbose] > │     ()                                                                       │

00:00:10 #108 [Verbose] > │ method0()                                                                    │

00:00:10 #109 [Verbose] > │                                                                              │

00:00:10 #110 [Verbose] > │                                                                              │

00:00:10 #111 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:10 #112 [Verbose] >

00:00:10 #113 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:10 #114 [Verbose] > // // test

00:00:10 #115 [Verbose] >

00:00:10 #116 [Verbose] > pi

00:00:10 #117 [Verbose] > |> cos

00:00:10 #118 [Verbose] > |> fun n => n / 2f64

00:00:10 #119 [Verbose] > |> _almost_equal -0.5

00:00:10 #120 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0900-4857-5714-56dcbbbb0d59\main.spi

00:00:10 #121 [Verbose] >

00:00:10 #122 [Verbose] > ╭─[ 190.75ms - stdout ]────────────────────────────────────────────────────────╮

00:00:10 #123 [Verbose] > │ let rec method0 () : unit =                                                  │

00:00:10 #124 [Verbose] > │     let v0 : string = $"__expect / actual: %A{-0.5} / expected: %A{-0.5}"    │

00:00:10 #125 [Verbose] > │     ()                                                                       │

00:00:10 #126 [Verbose] > │ method0()                                                                    │

00:00:10 #127 [Verbose] > │                                                                              │

00:00:10 #128 [Verbose] > │                                                                              │

00:00:10 #129 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:10 #130 [Verbose] >

00:00:10 #131 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:10 #132 [Verbose] > // // test

00:00:10 #133 [Verbose] >

00:00:10 #134 [Verbose] > pi / 2 |> cos

00:00:10 #135 [Verbose] > |> _almost_equal 0.00000000000000006123233995736766f64

00:00:10 #136 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0900-4877-7769-773a7df0b198\main.spi

00:00:10 #137 [Verbose] >

00:00:10 #138 [Verbose] > ╭─[ 159.50ms - stdout ]────────────────────────────────────────────────────────╮

00:00:10 #139 [Verbose] > │ let rec method0 () : unit =                                                  │

00:00:10 #140 [Verbose] > │     let v0 : string = $"__expect / actual: %A{6.123233995736766E-17} /       │

00:00:10 #141 [Verbose] > │ expected: %A{6.123233995736766E-17}"                                         │

00:00:10 #142 [Verbose] > │     ()                                                                       │

00:00:10 #143 [Verbose] > │ method0()                                                                    │

00:00:10 #144 [Verbose] > │                                                                              │

00:00:10 #145 [Verbose] > │                                                                              │

00:00:10 #146 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:10 #147 [Verbose] >

00:00:10 #148 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────

00:00:10 #149 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮

00:00:10 #150 [Verbose] > │ ## atan2                                                                     │

00:00:10 #151 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:10 #152 [Verbose] >

00:00:10 #153 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:10 #154 [Verbose] > inl atan2 (y : f64) (x : f64) =

00:00:10 #155 [Verbose] >     $"System.Math.Atan2 (!y, !x)" : f64

00:00:10 #156 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0900-4894-9462-986a70148ef4\main.spi

00:00:10 #157 [Verbose] >

00:00:10 #158 [Verbose] > ╭─[ 177.46ms - stdout ]────────────────────────────────────────────────────────╮

00:00:10 #159 [Verbose] > │ ()                                                                           │

00:00:10 #160 [Verbose] > │                                                                              │

00:00:10 #161 [Verbose] > │                                                                              │

00:00:10 #162 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:10 #163 [Verbose] >

00:00:10 #164 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:10 #165 [Verbose] > // // test

00:00:10 #166 [Verbose] >

00:00:10 #167 [Verbose] > 0 |> atan2 1

00:00:10 #168 [Verbose] > |> _equal 1.5707963267948966

00:00:10 #169 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0900-4912-1215-1bf8c28dab9a\main.spi

00:00:11 #170 [Verbose] >

00:00:11 #171 [Verbose] > ╭─[ 411.00ms - stdout ]────────────────────────────────────────────────────────╮

00:00:11 #172 [Verbose] > │ let rec method0 () : unit =                                                  │

00:00:11 #173 [Verbose] > │     let v0 : float = System.Math.Atan2 (1.0, 0.0)                            │

00:00:11 #174 [Verbose] > │     let v1 : string = $"__expect / actual: %A{v0} / expected:                │

00:00:11 #175 [Verbose] > │ %A{1.5707963267948966}"                                                      │

00:00:11 #176 [Verbose] > │     let v2 : bool = v0 = 1.5707963267948966                                  │

00:00:11 #177 [Verbose] > │     let v3 : bool = v2 = false                                               │

00:00:11 #178 [Verbose] > │     if v3 then                                                               │

00:00:11 #179 [Verbose] > │         failwith<unit> v1                                                    │

00:00:11 #180 [Verbose] > │ method0()                                                                    │

00:00:11 #181 [Verbose] > │                                                                              │

00:00:11 #182 [Verbose] > │                                                                              │

00:00:11 #183 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:11 #184 [Verbose] >

00:00:11 #185 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────

00:00:11 #186 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮

00:00:11 #187 [Verbose] > │ ## e                                                                         │

00:00:11 #188 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:11 #189 [Verbose] >

00:00:11 #190 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:11 #191 [Verbose] > inl e () =

00:00:11 #192 [Verbose] >     exp 1f64

00:00:11 #193 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0900-4954-5421-5e67bf81ff01\main.spi

00:00:11 #194 [Verbose] >

00:00:11 #195 [Verbose] > ╭─[ 189.80ms - stdout ]────────────────────────────────────────────────────────╮

00:00:11 #196 [Verbose] > │ ()                                                                           │

00:00:11 #197 [Verbose] > │                                                                              │

00:00:11 #198 [Verbose] > │                                                                              │

00:00:11 #199 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:11 #200 [Verbose] >

00:00:11 #201 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────

00:00:11 #202 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮

00:00:11 #203 [Verbose] > │ ## floor                                                                     │

00:00:11 #204 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:11 #205 [Verbose] >

00:00:11 #206 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:11 #207 [Verbose] > inl floor forall t {float}. (x : t) : t =

00:00:11 #208 [Verbose] >     $"floor !x"

00:00:11 #209 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0900-4973-7359-75eb2e63dd48\main.spi

00:00:11 #210 [Verbose] >

00:00:11 #211 [Verbose] > ╭─[ 261.71ms - stdout ]────────────────────────────────────────────────────────╮

00:00:11 #212 [Verbose] > │ ()                                                                           │

00:00:11 #213 [Verbose] > │                                                                              │

00:00:11 #214 [Verbose] > │                                                                              │

00:00:11 #215 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:11 #216 [Verbose] >

00:00:11 #217 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:11 #218 [Verbose] > // // test

00:00:11 #219 [Verbose] >

00:00:11 #220 [Verbose] > 0.6 |> floor

00:00:11 #221 [Verbose] > |> _equal 0f64

00:00:11 #222 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0900-4999-9994-9a40d546191f\main.spi

00:00:11 #223 [Verbose] >

00:00:11 #224 [Verbose] > ╭─[ 176.49ms - stdout ]────────────────────────────────────────────────────────╮

00:00:11 #225 [Verbose] > │ let rec method0 () : unit =                                                  │

00:00:11 #226 [Verbose] > │     let v0 : float = floor 0.6                                               │

00:00:11 #227 [Verbose] > │     let v1 : string = $"__expect / actual: %A{v0} / expected: %A{0.0}"       │

00:00:11 #228 [Verbose] > │     let v2 : bool = v0 = 0.0                                                 │

00:00:11 #229 [Verbose] > │     let v3 : bool = v2 = false                                               │

00:00:11 #230 [Verbose] > │     if v3 then                                                               │

00:00:11 #231 [Verbose] > │         failwith<unit> v1                                                    │

00:00:11 #232 [Verbose] > │ method0()                                                                    │

00:00:11 #233 [Verbose] > │                                                                              │

00:00:11 #234 [Verbose] > │                                                                              │

00:00:11 #235 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:11 #236 [Verbose] >

00:00:11 #237 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────

00:00:11 #238 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮

00:00:11 #239 [Verbose] > │ ## log_base                                                                  │

00:00:11 #240 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:11 #241 [Verbose] >

00:00:11 #242 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:11 #243 [Verbose] > inl log_base (new_base : f64) (a : f64) =

00:00:11 #244 [Verbose] >     $"System.Math.Log (!a, !new_base)" : f64

00:00:11 #245 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0900-5018-1845-11edf38ab40e\main.spi

00:00:12 #246 [Verbose] >

00:00:12 #247 [Verbose] > ╭─[ 192.94ms - stdout ]────────────────────────────────────────────────────────╮

00:00:12 #248 [Verbose] > │ ()                                                                           │

00:00:12 #249 [Verbose] > │                                                                              │

00:00:12 #250 [Verbose] > │                                                                              │

00:00:12 #251 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:12 #252 [Verbose] >

00:00:12 #253 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:12 #254 [Verbose] > // // test

00:00:12 #255 [Verbose] >

00:00:12 #256 [Verbose] > 100 |> log_base 10

00:00:12 #257 [Verbose] > |> _equal 2

00:00:12 #258 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0900-5037-3780-368da7a5a90f\main.spi

00:00:12 #259 [Verbose] >

00:00:12 #260 [Verbose] > ╭─[ 148.08ms - stdout ]────────────────────────────────────────────────────────╮

00:00:12 #261 [Verbose] > │ let rec method0 () : unit =                                                  │

00:00:12 #262 [Verbose] > │     let v0 : float = System.Math.Log (100.0, 10.0)                           │

00:00:12 #263 [Verbose] > │     let v1 : string = $"__expect / actual: %A{v0} / expected: %A{2.0}"       │

00:00:12 #264 [Verbose] > │     let v2 : bool = v0 = 2.0                                                 │

00:00:12 #265 [Verbose] > │     let v3 : bool = v2 = false                                               │

00:00:12 #266 [Verbose] > │     if v3 then                                                               │

00:00:12 #267 [Verbose] > │         failwith<unit> v1                                                    │

00:00:12 #268 [Verbose] > │ method0()                                                                    │

00:00:12 #269 [Verbose] > │                                                                              │

00:00:12 #270 [Verbose] > │                                                                              │

00:00:12 #271 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:12 #272 [Verbose] >

00:00:12 #273 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────

00:00:12 #274 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮

00:00:12 #275 [Verbose] > │ ## round                                                                     │

00:00:12 #276 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:12 #277 [Verbose] >

00:00:12 #278 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:12 #279 [Verbose] > inl round forall t {float}. (x : t) : t =

00:00:12 #280 [Verbose] >     $"round !x"

00:00:12 #281 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0900-5053-5344-5a0c6de5fc63\main.spi

00:00:12 #282 [Verbose] >

00:00:12 #283 [Verbose] > ╭─[ 153.75ms - stdout ]────────────────────────────────────────────────────────╮

00:00:12 #284 [Verbose] > │ ()                                                                           │

00:00:12 #285 [Verbose] > │                                                                              │

00:00:12 #286 [Verbose] > │                                                                              │

00:00:12 #287 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:12 #288 [Verbose] >

00:00:12 #289 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:12 #290 [Verbose] > // // test

00:00:12 #291 [Verbose] >

00:00:12 #292 [Verbose] > 0.5 |> round

00:00:12 #293 [Verbose] > |> _equal 0f64

00:00:12 #294 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0900-5069-6919-6de7dcb66a30\main.spi

00:00:12 #295 [Verbose] >

00:00:12 #296 [Verbose] > ╭─[ 144.85ms - stdout ]────────────────────────────────────────────────────────╮

00:00:12 #297 [Verbose] > │ let rec method0 () : unit =                                                  │

00:00:12 #298 [Verbose] > │     let v0 : float = round 0.5                                               │

00:00:12 #299 [Verbose] > │     let v1 : string = $"__expect / actual: %A{v0} / expected: %A{0.0}"       │

00:00:12 #300 [Verbose] > │     let v2 : bool = v0 = 0.0                                                 │

00:00:12 #301 [Verbose] > │     let v3 : bool = v2 = false                                               │

00:00:12 #302 [Verbose] > │     if v3 then                                                               │

00:00:12 #303 [Verbose] > │         failwith<unit> v1                                                    │

00:00:12 #304 [Verbose] > │ method0()                                                                    │

00:00:12 #305 [Verbose] > │                                                                              │

00:00:12 #306 [Verbose] > │                                                                              │

00:00:12 #307 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:12 #308 [Verbose] >

00:00:12 #309 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:12 #310 [Verbose] > // // test

00:00:12 #311 [Verbose] >

00:00:12 #312 [Verbose] > 0.6 |> round

00:00:12 #313 [Verbose] > |> _equal 1f64

00:00:12 #314 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0900-5084-8416-8465ec27b2cb\main.spi

00:00:12 #315 [Verbose] >

00:00:12 #316 [Verbose] > ╭─[ 149.22ms - stdout ]────────────────────────────────────────────────────────╮

00:00:12 #317 [Verbose] > │ let rec method0 () : unit =                                                  │

00:00:12 #318 [Verbose] > │     let v0 : float = round 0.6                                               │

00:00:12 #319 [Verbose] > │     let v1 : string = $"__expect / actual: %A{v0} / expected: %A{1.0}"       │

00:00:12 #320 [Verbose] > │     let v2 : bool = v0 = 1.0                                                 │

00:00:12 #321 [Verbose] > │     let v3 : bool = v2 = false                                               │

00:00:12 #322 [Verbose] > │     if v3 then                                                               │

00:00:12 #323 [Verbose] > │         failwith<unit> v1                                                    │

00:00:12 #324 [Verbose] > │ method0()                                                                    │

00:00:12 #325 [Verbose] > │                                                                              │

00:00:12 #326 [Verbose] > │                                                                              │

00:00:12 #327 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:12 #328 [Verbose] >

00:00:12 #329 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────

00:00:12 #330 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮

00:00:12 #331 [Verbose] > │ ## square                                                                    │

00:00:12 #332 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:12 #333 [Verbose] >

00:00:12 #334 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:12 #335 [Verbose] > inl square x =

00:00:12 #336 [Verbose] >     x ** 2

00:00:12 #337 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0900-5099-9977-9623128bf3cc\main.spi

00:00:12 #338 [Verbose] >

00:00:12 #339 [Verbose] > ╭─[ 178.22ms - stdout ]────────────────────────────────────────────────────────╮

00:00:12 #340 [Verbose] > │ ()                                                                           │

00:00:12 #341 [Verbose] > │                                                                              │

00:00:12 #342 [Verbose] > │                                                                              │

00:00:12 #343 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:12 #344 [Verbose] >

00:00:12 #345 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:12 #346 [Verbose] > // // test

00:00:12 #347 [Verbose] >

00:00:12 #348 [Verbose] > 5f64

00:00:12 #349 [Verbose] > |> sqrt

00:00:12 #350 [Verbose] > |> square

00:00:12 #351 [Verbose] > |> _almost_equal 5

00:00:12 #352 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0900-5117-1792-1cb88c2f6d6a\main.spi

00:00:12 #353 [Verbose] >

00:00:12 #354 [Verbose] > ╭─[ 140.50ms - stdout ]────────────────────────────────────────────────────────╮

00:00:12 #355 [Verbose] > │ let rec method0 () : unit =                                                  │

00:00:12 #356 [Verbose] > │     let v0 : string = $"__expect / actual: %A{5.000000000000001} / expected: │

00:00:12 #357 [Verbose] > │ %A{5.0}"                                                                     │

00:00:12 #358 [Verbose] > │     ()                                                                       │

00:00:12 #359 [Verbose] > │ method0()                                                                    │

00:00:12 #360 [Verbose] > │                                                                              │

00:00:12 #361 [Verbose] > │                                                                              │

00:00:12 #362 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:12 #363 [Verbose] >

00:00:12 #364 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:12 #365 [Verbose] > // // test

00:00:12 #366 [Verbose] >

00:00:12 #367 [Verbose] > e () |> square

00:00:12 #368 [Verbose] > |> _almost_equal 7.3890560989306495

00:00:13 #369 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0900-5132-3227-35b185e1d6ab\main.spi

00:00:13 #370 [Verbose] >

00:00:13 #371 [Verbose] > ╭─[ 184.39ms - stdout ]────────────────────────────────────────────────────────╮

00:00:13 #372 [Verbose] > │ let rec method0 () : unit =                                                  │

00:00:13 #373 [Verbose] > │     let v0 : string = $"__expect / actual: %A{7.3890560989306495} /          │

00:00:13 #374 [Verbose] > │ expected: %A{7.3890560989306495}"                                            │

00:00:13 #375 [Verbose] > │     ()                                                                       │

00:00:13 #376 [Verbose] > │ method0()                                                                    │

00:00:13 #377 [Verbose] > │                                                                              │

00:00:13 #378 [Verbose] > │                                                                              │

00:00:13 #379 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:15 #380 [Verbose] > [NbConvertApp] Converting notebook math.dib.ipynb to html

00:00:15 #381 [Verbose] > C:\Users\i574n\scoop\apps\python\current\Lib\site-packages\nbformat\__init__.py:93: MissingIDFieldWarning: Code cell is missing an id field, this will become a hard error in future nbformat versions. You may want to use `normalize()` on your notebooks before validations (available since nbformat 5.1.4). Previous versions of nbformat are fixing this issue transparently, and will stop doing so in the future.

00:00:15 #382 [Verbose] >   validate(nb)

00:00:15 #383 [Verbose] > C:\Users\i574n\scoop\apps\python\current\Lib\site-packages\nbconvert\filters\highlight.py:71: UserWarning: IPython3 lexer unavailable, falling back on Python 3

00:00:15 #384 [Verbose] >   return _pygments_highlight(

00:00:15 #385 [Verbose] > [NbConvertApp] Writing 300906 bytes to math.dib.html

00:00:16 #386 [Debug] executeAsync / exitCode: 0 / output.Length: 20039

00:00:16 #387 [Debug] main / executeCommand / exitCode: 0

00:00:00 #1 [Debug] runWithTimeoutAsync / timeout: 60

00:00:00 #2 [Debug] executeAsync / options: { Command =

   "dotnet "C:\home\git\polyglot\deps\The-Spiral-Language\The Spiral Language 2\artifacts\bin\The Spiral Language 2\release\Spiral.dll" port=13805"

  WorkingDirectory = None

  CancellationToken = Some System.Threading.CancellationToken

  OnLine = Some <fun:main@450-1020> }

00:00:00 #3 [Verbose] > pwd: C:\home\git\polyglot\lib\spiral

00:00:00 #4 [Verbose] > dll_path: C:\home\git\polyglot\deps\The-Spiral-Language\The Spiral Language 2\artifacts\bin\The Spiral Language 2\release

00:00:00 #5 [Debug] runWithTimeoutAsync / timeout: 500

00:00:00 #6 [Verbose] waitForPortAccess / port: 13805 / retry: 0

00:00:01 #7 [Debug] sendJson / port: 13805 / json: {"Ping":true} / result.Length:

00:00:01 #8 [Verbose] awaitCompiler / Ping / result: Some(null) / port: 13805 / retry: 0

00:00:01 #9 [Verbose] > Server bound to: http://localhost:13805

00:00:01 #10 [Debug] executeAsync / options: { Command = "pwsh -c "../../scripts/invoke-dib.ps1 \"optionm'.dib\"""

  WorkingDirectory = None

  CancellationToken = Some System.Threading.CancellationToken

  OnLine = None }

00:00:03 #11 [Verbose] >

00:00:03 #12 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────

00:00:03 #13 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮

00:00:03 #14 [Verbose] > │ # optionm                                                                    │

00:00:03 #15 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:03 #16 [Verbose] >

00:00:03 #17 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:03 #18 [Verbose] > // // test

00:00:03 #19 [Verbose] >

00:00:03 #20 [Verbose] > open testing

00:00:06 #21 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0901-0106-0684-05cc5d05b87b\main.spi

00:00:08 #22 [Verbose] >

00:00:08 #23 [Verbose] > ╭─[ 5.10s - stdout ]───────────────────────────────────────────────────────────╮

00:00:08 #24 [Verbose] > │ ()                                                                           │

00:00:08 #25 [Verbose] > │                                                                              │

00:00:08 #26 [Verbose] > │                                                                              │

00:00:08 #27 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:08 #28 [Verbose] >

00:00:08 #29 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:08 #30 [Verbose] > open rust_operators

00:00:08 #31 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0901-0400-0040-01adc231eae8\main.spi

00:00:08 #32 [Verbose] >

00:00:08 #33 [Verbose] > ╭─[ 162.32ms - stdout ]────────────────────────────────────────────────────────╮

00:00:08 #34 [Verbose] > │ ()                                                                           │

00:00:08 #35 [Verbose] > │                                                                              │

00:00:08 #36 [Verbose] > │                                                                              │

00:00:08 #37 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:08 #38 [Verbose] >

00:00:08 #39 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────

00:00:08 #40 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮

00:00:08 #41 [Verbose] > │ ## default_value                                                             │

00:00:08 #42 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:08 #43 [Verbose] >

00:00:08 #44 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:08 #45 [Verbose] > inl default_value d =

00:00:08 #46 [Verbose] >     optionm.defaultWith d

00:00:08 #47 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0901-0417-1737-12c1c81a80d6\main.spi

00:00:09 #48 [Verbose] >

00:00:09 #49 [Verbose] > ╭─[ 198.14ms - stdout ]────────────────────────────────────────────────────────╮

00:00:09 #50 [Verbose] > │ ()                                                                           │

00:00:09 #51 [Verbose] > │                                                                              │

00:00:09 #52 [Verbose] > │                                                                              │

00:00:09 #53 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:09 #54 [Verbose] >

00:00:09 #55 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:09 #56 [Verbose] > // // test

00:00:09 #57 [Verbose] >

00:00:09 #58 [Verbose] > None

00:00:09 #59 [Verbose] > |> default_value 3i32

00:00:09 #60 [Verbose] > |> _equal 3i32

00:00:09 #61 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0901-0437-3713-3bc3bc12f339\main.spi

00:00:09 #62 [Verbose] >

00:00:09 #63 [Verbose] > ╭─[ 647.56ms - stdout ]────────────────────────────────────────────────────────╮

00:00:09 #64 [Verbose] > │ let rec method0 () : unit =                                                  │

00:00:09 #65 [Verbose] > │     let v0 : string = $"__expect / actual: %A{3} / expected: %A{3}"          │

00:00:09 #66 [Verbose] > │     ()                                                                       │

00:00:09 #67 [Verbose] > │ method0()                                                                    │

00:00:09 #68 [Verbose] > │                                                                              │

00:00:09 #69 [Verbose] > │                                                                              │

00:00:09 #70 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:09 #71 [Verbose] >

00:00:09 #72 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────

00:00:09 #73 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮

00:00:09 #74 [Verbose] > │ ## (/??)                                                                     │

00:00:09 #75 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:09 #76 [Verbose] >

00:00:09 #77 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:09 #78 [Verbose] > inl (/??) a b =

00:00:09 #79 [Verbose] >     a |> default_value b

00:00:09 #80 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0901-0502-0272-05997028b492\main.spi

00:00:09 #81 [Verbose] >

00:00:09 #82 [Verbose] > ╭─[ 176.21ms - stdout ]────────────────────────────────────────────────────────╮

00:00:09 #83 [Verbose] > │ ()                                                                           │

00:00:09 #84 [Verbose] > │                                                                              │

00:00:09 #85 [Verbose] > │                                                                              │

00:00:09 #86 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:09 #87 [Verbose] >

00:00:09 #88 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:09 #89 [Verbose] > // // test

00:00:09 #90 [Verbose] >

00:00:09 #91 [Verbose] > None /?? 3i32

00:00:09 #92 [Verbose] > |> _equal 3i32

00:00:09 #93 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0901-0520-2026-2d0342443d49\main.spi

00:00:10 #94 [Verbose] >

00:00:10 #95 [Verbose] > ╭─[ 189.15ms - stdout ]────────────────────────────────────────────────────────╮

00:00:10 #96 [Verbose] > │ let rec method0 () : unit =                                                  │

00:00:10 #97 [Verbose] > │     let v0 : string = $"__expect / actual: %A{3} / expected: %A{3}"          │

00:00:10 #98 [Verbose] > │     ()                                                                       │

00:00:10 #99 [Verbose] > │ method0()                                                                    │

00:00:10 #100 [Verbose] > │                                                                              │

00:00:10 #101 [Verbose] > │                                                                              │

00:00:10 #102 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:10 #103 [Verbose] >

00:00:10 #104 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────

00:00:10 #105 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮

00:00:10 #106 [Verbose] > │ ## default_with                                                              │

00:00:10 #107 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:10 #108 [Verbose] >

00:00:10 #109 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:10 #110 [Verbose] > inl default_with fn =

00:00:10 #111 [Verbose] >     function Some x => x | None => fn ()

00:00:10 #112 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0901-0539-3969-381b48cc9ee6\main.spi

00:00:10 #113 [Verbose] >

00:00:10 #114 [Verbose] > ╭─[ 193.56ms - stdout ]────────────────────────────────────────────────────────╮

00:00:10 #115 [Verbose] > │ ()                                                                           │

00:00:10 #116 [Verbose] > │                                                                              │

00:00:10 #117 [Verbose] > │                                                                              │

00:00:10 #118 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:10 #119 [Verbose] >

00:00:10 #120 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:10 #121 [Verbose] > // // test

00:00:10 #122 [Verbose] >

00:00:10 #123 [Verbose] > None

00:00:10 #124 [Verbose] > |> default_with (fun () => 3i32)

00:00:10 #125 [Verbose] > |> _equal 3i32

00:00:10 #126 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0901-0559-5934-502eaf232688\main.spi

00:00:10 #127 [Verbose] >

00:00:10 #128 [Verbose] > ╭─[ 215.92ms - stdout ]────────────────────────────────────────────────────────╮

00:00:10 #129 [Verbose] > │ let rec method0 () : unit =                                                  │

00:00:10 #130 [Verbose] > │     let v0 : string = $"__expect / actual: %A{3} / expected: %A{3}"          │

00:00:10 #131 [Verbose] > │     ()                                                                       │

00:00:10 #132 [Verbose] > │ method0()                                                                    │

00:00:10 #133 [Verbose] > │                                                                              │

00:00:10 #134 [Verbose] > │                                                                              │

00:00:10 #135 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:10 #136 [Verbose] >

00:00:10 #137 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────

00:00:10 #138 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮

00:00:10 #139 [Verbose] > │ ## choose                                                                    │

00:00:10 #140 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:10 #141 [Verbose] >

00:00:10 #142 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:10 #143 [Verbose] > inl choose fn a b =

00:00:10 #144 [Verbose] >     match a, b with

00:00:10 #145 [Verbose] >     | Some x, Some y => fn x y |> Some

00:00:10 #146 [Verbose] >     | _ => None

00:00:10 #147 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0901-0581-8158-8fbfa11b3f8e\main.spi

00:00:10 #148 [Verbose] >

00:00:10 #149 [Verbose] > ╭─[ 151.08ms - stdout ]────────────────────────────────────────────────────────╮

00:00:10 #150 [Verbose] > │ ()                                                                           │

00:00:10 #151 [Verbose] > │                                                                              │

00:00:10 #152 [Verbose] > │                                                                              │

00:00:10 #153 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:10 #154 [Verbose] >

00:00:10 #155 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:10 #156 [Verbose] > // // test

00:00:10 #157 [Verbose] >

00:00:10 #158 [Verbose] > (Some 2i32, Some 3)

00:00:10 #159 [Verbose] > ||> choose (+)

00:00:10 #160 [Verbose] > |> _equal (Some 5)

00:00:10 #161 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0901-0596-9681-9e4e96525b6e\main.spi

00:00:11 #162 [Verbose] >

00:00:11 #163 [Verbose] > ╭─[ 677.60ms - stdout ]────────────────────────────────────────────────────────╮

00:00:11 #164 [Verbose] > │ type [<Struct>] US0 =                                                        │

00:00:11 #165 [Verbose] > │     | US0_0                                                                  │

00:00:11 #166 [Verbose] > │     | US0_1 of f1_0 : int32                                                  │

00:00:11 #167 [Verbose] > │ let rec method0 () : unit =                                                  │

00:00:11 #168 [Verbose] > │     let v0 : US0 = US0_1(5)                                                  │

00:00:11 #169 [Verbose] > │     let v1 : US0 = US0_1(5)                                                  │

00:00:11 #170 [Verbose] > │     let v2 : string = $"__expect / actual: %A{v0} / expected: %A{v1}"        │

00:00:11 #171 [Verbose] > │     ()                                                                       │

00:00:11 #172 [Verbose] > │ method0()                                                                    │

00:00:11 #173 [Verbose] > │                                                                              │

00:00:11 #174 [Verbose] > │                                                                              │

00:00:11 #175 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:11 #176 [Verbose] >

00:00:11 #177 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────

00:00:11 #178 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮

00:00:11 #179 [Verbose] > │ ## iter                                                                      │

00:00:11 #180 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:11 #181 [Verbose] >

00:00:11 #182 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:11 #183 [Verbose] > inl iter fn = function

00:00:11 #184 [Verbose] >     | Some x => fn x

00:00:11 #185 [Verbose] >     | None => ()

00:00:11 #186 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0901-0665-6548-6f039155481a\main.spi

00:00:11 #187 [Verbose] >

00:00:11 #188 [Verbose] > ╭─[ 191.78ms - stdout ]────────────────────────────────────────────────────────╮

00:00:11 #189 [Verbose] > │ ()                                                                           │

00:00:11 #190 [Verbose] > │                                                                              │

00:00:11 #191 [Verbose] > │                                                                              │

00:00:11 #192 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:11 #193 [Verbose] >

00:00:11 #194 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:11 #195 [Verbose] > // // test

00:00:11 #196 [Verbose] >

00:00:11 #197 [Verbose] > inl n = mut 1i32

00:00:11 #198 [Verbose] > inl fn =

00:00:11 #199 [Verbose] >     fun n' =>

00:00:11 #200 [Verbose] >         n <- *n + n'

00:00:11 #201 [Verbose] > Some 1i32 |> iter fn

00:00:11 #202 [Verbose] > None |> iter fn

00:00:11 #203 [Verbose] > *n

00:00:11 #204 [Verbose] > |> _equal 2i32

00:00:11 #205 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0901-0684-8480-837bab3ef13f\main.spi

00:00:11 #206 [Verbose] >

00:00:11 #207 [Verbose] > ╭─[ 349.18ms - stdout ]────────────────────────────────────────────────────────╮

00:00:11 #208 [Verbose] > │ type Mut0 = {mutable l0 : int32}                                             │

00:00:11 #209 [Verbose] > │ let rec method0 () : unit =                                                  │

00:00:11 #210 [Verbose] > │     let v0 : Mut0 = {l0 = 1} : Mut0                                          │

00:00:11 #211 [Verbose] > │     let v1 : int32 = v0.l0                                                   │

00:00:11 #212 [Verbose] > │     let v2 : int32 = v1 + 1                                                  │

00:00:11 #213 [Verbose] > │     v0.l0 <- v2                                                              │

00:00:11 #214 [Verbose] > │     let v3 : int32 = v0.l0                                                   │

00:00:11 #215 [Verbose] > │     let v4 : string = $"__expect / actual: %A{v3} / expected: %A{2}"         │

00:00:11 #216 [Verbose] > │     let v5 : bool = v3 = 2                                                   │

00:00:11 #217 [Verbose] > │     let v6 : bool = v5 = false                                               │

00:00:11 #218 [Verbose] > │     if v6 then                                                               │

00:00:11 #219 [Verbose] > │         failwith<unit> v4                                                    │

00:00:11 #220 [Verbose] > │ method0()                                                                    │

00:00:11 #221 [Verbose] > │                                                                              │

00:00:11 #222 [Verbose] > │                                                                              │

00:00:11 #223 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:11 #224 [Verbose] >

00:00:11 #225 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────

00:00:11 #226 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮

00:00:11 #227 [Verbose] > │ ## option'                                                                   │

00:00:11 #228 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:11 #229 [Verbose] >

00:00:11 #230 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:11 #231 [Verbose] > nominal option' t = $"`t option"

00:00:11 #232 [Verbose] >

00:00:11 #233 [Verbose] > inl unbox forall t. (x : option' t) : option t =

00:00:11 #234 [Verbose] >     inl some x : option t = Some x

00:00:11 #235 [Verbose] >     inl none : option t = None

00:00:11 #236 [Verbose] >     $"!x |> Option.map !some |> Option.defaultValue !none"

00:00:11 #237 [Verbose] >

00:00:11 #238 [Verbose] > inl box forall t. (x : option t) : option' t =

00:00:11 #239 [Verbose] >     match x with

00:00:11 #240 [Verbose] >     | Some x => $"Some !x"

00:00:11 #241 [Verbose] >     | None => $"None"

00:00:11 #242 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0901-0720-2088-2d168ad2fed6\main.spi

00:00:12 #243 [Verbose] >

00:00:12 #244 [Verbose] > ╭─[ 154.31ms - stdout ]────────────────────────────────────────────────────────╮

00:00:12 #245 [Verbose] > │ ()                                                                           │

00:00:12 #246 [Verbose] > │                                                                              │

00:00:12 #247 [Verbose] > │                                                                              │

00:00:12 #248 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:12 #249 [Verbose] >

00:00:12 #250 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:12 #251 [Verbose] > // // test

00:00:12 #252 [Verbose] >

00:00:12 #253 [Verbose] > inl x = Some 3i32

00:00:12 #254 [Verbose] > inl y : option i32 = None

00:00:12 #255 [Verbose] > inl x' = x |> box |> unbox

00:00:12 #256 [Verbose] > inl y' = y |> box |> unbox

00:00:12 #257 [Verbose] > (x', y') |> _equal (x, y)

00:00:12 #258 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0901-0736-3653-36adec10cc4f\main.spi

00:00:12 #259 [Verbose] >

00:00:12 #260 [Verbose] > ╭─[ 307.11ms - stdout ]────────────────────────────────────────────────────────╮

00:00:12 #261 [Verbose] > │ type [<Struct>] US0 =                                                        │

00:00:12 #262 [Verbose] > │     | US0_0                                                                  │

00:00:12 #263 [Verbose] > │     | US0_1 of f1_0 : int32                                                  │

00:00:12 #264 [Verbose] > │ let rec closure0 () (v0 : int32) : US0 =                                     │

00:00:12 #265 [Verbose] > │     US0_1(v0)                                                                │

00:00:12 #266 [Verbose] > │ and method0 () : unit =                                                      │

00:00:12 #267 [Verbose] > │     let v0 : int32 option = Some 3                                           │

00:00:12 #268 [Verbose] > │     let v1 : (int32 -> US0) = closure0()                                     │

00:00:12 #269 [Verbose] > │     let v2 : US0 = US0_0                                                     │

00:00:12 #270 [Verbose] > │     let v3 : US0 = v0 |> Option.map v1 |> Option.defaultValue v2             │

00:00:12 #271 [Verbose] > │     let v4 : int32 option = None                                             │

00:00:12 #272 [Verbose] > │     let v5 : US0 = US0_0                                                     │

00:00:12 #273 [Verbose] > │     let v6 : US0 = v4 |> Option.map v1 |> Option.defaultValue v5             │

00:00:12 #274 [Verbose] > │     let v7 : US0 = US0_1(3)                                                  │

00:00:12 #275 [Verbose] > │     let v8 : US0 = US0_0                                                     │

00:00:12 #276 [Verbose] > │     let v9 : string = $"__expect / actual: %A{struct (v3, v6)} / expected:   │

00:00:12 #277 [Verbose] > │ %A{struct (v7, v8)}"                                                         │

00:00:12 #278 [Verbose] > │     let v14 : bool =                                                         │

00:00:12 #279 [Verbose] > │         match v3 with                                                        │

00:00:12 #280 [Verbose] > │         | US0_1(v12) -> (* Some *)                                           │

00:00:12 #281 [Verbose] > │             let v13 : bool = v12 = 3                                         │

00:00:12 #282 [Verbose] > │             v13                                                              │

00:00:12 #283 [Verbose] > │         | _ ->                                                               │

00:00:12 #284 [Verbose] > │             false                                                            │

00:00:12 #285 [Verbose] > │     let v16 : bool =                                                         │

00:00:12 #286 [Verbose] > │         if v14 then                                                          │

00:00:12 #287 [Verbose] > │             match v6 with                                                    │

00:00:12 #288 [Verbose] > │             | US0_0 -> (* None *)                                            │

00:00:12 #289 [Verbose] > │                 true                                                         │

00:00:12 #290 [Verbose] > │             | _ ->                                                           │

00:00:12 #291 [Verbose] > │                 false                                                        │

00:00:12 #292 [Verbose] > │         else                                                                 │

00:00:12 #293 [Verbose] > │             false                                                            │

00:00:12 #294 [Verbose] > │     let v17 : bool = v16 = false                                             │

00:00:12 #295 [Verbose] > │     if v17 then                                                              │

00:00:12 #296 [Verbose] > │         failwith<unit> v9                                                    │

00:00:12 #297 [Verbose] > │ method0()                                                                    │

00:00:12 #298 [Verbose] > │                                                                              │

00:00:12 #299 [Verbose] > │                                                                              │

00:00:12 #300 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:12 #301 [Verbose] >

00:00:12 #302 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────

00:00:12 #303 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮

00:00:12 #304 [Verbose] > │ ## map                                                                       │

00:00:12 #305 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:12 #306 [Verbose] >

00:00:12 #307 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:12 #308 [Verbose] > inl map forall t u. (fn : t -> u) (x : option' t) : option' u =

00:00:12 #309 [Verbose] >     inl x = join x

00:00:12 #310 [Verbose] >     inl fn = join fn

00:00:12 #311 [Verbose] >     !\($'"!x.map(|x| !fn(x))"')

00:00:12 #312 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0901-0769-6904-68fe5ddf71e8\main.spi

00:00:12 #313 [Verbose] >

00:00:12 #314 [Verbose] > ╭─[ 298.51ms - stdout ]────────────────────────────────────────────────────────╮

00:00:12 #315 [Verbose] > │ ()                                                                           │

00:00:12 #316 [Verbose] > │                                                                              │

00:00:12 #317 [Verbose] > │                                                                              │

00:00:12 #318 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:12 #319 [Verbose] >

00:00:12 #320 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────

00:00:12 #321 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮

00:00:12 #322 [Verbose] > │ ## flatten                                                                   │

00:00:12 #323 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:12 #324 [Verbose] >

00:00:12 #325 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:12 #326 [Verbose] > inl flatten x =

00:00:12 #327 [Verbose] >     match x with

00:00:12 #328 [Verbose] >     | Some (Some x) => Some x

00:00:12 #329 [Verbose] >     | _ => None

00:00:12 #330 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0901-0799-9930-99b57145d816\main.spi

00:00:12 #331 [Verbose] >

00:00:12 #332 [Verbose] > ╭─[ 199.63ms - stdout ]────────────────────────────────────────────────────────╮

00:00:12 #333 [Verbose] > │ ()                                                                           │

00:00:12 #334 [Verbose] > │                                                                              │

00:00:12 #335 [Verbose] > │                                                                              │

00:00:12 #336 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:12 #337 [Verbose] >

00:00:12 #338 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────

00:00:12 #339 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮

00:00:12 #340 [Verbose] > │ ## unwrap                                                                    │

00:00:12 #341 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:12 #342 [Verbose] >

00:00:12 #343 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:12 #344 [Verbose] > inl unwrap forall t. (x : option' t) : t =

00:00:12 #345 [Verbose] >     !\($'"!x.unwrap()"')

00:00:12 #346 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0901-0819-1979-1cf5514d8e6b\main.spi

00:00:13 #347 [Verbose] >

00:00:13 #348 [Verbose] > ╭─[ 193.70ms - stdout ]────────────────────────────────────────────────────────╮

00:00:13 #349 [Verbose] > │ ()                                                                           │

00:00:13 #350 [Verbose] > │                                                                              │

00:00:13 #351 [Verbose] > │                                                                              │

00:00:13 #352 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:13 #353 [Verbose] >

00:00:13 #354 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────

00:00:13 #355 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮

00:00:13 #356 [Verbose] > │ ## unwrap_or                                                                 │

00:00:13 #357 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:13 #358 [Verbose] >

00:00:13 #359 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:13 #360 [Verbose] > inl unwrap_or forall t. (def : t) (x : option' t) : t =

00:00:13 #361 [Verbose] >     !\($'"!x.unwrap_or(!def)"')

00:00:13 #362 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0901-0839-3971-34a26e238c75\main.spi

00:00:13 #363 [Verbose] >

00:00:13 #364 [Verbose] > ╭─[ 156.67ms - stdout ]────────────────────────────────────────────────────────╮

00:00:13 #365 [Verbose] > │ ()                                                                           │

00:00:13 #366 [Verbose] > │                                                                              │

00:00:13 #367 [Verbose] > │                                                                              │

00:00:13 #368 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:14 #369 [Verbose] > [NbConvertApp] Converting notebook optionm'.dib.ipynb to html

00:00:14 #370 [Verbose] > C:\Users\i574n\scoop\apps\python\current\Lib\site-packages\nbformat\__init__.py:93: MissingIDFieldWarning: Code cell is missing an id field, this will become a hard error in future nbformat versions. You may want to use `normalize()` on your notebooks before validations (available since nbformat 5.1.4). Previous versions of nbformat are fixing this issue transparently, and will stop doing so in the future.

00:00:14 #371 [Verbose] >   validate(nb)

00:00:15 #372 [Verbose] > C:\Users\i574n\scoop\apps\python\current\Lib\site-packages\nbconvert\filters\highlight.py:71: UserWarning: IPython3 lexer unavailable, falling back on Python 3

00:00:15 #373 [Verbose] >   return _pygments_highlight(

00:00:15 #374 [Verbose] > [NbConvertApp] Writing 303002 bytes to optionm'.dib.html

00:00:16 #375 [Debug] executeAsync / exitCode: 0 / output.Length: 19905

00:00:16 #376 [Debug] main / executeCommand / exitCode: 0

00:00:00 #1 [Debug] runWithTimeoutAsync / timeout: 60

00:00:00 #2 [Debug] executeAsync / options: { Command =

   "dotnet "C:\home\git\polyglot\deps\The-Spiral-Language\The Spiral Language 2\artifacts\bin\The Spiral Language 2\release\Spiral.dll" port=13805"

  WorkingDirectory = None

  CancellationToken = Some System.Threading.CancellationToken

  OnLine = Some <fun:main@450-1020> }

00:00:00 #3 [Verbose] > pwd: C:\home\git\polyglot\lib\spiral

00:00:00 #4 [Verbose] > dll_path: C:\home\git\polyglot\deps\The-Spiral-Language\The Spiral Language 2\artifacts\bin\The Spiral Language 2\release

00:00:00 #5 [Debug] runWithTimeoutAsync / timeout: 500

00:00:00 #6 [Verbose] waitForPortAccess / port: 13805 / retry: 0

00:00:01 #7 [Debug] sendJson / port: 13805 / json: {"Ping":true} / result.Length:

00:00:01 #8 [Verbose] awaitCompiler / Ping / result: Some(null) / port: 13805 / retry: 0

00:00:01 #9 [Verbose] > Server bound to: http://localhost:13805

00:00:01 #10 [Debug] executeAsync / options: { Command = "pwsh -c "../../scripts/invoke-dib.ps1 \"am'.dib\"""

  WorkingDirectory = None

  CancellationToken = Some System.Threading.CancellationToken

  OnLine = None }

00:00:03 #11 [Verbose] >

00:00:03 #12 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────

00:00:03 #13 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮

00:00:03 #14 [Verbose] > │ # am                                                                         │

00:00:03 #15 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:03 #16 [Verbose] >

00:00:03 #17 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:03 #18 [Verbose] > // // test

00:00:03 #19 [Verbose] >

00:00:03 #20 [Verbose] > open testing

00:00:03 #21 [Verbose] >

00:00:03 #22 [Verbose] > prototype append t : t -> t -> t

00:00:06 #23 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0901-1799-9999-9b771bd90da6\main.spi

00:00:08 #24 [Verbose] >

00:00:08 #25 [Verbose] > ╭─[ 5.09s - stdout ]───────────────────────────────────────────────────────────╮

00:00:08 #26 [Verbose] > │ ()                                                                           │

00:00:08 #27 [Verbose] > │                                                                              │

00:00:08 #28 [Verbose] > │                                                                              │

00:00:08 #29 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:08 #30 [Verbose] >

00:00:08 #31 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:08 #32 [Verbose] > open rust_operators

00:00:08 #33 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0901-2100-0052-03f8ac1820e9\main.spi

00:00:08 #34 [Verbose] >

00:00:08 #35 [Verbose] > ╭─[ 147.57ms - stdout ]────────────────────────────────────────────────────────╮

00:00:08 #36 [Verbose] > │ ()                                                                           │

00:00:08 #37 [Verbose] > │                                                                              │

00:00:08 #38 [Verbose] > │                                                                              │

00:00:08 #39 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:08 #40 [Verbose] >

00:00:08 #41 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────

00:00:08 #42 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮

00:00:08 #43 [Verbose] > │ ## append                                                                    │

00:00:08 #44 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:08 #45 [Verbose] >

00:00:08 #46 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:08 #47 [Verbose] > instance append a dim {int; number} t =

00:00:08 #48 [Verbose] >     am.append

00:00:08 #49 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0901-2115-1555-11c56de04c44\main.spi

00:00:09 #50 [Verbose] >

00:00:09 #51 [Verbose] > ╭─[ 217.12ms - stdout ]────────────────────────────────────────────────────────╮

00:00:09 #52 [Verbose] > │ ()                                                                           │

00:00:09 #53 [Verbose] > │                                                                              │

00:00:09 #54 [Verbose] > │                                                                              │

00:00:09 #55 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:09 #56 [Verbose] >

00:00:09 #57 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────

00:00:09 #58 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮

00:00:09 #59 [Verbose] > │ ## /@                                                                        │

00:00:09 #60 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:09 #61 [Verbose] >

00:00:09 #62 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:09 #63 [Verbose] > inl (/@) a b =

00:00:09 #64 [Verbose] >     b |> append a

00:00:09 #65 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0901-2138-3824-3d55acd1ac42\main.spi

00:00:09 #66 [Verbose] >

00:00:09 #67 [Verbose] > ╭─[ 180.86ms - stdout ]────────────────────────────────────────────────────────╮

00:00:09 #68 [Verbose] > │ ()                                                                           │

00:00:09 #69 [Verbose] > │                                                                              │

00:00:09 #70 [Verbose] > │                                                                              │

00:00:09 #71 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:09 #72 [Verbose] >

00:00:09 #73 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:09 #74 [Verbose] > // // test

00:00:09 #75 [Verbose] >

00:00:09 #76 [Verbose] > a ;[[ "a"; "b" ]] /@ a ;[[ "c"; "d" ]]

00:00:09 #77 [Verbose] > |> _equal (a ;[[ "a"; "b"; "c"; "d" ]] : _ i32 _)

00:00:09 #78 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0901-2156-5614-5bcbb6bc13ae\main.spi

00:00:10 #79 [Verbose] >

00:00:10 #80 [Verbose] > ╭─[ 1.37s - stdout ]───────────────────────────────────────────────────────────╮

00:00:10 #81 [Verbose] > │ type Mut0 = {mutable l0 : int32}                                             │

00:00:10 #82 [Verbose] > │ let rec method1 (v0 : (string [])) : (string []) =                           │

00:00:10 #83 [Verbose] > │     v0                                                                       │

00:00:10 #84 [Verbose] > │ and method2 (v0 : int32, v1 : Mut0) : bool =                                 │

00:00:10 #85 [Verbose] > │     let v2 : int32 = v1.l0                                                   │

00:00:10 #86 [Verbose] > │     let v3 : bool = v2 < v0                                                  │

00:00:10 #87 [Verbose] > │     v3                                                                       │

00:00:10 #88 [Verbose] > │ and method3 (v0 : (string []), v1 : (string []), v2 : int32) : bool =        │

00:00:10 #89 [Verbose] > │     let v3 : int32 = v0.Length                                               │

00:00:10 #90 [Verbose] > │     let v4 : bool = v2 < v3                                                  │

00:00:10 #91 [Verbose] > │     if v4 then                                                               │

00:00:10 #92 [Verbose] > │         let v5 : string = v0.[int v2]                                        │

00:00:10 #93 [Verbose] > │         let v6 : string = v1.[int v2]                                        │

00:00:10 #94 [Verbose] > │         let v7 : bool = v5 = v6                                              │

00:00:10 #95 [Verbose] > │         if v7 then                                                           │

00:00:10 #96 [Verbose] > │             let v8 : int32 = v2 + 1                                          │

00:00:10 #97 [Verbose] > │             method3(v0, v1, v8)                                              │

00:00:10 #98 [Verbose] > │         else                                                                 │

00:00:10 #99 [Verbose] > │             false                                                            │

00:00:10 #100 [Verbose] > │     else                                                                     │

00:00:10 #101 [Verbose] > │         true                                                                 │

00:00:10 #102 [Verbose] > │ and method0 () : unit =                                                      │

00:00:10 #103 [Verbose] > │     let v0 : string = "a"                                                    │

00:00:10 #104 [Verbose] > │     let v1 : string = "b"                                                    │

00:00:10 #105 [Verbose] > │     let v2 : (string []) = [|v0; v1|]                                        │

00:00:10 #106 [Verbose] > │     let v3 : (string []) = method1(v2)                                       │

00:00:10 #107 [Verbose] > │     let v4 : string = "c"                                                    │

00:00:10 #108 [Verbose] > │     let v5 : string = "d"                                                    │

00:00:10 #109 [Verbose] > │     let v6 : (string []) = [|v4; v5|]                                        │

00:00:10 #110 [Verbose] > │     let v7 : (string []) = method1(v6)                                       │

00:00:10 #111 [Verbose] > │     let v8 : int32 = v3.Length                                               │

00:00:10 #112 [Verbose] > │     let v9 : int32 = v7.Length                                               │

00:00:10 #113 [Verbose] > │     let v10 : int32 = v8 + v9                                                │

00:00:10 #114 [Verbose] > │     let v11 : (string []) = Array.zeroCreate<string> (v10)                   │

00:00:10 #115 [Verbose] > │     let v12 : Mut0 = {l0 = 0} : Mut0                                         │

00:00:10 #116 [Verbose] > │     while method2(v10, v12) do                                               │

00:00:10 #117 [Verbose] > │         let v14 : int32 = v12.l0                                             │

00:00:10 #118 [Verbose] > │         let v15 : bool = v14 < v8                                            │

00:00:10 #119 [Verbose] > │         let v19 : string =                                                   │

00:00:10 #120 [Verbose] > │             if v15 then                                                      │

00:00:10 #121 [Verbose] > │                 let v16 : string = v3.[int v14]                              │

00:00:10 #122 [Verbose] > │                 v16                                                          │

00:00:10 #123 [Verbose] > │             else                                                             │

00:00:10 #124 [Verbose] > │                 let v17 : int32 = v14 - v8                                   │

00:00:10 #125 [Verbose] > │                 let v18 : string = v7.[int v17]                              │

00:00:10 #126 [Verbose] > │                 v18                                                          │

00:00:10 #127 [Verbose] > │         v11.[int v14] <- v19                                                 │

00:00:10 #128 [Verbose] > │         let v20 : int32 = v14 + 1                                            │

00:00:10 #129 [Verbose] > │         v12.l0 <- v20                                                        │

00:00:10 #130 [Verbose] > │         ()                                                                   │

00:00:10 #131 [Verbose] > │     let v21 : (string []) = [|v0; v1; v4; v5|]                               │

00:00:10 #132 [Verbose] > │     let v22 : (string []) = method1(v21)                                     │

00:00:10 #133 [Verbose] > │     let v23 : string = $"__expect / actual: %A{v11} / expected: %A{v22}"     │

00:00:10 #134 [Verbose] > │     let v24 : int32 = v11.Length                                             │

00:00:10 #135 [Verbose] > │     let v25 : int32 = v22.Length                                             │

00:00:10 #136 [Verbose] > │     let v26 : bool = v24 = v25                                               │

00:00:10 #137 [Verbose] > │     let v27 : bool = v26 <> true                                             │

00:00:10 #138 [Verbose] > │     let v30 : bool =                                                         │

00:00:10 #139 [Verbose] > │         if v27 then                                                          │

00:00:10 #140 [Verbose] > │             false                                                            │

00:00:10 #141 [Verbose] > │         else                                                                 │

00:00:10 #142 [Verbose] > │             let v28 : int32 = 0                                              │

00:00:10 #143 [Verbose] > │             method3(v11, v22, v28)                                           │

00:00:10 #144 [Verbose] > │     let v31 : bool = v30 = false                                             │

00:00:10 #145 [Verbose] > │     if v31 then                                                              │

00:00:10 #146 [Verbose] > │         failwith<unit> v23                                                   │

00:00:10 #147 [Verbose] > │ method0()                                                                    │

00:00:10 #148 [Verbose] > │                                                                              │

00:00:10 #149 [Verbose] > │                                                                              │

00:00:10 #150 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:10 #151 [Verbose] >

00:00:10 #152 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────

00:00:10 #153 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮

00:00:10 #154 [Verbose] > │ ## collect                                                                   │

00:00:10 #155 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:10 #156 [Verbose] >

00:00:10 #157 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:10 #158 [Verbose] > inl collect forall t r. (fn : t -> a i32 r) (items : a i32 t) : a i32 r =

00:00:10 #159 [Verbose] >     items

00:00:10 #160 [Verbose] >     |> am.map fn

00:00:10 #161 [Verbose] >     |> am.fold (/@) (a ;[[]])

00:00:10 #162 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0901-2296-9661-9f67f9688272\main.spi

00:00:10 #163 [Verbose] >

00:00:10 #164 [Verbose] > ╭─[ 203.62ms - stdout ]────────────────────────────────────────────────────────╮

00:00:10 #165 [Verbose] > │ ()                                                                           │

00:00:10 #166 [Verbose] > │                                                                              │

00:00:10 #167 [Verbose] > │                                                                              │

00:00:10 #168 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:10 #169 [Verbose] >

00:00:10 #170 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────

00:00:10 #171 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮

00:00:10 #172 [Verbose] > │ ## choose                                                                    │

00:00:10 #173 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:10 #174 [Verbose] >

00:00:10 #175 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:10 #176 [Verbose] > inl choose f l =

00:00:10 #177 [Verbose] >     (l, [[]])

00:00:10 #178 [Verbose] >     ||> am.foldBack fun x acc =>

00:00:10 #179 [Verbose] >         match f x with

00:00:10 #180 [Verbose] >         | Some y => y :: acc

00:00:10 #181 [Verbose] >         | None => acc

00:00:10 #182 [Verbose] >     |> listm.toArray

00:00:10 #183 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0901-2317-1738-12739f5646c1\main.spi

00:00:11 #184 [Verbose] >

00:00:11 #185 [Verbose] > ╭─[ 151.91ms - stdout ]────────────────────────────────────────────────────────╮

00:00:11 #186 [Verbose] > │ ()                                                                           │

00:00:11 #187 [Verbose] > │                                                                              │

00:00:11 #188 [Verbose] > │                                                                              │

00:00:11 #189 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:11 #190 [Verbose] >

00:00:11 #191 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:11 #192 [Verbose] > // // test

00:00:11 #193 [Verbose] >

00:00:11 #194 [Verbose] > (am.init 10i32 id : a _ _)

00:00:11 #195 [Verbose] > |> choose (fun x => if x % 2 = 0 then Some x else None)

00:00:11 #196 [Verbose] > |> _equal (a ;[[ 0; 2; 4; 6; 8 ]] : _ i32 _)

00:00:11 #197 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0901-2332-3284-3fb36c5192e3\main.spi

00:00:11 #198 [Verbose] >

00:00:11 #199 [Verbose] > ╭─[ 512.20ms - stdout ]────────────────────────────────────────────────────────╮

00:00:11 #200 [Verbose] > │ type Mut0 = {mutable l0 : int32}                                             │

00:00:11 #201 [Verbose] > │ and UH0 =                                                                    │

00:00:11 #202 [Verbose] > │     | UH0_0 of int32 * UH0                                                   │

00:00:11 #203 [Verbose] > │     | UH0_1                                                                  │

00:00:11 #204 [Verbose] > │ and Mut1 = {mutable l0 : int32; mutable l1 : UH0}                            │

00:00:11 #205 [Verbose] > │ and [<Struct>] US0 =                                                         │

00:00:11 #206 [Verbose] > │     | US0_0                                                                  │

00:00:11 #207 [Verbose] > │     | US0_1 of f1_0 : int32                                                  │

00:00:11 #208 [Verbose] > │ let rec method1 (v0 : Mut0) : bool =                                         │

00:00:11 #209 [Verbose] > │     let v1 : int32 = v0.l0                                                   │

00:00:11 #210 [Verbose] > │     let v2 : bool = v1 < 10                                                  │

00:00:11 #211 [Verbose] > │     v2                                                                       │

00:00:11 #212 [Verbose] > │ and method2 (v0 : int32, v1 : Mut1) : bool =                                 │

00:00:11 #213 [Verbose] > │     let v2 : int32 = v1.l0                                                   │

00:00:11 #214 [Verbose] > │     let v3 : bool = v2 < v0                                                  │

00:00:11 #215 [Verbose] > │     v3                                                                       │

00:00:11 #216 [Verbose] > │ and method4 (v0 : UH0, v1 : int32) : int32 =                                 │

00:00:11 #217 [Verbose] > │     match v0 with                                                            │

00:00:11 #218 [Verbose] > │     | UH0_0(v2, v3) -> (* Cons *)                                            │

00:00:11 #219 [Verbose] > │         let v4 : int32 = v1 + 1                                              │

00:00:11 #220 [Verbose] > │         method4(v3, v4)                                                      │

00:00:11 #221 [Verbose] > │     | UH0_1 -> (* Nil *)                                                     │

00:00:11 #222 [Verbose] > │         v1                                                                   │

00:00:11 #223 [Verbose] > │ and method5 (v0 : (int32 []), v1 : UH0, v2 : int32) : int32 =                │

00:00:11 #224 [Verbose] > │     match v1 with                                                            │

00:00:11 #225 [Verbose] > │     | UH0_0(v3, v4) -> (* Cons *)                                            │

00:00:11 #226 [Verbose] > │         v0.[int v2] <- v3                                                    │

00:00:11 #227 [Verbose] > │         let v5 : int32 = v2 + 1                                              │

00:00:11 #228 [Verbose] > │         method5(v0, v4, v5)                                                  │

00:00:11 #229 [Verbose] > │     | UH0_1 -> (* Nil *)                                                     │

00:00:11 #230 [Verbose] > │         v2                                                                   │

00:00:11 #231 [Verbose] > │ and method3 (v0 : UH0) : (int32 []) =                                        │

00:00:11 #232 [Verbose] > │     let v1 : int32 = 0                                                       │

00:00:11 #233 [Verbose] > │     let v2 : int32 = method4(v0, v1)                                         │

00:00:11 #234 [Verbose] > │     let v3 : (int32 []) = Array.zeroCreate<int32> (v2)                       │

00:00:11 #235 [Verbose] > │     let v4 : int32 = 0                                                       │

00:00:11 #236 [Verbose] > │     let v5 : int32 = method5(v3, v0, v4)                                     │

00:00:11 #237 [Verbose] > │     v3                                                                       │

00:00:11 #238 [Verbose] > │ and method6 (v0 : (int32 [])) : (int32 []) =                                 │

00:00:11 #239 [Verbose] > │     v0                                                                       │

00:00:11 #240 [Verbose] > │ and method7 (v0 : (int32 []), v1 : (int32 []), v2 : int32) : bool =          │

00:00:11 #241 [Verbose] > │     let v3 : int32 = v0.Length                                               │

00:00:11 #242 [Verbose] > │     let v4 : bool = v2 < v3                                                  │

00:00:11 #243 [Verbose] > │     if v4 then                                                               │

00:00:11 #244 [Verbose] > │         let v5 : int32 = v0.[int v2]                                         │

00:00:11 #245 [Verbose] > │         let v6 : int32 = v1.[int v2]                                         │

00:00:11 #246 [Verbose] > │         let v7 : bool = v5 = v6                                              │

00:00:11 #247 [Verbose] > │         if v7 then                                                           │

00:00:11 #248 [Verbose] > │             let v8 : int32 = v2 + 1                                          │

00:00:11 #249 [Verbose] > │             method7(v0, v1, v8)                                              │

00:00:11 #250 [Verbose] > │         else                                                                 │

00:00:11 #251 [Verbose] > │             false                                                            │

00:00:11 #252 [Verbose] > │     else                                                                     │

00:00:11 #253 [Verbose] > │         true                                                                 │

00:00:11 #254 [Verbose] > │ and method0 () : unit =                                                      │

00:00:11 #255 [Verbose] > │     let v0 : (int32 []) = Array.zeroCreate<int32> (10)                       │

00:00:11 #256 [Verbose] > │     let v1 : Mut0 = {l0 = 0} : Mut0                                          │

00:00:11 #257 [Verbose] > │     while method1(v1) do                                                     │

00:00:11 #258 [Verbose] > │         let v3 : int32 = v1.l0                                               │

00:00:11 #259 [Verbose] > │         v0.[int v3] <- v3                                                    │

00:00:11 #260 [Verbose] > │         let v4 : int32 = v3 + 1                                              │

00:00:11 #261 [Verbose] > │         v1.l0 <- v4                                                          │

00:00:11 #262 [Verbose] > │         ()                                                                   │

00:00:11 #263 [Verbose] > │     let v5 : int32 = v0.Length                                               │

00:00:11 #264 [Verbose] > │     let v6 : UH0 = UH0_1                                                     │

00:00:11 #265 [Verbose] > │     let v7 : Mut1 = {l0 = 0; l1 = v6} : Mut1                                 │

00:00:11 #266 [Verbose] > │     while method2(v5, v7) do                                                 │

00:00:11 #267 [Verbose] > │         let v9 : int32 = v7.l0                                               │

00:00:11 #268 [Verbose] > │         let v10 : int32 =  -v9                                               │

00:00:11 #269 [Verbose] > │         let v11 : int32 = v10 + v5                                           │

00:00:11 #270 [Verbose] > │         let v12 : int32 = v11 - 1                                            │

00:00:11 #271 [Verbose] > │         let v13 : UH0 = v7.l1                                                │

00:00:11 #272 [Verbose] > │         let v14 : int32 = v0.[int v12]                                       │

00:00:11 #273 [Verbose] > │         let v15 : int32 = v14 % 2                                            │

00:00:11 #274 [Verbose] > │         let v16 : bool = v15 = 0                                             │

00:00:11 #275 [Verbose] > │         let v19 : US0 =                                                      │

00:00:11 #276 [Verbose] > │             if v16 then                                                      │

00:00:11 #277 [Verbose] > │                 US0_1(v14)                                                   │

00:00:11 #278 [Verbose] > │             else                                                             │

00:00:11 #279 [Verbose] > │                 US0_0                                                        │

00:00:11 #280 [Verbose] > │         let v23 : UH0 =                                                      │

00:00:11 #281 [Verbose] > │             match v19 with                                                   │

00:00:11 #282 [Verbose] > │             | US0_0 -> (* None *)                                            │

00:00:11 #283 [Verbose] > │                 v13                                                          │

00:00:11 #284 [Verbose] > │             | US0_1(v20) -> (* Some *)                                       │

00:00:11 #285 [Verbose] > │                 UH0_0(v20, v13)                                              │

00:00:11 #286 [Verbose] > │         let v24 : int32 = v9 + 1                                             │

00:00:11 #287 [Verbose] > │         v7.l0 <- v24                                                         │

00:00:11 #288 [Verbose] > │         v7.l1 <- v23                                                         │

00:00:11 #289 [Verbose] > │         ()                                                                   │

00:00:11 #290 [Verbose] > │     let v25 : UH0 = v7.l1                                                    │

00:00:11 #291 [Verbose] > │     let v26 : (int32 []) = method3(v25)                                      │

00:00:11 #292 [Verbose] > │     let v27 : (int32 []) = [|0; 2; 4; 6; 8|]                                 │

00:00:11 #293 [Verbose] > │     let v28 : (int32 []) = method6(v27)                                      │

00:00:11 #294 [Verbose] > │     let v29 : string = $"__expect / actual: %A{v26} / expected: %A{v28}"     │

00:00:11 #295 [Verbose] > │     let v30 : int32 = v26.Length                                             │

00:00:11 #296 [Verbose] > │     let v31 : int32 = v28.Length                                             │

00:00:11 #297 [Verbose] > │     let v32 : bool = v30 = v31                                               │

00:00:11 #298 [Verbose] > │     let v33 : bool = v32 <> true                                             │

00:00:11 #299 [Verbose] > │     let v36 : bool =                                                         │

00:00:11 #300 [Verbose] > │         if v33 then                                                          │

00:00:11 #301 [Verbose] > │             false                                                            │

00:00:11 #302 [Verbose] > │         else                                                                 │

00:00:11 #303 [Verbose] > │             let v34 : int32 = 0                                              │

00:00:11 #304 [Verbose] > │             method7(v26, v28, v34)                                           │

00:00:11 #305 [Verbose] > │     let v37 : bool = v36 = false                                             │

00:00:11 #306 [Verbose] > │     if v37 then                                                              │

00:00:11 #307 [Verbose] > │         failwith<unit> v29                                                   │

00:00:11 #308 [Verbose] > │ method0()                                                                    │

00:00:11 #309 [Verbose] > │                                                                              │

00:00:11 #310 [Verbose] > │                                                                              │

00:00:11 #311 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:11 #312 [Verbose] >

00:00:11 #313 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────

00:00:11 #314 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮

00:00:11 #315 [Verbose] > │ ## sum                                                                       │

00:00:11 #316 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:11 #317 [Verbose] >

00:00:11 #318 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:11 #319 [Verbose] > inl sum (a' : a _ _) =

00:00:11 #320 [Verbose] >     a' |> am.fold (+) 0

00:00:11 #321 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0901-2389-8911-8637ebd58cfc\main.spi

00:00:11 #322 [Verbose] >

00:00:11 #323 [Verbose] > ╭─[ 158.11ms - stdout ]────────────────────────────────────────────────────────╮

00:00:11 #324 [Verbose] > │ ()                                                                           │

00:00:11 #325 [Verbose] > │                                                                              │

00:00:11 #326 [Verbose] > │                                                                              │

00:00:11 #327 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:11 #328 [Verbose] >

00:00:11 #329 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:11 #330 [Verbose] > // // test

00:00:11 #331 [Verbose] >

00:00:11 #332 [Verbose] > am.init 10i32 id

00:00:11 #333 [Verbose] > |> sum

00:00:11 #334 [Verbose] > |> _equal 45

00:00:11 #335 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0901-2405-0524-0d1d869feb13\main.spi

00:00:11 #336 [Verbose] >

00:00:11 #337 [Verbose] > ╭─[ 231.81ms - stdout ]────────────────────────────────────────────────────────╮

00:00:11 #338 [Verbose] > │ type Mut0 = {mutable l0 : int32}                                             │

00:00:11 #339 [Verbose] > │ and Mut1 = {mutable l0 : int32; mutable l1 : int32}                          │

00:00:11 #340 [Verbose] > │ let rec method1 (v0 : Mut0) : bool =                                         │

00:00:11 #341 [Verbose] > │     let v1 : int32 = v0.l0                                                   │

00:00:11 #342 [Verbose] > │     let v2 : bool = v1 < 10                                                  │

00:00:11 #343 [Verbose] > │     v2                                                                       │

00:00:11 #344 [Verbose] > │ and method2 (v0 : int32, v1 : Mut1) : bool =                                 │

00:00:11 #345 [Verbose] > │     let v2 : int32 = v1.l0                                                   │

00:00:11 #346 [Verbose] > │     let v3 : bool = v2 < v0                                                  │

00:00:11 #347 [Verbose] > │     v3                                                                       │

00:00:11 #348 [Verbose] > │ and method0 () : unit =                                                      │

00:00:11 #349 [Verbose] > │     let v0 : (int32 []) = Array.zeroCreate<int32> (10)                       │

00:00:11 #350 [Verbose] > │     let v1 : Mut0 = {l0 = 0} : Mut0                                          │

00:00:11 #351 [Verbose] > │     while method1(v1) do                                                     │

00:00:11 #352 [Verbose] > │         let v3 : int32 = v1.l0                                               │

00:00:11 #353 [Verbose] > │         v0.[int v3] <- v3                                                    │

00:00:11 #354 [Verbose] > │         let v4 : int32 = v3 + 1                                              │

00:00:11 #355 [Verbose] > │         v1.l0 <- v4                                                          │

00:00:11 #356 [Verbose] > │         ()                                                                   │

00:00:11 #357 [Verbose] > │     let v5 : int32 = v0.Length                                               │

00:00:11 #358 [Verbose] > │     let v6 : Mut1 = {l0 = 0; l1 = 0} : Mut1                                  │

00:00:11 #359 [Verbose] > │     while method2(v5, v6) do                                                 │

00:00:11 #360 [Verbose] > │         let v8 : int32 = v6.l0                                               │

00:00:11 #361 [Verbose] > │         let v9 : int32 = v6.l1                                               │

00:00:11 #362 [Verbose] > │         let v10 : int32 = v0.[int v8]                                        │

00:00:11 #363 [Verbose] > │         let v11 : int32 = v9 + v10                                           │

00:00:11 #364 [Verbose] > │         let v12 : int32 = v8 + 1                                             │

00:00:11 #365 [Verbose] > │         v6.l0 <- v12                                                         │

00:00:11 #366 [Verbose] > │         v6.l1 <- v11                                                         │

00:00:11 #367 [Verbose] > │         ()                                                                   │

00:00:11 #368 [Verbose] > │     let v13 : int32 = v6.l1                                                  │

00:00:11 #369 [Verbose] > │     let v14 : string = $"__expect / actual: %A{v13} / expected: %A{45}"      │

00:00:11 #370 [Verbose] > │     let v15 : bool = v13 = 45                                                │

00:00:11 #371 [Verbose] > │     let v16 : bool = v15 = false                                             │

00:00:11 #372 [Verbose] > │     if v16 then                                                              │

00:00:11 #373 [Verbose] > │         failwith<unit> v14                                                   │

00:00:11 #374 [Verbose] > │ method0()                                                                    │

00:00:11 #375 [Verbose] > │                                                                              │

00:00:11 #376 [Verbose] > │                                                                              │

00:00:11 #377 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:11 #378 [Verbose] >

00:00:11 #379 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────

00:00:11 #380 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮

00:00:11 #381 [Verbose] > │ ## init_series                                                               │

00:00:11 #382 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:11 #383 [Verbose] >

00:00:11 #384 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:11 #385 [Verbose] > inl init_series start end inc =

00:00:11 #386 [Verbose] >     inl total = conv ((end - start) / inc) + 1

00:00:11 #387 [Verbose] >     am.init total (conv >> (*) inc >> (+) start) : a i32 _

00:00:12 #388 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0901-2430-3071-35e4b61b4c44\main.spi

00:00:12 #389 [Verbose] >

00:00:12 #390 [Verbose] > ╭─[ 152.17ms - stdout ]────────────────────────────────────────────────────────╮

00:00:12 #391 [Verbose] > │ ()                                                                           │

00:00:12 #392 [Verbose] > │                                                                              │

00:00:12 #393 [Verbose] > │                                                                              │

00:00:12 #394 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:12 #395 [Verbose] >

00:00:12 #396 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:12 #397 [Verbose] > // // test

00:00:12 #398 [Verbose] >

00:00:12 #399 [Verbose] > init_series 0 1 0.5

00:00:12 #400 [Verbose] > |> _equal (a ;[[0f64; 0.5; 1]])

00:00:12 #401 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0901-2445-4595-4c42bcbf9573\main.spi

00:00:12 #402 [Verbose] >

00:00:12 #403 [Verbose] > ╭─[ 216.73ms - stdout ]────────────────────────────────────────────────────────╮

00:00:12 #404 [Verbose] > │ type Mut0 = {mutable l0 : int32}                                             │

00:00:12 #405 [Verbose] > │ let rec method1 (v0 : Mut0) : bool =                                         │

00:00:12 #406 [Verbose] > │     let v1 : int32 = v0.l0                                                   │

00:00:12 #407 [Verbose] > │     let v2 : bool = v1 < 3                                                   │

00:00:12 #408 [Verbose] > │     v2                                                                       │

00:00:12 #409 [Verbose] > │ and method2 (v0 : (float [])) : (float []) =                                 │

00:00:12 #410 [Verbose] > │     v0                                                                       │

00:00:12 #411 [Verbose] > │ and method3 (v0 : (float []), v1 : (float []), v2 : int32) : bool =          │

00:00:12 #412 [Verbose] > │     let v3 : int32 = v0.Length                                               │

00:00:12 #413 [Verbose] > │     let v4 : bool = v2 < v3                                                  │

00:00:12 #414 [Verbose] > │     if v4 then                                                               │

00:00:12 #415 [Verbose] > │         let v5 : float = v0.[int v2]                                         │

00:00:12 #416 [Verbose] > │         let v6 : float = v1.[int v2]                                         │

00:00:12 #417 [Verbose] > │         let v7 : bool = v5 = v6                                              │

00:00:12 #418 [Verbose] > │         if v7 then                                                           │

00:00:12 #419 [Verbose] > │             let v8 : int32 = v2 + 1                                          │

00:00:12 #420 [Verbose] > │             method3(v0, v1, v8)                                              │

00:00:12 #421 [Verbose] > │         else                                                                 │

00:00:12 #422 [Verbose] > │             false                                                            │

00:00:12 #423 [Verbose] > │     else                                                                     │

00:00:12 #424 [Verbose] > │         true                                                                 │

00:00:12 #425 [Verbose] > │ and method0 () : unit =                                                      │

00:00:12 #426 [Verbose] > │     let v0 : (float []) = Array.zeroCreate<float> (3)                        │

00:00:12 #427 [Verbose] > │     let v1 : Mut0 = {l0 = 0} : Mut0                                          │

00:00:12 #428 [Verbose] > │     while method1(v1) do                                                     │

00:00:12 #429 [Verbose] > │         let v3 : int32 = v1.l0                                               │

00:00:12 #430 [Verbose] > │         let v4 : float = float v3                                            │

00:00:12 #431 [Verbose] > │         let v5 : float = 0.5 * v4                                            │

00:00:12 #432 [Verbose] > │         v0.[int v3] <- v5                                                    │

00:00:12 #433 [Verbose] > │         let v6 : int32 = v3 + 1                                              │

00:00:12 #434 [Verbose] > │         v1.l0 <- v6                                                          │

00:00:12 #435 [Verbose] > │         ()                                                                   │

00:00:12 #436 [Verbose] > │     let v7 : (float []) = [|0.0; 0.5; 1.0|]                                  │

00:00:12 #437 [Verbose] > │     let v8 : (float []) = method2(v7)                                        │

00:00:12 #438 [Verbose] > │     let v9 : string = $"__expect / actual: %A{v0} / expected: %A{v8}"        │

00:00:12 #439 [Verbose] > │     let v10 : int32 = v0.Length                                              │

00:00:12 #440 [Verbose] > │     let v11 : int32 = v8.Length                                              │

00:00:12 #441 [Verbose] > │     let v12 : bool = v10 = v11                                               │

00:00:12 #442 [Verbose] > │     let v13 : bool = v12 <> true                                             │

00:00:12 #443 [Verbose] > │     let v16 : bool =                                                         │

00:00:12 #444 [Verbose] > │         if v13 then                                                          │

00:00:12 #445 [Verbose] > │             false                                                            │

00:00:12 #446 [Verbose] > │         else                                                                 │

00:00:12 #447 [Verbose] > │             let v14 : int32 = 0                                              │

00:00:12 #448 [Verbose] > │             method3(v0, v8, v14)                                             │

00:00:12 #449 [Verbose] > │     let v17 : bool = v16 = false                                             │

00:00:12 #450 [Verbose] > │     if v17 then                                                              │

00:00:12 #451 [Verbose] > │         failwith<unit> v9                                                    │

00:00:12 #452 [Verbose] > │ method0()                                                                    │

00:00:12 #453 [Verbose] > │                                                                              │

00:00:12 #454 [Verbose] > │                                                                              │

00:00:12 #455 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:12 #456 [Verbose] >

00:00:12 #457 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────

00:00:12 #458 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮

00:00:12 #459 [Verbose] > │ ## head                                                                      │

00:00:12 #460 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:12 #461 [Verbose] >

00:00:12 #462 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:12 #463 [Verbose] > inl head (ar : a _ _) =

00:00:12 #464 [Verbose] >     if var_is ar || length ar > 0

00:00:12 #465 [Verbose] >     then index ar 0

00:00:12 #466 [Verbose] >     else error_type "The length of the array should be greater than 0."

00:00:12 #467 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0901-2469-6989-6e04c2976b14\main.spi

00:00:12 #468 [Verbose] >

00:00:12 #469 [Verbose] > ╭─[ 181.96ms - stdout ]────────────────────────────────────────────────────────╮

00:00:12 #470 [Verbose] > │ ()                                                                           │

00:00:12 #471 [Verbose] > │                                                                              │

00:00:12 #472 [Verbose] > │                                                                              │

00:00:12 #473 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:12 #474 [Verbose] >

00:00:12 #475 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────

00:00:12 #476 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮

00:00:12 #477 [Verbose] > │ ## last                                                                      │

00:00:12 #478 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:12 #479 [Verbose] >

00:00:12 #480 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:12 #481 [Verbose] > inl last (ar : a _ _) =

00:00:12 #482 [Verbose] >     inl len = length ar

00:00:12 #483 [Verbose] >     if var_is ar || len > 0

00:00:12 #484 [Verbose] >     then index ar (len - 1)

00:00:12 #485 [Verbose] >     else error_type "The length of the array should be greater than 0."

00:00:12 #486 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0901-2488-8860-889ad3b158ec\main.spi

00:00:12 #487 [Verbose] >

00:00:12 #488 [Verbose] > ╭─[ 244.48ms - stdout ]────────────────────────────────────────────────────────╮

00:00:12 #489 [Verbose] > │ ()                                                                           │

00:00:12 #490 [Verbose] > │                                                                              │

00:00:12 #491 [Verbose] > │                                                                              │

00:00:12 #492 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:12 #493 [Verbose] >

00:00:12 #494 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:12 #495 [Verbose] > // // test

00:00:12 #496 [Verbose] >

00:00:12 #497 [Verbose] > am.init 10i32 id

00:00:12 #498 [Verbose] > |> last

00:00:12 #499 [Verbose] > |> _equal 9

00:00:12 #500 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0901-2513-1329-11113e6b374c\main.spi

00:00:12 #501 [Verbose] >

00:00:12 #502 [Verbose] > ╭─[ 166.79ms - stdout ]────────────────────────────────────────────────────────╮

00:00:12 #503 [Verbose] > │ type Mut0 = {mutable l0 : int32}                                             │

00:00:12 #504 [Verbose] > │ let rec method1 (v0 : Mut0) : bool =                                         │

00:00:12 #505 [Verbose] > │     let v1 : int32 = v0.l0                                                   │

00:00:12 #506 [Verbose] > │     let v2 : bool = v1 < 10                                                  │

00:00:12 #507 [Verbose] > │     v2                                                                       │

00:00:12 #508 [Verbose] > │ and method0 () : unit =                                                      │

00:00:12 #509 [Verbose] > │     let v0 : (int32 []) = Array.zeroCreate<int32> (10)                       │

00:00:12 #510 [Verbose] > │     let v1 : Mut0 = {l0 = 0} : Mut0                                          │

00:00:12 #511 [Verbose] > │     while method1(v1) do                                                     │

00:00:12 #512 [Verbose] > │         let v3 : int32 = v1.l0                                               │

00:00:12 #513 [Verbose] > │         v0.[int v3] <- v3                                                    │

00:00:12 #514 [Verbose] > │         let v4 : int32 = v3 + 1                                              │

00:00:12 #515 [Verbose] > │         v1.l0 <- v4                                                          │

00:00:12 #516 [Verbose] > │         ()                                                                   │

00:00:12 #517 [Verbose] > │     let v5 : int32 = v0.Length                                               │

00:00:12 #518 [Verbose] > │     let v6 : int32 = v5 - 1                                                  │

00:00:12 #519 [Verbose] > │     let v7 : int32 = v0.[int v6]                                             │

00:00:12 #520 [Verbose] > │     let v8 : string = $"__expect / actual: %A{v7} / expected: %A{9}"         │

00:00:12 #521 [Verbose] > │     let v9 : bool = v7 = 9                                                   │

00:00:12 #522 [Verbose] > │     let v10 : bool = v9 = false                                              │

00:00:12 #523 [Verbose] > │     if v10 then                                                              │

00:00:12 #524 [Verbose] > │         failwith<unit> v8                                                    │

00:00:12 #525 [Verbose] > │ method0()                                                                    │

00:00:12 #526 [Verbose] > │                                                                              │

00:00:12 #527 [Verbose] > │                                                                              │

00:00:12 #528 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:12 #529 [Verbose] >

00:00:12 #530 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────

00:00:12 #531 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮

00:00:12 #532 [Verbose] > │ ## indexed                                                                   │

00:00:12 #533 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:12 #534 [Verbose] >

00:00:12 #535 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:12 #536 [Verbose] > inl indexed (array : a _ _) =

00:00:12 #537 [Verbose] >     (([[]], 0), array)

00:00:12 #538 [Verbose] >     ||> am.fold fun (acc, i) x =>

00:00:12 #539 [Verbose] >         (i, x) :: acc, i + 1

00:00:12 #540 [Verbose] >     |> fst

00:00:12 #541 [Verbose] >     |> listm.rev

00:00:12 #542 [Verbose] >     |> listm.toArray

00:00:13 #543 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0901-2531-3126-39dfa158e18d\main.spi

00:00:13 #544 [Verbose] >

00:00:13 #545 [Verbose] > ╭─[ 141.28ms - stdout ]────────────────────────────────────────────────────────╮

00:00:13 #546 [Verbose] > │ ()                                                                           │

00:00:13 #547 [Verbose] > │                                                                              │

00:00:13 #548 [Verbose] > │                                                                              │

00:00:13 #549 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:13 #550 [Verbose] >

00:00:13 #551 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:13 #552 [Verbose] > // // test

00:00:13 #553 [Verbose] >

00:00:13 #554 [Verbose] > am.init 3i32 ((*) 2)

00:00:13 #555 [Verbose] > |> indexed

00:00:13 #556 [Verbose] > |> _equal (a ;[[0i32, 0; 1, 2; 2, 4]] : a i32 _)

00:00:13 #557 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0901-2545-4569-46942c370d5c\main.spi

00:00:13 #558 [Verbose] >

00:00:13 #559 [Verbose] > ╭─[ 302.40ms - stdout ]────────────────────────────────────────────────────────╮

00:00:13 #560 [Verbose] > │ type Mut0 = {mutable l0 : int32}                                             │

00:00:13 #561 [Verbose] > │ and UH0 =                                                                    │

00:00:13 #562 [Verbose] > │     | UH0_0 of int32 * int32 * UH0                                           │

00:00:13 #563 [Verbose] > │     | UH0_1                                                                  │

00:00:13 #564 [Verbose] > │ and Mut1 = {mutable l0 : int32; mutable l1 : UH0; mutable l2 : int32}        │

00:00:13 #565 [Verbose] > │ let rec method1 (v0 : Mut0) : bool =                                         │

00:00:13 #566 [Verbose] > │     let v1 : int32 = v0.l0                                                   │

00:00:13 #567 [Verbose] > │     let v2 : bool = v1 < 3                                                   │

00:00:13 #568 [Verbose] > │     v2                                                                       │

00:00:13 #569 [Verbose] > │ and method2 (v0 : int32, v1 : Mut1) : bool =                                 │

00:00:13 #570 [Verbose] > │     let v2 : int32 = v1.l0                                                   │

00:00:13 #571 [Verbose] > │     let v3 : bool = v2 < v0                                                  │

00:00:13 #572 [Verbose] > │     v3                                                                       │

00:00:13 #573 [Verbose] > │ and method3 (v0 : UH0, v1 : UH0) : UH0 =                                     │

00:00:13 #574 [Verbose] > │     match v0 with                                                            │

00:00:13 #575 [Verbose] > │     | UH0_0(v2, v3, v4) -> (* Cons *)                                        │

00:00:13 #576 [Verbose] > │         let v5 : UH0 = UH0_0(v2, v3, v1)                                     │

00:00:13 #577 [Verbose] > │         method3(v4, v5)                                                      │

00:00:13 #578 [Verbose] > │     | UH0_1 -> (* Nil *)                                                     │

00:00:13 #579 [Verbose] > │         v1                                                                   │

00:00:13 #580 [Verbose] > │ and method5 (v0 : UH0, v1 : int32) : int32 =                                 │

00:00:13 #581 [Verbose] > │     match v0 with                                                            │

00:00:13 #582 [Verbose] > │     | UH0_0(v2, v3, v4) -> (* Cons *)                                        │

00:00:13 #583 [Verbose] > │         let v5 : int32 = v1 + 1                                              │

00:00:13 #584 [Verbose] > │         method5(v4, v5)                                                      │

00:00:13 #585 [Verbose] > │     | UH0_1 -> (* Nil *)                                                     │

00:00:13 #586 [Verbose] > │         v1                                                                   │

00:00:13 #587 [Verbose] > │ and method6 (v0 : (struct (int32 * int32) []), v1 : UH0, v2 : int32) : int32 │

00:00:13 #588 [Verbose] > │ =                                                                            │

00:00:13 #589 [Verbose] > │     match v1 with                                                            │

00:00:13 #590 [Verbose] > │     | UH0_0(v3, v4, v5) -> (* Cons *)                                        │

00:00:13 #591 [Verbose] > │         v0.[int v2] <- struct (v3, v4)                                       │

00:00:13 #592 [Verbose] > │         let v6 : int32 = v2 + 1                                              │

00:00:13 #593 [Verbose] > │         method6(v0, v5, v6)                                                  │

00:00:13 #594 [Verbose] > │     | UH0_1 -> (* Nil *)                                                     │

00:00:13 #595 [Verbose] > │         v2                                                                   │

00:00:13 #596 [Verbose] > │ and method4 (v0 : UH0) : (struct (int32 * int32) []) =                       │

00:00:13 #597 [Verbose] > │     let v1 : int32 = 0                                                       │

00:00:13 #598 [Verbose] > │     let v2 : int32 = method5(v0, v1)                                         │

00:00:13 #599 [Verbose] > │     let v3 : (struct (int32 * int32) []) = Array.zeroCreate<struct (int32 *  │

00:00:13 #600 [Verbose] > │ int32)> (v2)                                                                 │

00:00:13 #601 [Verbose] > │     let v4 : int32 = 0                                                       │

00:00:13 #602 [Verbose] > │     let v5 : int32 = method6(v3, v0, v4)                                     │

00:00:13 #603 [Verbose] > │     v3                                                                       │

00:00:13 #604 [Verbose] > │ and method7 (v0 : (struct (int32 * int32) [])) : (struct (int32 * int32) []) │

00:00:13 #605 [Verbose] > │ =                                                                            │

00:00:13 #606 [Verbose] > │     v0                                                                       │

00:00:13 #607 [Verbose] > │ and method8 (v0 : (struct (int32 * int32) []), v1 : (struct (int32 * int32)  │

00:00:13 #608 [Verbose] > │ []), v2 : int32) : bool =                                                    │

00:00:13 #609 [Verbose] > │     let v3 : int32 = v0.Length                                               │

00:00:13 #610 [Verbose] > │     let v4 : bool = v2 < v3                                                  │

00:00:13 #611 [Verbose] > │     if v4 then                                                               │

00:00:13 #612 [Verbose] > │         let struct (v5 : int32, v6 : int32) = v0.[int v2]                    │

00:00:13 #613 [Verbose] > │         let struct (v7 : int32, v8 : int32) = v1.[int v2]                    │

00:00:13 #614 [Verbose] > │         let v9 : bool = v5 = v7                                              │

00:00:13 #615 [Verbose] > │         let v11 : bool =                                                     │

00:00:13 #616 [Verbose] > │             if v9 then                                                       │

00:00:13 #617 [Verbose] > │                 let v10 : bool = v6 = v8                                     │

00:00:13 #618 [Verbose] > │                 v10                                                          │

00:00:13 #619 [Verbose] > │             else                                                             │

00:00:13 #620 [Verbose] > │                 false                                                        │

00:00:13 #621 [Verbose] > │         if v11 then                                                          │

00:00:13 #622 [Verbose] > │             let v12 : int32 = v2 + 1                                         │

00:00:13 #623 [Verbose] > │             method8(v0, v1, v12)                                             │

00:00:13 #624 [Verbose] > │         else                                                                 │

00:00:13 #625 [Verbose] > │             false                                                            │

00:00:13 #626 [Verbose] > │     else                                                                     │

00:00:13 #627 [Verbose] > │         true                                                                 │

00:00:13 #628 [Verbose] > │ and method0 () : unit =                                                      │

00:00:13 #629 [Verbose] > │     let v0 : (int32 []) = Array.zeroCreate<int32> (3)                        │

00:00:13 #630 [Verbose] > │     let v1 : Mut0 = {l0 = 0} : Mut0                                          │

00:00:13 #631 [Verbose] > │     while method1(v1) do                                                     │

00:00:13 #632 [Verbose] > │         let v3 : int32 = v1.l0                                               │

00:00:13 #633 [Verbose] > │         let v4 : int32 = 2 * v3                                              │

00:00:13 #634 [Verbose] > │         v0.[int v3] <- v4                                                    │

00:00:13 #635 [Verbose] > │         let v5 : int32 = v3 + 1                                              │

00:00:13 #636 [Verbose] > │         v1.l0 <- v5                                                          │

00:00:13 #637 [Verbose] > │         ()                                                                   │

00:00:13 #638 [Verbose] > │     let v6 : int32 = v0.Length                                               │

00:00:13 #639 [Verbose] > │     let v7 : UH0 = UH0_1                                                     │

00:00:13 #640 [Verbose] > │     let v8 : Mut1 = {l0 = 0; l1 = v7; l2 = 0} : Mut1                         │

00:00:13 #641 [Verbose] > │     while method2(v6, v8) do                                                 │

00:00:13 #642 [Verbose] > │         let v10 : int32 = v8.l0                                              │

00:00:13 #643 [Verbose] > │         let struct (v11 : UH0, v12 : int32) = v8.l1, v8.l2                   │

00:00:13 #644 [Verbose] > │         let v13 : int32 = v0.[int v10]                                       │

00:00:13 #645 [Verbose] > │         let v14 : int32 = v12 + 1                                            │

00:00:13 #646 [Verbose] > │         let v15 : int32 = v10 + 1                                            │

00:00:13 #647 [Verbose] > │         let v16 : UH0 = UH0_0(v12, v13, v11)                                 │

00:00:13 #648 [Verbose] > │         v8.l0 <- v15                                                         │

00:00:13 #649 [Verbose] > │         v8.l1 <- v16                                                         │

00:00:13 #650 [Verbose] > │         v8.l2 <- v14                                                         │

00:00:13 #651 [Verbose] > │         ()                                                                   │

00:00:13 #652 [Verbose] > │     let struct (v17 : UH0, v18 : int32) = v8.l1, v8.l2                       │

00:00:13 #653 [Verbose] > │     let v19 : UH0 = UH0_1                                                    │

00:00:13 #654 [Verbose] > │     let v20 : UH0 = method3(v17, v19)                                        │

00:00:13 #655 [Verbose] > │     let v21 : (struct (int32 * int32) []) = method4(v20)                     │

00:00:13 #656 [Verbose] > │     let v22 : (struct (int32 * int32) []) = [|struct (0, 0); struct (1, 2);  │

00:00:13 #657 [Verbose] > │ struct (2, 4)|]                                                              │

00:00:13 #658 [Verbose] > │     let v23 : (struct (int32 * int32) []) = method7(v22)                     │

00:00:13 #659 [Verbose] > │     let v24 : string = $"__expect / actual: %A{v21} / expected: %A{v23}"     │

00:00:13 #660 [Verbose] > │     let v25 : int32 = v21.Length                                             │

00:00:13 #661 [Verbose] > │     let v26 : int32 = v23.Length                                             │

00:00:13 #662 [Verbose] > │     let v27 : bool = v25 = v26                                               │

00:00:13 #663 [Verbose] > │     let v28 : bool = v27 <> true                                             │

00:00:13 #664 [Verbose] > │     let v31 : bool =                                                         │

00:00:13 #665 [Verbose] > │         if v28 then                                                          │

00:00:13 #666 [Verbose] > │             false                                                            │

00:00:13 #667 [Verbose] > │         else                                                                 │

00:00:13 #668 [Verbose] > │             let v29 : int32 = 0                                              │

00:00:13 #669 [Verbose] > │             method8(v21, v23, v29)                                           │

00:00:13 #670 [Verbose] > │     let v32 : bool = v31 = false                                             │

00:00:13 #671 [Verbose] > │     if v32 then                                                              │

00:00:13 #672 [Verbose] > │         failwith<unit> v24                                                   │

00:00:13 #673 [Verbose] > │ method0()                                                                    │

00:00:13 #674 [Verbose] > │                                                                              │

00:00:13 #675 [Verbose] > │                                                                              │

00:00:13 #676 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:13 #677 [Verbose] >

00:00:13 #678 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────

00:00:13 #679 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮

00:00:13 #680 [Verbose] > │ ## try_pick                                                                  │

00:00:13 #681 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:13 #682 [Verbose] >

00:00:13 #683 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:13 #684 [Verbose] > inl try_pick forall t u. (fn : t -> option u) (array : a _ t) : option u =

00:00:13 #685 [Verbose] >     (array, None)

00:00:13 #686 [Verbose] >     ||> am.foldBack fun x acc =>

00:00:13 #687 [Verbose] >         match acc with

00:00:13 #688 [Verbose] >         | Some _ => acc

00:00:13 #689 [Verbose] >         | None => x |> fn

00:00:13 #690 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0901-2581-8197-8e8695d415d1\main.spi

00:00:13 #691 [Verbose] >

00:00:13 #692 [Verbose] > ╭─[ 177.22ms - stdout ]────────────────────────────────────────────────────────╮

00:00:13 #693 [Verbose] > │ ()                                                                           │

00:00:13 #694 [Verbose] > │                                                                              │

00:00:13 #695 [Verbose] > │                                                                              │

00:00:13 #696 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:13 #697 [Verbose] >

00:00:13 #698 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:13 #699 [Verbose] > // // test

00:00:13 #700 [Verbose] >

00:00:13 #701 [Verbose] > am.init 10i32 id

00:00:13 #702 [Verbose] > |> try_pick (fun x => if x = 5i32 then Some x else None)

00:00:13 #703 [Verbose] > |> _equal (Some 5i32)

00:00:13 #704 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0901-2599-9985-93bf0165ebe7\main.spi

00:00:13 #705 [Verbose] >

00:00:13 #706 [Verbose] > ╭─[ 237.93ms - stdout ]────────────────────────────────────────────────────────╮

00:00:13 #707 [Verbose] > │ type Mut0 = {mutable l0 : int32}                                             │

00:00:13 #708 [Verbose] > │ and [<Struct>] US0 =                                                         │

00:00:13 #709 [Verbose] > │     | US0_0                                                                  │

00:00:13 #710 [Verbose] > │     | US0_1 of f1_0 : int32                                                  │

00:00:13 #711 [Verbose] > │ and Mut1 = {mutable l0 : int32; mutable l1 : US0}                            │

00:00:13 #712 [Verbose] > │ let rec method1 (v0 : Mut0) : bool =                                         │

00:00:13 #713 [Verbose] > │     let v1 : int32 = v0.l0                                                   │

00:00:13 #714 [Verbose] > │     let v2 : bool = v1 < 10                                                  │

00:00:13 #715 [Verbose] > │     v2                                                                       │

00:00:13 #716 [Verbose] > │ and method2 (v0 : int32, v1 : Mut1) : bool =                                 │

00:00:13 #717 [Verbose] > │     let v2 : int32 = v1.l0                                                   │

00:00:13 #718 [Verbose] > │     let v3 : bool = v2 < v0                                                  │

00:00:13 #719 [Verbose] > │     v3                                                                       │

00:00:13 #720 [Verbose] > │ and method0 () : unit =                                                      │

00:00:13 #721 [Verbose] > │     let v0 : (int32 []) = Array.zeroCreate<int32> (10)                       │

00:00:13 #722 [Verbose] > │     let v1 : Mut0 = {l0 = 0} : Mut0                                          │

00:00:13 #723 [Verbose] > │     while method1(v1) do                                                     │

00:00:13 #724 [Verbose] > │         let v3 : int32 = v1.l0                                               │

00:00:13 #725 [Verbose] > │         v0.[int v3] <- v3                                                    │

00:00:13 #726 [Verbose] > │         let v4 : int32 = v3 + 1                                              │

00:00:13 #727 [Verbose] > │         v1.l0 <- v4                                                          │

00:00:13 #728 [Verbose] > │         ()                                                                   │

00:00:13 #729 [Verbose] > │     let v5 : int32 = v0.Length                                               │

00:00:13 #730 [Verbose] > │     let v6 : US0 = US0_0                                                     │

00:00:13 #731 [Verbose] > │     let v7 : Mut1 = {l0 = 0; l1 = v6} : Mut1                                 │

00:00:13 #732 [Verbose] > │     while method2(v5, v7) do                                                 │

00:00:13 #733 [Verbose] > │         let v9 : int32 = v7.l0                                               │

00:00:13 #734 [Verbose] > │         let v10 : int32 =  -v9                                               │

00:00:13 #735 [Verbose] > │         let v11 : int32 = v10 + v5                                           │

00:00:13 #736 [Verbose] > │         let v12 : int32 = v11 - 1                                            │

00:00:13 #737 [Verbose] > │         let v13 : US0 = v7.l1                                                │

00:00:13 #738 [Verbose] > │         let v14 : int32 = v0.[int v12]                                       │

00:00:13 #739 [Verbose] > │         let v21 : US0 =                                                      │

00:00:13 #740 [Verbose] > │             match v13 with                                                   │

00:00:13 #741 [Verbose] > │             | US0_0 -> (* None *)                                            │

00:00:13 #742 [Verbose] > │                 let v16 : bool = v14 = 5                                     │

00:00:13 #743 [Verbose] > │                 if v16 then                                                  │

00:00:13 #744 [Verbose] > │                     US0_1(v14)                                               │

00:00:13 #745 [Verbose] > │                 else                                                         │

00:00:13 #746 [Verbose] > │                     US0_0                                                    │

00:00:13 #747 [Verbose] > │             | US0_1(v15) -> (* Some *)                                       │

00:00:13 #748 [Verbose] > │                 v13                                                          │

00:00:13 #749 [Verbose] > │         let v22 : int32 = v9 + 1                                             │

00:00:13 #750 [Verbose] > │         v7.l0 <- v22                                                         │

00:00:13 #751 [Verbose] > │         v7.l1 <- v21                                                         │

00:00:13 #752 [Verbose] > │         ()                                                                   │

00:00:13 #753 [Verbose] > │     let v23 : US0 = v7.l1                                                    │

00:00:13 #754 [Verbose] > │     let v24 : US0 = US0_1(5)                                                 │

00:00:13 #755 [Verbose] > │     let v25 : string = $"__expect / actual: %A{v23} / expected: %A{v24}"     │

00:00:13 #756 [Verbose] > │     let v29 : bool =                                                         │

00:00:13 #757 [Verbose] > │         match v23 with                                                       │

00:00:13 #758 [Verbose] > │         | US0_1(v27) -> (* Some *)                                           │

00:00:13 #759 [Verbose] > │             let v28 : bool = v27 = 5                                         │

00:00:13 #760 [Verbose] > │             v28                                                              │

00:00:13 #761 [Verbose] > │         | _ ->                                                               │

00:00:13 #762 [Verbose] > │             false                                                            │

00:00:13 #763 [Verbose] > │     let v30 : bool = v29 = false                                             │

00:00:13 #764 [Verbose] > │     if v30 then                                                              │

00:00:13 #765 [Verbose] > │         failwith<unit> v25                                                   │

00:00:13 #766 [Verbose] > │ method0()                                                                    │

00:00:13 #767 [Verbose] > │                                                                              │

00:00:13 #768 [Verbose] > │                                                                              │

00:00:13 #769 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:13 #770 [Verbose] >

00:00:13 #771 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────

00:00:13 #772 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮

00:00:13 #773 [Verbose] > │ ## from_vec                                                                  │

00:00:13 #774 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:13 #775 [Verbose] >

00:00:13 #776 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:13 #777 [Verbose] > inl from_vec forall dim el. (vec : rust.vec el) : a dim el =

00:00:13 #778 [Verbose] >     inl vec = join vec

00:00:13 #779 [Verbose] >     !\($'"fable_library_rust::NativeArray_::array_from(!vec)"')

00:00:14 #780 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0901-2626-2630-274f31304c7e\main.spi

00:00:14 #781 [Verbose] >

00:00:14 #782 [Verbose] > ╭─[ 154.31ms - stdout ]────────────────────────────────────────────────────────╮

00:00:14 #783 [Verbose] > │ ()                                                                           │

00:00:14 #784 [Verbose] > │                                                                              │

00:00:14 #785 [Verbose] > │                                                                              │

00:00:14 #786 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:14 #787 [Verbose] >

00:00:14 #788 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────

00:00:14 #789 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮

00:00:14 #790 [Verbose] > │ ## map_vec                                                                   │

00:00:14 #791 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:14 #792 [Verbose] >

00:00:14 #793 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:14 #794 [Verbose] > inl map_vec forall dim t u. (fn : t -> u) (ar : a dim t) : a dim u =

00:00:14 #795 [Verbose] >     inl fn = join fn

00:00:14 #796 [Verbose] >     inl ar = join ar

00:00:14 #797 [Verbose] >     !\($'"!ar.to_vec().iter().map(|x| !fn(x.clone())).collect()"')

00:00:14 #798 [Verbose] >     |> from_vec

00:00:14 #799 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0901-2642-4225-47e03d9ec416\main.spi

00:00:14 #800 [Verbose] >

00:00:14 #801 [Verbose] > ╭─[ 152.90ms - stdout ]────────────────────────────────────────────────────────╮

00:00:14 #802 [Verbose] > │ ()                                                                           │

00:00:14 #803 [Verbose] > │                                                                              │

00:00:14 #804 [Verbose] > │                                                                              │

00:00:14 #805 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:14 #806 [Verbose] >

00:00:14 #807 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────

00:00:14 #808 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮

00:00:14 #809 [Verbose] > │ ## map_base                                                                  │

00:00:14 #810 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:14 #811 [Verbose] >

00:00:14 #812 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:14 #813 [Verbose] > inl map_base forall t u. (fn : t -> u) (x : array_base t) : array_base u =

00:00:14 #814 [Verbose] >     a x

00:00:14 #815 [Verbose] >     |> am.map fn

00:00:14 #816 [Verbose] >     |> fun (a x : _ i64 _) => x

00:00:14 #817 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0901-2658-5810-5dc1d6bb0836\main.spi

00:00:14 #818 [Verbose] >

00:00:14 #819 [Verbose] > ╭─[ 154.59ms - stdout ]────────────────────────────────────────────────────────╮

00:00:14 #820 [Verbose] > │ ()                                                                           │

00:00:14 #821 [Verbose] > │                                                                              │

00:00:14 #822 [Verbose] > │                                                                              │

00:00:14 #823 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:14 #824 [Verbose] >

00:00:14 #825 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:14 #826 [Verbose] > inl average forall el {number}. (array : a _ el) : el =

00:00:14 #827 [Verbose] >     $"!array |> Array.average"

00:00:14 #828 [Verbose] >

00:00:14 #829 [Verbose] > inl parallel_map forall dim el el'. (fn : el -> el') (array : a dim el) : a dim

00:00:14 #830 [Verbose] > el' =

00:00:14 #831 [Verbose] >     $"!array |> Array.Parallel.map !fn"

00:00:14 #832 [Verbose] >

00:00:14 #833 [Verbose] > inl sort_by forall dim el. (fn : el -> _) (array : a dim el) : a dim el =

00:00:14 #834 [Verbose] >     $"!array |> Array.sortBy !fn"

00:00:14 #835 [Verbose] >

00:00:14 #836 [Verbose] > inl sort_descending forall dim el. (array : a dim el) : a dim el =

00:00:14 #837 [Verbose] >     $"!array |> Array.sortDescending"

00:00:14 #838 [Verbose] >

00:00:14 #839 [Verbose] > inl transpose forall dim el. (array : a dim (a dim el)) : a dim (a dim el) =

00:00:14 #840 [Verbose] >     $"!array |> Array.transpose"

00:00:14 #841 [Verbose] >

00:00:14 #842 [Verbose] > inl try_item forall dim el. (i : i32) (array : a dim el) : option el =

00:00:14 #843 [Verbose] >     $"!array |> Array.tryItem !i" |> optionm'.unbox

00:00:14 #844 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0901-2673-7386-7d8f60f0307d\main.spi

00:00:14 #845 [Verbose] >

00:00:14 #846 [Verbose] > ╭─[ 197.52ms - stdout ]────────────────────────────────────────────────────────╮

00:00:14 #847 [Verbose] > │ ()                                                                           │

00:00:14 #848 [Verbose] > │                                                                              │

00:00:14 #849 [Verbose] > │                                                                              │

00:00:14 #850 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:16 #851 [Verbose] > [NbConvertApp] Converting notebook am'.dib.ipynb to html

00:00:16 #852 [Verbose] > C:\Users\i574n\scoop\apps\python\current\Lib\site-packages\nbformat\__init__.py:93: MissingIDFieldWarning: Code cell is missing an id field, this will become a hard error in future nbformat versions. You may want to use `normalize()` on your notebooks before validations (available since nbformat 5.1.4). Previous versions of nbformat are fixing this issue transparently, and will stop doing so in the future.

00:00:16 #853 [Verbose] >   validate(nb)

00:00:17 #854 [Verbose] > C:\Users\i574n\scoop\apps\python\current\Lib\site-packages\nbconvert\filters\highlight.py:71: UserWarning: IPython3 lexer unavailable, falling back on Python 3

00:00:17 #855 [Verbose] >   return _pygments_highlight(

00:00:17 #856 [Verbose] > [NbConvertApp] Writing 332095 bytes to am'.dib.html

00:00:17 #857 [Debug] executeAsync / exitCode: 0 / output.Length: 56195

00:00:17 #858 [Debug] main / executeCommand / exitCode: 0

00:00:00 #1 [Debug] runWithTimeoutAsync / timeout: 60

00:00:00 #2 [Debug] executeAsync / options: { Command =

   "dotnet "C:\home\git\polyglot\deps\The-Spiral-Language\The Spiral Language 2\artifacts\bin\The Spiral Language 2\release\Spiral.dll" port=13805"

  WorkingDirectory = None

  CancellationToken = Some System.Threading.CancellationToken

  OnLine = Some <fun:main@450-1020> }

00:00:00 #3 [Verbose] > pwd: C:\home\git\polyglot\lib\spiral

00:00:00 #4 [Verbose] > dll_path: C:\home\git\polyglot\deps\The-Spiral-Language\The Spiral Language 2\artifacts\bin\The Spiral Language 2\release

00:00:00 #5 [Debug] runWithTimeoutAsync / timeout: 500

00:00:00 #6 [Verbose] waitForPortAccess / port: 13805 / retry: 0

00:00:01 #7 [Debug] sendJson / port: 13805 / json: {"Ping":true} / result.Length:

00:00:01 #8 [Verbose] awaitCompiler / Ping / result: Some(null) / port: 13805 / retry: 0

00:00:01 #9 [Verbose] > Server bound to: http://localhost:13805

00:00:01 #10 [Debug] executeAsync / options: { Command = "pwsh -c "../../scripts/invoke-dib.ps1 \"listm'.dib\"""

  WorkingDirectory = None

  CancellationToken = Some System.Threading.CancellationToken

  OnLine = None }

00:00:03 #11 [Verbose] >

00:00:03 #12 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────

00:00:03 #13 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮

00:00:03 #14 [Verbose] > │ # listm                                                                      │

00:00:03 #15 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:03 #16 [Verbose] >

00:00:03 #17 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:03 #18 [Verbose] > // // test

00:00:03 #19 [Verbose] >

00:00:03 #20 [Verbose] > open testing

00:00:03 #21 [Verbose] >

00:00:03 #22 [Verbose] > prototype append t : t -> t -> t

00:00:06 #23 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0901-3648-4816-489f08ae0ed5\main.spi

00:00:08 #24 [Verbose] >

00:00:08 #25 [Verbose] > ╭─[ 5.03s - stdout ]───────────────────────────────────────────────────────────╮

00:00:08 #26 [Verbose] > │ ()                                                                           │

00:00:08 #27 [Verbose] > │                                                                              │

00:00:08 #28 [Verbose] > │                                                                              │

00:00:08 #29 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:08 #30 [Verbose] >

00:00:08 #31 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────

00:00:08 #32 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮

00:00:08 #33 [Verbose] > │ ## append                                                                    │

00:00:08 #34 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:08 #35 [Verbose] >

00:00:08 #36 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:08 #37 [Verbose] > instance append list t =

00:00:08 #38 [Verbose] >     listm.append

00:00:08 #39 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0901-3942-4295-432f7eacbd5f\main.spi

00:00:08 #40 [Verbose] >

00:00:08 #41 [Verbose] > ╭─[ 164.34ms - stdout ]────────────────────────────────────────────────────────╮

00:00:08 #42 [Verbose] > │ ()                                                                           │

00:00:08 #43 [Verbose] > │                                                                              │

00:00:08 #44 [Verbose] > │                                                                              │

00:00:08 #45 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:08 #46 [Verbose] >

00:00:08 #47 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────

00:00:08 #48 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮

00:00:08 #49 [Verbose] > │ ## /@                                                                        │

00:00:08 #50 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:08 #51 [Verbose] >

00:00:08 #52 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:08 #53 [Verbose] > inl (/@) a b =

00:00:08 #54 [Verbose] >     b |> append a

00:00:08 #55 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0901-3960-6013-6d7f9af38999\main.spi

00:00:08 #56 [Verbose] >

00:00:08 #57 [Verbose] > ╭─[ 229.89ms - stdout ]────────────────────────────────────────────────────────╮

00:00:08 #58 [Verbose] > │ ()                                                                           │

00:00:08 #59 [Verbose] > │                                                                              │

00:00:08 #60 [Verbose] > │                                                                              │

00:00:08 #61 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:08 #62 [Verbose] >

00:00:08 #63 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:08 #64 [Verbose] > // // test

00:00:08 #65 [Verbose] >

00:00:08 #66 [Verbose] > [[ "a"; "b" ]] /@ [[ "c"; "d" ]]

00:00:08 #67 [Verbose] > |> _equal [[ "a"; "b"; "c"; "d" ]]

00:00:09 #68 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0901-3982-8291-8c940069dcf1\main.spi

00:00:10 #69 [Verbose] >

00:00:10 #70 [Verbose] > ╭─[ 1.16s - stdout ]───────────────────────────────────────────────────────────╮

00:00:10 #71 [Verbose] > │ type UH0 =                                                                   │

00:00:10 #72 [Verbose] > │     | UH0_0 of string * UH0                                                  │

00:00:10 #73 [Verbose] > │     | UH0_1                                                                  │

00:00:10 #74 [Verbose] > │ let rec method0 () : unit =                                                  │

00:00:10 #75 [Verbose] > │     let v0 : string = "a"                                                    │

00:00:10 #76 [Verbose] > │     let v1 : string = "b"                                                    │

00:00:10 #77 [Verbose] > │     let v2 : string = "c"                                                    │

00:00:10 #78 [Verbose] > │     let v3 : string = "d"                                                    │

00:00:10 #79 [Verbose] > │     let v4 : UH0 = UH0_1                                                     │

00:00:10 #80 [Verbose] > │     let v5 : UH0 = UH0_0(v3, v4)                                             │

00:00:10 #81 [Verbose] > │     let v6 : UH0 = UH0_0(v2, v5)                                             │

00:00:10 #82 [Verbose] > │     let v7 : UH0 = UH0_0(v1, v6)                                             │

00:00:10 #83 [Verbose] > │     let v8 : UH0 = UH0_0(v0, v7)                                             │

00:00:10 #84 [Verbose] > │     let v9 : UH0 = UH0_1                                                     │

00:00:10 #85 [Verbose] > │     let v10 : UH0 = UH0_0(v3, v9)                                            │

00:00:10 #86 [Verbose] > │     let v11 : UH0 = UH0_0(v2, v10)                                           │

00:00:10 #87 [Verbose] > │     let v12 : UH0 = UH0_0(v1, v11)                                           │

00:00:10 #88 [Verbose] > │     let v13 : UH0 = UH0_0(v0, v12)                                           │

00:00:10 #89 [Verbose] > │     let v14 : string = $"__expect / actual: %A{v8} / expected: %A{v13}"      │

00:00:10 #90 [Verbose] > │     ()                                                                       │

00:00:10 #91 [Verbose] > │ method0()                                                                    │

00:00:10 #92 [Verbose] > │                                                                              │

00:00:10 #93 [Verbose] > │                                                                              │

00:00:10 #94 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:10 #95 [Verbose] >

00:00:10 #96 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────

00:00:10 #97 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮

00:00:10 #98 [Verbose] > │ ## init_series                                                               │

00:00:10 #99 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:10 #100 [Verbose] >

00:00:10 #101 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:10 #102 [Verbose] > inl init_series start end inc =

00:00:10 #103 [Verbose] >     inl total : f64 = conv ((end - start) / inc) + 1

00:00:10 #104 [Verbose] >     listm.init total (conv >> (*) inc >> (+) start)

00:00:10 #105 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0901-4099-9988-9f888a7dabcf\main.spi

00:00:10 #106 [Verbose] >

00:00:10 #107 [Verbose] > ╭─[ 194.13ms - stdout ]────────────────────────────────────────────────────────╮

00:00:10 #108 [Verbose] > │ ()                                                                           │

00:00:10 #109 [Verbose] > │                                                                              │

00:00:10 #110 [Verbose] > │                                                                              │

00:00:10 #111 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:10 #112 [Verbose] >

00:00:10 #113 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:10 #114 [Verbose] > // // test

00:00:10 #115 [Verbose] >

00:00:10 #116 [Verbose] > init_series 0 1 0.5

00:00:10 #117 [Verbose] > |> _equal [[ 0f64; 0.5; 1 ]]

00:00:10 #118 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0901-4119-1929-1a68116d6cc1\main.spi

00:00:10 #119 [Verbose] >

00:00:10 #120 [Verbose] > ╭─[ 198.01ms - stdout ]────────────────────────────────────────────────────────╮

00:00:10 #121 [Verbose] > │ type UH0 =                                                                   │

00:00:10 #122 [Verbose] > │     | UH0_0 of float * UH0                                                   │

00:00:10 #123 [Verbose] > │     | UH0_1                                                                  │

00:00:10 #124 [Verbose] > │ let rec method0 () : unit =                                                  │

00:00:10 #125 [Verbose] > │     let v0 : UH0 = UH0_1                                                     │

00:00:10 #126 [Verbose] > │     let v1 : UH0 = UH0_0(1.0, v0)                                            │

00:00:10 #127 [Verbose] > │     let v2 : UH0 = UH0_0(0.5, v1)                                            │

00:00:10 #128 [Verbose] > │     let v3 : UH0 = UH0_0(0.0, v2)                                            │

00:00:10 #129 [Verbose] > │     let v4 : UH0 = UH0_1                                                     │

00:00:10 #130 [Verbose] > │     let v5 : UH0 = UH0_0(1.0, v4)                                            │

00:00:10 #131 [Verbose] > │     let v6 : UH0 = UH0_0(0.5, v5)                                            │

00:00:10 #132 [Verbose] > │     let v7 : UH0 = UH0_0(0.0, v6)                                            │

00:00:10 #133 [Verbose] > │     let v8 : string = $"__expect / actual: %A{v3} / expected: %A{v7}"        │

00:00:10 #134 [Verbose] > │     ()                                                                       │

00:00:10 #135 [Verbose] > │ method0()                                                                    │

00:00:10 #136 [Verbose] > │                                                                              │

00:00:10 #137 [Verbose] > │                                                                              │

00:00:10 #138 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:10 #139 [Verbose] >

00:00:10 #140 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────

00:00:10 #141 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮

00:00:10 #142 [Verbose] > │ ## try_item                                                                  │

00:00:10 #143 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:10 #144 [Verbose] >

00:00:10 #145 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:10 #146 [Verbose] > inl rec try_item i = function

00:00:10 #147 [Verbose] >     | Cons (x, _) when i = 0 => Some x

00:00:10 #148 [Verbose] >     | Cons (_, xs) => try_item (i - 1) xs

00:00:10 #149 [Verbose] >     | Nil => None

00:00:10 #150 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0901-4140-4008-4684909f3339\main.spi

00:00:10 #151 [Verbose] >

00:00:10 #152 [Verbose] > ╭─[ 201.90ms - stdout ]────────────────────────────────────────────────────────╮

00:00:10 #153 [Verbose] > │ ()                                                                           │

00:00:10 #154 [Verbose] > │                                                                              │

00:00:10 #155 [Verbose] > │                                                                              │

00:00:10 #156 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:10 #157 [Verbose] >

00:00:10 #158 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:10 #159 [Verbose] > // // test

00:00:10 #160 [Verbose] >

00:00:10 #161 [Verbose] > listm.init 10i32 id

00:00:10 #162 [Verbose] > |> try_item 9i32

00:00:10 #163 [Verbose] > |> _equal (Some 9)

00:00:10 #164 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0901-4160-6058-62264222d8f6\main.spi

00:00:11 #165 [Verbose] >

00:00:11 #166 [Verbose] > ╭─[ 287.93ms - stdout ]────────────────────────────────────────────────────────╮

00:00:11 #167 [Verbose] > │ type [<Struct>] US0 =                                                        │

00:00:11 #168 [Verbose] > │     | US0_0                                                                  │

00:00:11 #169 [Verbose] > │     | US0_1 of f1_0 : int32                                                  │

00:00:11 #170 [Verbose] > │ let rec method0 () : unit =                                                  │

00:00:11 #171 [Verbose] > │     let v0 : US0 = US0_1(9)                                                  │

00:00:11 #172 [Verbose] > │     let v1 : US0 = US0_1(9)                                                  │

00:00:11 #173 [Verbose] > │     let v2 : string = $"__expect / actual: %A{v0} / expected: %A{v1}"        │

00:00:11 #174 [Verbose] > │     ()                                                                       │

00:00:11 #175 [Verbose] > │ method0()                                                                    │

00:00:11 #176 [Verbose] > │                                                                              │

00:00:11 #177 [Verbose] > │                                                                              │

00:00:11 #178 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:11 #179 [Verbose] >

00:00:11 #180 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:11 #181 [Verbose] > // // test

00:00:11 #182 [Verbose] >

00:00:11 #183 [Verbose] > listm.init 10i32 id

00:00:11 #184 [Verbose] > |> try_item 10i32

00:00:11 #185 [Verbose] > |> _equal None

00:00:11 #186 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0901-4190-9006-9bb5e8a8a87d\main.spi

00:00:11 #187 [Verbose] >

00:00:11 #188 [Verbose] > ╭─[ 218.94ms - stdout ]────────────────────────────────────────────────────────╮

00:00:11 #189 [Verbose] > │ type [<Struct>] US0 =                                                        │

00:00:11 #190 [Verbose] > │     | US0_0                                                                  │

00:00:11 #191 [Verbose] > │     | US0_1 of f1_0 : int32                                                  │

00:00:11 #192 [Verbose] > │ let rec method0 () : unit =                                                  │

00:00:11 #193 [Verbose] > │     let v0 : US0 = US0_0                                                     │

00:00:11 #194 [Verbose] > │     let v1 : US0 = US0_0                                                     │

00:00:11 #195 [Verbose] > │     let v2 : string = $"__expect / actual: %A{v0} / expected: %A{v1}"        │

00:00:11 #196 [Verbose] > │     ()                                                                       │

00:00:11 #197 [Verbose] > │ method0()                                                                    │

00:00:11 #198 [Verbose] > │                                                                              │

00:00:11 #199 [Verbose] > │                                                                              │

00:00:11 #200 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:11 #201 [Verbose] >

00:00:11 #202 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────

00:00:11 #203 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮

00:00:11 #204 [Verbose] > │ ## list_item                                                                 │

00:00:11 #205 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:11 #206 [Verbose] >

00:00:11 #207 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:11 #208 [Verbose] > inl item i =

00:00:11 #209 [Verbose] >     try_item i >> optionm.value

00:00:11 #210 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0901-4212-1291-1908f0c87c01\main.spi

00:00:11 #211 [Verbose] >

00:00:11 #212 [Verbose] > ╭─[ 189.26ms - stdout ]────────────────────────────────────────────────────────╮

00:00:11 #213 [Verbose] > │ ()                                                                           │

00:00:11 #214 [Verbose] > │                                                                              │

00:00:11 #215 [Verbose] > │                                                                              │

00:00:11 #216 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:11 #217 [Verbose] >

00:00:11 #218 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:11 #219 [Verbose] > // // test

00:00:11 #220 [Verbose] >

00:00:11 #221 [Verbose] > listm.init 10i32 id

00:00:11 #222 [Verbose] > |> item 9i32

00:00:11 #223 [Verbose] > |> _equal 9

00:00:11 #224 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0901-4232-3204-3ef0a89630f5\main.spi

00:00:11 #225 [Verbose] >

00:00:11 #226 [Verbose] > ╭─[ 193.75ms - stdout ]────────────────────────────────────────────────────────╮

00:00:11 #227 [Verbose] > │ let rec method0 () : unit =                                                  │

00:00:11 #228 [Verbose] > │     let v0 : string = $"__expect / actual: %A{9} / expected: %A{9}"          │

00:00:11 #229 [Verbose] > │     ()                                                                       │

00:00:11 #230 [Verbose] > │ method0()                                                                    │

00:00:11 #231 [Verbose] > │                                                                              │

00:00:11 #232 [Verbose] > │                                                                              │

00:00:11 #233 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:11 #234 [Verbose] >

00:00:11 #235 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:11 #236 [Verbose] > // // test

00:00:11 #237 [Verbose] >

00:00:11 #238 [Verbose] > fun () =>

00:00:11 #239 [Verbose] >     listm.init 10i32 id

00:00:11 #240 [Verbose] >     |> item 10i32

00:00:11 #241 [Verbose] >     |> ignore

00:00:11 #242 [Verbose] > |> _throws

00:00:11 #243 [Verbose] > |> _equal (Some "Option does not have a value.")

00:00:11 #244 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0901-4251-5183-521557a9f749\main.spi

00:00:11 #245 [Verbose] >

00:00:11 #246 [Verbose] > ╭─[ 305.78ms - stdout ]────────────────────────────────────────────────────────╮

00:00:11 #247 [Verbose] > │ type [<Struct>] US0 =                                                        │

00:00:11 #248 [Verbose] > │     | US0_0                                                                  │

00:00:11 #249 [Verbose] > │     | US0_1 of f1_0 : string                                                 │

00:00:11 #250 [Verbose] > │ let rec closure0 () () : unit =                                              │

00:00:11 #251 [Verbose] > │     let v0 : int32 = failwith<int32> "Option does not have a value."         │

00:00:11 #252 [Verbose] > │     ()                                                                       │

00:00:11 #253 [Verbose] > │ and closure1 () (v0 : string) : US0 =                                        │

00:00:11 #254 [Verbose] > │     US0_1(v0)                                                                │

00:00:11 #255 [Verbose] > │ and method0 () : unit =                                                      │

00:00:11 #256 [Verbose] > │     let v0 : (unit -> unit) = closure0()                                     │

00:00:11 #257 [Verbose] > │     let v1 : US0 = US0_0                                                     │

00:00:11 #258 [Verbose] > │     let v2 : (string -> US0) = closure1()                                    │

00:00:11 #259 [Verbose] > │     let v3 : US0 = try v0 (); v1 with ex -> v2 ex.Message                    │

00:00:11 #260 [Verbose] > │     let v4 : string = "Option does not have a value."                        │

00:00:11 #261 [Verbose] > │     let v5 : US0 = US0_1(v4)                                                 │

00:00:11 #262 [Verbose] > │     let v6 : string = $"__expect / actual: %A{v3} / expected: %A{v5}"        │

00:00:11 #263 [Verbose] > │     let v10 : bool =                                                         │

00:00:11 #264 [Verbose] > │         match v3 with                                                        │

00:00:11 #265 [Verbose] > │         | US0_1(v8) -> (* Some *)                                            │

00:00:11 #266 [Verbose] > │             let v9 : bool = v8 = "Option does not have a value."             │

00:00:11 #267 [Verbose] > │             v9                                                               │

00:00:11 #268 [Verbose] > │         | _ ->                                                               │

00:00:11 #269 [Verbose] > │             false                                                            │

00:00:11 #270 [Verbose] > │     let v11 : bool = v10 = false                                             │

00:00:11 #271 [Verbose] > │     if v11 then                                                              │

00:00:11 #272 [Verbose] > │         failwith<unit> v6                                                    │

00:00:11 #273 [Verbose] > │ method0()                                                                    │

00:00:11 #274 [Verbose] > │                                                                              │

00:00:11 #275 [Verbose] > │                                                                              │

00:00:11 #276 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:11 #277 [Verbose] >

00:00:11 #278 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────

00:00:11 #279 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮

00:00:11 #280 [Verbose] > │ ## try_item_                                                                 │

00:00:11 #281 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:11 #282 [Verbose] >

00:00:11 #283 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:11 #284 [Verbose] > let rec try_item_ i = function

00:00:11 #285 [Verbose] >     | Cons (x, _) when i = 0 => Some x

00:00:11 #286 [Verbose] >     | Cons (_, xs) => try_item_ (i - 1) xs

00:00:11 #287 [Verbose] >     | Nil => None

00:00:12 #288 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0901-4283-8389-876e77dea85e\main.spi

00:00:12 #289 [Verbose] >

00:00:12 #290 [Verbose] > ╭─[ 161.25ms - stdout ]────────────────────────────────────────────────────────╮

00:00:12 #291 [Verbose] > │ ()                                                                           │

00:00:12 #292 [Verbose] > │                                                                              │

00:00:12 #293 [Verbose] > │                                                                              │

00:00:12 #294 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:12 #295 [Verbose] >

00:00:12 #296 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────

00:00:12 #297 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮

00:00:12 #298 [Verbose] > │ ## item_                                                                     │

00:00:12 #299 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:12 #300 [Verbose] >

00:00:12 #301 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:12 #302 [Verbose] > inl item_ i =

00:00:12 #303 [Verbose] >     try_item_ i >> optionm.value

00:00:12 #304 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0901-4300-0053-0974b5f2893c\main.spi

00:00:12 #305 [Verbose] >

00:00:12 #306 [Verbose] > ╭─[ 144.39ms - stdout ]────────────────────────────────────────────────────────╮

00:00:12 #307 [Verbose] > │ ()                                                                           │

00:00:12 #308 [Verbose] > │                                                                              │

00:00:12 #309 [Verbose] > │                                                                              │

00:00:12 #310 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:12 #311 [Verbose] >

00:00:12 #312 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────

00:00:12 #313 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮

00:00:12 #314 [Verbose] > │ ## sum                                                                       │

00:00:12 #315 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:12 #316 [Verbose] >

00:00:12 #317 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:12 #318 [Verbose] > inl sum list =

00:00:12 #319 [Verbose] >     list |> listm.fold (+) 0

00:00:12 #320 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0901-4315-1541-1f0faba0c1f3\main.spi

00:00:12 #321 [Verbose] >

00:00:12 #322 [Verbose] > ╭─[ 277.72ms - stdout ]────────────────────────────────────────────────────────╮

00:00:12 #323 [Verbose] > │ ()                                                                           │

00:00:12 #324 [Verbose] > │                                                                              │

00:00:12 #325 [Verbose] > │                                                                              │

00:00:12 #326 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:12 #327 [Verbose] >

00:00:12 #328 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:12 #329 [Verbose] > // // test

00:00:12 #330 [Verbose] >

00:00:12 #331 [Verbose] > listm.init 10i32 id

00:00:12 #332 [Verbose] > |> sum

00:00:12 #333 [Verbose] > |> _equal 45

00:00:12 #334 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0901-4343-4342-4d9db586f5d2\main.spi

00:00:12 #335 [Verbose] >

00:00:12 #336 [Verbose] > ╭─[ 174.36ms - stdout ]────────────────────────────────────────────────────────╮

00:00:12 #337 [Verbose] > │ let rec method0 () : unit =                                                  │

00:00:12 #338 [Verbose] > │     let v0 : string = $"__expect / actual: %A{45} / expected: %A{45}"        │

00:00:12 #339 [Verbose] > │     ()                                                                       │

00:00:12 #340 [Verbose] > │ method0()                                                                    │

00:00:12 #341 [Verbose] > │                                                                              │

00:00:12 #342 [Verbose] > │                                                                              │

00:00:12 #343 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:12 #344 [Verbose] >

00:00:12 #345 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────

00:00:12 #346 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮

00:00:12 #347 [Verbose] > │ ## unzip                                                                     │

00:00:12 #348 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:12 #349 [Verbose] >

00:00:12 #350 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:12 #351 [Verbose] > inl unzip list =

00:00:12 #352 [Verbose] >     (([[]], [[]]), list)

00:00:12 #353 [Verbose] >     ||> listm.fold fun (acc_x, acc_y) (x, y) =>

00:00:12 #354 [Verbose] >         x :: acc_x, y :: acc_y

00:00:12 #355 [Verbose] >     |> fun x, y =>

00:00:12 #356 [Verbose] >         x |> listm.rev, y |> listm.rev

00:00:12 #357 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0901-4361-6151-6344991b2d2d\main.spi

00:00:12 #358 [Verbose] >

00:00:12 #359 [Verbose] > ╭─[ 137.30ms - stdout ]────────────────────────────────────────────────────────╮

00:00:12 #360 [Verbose] > │ ()                                                                           │

00:00:12 #361 [Verbose] > │                                                                              │

00:00:12 #362 [Verbose] > │                                                                              │

00:00:12 #363 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:12 #364 [Verbose] >

00:00:12 #365 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:12 #366 [Verbose] > // // test

00:00:12 #367 [Verbose] >

00:00:12 #368 [Verbose] > listm.init 10i32 id

00:00:12 #369 [Verbose] > |> listm.map (fun x => x, x)

00:00:12 #370 [Verbose] > |> unzip

00:00:12 #371 [Verbose] > |> fun x, y =>

00:00:12 #372 [Verbose] >     x |> sum

00:00:12 #373 [Verbose] >     |> _equal 45

00:00:12 #374 [Verbose] >

00:00:12 #375 [Verbose] >     y |> sum

00:00:12 #376 [Verbose] >     |> _equal 45

00:00:13 #377 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0901-4375-7556-77c1a357d86c\main.spi

00:00:13 #378 [Verbose] >

00:00:13 #379 [Verbose] > ╭─[ 168.27ms - stdout ]────────────────────────────────────────────────────────╮

00:00:13 #380 [Verbose] > │ let rec method0 () : unit =                                                  │

00:00:13 #381 [Verbose] > │     let v0 : string = $"__expect / actual: %A{45} / expected: %A{45}"        │

00:00:13 #382 [Verbose] > │     let v1 : string = $"__expect / actual: %A{45} / expected: %A{45}"        │

00:00:13 #383 [Verbose] > │     ()                                                                       │

00:00:13 #384 [Verbose] > │ method0()                                                                    │

00:00:13 #385 [Verbose] > │                                                                              │

00:00:13 #386 [Verbose] > │                                                                              │

00:00:13 #387 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:13 #388 [Verbose] >

00:00:13 #389 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────

00:00:13 #390 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮

00:00:13 #391 [Verbose] > │ ## try_index_of                                                              │

00:00:13 #392 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:13 #393 [Verbose] >

00:00:13 #394 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:13 #395 [Verbose] > inl try_index_of item list =

00:00:13 #396 [Verbose] >     inl rec loop i = function

00:00:13 #397 [Verbose] >         | [[]] => None

00:00:13 #398 [Verbose] >         | x :: xs =>

00:00:13 #399 [Verbose] >             if x = item

00:00:13 #400 [Verbose] >             then Some i

00:00:13 #401 [Verbose] >             else loop (i + 1) xs

00:00:13 #402 [Verbose] >     loop 0 list

00:00:13 #403 [Verbose] >

00:00:13 #404 [Verbose] > inl index_of item =

00:00:13 #405 [Verbose] >     try_index_of item >> optionm.value

00:00:13 #406 [Verbose] >

00:00:13 #407 [Verbose] > inl try_index_of_ item list =

00:00:13 #408 [Verbose] >     let rec loop i = function

00:00:13 #409 [Verbose] >         | [[]] => None

00:00:13 #410 [Verbose] >         | x :: xs =>

00:00:13 #411 [Verbose] >             if x = item

00:00:13 #412 [Verbose] >             then Some i

00:00:13 #413 [Verbose] >             else loop (i + 1) xs

00:00:13 #414 [Verbose] >     loop 0 list

00:00:13 #415 [Verbose] >

00:00:13 #416 [Verbose] > inl index_of_ item =

00:00:13 #417 [Verbose] >     try_index_of_ item >> optionm.value

00:00:13 #418 [Verbose] >

00:00:13 #419 [Verbose] > inl try_index_of__ item list =

00:00:13 #420 [Verbose] >     inl i = mut 0

00:00:13 #421 [Verbose] >     inl list = mut list

00:00:13 #422 [Verbose] >     inl result = mut None

00:00:13 #423 [Verbose] >     let rec loop () =

00:00:13 #424 [Verbose] >         match *list with

00:00:13 #425 [Verbose] >         | [[]] => result <- None

00:00:13 #426 [Verbose] >         | x :: xs =>

00:00:13 #427 [Verbose] >             if x = item

00:00:13 #428 [Verbose] >             then result <- Some *i

00:00:13 #429 [Verbose] >             else

00:00:13 #430 [Verbose] >                 i <- *i + 1

00:00:13 #431 [Verbose] >                 list <- xs

00:00:13 #432 [Verbose] >                 loop ()

00:00:13 #433 [Verbose] >     loop ()

00:00:13 #434 [Verbose] >     *result

00:00:13 #435 [Verbose] >

00:00:13 #436 [Verbose] > inl index_of__ item =

00:00:13 #437 [Verbose] >     try_index_of__ item >> optionm.value

00:00:13 #438 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0901-4392-9295-94729930b64a\main.spi

00:00:13 #439 [Verbose] >

00:00:13 #440 [Verbose] > ╭─[ 131.25ms - stdout ]────────────────────────────────────────────────────────╮

00:00:13 #441 [Verbose] > │ ()                                                                           │

00:00:13 #442 [Verbose] > │                                                                              │

00:00:13 #443 [Verbose] > │                                                                              │

00:00:13 #444 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:13 #445 [Verbose] >

00:00:13 #446 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:13 #447 [Verbose] > // // test

00:00:13 #448 [Verbose] >

00:00:13 #449 [Verbose] > listm.init 10i32 id

00:00:13 #450 [Verbose] > |> index_of 5i32

00:00:13 #451 [Verbose] > |> _equal 5i32

00:00:13 #452 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0901-4406-0630-0666f39a490b\main.spi

00:00:13 #453 [Verbose] >

00:00:13 #454 [Verbose] > ╭─[ 161.71ms - stdout ]────────────────────────────────────────────────────────╮

00:00:13 #455 [Verbose] > │ let rec method0 () : unit =                                                  │

00:00:13 #456 [Verbose] > │     let v0 : string = $"__expect / actual: %A{5} / expected: %A{5}"          │

00:00:13 #457 [Verbose] > │     ()                                                                       │

00:00:13 #458 [Verbose] > │ method0()                                                                    │

00:00:13 #459 [Verbose] > │                                                                              │

00:00:13 #460 [Verbose] > │                                                                              │

00:00:13 #461 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:13 #462 [Verbose] >

00:00:13 #463 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:13 #464 [Verbose] > // // test

00:00:13 #465 [Verbose] >

00:00:13 #466 [Verbose] > listm.init 10i32 id

00:00:13 #467 [Verbose] > |> try_index_of 10i32

00:00:13 #468 [Verbose] > |> _equal (None : option i32)

00:00:13 #469 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0901-4422-2289-24db4a41925f\main.spi

00:00:13 #470 [Verbose] >

00:00:13 #471 [Verbose] > ╭─[ 167.09ms - stdout ]────────────────────────────────────────────────────────╮

00:00:13 #472 [Verbose] > │ type [<Struct>] US0 =                                                        │

00:00:13 #473 [Verbose] > │     | US0_0                                                                  │

00:00:13 #474 [Verbose] > │     | US0_1 of f1_0 : int32                                                  │

00:00:13 #475 [Verbose] > │ let rec method0 () : unit =                                                  │

00:00:13 #476 [Verbose] > │     let v0 : US0 = US0_0                                                     │

00:00:13 #477 [Verbose] > │     let v1 : US0 = US0_0                                                     │

00:00:13 #478 [Verbose] > │     let v2 : string = $"__expect / actual: %A{v0} / expected: %A{v1}"        │

00:00:13 #479 [Verbose] > │     ()                                                                       │

00:00:13 #480 [Verbose] > │ method0()                                                                    │

00:00:13 #481 [Verbose] > │                                                                              │

00:00:13 #482 [Verbose] > │                                                                              │

00:00:13 #483 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:13 #484 [Verbose] >

00:00:13 #485 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────

00:00:13 #486 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮

00:00:13 #487 [Verbose] > │ ## try_find                                                                  │

00:00:13 #488 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:13 #489 [Verbose] >

00:00:13 #490 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:13 #491 [Verbose] > inl try_find fn list =

00:00:13 #492 [Verbose] >     inl rec loop = function

00:00:13 #493 [Verbose] >         | [[]] => None

00:00:13 #494 [Verbose] >         | x :: xs =>

00:00:13 #495 [Verbose] >             if fn x

00:00:13 #496 [Verbose] >             then Some x

00:00:13 #497 [Verbose] >             else loop xs

00:00:13 #498 [Verbose] >     loop list

00:00:13 #499 [Verbose] >

00:00:13 #500 [Verbose] > inl try_find_ fn list =

00:00:13 #501 [Verbose] >     let rec loop = function

00:00:13 #502 [Verbose] >         | [[]] => None

00:00:13 #503 [Verbose] >         | x :: xs =>

00:00:13 #504 [Verbose] >             if fn x

00:00:13 #505 [Verbose] >             then Some x

00:00:13 #506 [Verbose] >             else loop xs

00:00:13 #507 [Verbose] >     loop list

00:00:13 #508 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0901-4440-4031-4dc633222f06\main.spi

00:00:13 #509 [Verbose] >

00:00:13 #510 [Verbose] > ╭─[ 160.61ms - stdout ]────────────────────────────────────────────────────────╮

00:00:13 #511 [Verbose] > │ ()                                                                           │

00:00:13 #512 [Verbose] > │                                                                              │

00:00:13 #513 [Verbose] > │                                                                              │

00:00:13 #514 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:13 #515 [Verbose] >

00:00:13 #516 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:13 #517 [Verbose] > // // test

00:00:13 #518 [Verbose] >

00:00:13 #519 [Verbose] > listm.init 10i32 id

00:00:13 #520 [Verbose] > |> try_find ((=) 5i32)

00:00:13 #521 [Verbose] > |> _equal (Some 5i32)

00:00:13 #522 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0901-4456-5660-5bce9299379e\main.spi

00:00:13 #523 [Verbose] >

00:00:13 #524 [Verbose] > ╭─[ 168.81ms - stdout ]────────────────────────────────────────────────────────╮

00:00:13 #525 [Verbose] > │ type [<Struct>] US0 =                                                        │

00:00:13 #526 [Verbose] > │     | US0_0                                                                  │

00:00:13 #527 [Verbose] > │     | US0_1 of f1_0 : int32                                                  │

00:00:13 #528 [Verbose] > │ let rec method0 () : unit =                                                  │

00:00:13 #529 [Verbose] > │     let v0 : US0 = US0_1(5)                                                  │

00:00:13 #530 [Verbose] > │     let v1 : US0 = US0_1(5)                                                  │

00:00:13 #531 [Verbose] > │     let v2 : string = $"__expect / actual: %A{v0} / expected: %A{v1}"        │

00:00:13 #532 [Verbose] > │     ()                                                                       │

00:00:13 #533 [Verbose] > │ method0()                                                                    │

00:00:13 #534 [Verbose] > │                                                                              │

00:00:13 #535 [Verbose] > │                                                                              │

00:00:13 #536 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:13 #537 [Verbose] >

00:00:13 #538 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:13 #539 [Verbose] > inl find x =

00:00:13 #540 [Verbose] >     try_find x >> optionm.value

00:00:13 #541 [Verbose] >

00:00:13 #542 [Verbose] > inl find_ x =

00:00:13 #543 [Verbose] >     try_find_ x >> optionm.value

00:00:14 #544 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0901-4474-7405-7d4c4930c5b8\main.spi

00:00:14 #545 [Verbose] >

00:00:14 #546 [Verbose] > ╭─[ 136.90ms - stdout ]────────────────────────────────────────────────────────╮

00:00:14 #547 [Verbose] > │ ()                                                                           │

00:00:14 #548 [Verbose] > │                                                                              │

00:00:14 #549 [Verbose] > │                                                                              │

00:00:14 #550 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:14 #551 [Verbose] >

00:00:14 #552 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:14 #553 [Verbose] > // // test

00:00:14 #554 [Verbose] >

00:00:14 #555 [Verbose] > listm.init 10i32 id

00:00:14 #556 [Verbose] > |> find ((=) 5i32)

00:00:14 #557 [Verbose] > |> _equal 5i32

00:00:14 #558 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0901-4487-8788-8d618d5fdd5c\main.spi

00:00:14 #559 [Verbose] >

00:00:14 #560 [Verbose] > ╭─[ 175.51ms - stdout ]────────────────────────────────────────────────────────╮

00:00:14 #561 [Verbose] > │ let rec method0 () : unit =                                                  │

00:00:14 #562 [Verbose] > │     let v0 : string = $"__expect / actual: %A{5} / expected: %A{5}"          │

00:00:14 #563 [Verbose] > │     ()                                                                       │

00:00:14 #564 [Verbose] > │ method0()                                                                    │

00:00:14 #565 [Verbose] > │                                                                              │

00:00:14 #566 [Verbose] > │                                                                              │

00:00:14 #567 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:14 #568 [Verbose] >

00:00:14 #569 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────

00:00:14 #570 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮

00:00:14 #571 [Verbose] > │ ## choose                                                                    │

00:00:14 #572 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:14 #573 [Verbose] >

00:00:14 #574 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:14 #575 [Verbose] > inl choose f l =

00:00:14 #576 [Verbose] >     (l, [[]])

00:00:14 #577 [Verbose] >     ||> listm.foldBack fun x acc =>

00:00:14 #578 [Verbose] >         match f x with

00:00:14 #579 [Verbose] >         | Some y => y :: acc

00:00:14 #580 [Verbose] >         | None => acc

00:00:14 #581 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0901-4506-0600-0777ecfa3f97\main.spi

00:00:14 #582 [Verbose] >

00:00:14 #583 [Verbose] > ╭─[ 150.22ms - stdout ]────────────────────────────────────────────────────────╮

00:00:14 #584 [Verbose] > │ ()                                                                           │

00:00:14 #585 [Verbose] > │                                                                              │

00:00:14 #586 [Verbose] > │                                                                              │

00:00:14 #587 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:14 #588 [Verbose] >

00:00:14 #589 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:14 #590 [Verbose] > // // test

00:00:14 #591 [Verbose] >

00:00:14 #592 [Verbose] > listm.init 10i32 id

00:00:14 #593 [Verbose] > |> choose (fun x => if x % 2 = 0 then Some x else None)

00:00:14 #594 [Verbose] > |> _equal [[ 0; 2; 4; 6; 8 ]]

00:00:14 #595 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0901-4521-2134-29a031de05c2\main.spi

00:00:14 #596 [Verbose] >

00:00:14 #597 [Verbose] > ╭─[ 183.03ms - stdout ]────────────────────────────────────────────────────────╮

00:00:14 #598 [Verbose] > │ type UH0 =                                                                   │

00:00:14 #599 [Verbose] > │     | UH0_0 of int32 * UH0                                                   │

00:00:14 #600 [Verbose] > │     | UH0_1                                                                  │

00:00:14 #601 [Verbose] > │ let rec method0 () : unit =                                                  │

00:00:14 #602 [Verbose] > │     let v0 : UH0 = UH0_1                                                     │

00:00:14 #603 [Verbose] > │     let v1 : UH0 = UH0_0(8, v0)                                              │

00:00:14 #604 [Verbose] > │     let v2 : UH0 = UH0_0(6, v1)                                              │

00:00:14 #605 [Verbose] > │     let v3 : UH0 = UH0_0(4, v2)                                              │

00:00:14 #606 [Verbose] > │     let v4 : UH0 = UH0_0(2, v3)                                              │

00:00:14 #607 [Verbose] > │     let v5 : UH0 = UH0_0(0, v4)                                              │

00:00:14 #608 [Verbose] > │     let v6 : UH0 = UH0_1                                                     │

00:00:14 #609 [Verbose] > │     let v7 : UH0 = UH0_0(8, v6)                                              │

00:00:14 #610 [Verbose] > │     let v8 : UH0 = UH0_0(6, v7)                                              │

00:00:14 #611 [Verbose] > │     let v9 : UH0 = UH0_0(4, v8)                                              │

00:00:14 #612 [Verbose] > │     let v10 : UH0 = UH0_0(2, v9)                                             │

00:00:14 #613 [Verbose] > │     let v11 : UH0 = UH0_0(0, v10)                                            │

00:00:14 #614 [Verbose] > │     let v12 : string = $"__expect / actual: %A{v5} / expected: %A{v11}"      │

00:00:14 #615 [Verbose] > │     ()                                                                       │

00:00:14 #616 [Verbose] > │ method0()                                                                    │

00:00:14 #617 [Verbose] > │                                                                              │

00:00:14 #618 [Verbose] > │                                                                              │

00:00:14 #619 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:14 #620 [Verbose] >

00:00:14 #621 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────

00:00:14 #622 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮

00:00:14 #623 [Verbose] > │ ## zip_with                                                                  │

00:00:14 #624 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:14 #625 [Verbose] >

00:00:14 #626 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:14 #627 [Verbose] > inl zip_with fn xs ys =

00:00:14 #628 [Verbose] >     inl rec loop acc xs ys =

00:00:14 #629 [Verbose] >         match xs, ys with

00:00:14 #630 [Verbose] >         | Cons (x, xs), Cons (y, ys) =>

00:00:14 #631 [Verbose] >             loop (fn x y :: acc) xs ys

00:00:14 #632 [Verbose] >         | _ => listm.rev acc

00:00:14 #633 [Verbose] >     loop [[]] xs ys

00:00:14 #634 [Verbose] >

00:00:14 #635 [Verbose] > inl zip_with_ fn xs ys =

00:00:14 #636 [Verbose] >     let rec loop acc xs ys =

00:00:14 #637 [Verbose] >         match xs, ys with

00:00:14 #638 [Verbose] >         | Cons (x, xs), Cons (y, ys) =>

00:00:14 #639 [Verbose] >             loop (fn x y :: acc) xs ys

00:00:14 #640 [Verbose] >         | _ => listm.rev acc

00:00:14 #641 [Verbose] >     loop [[]] xs ys

00:00:14 #642 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0901-4540-4071-491f3714a356\main.spi

00:00:14 #643 [Verbose] >

00:00:14 #644 [Verbose] > ╭─[ 160.24ms - stdout ]────────────────────────────────────────────────────────╮

00:00:14 #645 [Verbose] > │ ()                                                                           │

00:00:14 #646 [Verbose] > │                                                                              │

00:00:14 #647 [Verbose] > │                                                                              │

00:00:14 #648 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:14 #649 [Verbose] >

00:00:14 #650 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:14 #651 [Verbose] > // // test

00:00:14 #652 [Verbose] >

00:00:14 #653 [Verbose] > ([[ 1i32; 2; 3 ]], [[ 4; 5; 6 ]])

00:00:14 #654 [Verbose] > ||> zip_with (+)

00:00:14 #655 [Verbose] > |> _equal [[ 5; 7; 9 ]]

00:00:14 #656 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0901-4556-5695-59f01a3bfde9\main.spi

00:00:14 #657 [Verbose] >

00:00:14 #658 [Verbose] > ╭─[ 188.59ms - stdout ]────────────────────────────────────────────────────────╮

00:00:14 #659 [Verbose] > │ type UH0 =                                                                   │

00:00:14 #660 [Verbose] > │     | UH0_0 of int32 * UH0                                                   │

00:00:14 #661 [Verbose] > │     | UH0_1                                                                  │

00:00:14 #662 [Verbose] > │ let rec method0 () : unit =                                                  │

00:00:14 #663 [Verbose] > │     let v0 : UH0 = UH0_1                                                     │

00:00:14 #664 [Verbose] > │     let v1 : UH0 = UH0_0(9, v0)                                              │

00:00:14 #665 [Verbose] > │     let v2 : UH0 = UH0_0(7, v1)                                              │

00:00:14 #666 [Verbose] > │     let v3 : UH0 = UH0_0(5, v2)                                              │

00:00:14 #667 [Verbose] > │     let v4 : UH0 = UH0_1                                                     │

00:00:14 #668 [Verbose] > │     let v5 : UH0 = UH0_0(9, v4)                                              │

00:00:14 #669 [Verbose] > │     let v6 : UH0 = UH0_0(7, v5)                                              │

00:00:14 #670 [Verbose] > │     let v7 : UH0 = UH0_0(5, v6)                                              │

00:00:14 #671 [Verbose] > │     let v8 : string = $"__expect / actual: %A{v3} / expected: %A{v7}"        │

00:00:14 #672 [Verbose] > │     ()                                                                       │

00:00:14 #673 [Verbose] > │ method0()                                                                    │

00:00:14 #674 [Verbose] > │                                                                              │

00:00:14 #675 [Verbose] > │                                                                              │

00:00:14 #676 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:14 #677 [Verbose] >

00:00:14 #678 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────

00:00:14 #679 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮

00:00:14 #680 [Verbose] > │ ## zip                                                                       │

00:00:14 #681 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:14 #682 [Verbose] >

00:00:14 #683 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:14 #684 [Verbose] > inl zip xs ys =

00:00:14 #685 [Verbose] >     zip_with pair xs ys

00:00:14 #686 [Verbose] >

00:00:14 #687 [Verbose] > inl zip_ xs ys =

00:00:14 #688 [Verbose] >     zip_with_ pair xs ys

00:00:15 #689 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0901-4576-7673-7f79804edec0\main.spi

00:00:15 #690 [Verbose] >

00:00:15 #691 [Verbose] > ╭─[ 145.23ms - stdout ]────────────────────────────────────────────────────────╮

00:00:15 #692 [Verbose] > │ ()                                                                           │

00:00:15 #693 [Verbose] > │                                                                              │

00:00:15 #694 [Verbose] > │                                                                              │

00:00:15 #695 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:15 #696 [Verbose] >

00:00:15 #697 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:15 #698 [Verbose] > // // test

00:00:15 #699 [Verbose] >

00:00:15 #700 [Verbose] > ([[ 1i32; 2; 3 ]], [[ 4i32; 5; 6 ]])

00:00:15 #701 [Verbose] > ||> zip

00:00:15 #702 [Verbose] > |> _equal [[ 1, 4; 2, 5; 3, 6 ]]

00:00:15 #703 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0901-4591-9148-9c3f1185ccd7\main.spi

00:00:15 #704 [Verbose] >

00:00:15 #705 [Verbose] > ╭─[ 225.29ms - stdout ]────────────────────────────────────────────────────────╮

00:00:15 #706 [Verbose] > │ type UH0 =                                                                   │

00:00:15 #707 [Verbose] > │     | UH0_0 of int32 * int32 * UH0                                           │

00:00:15 #708 [Verbose] > │     | UH0_1                                                                  │

00:00:15 #709 [Verbose] > │ let rec method0 () : unit =                                                  │

00:00:15 #710 [Verbose] > │     let v0 : UH0 = UH0_1                                                     │

00:00:15 #711 [Verbose] > │     let v1 : UH0 = UH0_0(3, 6, v0)                                           │

00:00:15 #712 [Verbose] > │     let v2 : UH0 = UH0_0(2, 5, v1)                                           │

00:00:15 #713 [Verbose] > │     let v3 : UH0 = UH0_0(1, 4, v2)                                           │

00:00:15 #714 [Verbose] > │     let v4 : UH0 = UH0_1                                                     │

00:00:15 #715 [Verbose] > │     let v5 : UH0 = UH0_0(3, 6, v4)                                           │

00:00:15 #716 [Verbose] > │     let v6 : UH0 = UH0_0(2, 5, v5)                                           │

00:00:15 #717 [Verbose] > │     let v7 : UH0 = UH0_0(1, 4, v6)                                           │

00:00:15 #718 [Verbose] > │     let v8 : string = $"__expect / actual: %A{v3} / expected: %A{v7}"        │

00:00:15 #719 [Verbose] > │     ()                                                                       │

00:00:15 #720 [Verbose] > │ method0()                                                                    │

00:00:15 #721 [Verbose] > │                                                                              │

00:00:15 #722 [Verbose] > │                                                                              │

00:00:15 #723 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:15 #724 [Verbose] >

00:00:15 #725 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────

00:00:15 #726 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮

00:00:15 #727 [Verbose] > │ ## indexed                                                                   │

00:00:15 #728 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:15 #729 [Verbose] >

00:00:15 #730 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:15 #731 [Verbose] > inl indexed list =

00:00:15 #732 [Verbose] >     (([[]], 0), list)

00:00:15 #733 [Verbose] >     ||> listm.fold fun (acc, i) x =>

00:00:15 #734 [Verbose] >         (i, x) :: acc, i + 1

00:00:15 #735 [Verbose] >     |> fst

00:00:15 #736 [Verbose] >     |> listm.rev

00:00:15 #737 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0901-4615-1579-17fcd9488764\main.spi

00:00:15 #738 [Verbose] >

00:00:15 #739 [Verbose] > ╭─[ 152.29ms - stdout ]────────────────────────────────────────────────────────╮

00:00:15 #740 [Verbose] > │ ()                                                                           │

00:00:15 #741 [Verbose] > │                                                                              │

00:00:15 #742 [Verbose] > │                                                                              │

00:00:15 #743 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:15 #744 [Verbose] >

00:00:15 #745 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:15 #746 [Verbose] > // // test

00:00:15 #747 [Verbose] >

00:00:15 #748 [Verbose] > listm.init 5i32 ((*) 2)

00:00:15 #749 [Verbose] > |> indexed

00:00:15 #750 [Verbose] > |> _equal [[ 0i32, 0; 1, 2; 2, 4; 3, 6; 4, 8 ]]

00:00:15 #751 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0901-4630-3082-3e8ac201b227\main.spi

00:00:15 #752 [Verbose] >

00:00:15 #753 [Verbose] > ╭─[ 216.72ms - stdout ]────────────────────────────────────────────────────────╮

00:00:15 #754 [Verbose] > │ type UH0 =                                                                   │

00:00:15 #755 [Verbose] > │     | UH0_0 of int32 * int32 * UH0                                           │

00:00:15 #756 [Verbose] > │     | UH0_1                                                                  │

00:00:15 #757 [Verbose] > │ let rec method0 () : unit =                                                  │

00:00:15 #758 [Verbose] > │     let v0 : UH0 = UH0_1                                                     │

00:00:15 #759 [Verbose] > │     let v1 : UH0 = UH0_0(4, 8, v0)                                           │

00:00:15 #760 [Verbose] > │     let v2 : UH0 = UH0_0(3, 6, v1)                                           │

00:00:15 #761 [Verbose] > │     let v3 : UH0 = UH0_0(2, 4, v2)                                           │

00:00:15 #762 [Verbose] > │     let v4 : UH0 = UH0_0(1, 2, v3)                                           │

00:00:15 #763 [Verbose] > │     let v5 : UH0 = UH0_0(0, 0, v4)                                           │

00:00:15 #764 [Verbose] > │     let v6 : UH0 = UH0_1                                                     │

00:00:15 #765 [Verbose] > │     let v7 : UH0 = UH0_0(4, 8, v6)                                           │

00:00:15 #766 [Verbose] > │     let v8 : UH0 = UH0_0(3, 6, v7)                                           │

00:00:15 #767 [Verbose] > │     let v9 : UH0 = UH0_0(2, 4, v8)                                           │

00:00:15 #768 [Verbose] > │     let v10 : UH0 = UH0_0(1, 2, v9)                                          │

00:00:15 #769 [Verbose] > │     let v11 : UH0 = UH0_0(0, 0, v10)                                         │

00:00:15 #770 [Verbose] > │     let v12 : string = $"__expect / actual: %A{v5} / expected: %A{v11}"      │

00:00:15 #771 [Verbose] > │     ()                                                                       │

00:00:15 #772 [Verbose] > │ method0()                                                                    │

00:00:15 #773 [Verbose] > │                                                                              │

00:00:15 #774 [Verbose] > │                                                                              │

00:00:15 #775 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:15 #776 [Verbose] >

00:00:15 #777 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────

00:00:15 #778 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮

00:00:15 #779 [Verbose] > │ ## group_by                                                                  │

00:00:15 #780 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:15 #781 [Verbose] >

00:00:15 #782 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:15 #783 [Verbose] > inl group_by fn list =

00:00:15 #784 [Verbose] >     (list, [[]])

00:00:15 #785 [Verbose] >     ||> listm.foldBack fun x acc =>

00:00:15 #786 [Verbose] >         inl xk = fn x

00:00:15 #787 [Verbose] >         inl found, new_acc =

00:00:15 #788 [Verbose] >             ((false, [[]]), acc)

00:00:15 #789 [Verbose] >             ||> listm.fold fun (found, acc') (k, xs) =>

00:00:15 #790 [Verbose] >                 if k = xk

00:00:15 #791 [Verbose] >                 then true, (k, x :: xs) :: acc'

00:00:15 #792 [Verbose] >                 else found, (k, xs) :: acc'

00:00:15 #793 [Verbose] >         if found

00:00:15 #794 [Verbose] >         then new_acc

00:00:15 #795 [Verbose] >         else (xk, [[ x ]]) :: new_acc

00:00:15 #796 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0901-4654-5405-58d4a400119f\main.spi

00:00:15 #797 [Verbose] >

00:00:15 #798 [Verbose] > ╭─[ 145.01ms - stdout ]────────────────────────────────────────────────────────╮

00:00:15 #799 [Verbose] > │ ()                                                                           │

00:00:15 #800 [Verbose] > │                                                                              │

00:00:15 #801 [Verbose] > │                                                                              │

00:00:15 #802 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:15 #803 [Verbose] >

00:00:15 #804 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:15 #805 [Verbose] > // // test

00:00:15 #806 [Verbose] >

00:00:15 #807 [Verbose] > listm.init 10i32 id

00:00:15 #808 [Verbose] > |> group_by (fun x => x % 2 = 0)

00:00:15 #809 [Verbose] > |> _equal [[ true, [[ 0; 2; 4; 6; 8 ]]; false, [[ 1; 3; 5; 7; 9 ]] ]]

00:00:15 #810 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0901-4668-6834-6f5b189decd0\main.spi

00:00:16 #811 [Verbose] >

00:00:16 #812 [Verbose] > ╭─[ 256.02ms - stdout ]────────────────────────────────────────────────────────╮

00:00:16 #813 [Verbose] > │ type UH0 =                                                                   │

00:00:16 #814 [Verbose] > │     | UH0_0 of int32 * UH0                                                   │

00:00:16 #815 [Verbose] > │     | UH0_1                                                                  │

00:00:16 #816 [Verbose] > │ and UH1 =                                                                    │

00:00:16 #817 [Verbose] > │     | UH1_0 of bool * UH0 * UH1                                              │

00:00:16 #818 [Verbose] > │     | UH1_1                                                                  │

00:00:16 #819 [Verbose] > │ let rec method0 () : unit =                                                  │

00:00:16 #820 [Verbose] > │     let v0 : UH0 = UH0_1                                                     │

00:00:16 #821 [Verbose] > │     let v1 : UH0 = UH0_0(8, v0)                                              │

00:00:16 #822 [Verbose] > │     let v2 : UH0 = UH0_0(6, v1)                                              │

00:00:16 #823 [Verbose] > │     let v3 : UH0 = UH0_0(4, v2)                                              │

00:00:16 #824 [Verbose] > │     let v4 : UH0 = UH0_0(2, v3)                                              │

00:00:16 #825 [Verbose] > │     let v5 : UH0 = UH0_0(0, v4)                                              │

00:00:16 #826 [Verbose] > │     let v6 : UH0 = UH0_1                                                     │

00:00:16 #827 [Verbose] > │     let v7 : UH0 = UH0_0(9, v6)                                              │

00:00:16 #828 [Verbose] > │     let v8 : UH0 = UH0_0(7, v7)                                              │

00:00:16 #829 [Verbose] > │     let v9 : UH0 = UH0_0(5, v8)                                              │

00:00:16 #830 [Verbose] > │     let v10 : UH0 = UH0_0(3, v9)                                             │

00:00:16 #831 [Verbose] > │     let v11 : UH0 = UH0_0(1, v10)                                            │

00:00:16 #832 [Verbose] > │     let v12 : UH1 = UH1_1                                                    │

00:00:16 #833 [Verbose] > │     let v13 : UH1 = UH1_0(false, v11, v12)                                   │

00:00:16 #834 [Verbose] > │     let v14 : UH1 = UH1_0(true, v5, v13)                                     │

00:00:16 #835 [Verbose] > │     let v15 : UH0 = UH0_1                                                    │

00:00:16 #836 [Verbose] > │     let v16 : UH0 = UH0_0(8, v15)                                            │

00:00:16 #837 [Verbose] > │     let v17 : UH0 = UH0_0(6, v16)                                            │

00:00:16 #838 [Verbose] > │     let v18 : UH0 = UH0_0(4, v17)                                            │

00:00:16 #839 [Verbose] > │     let v19 : UH0 = UH0_0(2, v18)                                            │

00:00:16 #840 [Verbose] > │     let v20 : UH0 = UH0_0(0, v19)                                            │

00:00:16 #841 [Verbose] > │     let v21 : UH0 = UH0_1                                                    │

00:00:16 #842 [Verbose] > │     let v22 : UH0 = UH0_0(9, v21)                                            │

00:00:16 #843 [Verbose] > │     let v23 : UH0 = UH0_0(7, v22)                                            │

00:00:16 #844 [Verbose] > │     let v24 : UH0 = UH0_0(5, v23)                                            │

00:00:16 #845 [Verbose] > │     let v25 : UH0 = UH0_0(3, v24)                                            │

00:00:16 #846 [Verbose] > │     let v26 : UH0 = UH0_0(1, v25)                                            │

00:00:16 #847 [Verbose] > │     let v27 : UH1 = UH1_1                                                    │

00:00:16 #848 [Verbose] > │     let v28 : UH1 = UH1_0(false, v26, v27)                                   │

00:00:16 #849 [Verbose] > │     let v29 : UH1 = UH1_0(true, v20, v28)                                    │

00:00:16 #850 [Verbose] > │     let v30 : string = $"__expect / actual: %A{v14} / expected: %A{v29}"     │

00:00:16 #851 [Verbose] > │     ()                                                                       │

00:00:16 #852 [Verbose] > │ method0()                                                                    │

00:00:16 #853 [Verbose] > │                                                                              │

00:00:16 #854 [Verbose] > │                                                                              │

00:00:16 #855 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:16 #856 [Verbose] >

00:00:16 #857 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────

00:00:16 #858 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮

00:00:16 #859 [Verbose] > │ ## forall'                                                                   │

00:00:16 #860 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:16 #861 [Verbose] >

00:00:16 #862 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:16 #863 [Verbose] > inl forall' fn (head :: tail) =

00:00:16 #864 [Verbose] >     (true, tail)

00:00:16 #865 [Verbose] >     ||> listm.fold fun acc x =>

00:00:16 #866 [Verbose] >         acc && x = head

00:00:16 #867 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0901-4696-9602-9decd77b0d92\main.spi

00:00:16 #868 [Verbose] >

00:00:16 #869 [Verbose] > ╭─[ 188.28ms - stdout ]────────────────────────────────────────────────────────╮

00:00:16 #870 [Verbose] > │ ()                                                                           │

00:00:16 #871 [Verbose] > │                                                                              │

00:00:16 #872 [Verbose] > │                                                                              │

00:00:16 #873 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:16 #874 [Verbose] >

00:00:16 #875 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:16 #876 [Verbose] > // // test

00:00:16 #877 [Verbose] >

00:00:16 #878 [Verbose] > [[ 1i32; 1; 1; 1; 1 ]]

00:00:16 #879 [Verbose] > |> forall' ((=) 1i32)

00:00:16 #880 [Verbose] > |> _equal true

00:00:16 #881 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0901-4714-1498-1c862b5d3ef5\main.spi

00:00:16 #882 [Verbose] >

00:00:16 #883 [Verbose] > ╭─[ 337.70ms - stdout ]────────────────────────────────────────────────────────╮

00:00:16 #884 [Verbose] > │ let rec method0 () : unit =                                                  │

00:00:16 #885 [Verbose] > │     let v0 : string = $"__expect / actual: %A{true} / expected: %A{true}"    │

00:00:16 #886 [Verbose] > │     ()                                                                       │

00:00:16 #887 [Verbose] > │ method0()                                                                    │

00:00:16 #888 [Verbose] > │                                                                              │

00:00:16 #889 [Verbose] > │                                                                              │

00:00:16 #890 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:16 #891 [Verbose] >

00:00:16 #892 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────

00:00:16 #893 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮

00:00:16 #894 [Verbose] > │ ## last                                                                      │

00:00:16 #895 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:16 #896 [Verbose] >

00:00:16 #897 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:16 #898 [Verbose] > inl last list =

00:00:16 #899 [Verbose] >     list

00:00:16 #900 [Verbose] >     |> listm.rev

00:00:16 #901 [Verbose] >     |> item 0i32

00:00:16 #902 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0901-4749-4933-42aab32adc10\main.spi

00:00:16 #903 [Verbose] >

00:00:16 #904 [Verbose] > ╭─[ 158.50ms - stdout ]────────────────────────────────────────────────────────╮

00:00:16 #905 [Verbose] > │ ()                                                                           │

00:00:16 #906 [Verbose] > │                                                                              │

00:00:16 #907 [Verbose] > │                                                                              │

00:00:16 #908 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:16 #909 [Verbose] >

00:00:16 #910 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:16 #911 [Verbose] > // // test

00:00:16 #912 [Verbose] >

00:00:16 #913 [Verbose] > listm.init 10i32 id

00:00:16 #914 [Verbose] > |> last

00:00:16 #915 [Verbose] > |> _equal 9

00:00:16 #916 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0901-4765-6541-6cff571545d8\main.spi

00:00:16 #917 [Verbose] >

00:00:16 #918 [Verbose] > ╭─[ 157.56ms - stdout ]────────────────────────────────────────────────────────╮

00:00:16 #919 [Verbose] > │ let rec method0 () : unit =                                                  │

00:00:16 #920 [Verbose] > │     let v0 : string = $"__expect / actual: %A{9} / expected: %A{9}"          │

00:00:16 #921 [Verbose] > │     ()                                                                       │

00:00:16 #922 [Verbose] > │ method0()                                                                    │

00:00:16 #923 [Verbose] > │                                                                              │

00:00:16 #924 [Verbose] > │                                                                              │

00:00:16 #925 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:16 #926 [Verbose] >

00:00:16 #927 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────

00:00:16 #928 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮

00:00:16 #929 [Verbose] > │ ## try_pick                                                                  │

00:00:16 #930 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:16 #931 [Verbose] >

00:00:16 #932 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:16 #933 [Verbose] > inl try_pick fn list =

00:00:16 #934 [Verbose] >     inl rec body fn = function

00:00:16 #935 [Verbose] >         | [[]] => None

00:00:16 #936 [Verbose] >         | x :: xs =>

00:00:16 #937 [Verbose] >             match fn x with

00:00:16 #938 [Verbose] >             | Some y => Some y

00:00:16 #939 [Verbose] >             | None => loop xs

00:00:16 #940 [Verbose] >     and inl loop list =

00:00:16 #941 [Verbose] >         if var_is list |> not

00:00:16 #942 [Verbose] >         then body fn list

00:00:16 #943 [Verbose] >         else

00:00:16 #944 [Verbose] >             inl fn = join fn

00:00:16 #945 [Verbose] >             inl list = dyn list

00:00:16 #946 [Verbose] >             join body fn list

00:00:16 #947 [Verbose] >     loop list

00:00:17 #948 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0901-4781-8171-8537b3052360\main.spi

00:00:17 #949 [Verbose] >

00:00:17 #950 [Verbose] > ╭─[ 182.80ms - stdout ]────────────────────────────────────────────────────────╮

00:00:17 #951 [Verbose] > │ ()                                                                           │

00:00:17 #952 [Verbose] > │                                                                              │

00:00:17 #953 [Verbose] > │                                                                              │

00:00:17 #954 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:17 #955 [Verbose] >

00:00:17 #956 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:17 #957 [Verbose] > // // test

00:00:17 #958 [Verbose] >

00:00:17 #959 [Verbose] > listm.init 10i32 id

00:00:17 #960 [Verbose] > |> try_pick (fun x => if x = 5i32 then Some x else None)

00:00:17 #961 [Verbose] > |> _equal (Some 5i32)

00:00:17 #962 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0901-4800-0029-0c7a0e2952f2\main.spi

00:00:17 #963 [Verbose] >

00:00:17 #964 [Verbose] > ╭─[ 203.50ms - stdout ]────────────────────────────────────────────────────────╮

00:00:17 #965 [Verbose] > │ type [<Struct>] US0 =                                                        │

00:00:17 #966 [Verbose] > │     | US0_0                                                                  │

00:00:17 #967 [Verbose] > │     | US0_1 of f1_0 : int32                                                  │

00:00:17 #968 [Verbose] > │ let rec method0 () : unit =                                                  │

00:00:17 #969 [Verbose] > │     let v0 : US0 = US0_1(5)                                                  │

00:00:17 #970 [Verbose] > │     let v1 : US0 = US0_1(5)                                                  │

00:00:17 #971 [Verbose] > │     let v2 : string = $"__expect / actual: %A{v0} / expected: %A{v1}"        │

00:00:17 #972 [Verbose] > │     ()                                                                       │

00:00:17 #973 [Verbose] > │ method0()                                                                    │

00:00:17 #974 [Verbose] > │                                                                              │

00:00:17 #975 [Verbose] > │                                                                              │

00:00:17 #976 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:19 #977 [Verbose] > [NbConvertApp] Converting notebook listm'.dib.ipynb to html

00:00:19 #978 [Verbose] > C:\Users\i574n\scoop\apps\python\current\Lib\site-packages\nbformat\__init__.py:93: MissingIDFieldWarning: Code cell is missing an id field, this will become a hard error in future nbformat versions. You may want to use `normalize()` on your notebooks before validations (available since nbformat 5.1.4). Previous versions of nbformat are fixing this issue transparently, and will stop doing so in the future.

00:00:19 #979 [Verbose] >   validate(nb)

00:00:19 #980 [Verbose] > C:\Users\i574n\scoop\apps\python\current\Lib\site-packages\nbconvert\filters\highlight.py:71: UserWarning: IPython3 lexer unavailable, falling back on Python 3

00:00:19 #981 [Verbose] >   return _pygments_highlight(

00:00:20 #982 [Verbose] > [NbConvertApp] Writing 361466 bytes to listm'.dib.html

00:00:20 #983 [Debug] executeAsync / exitCode: 0 / output.Length: 51191

00:00:20 #984 [Debug] main / executeCommand / exitCode: 0

00:00:00 #1 [Debug] runWithTimeoutAsync / timeout: 60

00:00:00 #2 [Debug] executeAsync / options: { Command =

   "dotnet "C:\home\git\polyglot\deps\The-Spiral-Language\The Spiral Language 2\artifacts\bin\The Spiral Language 2\release\Spiral.dll" port=13805"

  WorkingDirectory = None

  CancellationToken = Some System.Threading.CancellationToken

  OnLine = Some <fun:main@450-1020> }

00:00:00 #3 [Verbose] > pwd: C:\home\git\polyglot\lib\spiral

00:00:00 #4 [Verbose] > dll_path: C:\home\git\polyglot\deps\The-Spiral-Language\The Spiral Language 2\artifacts\bin\The Spiral Language 2\release

00:00:00 #5 [Debug] runWithTimeoutAsync / timeout: 500

00:00:00 #6 [Verbose] waitForPortAccess / port: 13805 / retry: 0

00:00:01 #7 [Debug] sendJson / port: 13805 / json: {"Ping":true} / result.Length:

00:00:01 #8 [Verbose] awaitCompiler / Ping / result: Some(null) / port: 13805 / retry: 0

00:00:01 #9 [Verbose] > Server bound to: http://localhost:13805

00:00:01 #10 [Debug] executeAsync / options: { Command = "pwsh -c "../../scripts/invoke-dib.ps1 benchmark.dib""

  WorkingDirectory = None

  CancellationToken = Some System.Threading.CancellationToken

  OnLine = None }

00:00:03 #11 [Verbose] >

00:00:03 #12 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────

00:00:03 #13 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮

00:00:03 #14 [Verbose] > │ ## benchmark (Polyglot)                                                      │

00:00:03 #15 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:03 #16 [Verbose] >

00:00:03 #17 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:03 #18 [Verbose] > // // test

00:00:03 #19 [Verbose] >

00:00:03 #20 [Verbose] > open testing

00:00:06 #21 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0901-5786-8643-80e7c0f2ef5c\main.spi

00:00:08 #22 [Verbose] >

00:00:08 #23 [Verbose] > ╭─[ 5.03s - stdout ]───────────────────────────────────────────────────────────╮

00:00:08 #24 [Verbose] > │ ()                                                                           │

00:00:08 #25 [Verbose] > │                                                                              │

00:00:08 #26 [Verbose] > │                                                                              │

00:00:08 #27 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:08 #28 [Verbose] >

00:00:08 #29 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:08 #30 [Verbose] > inl (/@) x = listm'.(/@) x

00:00:08 #31 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0902-0071-7190-770363e59617\main.spi

00:00:08 #32 [Verbose] >

00:00:08 #33 [Verbose] > ╭─[ 177.29ms - stdout ]────────────────────────────────────────────────────────╮

00:00:08 #34 [Verbose] > │ ()                                                                           │

00:00:08 #35 [Verbose] > │                                                                              │

00:00:08 #36 [Verbose] > │                                                                              │

00:00:08 #37 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:08 #38 [Verbose] >

00:00:08 #39 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:08 #40 [Verbose] > inl gc_collect () =

00:00:08 #41 [Verbose] >     run_target function

00:00:08 #42 [Verbose] >         | Fsharp => fun () => $"System.GC.Collect ()"

00:00:08 #43 [Verbose] >         | _ => fun () => ()

00:00:08 #44 [Verbose] >

00:00:08 #45 [Verbose] > inl printfn x =

00:00:08 #46 [Verbose] >     console.write_line x

00:00:08 #47 [Verbose] >

00:00:08 #48 [Verbose] > nominal stopwatch = $"System.Diagnostics.Stopwatch"

00:00:08 #49 [Verbose] >

00:00:08 #50 [Verbose] > inl stopwatch () : stopwatch =

00:00:08 #51 [Verbose] >     $"`stopwatch" ()

00:00:08 #52 [Verbose] >

00:00:08 #53 [Verbose] > inl stopwatch_elapsed_milliseconds (stopwatch : stopwatch) : i64 =

00:00:08 #54 [Verbose] >     $"!stopwatch.ElapsedMilliseconds"

00:00:08 #55 [Verbose] >

00:00:08 #56 [Verbose] > inl stopwatch_start (stopwatch : stopwatch) : () =

00:00:08 #57 [Verbose] >     $"!stopwatch.Start ()"

00:00:08 #58 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0902-0089-8905-83dcadbc18e9\main.spi

00:00:08 #59 [Verbose] >

00:00:08 #60 [Verbose] > ╭─[ 234.58ms - stdout ]────────────────────────────────────────────────────────╮

00:00:08 #61 [Verbose] > │ ()                                                                           │

00:00:08 #62 [Verbose] > │                                                                              │

00:00:08 #63 [Verbose] > │                                                                              │

00:00:08 #64 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:08 #65 [Verbose] >

00:00:08 #66 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────

00:00:08 #67 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮

00:00:08 #68 [Verbose] > │ ## test_case_result                                                          │

00:00:08 #69 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:08 #70 [Verbose] >

00:00:08 #71 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:08 #72 [Verbose] > type test_case_result =

00:00:08 #73 [Verbose] >     {

00:00:08 #74 [Verbose] >         Input : string

00:00:08 #75 [Verbose] >         Expected : string

00:00:08 #76 [Verbose] >         Result : string

00:00:08 #77 [Verbose] >         TimeList : a u64 i64

00:00:08 #78 [Verbose] >     }

00:00:09 #79 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0902-0112-1295-1b7c49cdfbf2\main.spi

00:00:09 #80 [Verbose] >

00:00:09 #81 [Verbose] > ╭─[ 226.98ms - stdout ]────────────────────────────────────────────────────────╮

00:00:09 #82 [Verbose] > │ ()                                                                           │

00:00:09 #83 [Verbose] > │                                                                              │

00:00:09 #84 [Verbose] > │                                                                              │

00:00:09 #85 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:09 #86 [Verbose] >

00:00:09 #87 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────

00:00:09 #88 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮

00:00:09 #89 [Verbose] > │ ## run                                                                       │

00:00:09 #90 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:09 #91 [Verbose] >

00:00:09 #92 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:09 #93 [Verbose] > inl run forall input expected.

00:00:09 #94 [Verbose] >     count

00:00:09 #95 [Verbose] >     (solutions : list (string * (input -> expected)))

00:00:09 #96 [Verbose] >     ((input, expected) : (input * expected))

00:00:09 #97 [Verbose] >     : test_case_result

00:00:09 #98 [Verbose] >     =

00:00:09 #99 [Verbose] >     inl input_str = input |> sm'.format_debug

00:00:09 #100 [Verbose] >

00:00:09 #101 [Verbose] >     printfn ""

00:00:09 #102 [Verbose] >     printfn ($"$\"Solution: {!input_str}  \"" : string)

00:00:09 #103 [Verbose] >

00:00:09 #104 [Verbose] >     inl performance_invoke (fn : () -> expected) =

00:00:09 #105 [Verbose] >         gc_collect ()

00:00:09 #106 [Verbose] >         inl stopwatch = stopwatch ()

00:00:09 #107 [Verbose] >         stopwatch |> stopwatch_start

00:00:09 #108 [Verbose] >         inl time1 = stopwatch |> stopwatch_elapsed_milliseconds

00:00:09 #109 [Verbose] >         inl result : expected =

00:00:09 #110 [Verbose] >             am'.init_series 0 count 1i32

00:00:09 #111 [Verbose] >             |> am'.parallel_map fun _n => fn ()

00:00:09 #112 [Verbose] >             |> am'.last

00:00:09 #113 [Verbose] >         inl time2 = (stopwatch |> stopwatch_elapsed_milliseconds) - time1

00:00:09 #114 [Verbose] >         result, time2

00:00:09 #115 [Verbose] >

00:00:09 #116 [Verbose] >     inl results_with_time : a u64 _ =

00:00:09 #117 [Verbose] >         solutions

00:00:09 #118 [Verbose] >         |> listm'.indexed

00:00:09 #119 [Verbose] >         |> listm.toArray

00:00:09 #120 [Verbose] >         |> am.map fun ((i : i32), (test_name, solution)) =>

00:00:09 #121 [Verbose] >             inl result, time = performance_invoke fun () => solution input

00:00:09 #122 [Verbose] >             printfn ($"$\"Test case {!i + 1}. {!test_name}. Time: {!time}  \"" :

00:00:09 #123 [Verbose] > string)

00:00:09 #124 [Verbose] >             result, time

00:00:09 #125 [Verbose] >

00:00:09 #126 [Verbose] >     match results_with_time |> am.map fst with

00:00:09 #127 [Verbose] >     | array when length array <= 1 => ()

00:00:09 #128 [Verbose] >     | array when array |> am.forall' ((=) (index array 0)) => ()

00:00:09 #129 [Verbose] >     | results => failwith ($"$\"Challenge error: {!results}\"" : string)

00:00:09 #130 [Verbose] >

00:00:09 #131 [Verbose] >     {

00:00:09 #132 [Verbose] >         Input = input_str

00:00:09 #133 [Verbose] >         Expected = expected |> sm'.format_debug

00:00:09 #134 [Verbose] >         Result = results_with_time |> am.map fst |> fun array => index array 0

00:00:09 #135 [Verbose] > |> sm'.format_debug

00:00:09 #136 [Verbose] >         TimeList = results_with_time |> am.map snd

00:00:09 #137 [Verbose] >     }

00:00:09 #138 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0902-0136-3622-37ef97110c53\main.spi

00:00:09 #139 [Verbose] >

00:00:09 #140 [Verbose] > ╭─[ 240.37ms - stdout ]────────────────────────────────────────────────────────╮

00:00:09 #141 [Verbose] > │ ()                                                                           │

00:00:09 #142 [Verbose] > │                                                                              │

00:00:09 #143 [Verbose] > │                                                                              │

00:00:09 #144 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:09 #145 [Verbose] >

00:00:09 #146 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────

00:00:09 #147 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮

00:00:09 #148 [Verbose] > │ ## run_all                                                                   │

00:00:09 #149 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:09 #150 [Verbose] >

00:00:09 #151 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:09 #152 [Verbose] > inl run_all forall input expected.

00:00:09 #153 [Verbose] >     test_name

00:00:09 #154 [Verbose] >     count

00:00:09 #155 [Verbose] >     (solutions : list (string * (input -> expected)))

00:00:09 #156 [Verbose] >     test_cases

00:00:09 #157 [Verbose] >     =

00:00:09 #158 [Verbose] >     printfn ""

00:00:09 #159 [Verbose] >     printfn ""

00:00:09 #160 [Verbose] >     printfn ($"$\"Test: {!test_name}\"" : string)

00:00:09 #161 [Verbose] >     test_cases

00:00:09 #162 [Verbose] >     |> listm.toArray

00:00:09 #163 [Verbose] >     |> am.map (run count solutions)

00:00:09 #164 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0902-0160-6076-6955e76bc8fa\main.spi

00:00:09 #165 [Verbose] >

00:00:09 #166 [Verbose] > ╭─[ 158.18ms - stdout ]────────────────────────────────────────────────────────╮

00:00:09 #167 [Verbose] > │ ()                                                                           │

00:00:09 #168 [Verbose] > │                                                                              │

00:00:09 #169 [Verbose] > │                                                                              │

00:00:09 #170 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:09 #171 [Verbose] >

00:00:09 #172 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────

00:00:09 #173 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮

00:00:09 #174 [Verbose] > │ ## sort_result_list                                                          │

00:00:09 #175 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:09 #176 [Verbose] >

00:00:09 #177 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:09 #178 [Verbose] > inl sort_result_list results =

00:00:09 #179 [Verbose] >     inl table =

00:00:09 #180 [Verbose] >         inl rows =

00:00:09 #181 [Verbose] >             results

00:00:09 #182 [Verbose] >             |> am.map fun (result : test_case_result) =>

00:00:09 #183 [Verbose] >                 inl best =

00:00:09 #184 [Verbose] >                     result.TimeList

00:00:09 #185 [Verbose] >                     |> am'.indexed

00:00:09 #186 [Verbose] >                     |> am.map fun (i, time) =>

00:00:09 #187 [Verbose] >                         i + 1i64, time

00:00:09 #188 [Verbose] >                     |> am'.sort_by snd

00:00:09 #189 [Verbose] >                     |> fun array => index array 0i32

00:00:09 #190 [Verbose] >                     |> sm'.format_debug

00:00:09 #191 [Verbose] >                 inl row =

00:00:09 #192 [Verbose] >                     [[

00:00:09 #193 [Verbose] >                         result.Input

00:00:09 #194 [Verbose] >                         result.Expected

00:00:09 #195 [Verbose] >                         result.Result

00:00:09 #196 [Verbose] >                         best

00:00:09 #197 [Verbose] >                     ]]

00:00:09 #198 [Verbose] >                 inl color : option console.console_color =

00:00:09 #199 [Verbose] >                     open console

00:00:09 #200 [Verbose] >                     match result.Expected = result.Result with

00:00:09 #201 [Verbose] >                     | true => Some $"`console_color.DarkGreen"

00:00:09 #202 [Verbose] >                     | false => Some $"`console_color.DarkRed"

00:00:09 #203 [Verbose] >                 row, color

00:00:09 #204 [Verbose] >

00:00:09 #205 [Verbose] >         inl header =

00:00:09 #206 [Verbose] >             [[

00:00:09 #207 [Verbose] >                 [[

00:00:09 #208 [Verbose] >                     "Input"

00:00:09 #209 [Verbose] >                     "Expected"

00:00:09 #210 [Verbose] >                     "Result"

00:00:09 #211 [Verbose] >                     "Best"

00:00:09 #212 [Verbose] >                 ]]

00:00:09 #213 [Verbose] >                 [[

00:00:09 #214 [Verbose] >                     "---"

00:00:09 #215 [Verbose] >                     "---"

00:00:09 #216 [Verbose] >                     "---"

00:00:09 #217 [Verbose] >                     "---"

00:00:09 #218 [Verbose] >                 ]]

00:00:09 #219 [Verbose] >             ]]

00:00:09 #220 [Verbose] >             |> listm.map fun row => row, None

00:00:09 #221 [Verbose] >             |> listm.toArray

00:00:09 #222 [Verbose] >         rows |> am.append header

00:00:09 #223 [Verbose] >

00:00:09 #224 [Verbose] >     inl formattedTable =

00:00:09 #225 [Verbose] >         inl lengthMap : mapm.map i32 i64 =

00:00:09 #226 [Verbose] >             table

00:00:09 #227 [Verbose] >             |> am.map (fst >> listm.toArray)

00:00:09 #228 [Verbose] >             |> am'.transpose

00:00:09 #229 [Verbose] >             |> am.map fun column =>

00:00:09 #230 [Verbose] >                 column

00:00:09 #231 [Verbose] >                 |> am.map sm.length

00:00:09 #232 [Verbose] >                 |> am'.sort_descending

00:00:09 #233 [Verbose] >                 |> am'.try_item 0i32

00:00:09 #234 [Verbose] >                 |> optionm'.default_value 0i64

00:00:09 #235 [Verbose] >             |> am'.indexed

00:00:09 #236 [Verbose] >             |> fun (x : a i32 _) => x

00:00:09 #237 [Verbose] >             |> mapm.of_array

00:00:09 #238 [Verbose] >         table

00:00:09 #239 [Verbose] >         |> am.map fun (row, color) =>

00:00:09 #240 [Verbose] >             inl newRow =

00:00:09 #241 [Verbose] >                 row

00:00:09 #242 [Verbose] >                 |> listm'.indexed

00:00:09 #243 [Verbose] >                 |> listm.map fun (i, cell) =>

00:00:09 #244 [Verbose] >                     cell |> sm'.pad_right (lengthMap |> mapm.item i |> conv)

00:00:09 #245 [Verbose] >                 |> listm.toArray

00:00:09 #246 [Verbose] >             newRow, color

00:00:09 #247 [Verbose] >

00:00:09 #248 [Verbose] >     printfn ""

00:00:09 #249 [Verbose] >     formattedTable

00:00:09 #250 [Verbose] >     |> am.iter fun ((row : a i32 string), color) =>

00:00:09 #251 [Verbose] >         match color with

00:00:09 #252 [Verbose] >         | Some color => color |> console.set_foreground_color

00:00:09 #253 [Verbose] >         | None => console.reset_color ()

00:00:09 #254 [Verbose] >

00:00:09 #255 [Verbose] >         printfn (row |> sm'.join' "\t| ")

00:00:09 #256 [Verbose] >

00:00:09 #257 [Verbose] >         console.reset_color ()

00:00:09 #258 [Verbose] >

00:00:09 #259 [Verbose] >     inl averages : a u64 _ =

00:00:09 #260 [Verbose] >         results

00:00:09 #261 [Verbose] >         |> am.map fun result =>

00:00:09 #262 [Verbose] >             result.TimeList

00:00:09 #263 [Verbose] >             |> am.map ($"float" : i64 -> f64)

00:00:09 #264 [Verbose] >         |> am'.transpose

00:00:09 #265 [Verbose] >         |> am.map am'.average

00:00:09 #266 [Verbose] >         |> am.map ($"int64" : f64 -> i64)

00:00:09 #267 [Verbose] >         |> am'.indexed

00:00:09 #268 [Verbose] >

00:00:09 #269 [Verbose] >     printfn ""

00:00:09 #270 [Verbose] >     printfn "Average Ranking  "

00:00:09 #271 [Verbose] >     averages

00:00:09 #272 [Verbose] >     |> am'.sort_by snd

00:00:09 #273 [Verbose] >     |> am.iter fun ((i : i32), avg) =>

00:00:09 #274 [Verbose] >         printfn ($"$\"Test case %d{!i + 1}. Average Time: %A{!avg}  \"" :

00:00:09 #275 [Verbose] > string)

00:00:09 #276 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0902-0177-7714-75e0ef7129a4\main.spi

00:00:09 #277 [Verbose] >

00:00:09 #278 [Verbose] > ╭─[ 184.01ms - stdout ]────────────────────────────────────────────────────────╮

00:00:09 #279 [Verbose] > │ ()                                                                           │

00:00:09 #280 [Verbose] > │                                                                              │

00:00:09 #281 [Verbose] > │                                                                              │

00:00:09 #282 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:09 #283 [Verbose] >

00:00:09 #284 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:09 #285 [Verbose] > // // test

00:00:09 #286 [Verbose] >

00:00:09 #287 [Verbose] > inl is_fast () =

00:00:09 #288 [Verbose] >     false

00:00:09 #289 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0902-0195-9559-9973c496dbed\main.spi

00:00:09 #290 [Verbose] >

00:00:09 #291 [Verbose] > ╭─[ 201.61ms - stdout ]────────────────────────────────────────────────────────╮

00:00:09 #292 [Verbose] > │ ()                                                                           │

00:00:09 #293 [Verbose] > │                                                                              │

00:00:09 #294 [Verbose] > │                                                                              │

00:00:09 #295 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:09 #296 [Verbose] >

00:00:09 #297 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────

00:00:09 #298 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮

00:00:09 #299 [Verbose] > │ ## empty2Tests                                                               │

00:00:09 #300 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:09 #301 [Verbose] >

00:00:09 #302 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────

00:00:09 #303 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮

00:00:09 #304 [Verbose] > │ Test: Empty2                                                                 │

00:00:09 #305 [Verbose] > │                                                                              │

00:00:10 #306 [Verbose] > │ Solution: (a, a)                                                             │

00:00:10 #307 [Verbose] > │ Test case 1. A. Time: 59L                                                    │

00:00:10 #308 [Verbose] > │                                                                              │

00:00:10 #309 [Verbose] > │ Solution: (a, a)                                                             │

00:00:10 #310 [Verbose] > │ Test case 1. A. Time: 53L                                                    │

00:00:10 #311 [Verbose] > │                                                                              │

00:00:10 #312 [Verbose] > │ Input   | Expected        | Result  | Best                                   │

00:00:10 #313 [Verbose] > │ ---     | ---             | ---     | ---                                    │

00:00:10 #314 [Verbose] > │ (a, a)  | a               | a       | (1, 59)                                │

00:00:10 #315 [Verbose] > │ (a, a)  | a               | a       | (1, 53)                                │

00:00:10 #316 [Verbose] > │                                                                              │

00:00:10 #317 [Verbose] > │ Averages                                                                     │

00:00:10 #318 [Verbose] > │ Test case 1. Average Time: 56L                                               │

00:00:10 #319 [Verbose] > │                                                                              │

00:00:10 #320 [Verbose] > │ Ranking                                                                      │

00:00:10 #321 [Verbose] > │ Test case 1. Average Time: 56L                                               │

00:00:10 #322 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:10 #323 [Verbose] >

00:00:10 #324 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:10 #325 [Verbose] > // // test

00:00:10 #326 [Verbose] >

00:00:10 #327 [Verbose] > inl get_solutions () =

00:00:10 #328 [Verbose] >     [[

00:00:10 #329 [Verbose] >         "A",

00:00:10 #330 [Verbose] >         fun (a, _b) =>

00:00:10 #331 [Verbose] >             a

00:00:10 #332 [Verbose] >

00:00:10 #333 [Verbose] >         "B",

00:00:10 #334 [Verbose] >         fun (_a, b) =>

00:00:10 #335 [Verbose] >             b

00:00:10 #336 [Verbose] >     ]]

00:00:10 #337 [Verbose] >

00:00:10 #338 [Verbose] > inl rec empty_2_tests () =

00:00:10 #339 [Verbose] >     inl test_cases = [[

00:00:10 #340 [Verbose] >         ("a", "a"), "a"

00:00:10 #341 [Verbose] >         ("b", "b"), "b"

00:00:10 #342 [Verbose] >     ]]

00:00:10 #343 [Verbose] >

00:00:10 #344 [Verbose] >     inl solutions = get_solutions ()

00:00:10 #345 [Verbose] >

00:00:10 #346 [Verbose] >     // inl is_fast () = true

00:00:10 #347 [Verbose] >

00:00:10 #348 [Verbose] >     inl count =

00:00:10 #349 [Verbose] >         if is_fast ()

00:00:10 #350 [Verbose] >         then 1000i32

00:00:10 #351 [Verbose] >         else 2000000i32

00:00:10 #352 [Verbose] >

00:00:10 #353 [Verbose] >     run_all (nameof empty_2_tests) count solutions test_cases

00:00:10 #354 [Verbose] >     |> sort_result_list

00:00:10 #355 [Verbose] >

00:00:10 #356 [Verbose] > empty_2_tests ()

00:00:10 #357 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0902-0217-1779-1723769962d1\main.spi

00:00:19 #358 [Verbose] >

00:00:20 #359 [Verbose] > ╭─[ 9.89s - stdout ]───────────────────────────────────────────────────────────╮

00:00:20 #360 [Verbose] > │ type UH0 =                                                                   │

00:00:20 #361 [Verbose] > │     | UH0_0 of string * string * string * UH0                                │

00:00:20 #362 [Verbose] > │     | UH0_1                                                                  │

00:00:20 #363 [Verbose] > │ and Mut0 = {mutable l0 : uint64}                                             │

00:00:20 #364 [Verbose] > │ and UH1 =                                                                    │

00:00:20 #365 [Verbose] > │     | UH1_0 of int32 * string * (struct (string * string) -> string) * UH1   │

00:00:20 #366 [Verbose] > │     | UH1_1                                                                  │

00:00:20 #367 [Verbose] > │ and Mut1 = {mutable l0 : int32}                                              │

00:00:20 #368 [Verbose] > │ and UH2 =                                                                    │

00:00:20 #369 [Verbose] > │     | UH2_0 of string * UH2                                                  │

00:00:20 #370 [Verbose] > │     | UH2_1                                                                  │

00:00:20 #371 [Verbose] > │ and [<Struct>] US0 =                                                         │

00:00:20 #372 [Verbose] > │     | US0_0                                                                  │

00:00:20 #373 [Verbose] > │     | US0_1 of f1_0 : System.ConsoleColor                                    │

00:00:20 #374 [Verbose] > │ and UH3 =                                                                    │

00:00:20 #375 [Verbose] > │     | UH3_0 of int64 * int64 * UH3                                           │

00:00:20 #376 [Verbose] > │     | UH3_1                                                                  │

00:00:20 #377 [Verbose] > │ and Mut2 = {mutable l0 : uint64; mutable l1 : UH3; mutable l2 : int64}       │

00:00:20 #378 [Verbose] > │ and UH4 =                                                                    │

00:00:20 #379 [Verbose] > │     | UH4_0 of UH2 * US0 * UH4                                               │

00:00:20 #380 [Verbose] > │     | UH4_1                                                                  │

00:00:20 #381 [Verbose] > │ and [<Struct>] US1 =                                                         │

00:00:20 #382 [Verbose] > │     | US1_0                                                                  │

00:00:20 #383 [Verbose] > │     | US1_1 of f1_0 : int64                                                  │

00:00:20 #384 [Verbose] > │ and UH5 =                                                                    │

00:00:20 #385 [Verbose] > │     | UH5_0 of int32 * int64 * UH5                                           │

00:00:20 #386 [Verbose] > │     | UH5_1                                                                  │

00:00:20 #387 [Verbose] > │ and Mut3 = {mutable l0 : uint64; mutable l1 : UH5; mutable l2 : int32}       │

00:00:20 #388 [Verbose] > │ and UH6 =                                                                    │

00:00:20 #389 [Verbose] > │     | UH6_0 of int32 * string * UH6                                          │

00:00:20 #390 [Verbose] > │     | UH6_1                                                                  │

00:00:20 #391 [Verbose] > │ let rec method2 (v0 : UH0, v1 : uint64) : uint64 =                           │

00:00:20 #392 [Verbose] > │     match v0 with                                                            │

00:00:20 #393 [Verbose] > │     | UH0_0(v2, v3, v4, v5) -> (* Cons *)                                    │

00:00:20 #394 [Verbose] > │         let v6 : uint64 = v1 + 1UL                                           │

00:00:20 #395 [Verbose] > │         method2(v5, v6)                                                      │

00:00:20 #396 [Verbose] > │     | UH0_1 -> (* Nil *)                                                     │

00:00:20 #397 [Verbose] > │         v1                                                                   │

00:00:20 #398 [Verbose] > │ and method3 (v0 : (struct (string * string * string) []), v1 : UH0, v2 :     │

00:00:20 #399 [Verbose] > │ uint64) : uint64 =                                                           │

00:00:20 #400 [Verbose] > │     match v1 with                                                            │

00:00:20 #401 [Verbose] > │     | UH0_0(v3, v4, v5, v6) -> (* Cons *)                                    │

00:00:20 #402 [Verbose] > │         v0.[int v2] <- struct (v3, v4, v5)                                   │

00:00:20 #403 [Verbose] > │         let v7 : uint64 = v2 + 1UL                                           │

00:00:20 #404 [Verbose] > │         method3(v0, v6, v7)                                                  │

00:00:20 #405 [Verbose] > │     | UH0_1 -> (* Nil *)                                                     │

00:00:20 #406 [Verbose] > │         v2                                                                   │

00:00:20 #407 [Verbose] > │ and method1 (v0 : UH0) : (struct (string * string * string) []) =            │

00:00:20 #408 [Verbose] > │     let v1 : uint64 = 0UL                                                    │

00:00:20 #409 [Verbose] > │     let v2 : uint64 = method2(v0, v1)                                        │

00:00:20 #410 [Verbose] > │     let v3 : (struct (string * string * string) []) =                        │

00:00:20 #411 [Verbose] > │ Array.zeroCreate<struct (string * string * string)>                          │

00:00:20 #412 [Verbose] > │ (System.Convert.ToInt32(v2))                                                 │

00:00:20 #413 [Verbose] > │     let v4 : uint64 = 0UL                                                    │

00:00:20 #414 [Verbose] > │     let v5 : uint64 = method3(v3, v0, v4)                                    │

00:00:20 #415 [Verbose] > │     v3                                                                       │

00:00:20 #416 [Verbose] > │ and method4 (v0 : uint64, v1 : Mut0) : bool =                                │

00:00:20 #417 [Verbose] > │     let v2 : uint64 = v1.l0                                                  │

00:00:20 #418 [Verbose] > │     let v3 : bool = v2 < v0                                                  │

00:00:20 #419 [Verbose] > │     v3                                                                       │

00:00:20 #420 [Verbose] > │ and closure1 () struct (v0 : string, v1 : string) : string =                 │

00:00:20 #421 [Verbose] > │     v0                                                                       │

00:00:20 #422 [Verbose] > │ and closure2 () struct (v0 : string, v1 : string) : string =                 │

00:00:20 #423 [Verbose] > │     v1                                                                       │

00:00:20 #424 [Verbose] > │ and method6 (v0 : UH1, v1 : uint64) : uint64 =                               │

00:00:20 #425 [Verbose] > │     match v0 with                                                            │

00:00:20 #426 [Verbose] > │     | UH1_0(v2, v3, v4, v5) -> (* Cons *)                                    │

00:00:20 #427 [Verbose] > │         let v6 : uint64 = v1 + 1UL                                           │

00:00:20 #428 [Verbose] > │         method6(v5, v6)                                                      │

00:00:20 #429 [Verbose] > │     | UH1_1 -> (* Nil *)                                                     │

00:00:20 #430 [Verbose] > │         v1                                                                   │

00:00:20 #431 [Verbose] > │ and method7 (v0 : (struct (int32 * string * (struct (string * string) ->     │

00:00:20 #432 [Verbose] > │ string)) []), v1 : UH1, v2 : uint64) : uint64 =                              │

00:00:20 #433 [Verbose] > │     match v1 with                                                            │

00:00:20 #434 [Verbose] > │     | UH1_0(v3, v4, v5, v6) -> (* Cons *)                                    │

00:00:20 #435 [Verbose] > │         v0.[int v2] <- struct (v3, v4, v5)                                   │

00:00:20 #436 [Verbose] > │         let v7 : uint64 = v2 + 1UL                                           │

00:00:20 #437 [Verbose] > │         method7(v0, v6, v7)                                                  │

00:00:20 #438 [Verbose] > │     | UH1_1 -> (* Nil *)                                                     │

00:00:20 #439 [Verbose] > │         v2                                                                   │

00:00:20 #440 [Verbose] > │ and method5 (v0 : UH1) : (struct (int32 * string * (struct (string * string) │

00:00:20 #441 [Verbose] > │ -> string)) []) =                                                            │

00:00:20 #442 [Verbose] > │     let v1 : uint64 = 0UL                                                    │

00:00:20 #443 [Verbose] > │     let v2 : uint64 = method6(v0, v1)                                        │

00:00:20 #444 [Verbose] > │     let v3 : (struct (int32 * string * (struct (string * string) -> string)) │

00:00:20 #445 [Verbose] > │ []) = Array.zeroCreate<struct (int32 * string * (struct (string * string) -> │

00:00:20 #446 [Verbose] > │ string))> (System.Convert.ToInt32(v2))                                       │

00:00:20 #447 [Verbose] > │     let v4 : uint64 = 0UL                                                    │

00:00:20 #448 [Verbose] > │     let v5 : uint64 = method7(v3, v0, v4)                                    │

00:00:20 #449 [Verbose] > │     v3                                                                       │

00:00:20 #450 [Verbose] > │ and method8 (v0 : Mut1) : bool =                                             │

00:00:20 #451 [Verbose] > │     let v1 : int32 = v0.l0                                                   │

00:00:20 #452 [Verbose] > │     let v2 : bool = v1 < 2000001                                             │

00:00:20 #453 [Verbose] > │     v2                                                                       │

00:00:20 #454 [Verbose] > │ and closure3 (v0 : string, v1 : string, v2 : (struct (string * string) ->    │

00:00:20 #455 [Verbose] > │ string)) (v3 : int32) : string =                                             │

00:00:20 #456 [Verbose] > │     v2 struct (v0, v1)                                                       │

00:00:20 #457 [Verbose] > │ and method9 (v0 : string, v1 : (string []), v2 : uint64) : bool =            │

00:00:20 #458 [Verbose] > │     let v3 : uint64 = System.Convert.ToUInt64 v1.Length                      │

00:00:20 #459 [Verbose] > │     let v4 : bool = v2 < v3                                                  │

00:00:20 #460 [Verbose] > │     if v4 then                                                               │

00:00:20 #461 [Verbose] > │         let v5 : string = v1.[int v2]                                        │

00:00:20 #462 [Verbose] > │         let v6 : bool = v0 = v5                                              │

00:00:20 #463 [Verbose] > │         if v6 then                                                           │

00:00:20 #464 [Verbose] > │             let v7 : uint64 = v2 + 1UL                                       │

00:00:20 #465 [Verbose] > │             method9(v0, v1, v7)                                              │

00:00:20 #466 [Verbose] > │         else                                                                 │

00:00:20 #467 [Verbose] > │             false                                                            │

00:00:20 #468 [Verbose] > │     else                                                                     │

00:00:20 #469 [Verbose] > │         true                                                                 │

00:00:20 #470 [Verbose] > │ and method10 (v0 : uint64, v1 : Mut2) : bool =                               │

00:00:20 #471 [Verbose] > │     let v2 : uint64 = v1.l0                                                  │

00:00:20 #472 [Verbose] > │     let v3 : bool = v2 < v0                                                  │

00:00:20 #473 [Verbose] > │     v3                                                                       │

00:00:20 #474 [Verbose] > │ and method11 (v0 : UH3, v1 : UH3) : UH3 =                                    │

00:00:20 #475 [Verbose] > │     match v0 with                                                            │

00:00:20 #476 [Verbose] > │     | UH3_0(v2, v3, v4) -> (* Cons *)                                        │

00:00:20 #477 [Verbose] > │         let v5 : UH3 = UH3_0(v2, v3, v1)                                     │

00:00:20 #478 [Verbose] > │         method11(v4, v5)                                                     │

00:00:20 #479 [Verbose] > │     | UH3_1 -> (* Nil *)                                                     │

00:00:20 #480 [Verbose] > │         v1                                                                   │

00:00:20 #481 [Verbose] > │ and method13 (v0 : UH3, v1 : int32) : int32 =                                │

00:00:20 #482 [Verbose] > │     match v0 with                                                            │

00:00:20 #483 [Verbose] > │     | UH3_0(v2, v3, v4) -> (* Cons *)                                        │

00:00:20 #484 [Verbose] > │         let v5 : int32 = v1 + 1                                              │

00:00:20 #485 [Verbose] > │         method13(v4, v5)                                                     │

00:00:20 #486 [Verbose] > │     | UH3_1 -> (* Nil *)                                                     │

00:00:20 #487 [Verbose] > │         v1                                                                   │

00:00:20 #488 [Verbose] > │ and method14 (v0 : (struct (int64 * int64) []), v1 : UH3, v2 : int32) :      │

00:00:20 #489 [Verbose] > │ int32 =                                                                      │

00:00:20 #490 [Verbose] > │     match v1 with                                                            │

00:00:20 #491 [Verbose] > │     | UH3_0(v3, v4, v5) -> (* Cons *)                                        │

00:00:20 #492 [Verbose] > │         v0.[int v2] <- struct (v3, v4)                                       │

00:00:20 #493 [Verbose] > │         let v6 : int32 = v2 + 1                                              │

00:00:20 #494 [Verbose] > │         method14(v0, v5, v6)                                                 │

00:00:20 #495 [Verbose] > │     | UH3_1 -> (* Nil *)                                                     │

00:00:20 #496 [Verbose] > │         v2                                                                   │

00:00:20 #497 [Verbose] > │ and method12 (v0 : UH3) : (struct (int64 * int64) []) =                      │

00:00:20 #498 [Verbose] > │     let v1 : int32 = 0                                                       │

00:00:20 #499 [Verbose] > │     let v2 : int32 = method13(v0, v1)                                        │

00:00:20 #500 [Verbose] > │     let v3 : (struct (int64 * int64) []) = Array.zeroCreate<struct (int64 *  │

00:00:20 #501 [Verbose] > │ int64)> (v2)                                                                 │

00:00:20 #502 [Verbose] > │     let v4 : int32 = 0                                                       │

00:00:20 #503 [Verbose] > │     let v5 : int32 = method14(v3, v0, v4)                                    │

00:00:20 #504 [Verbose] > │     v3                                                                       │

00:00:20 #505 [Verbose] > │ and method15 (v0 : int32, v1 : Mut1) : bool =                                │

00:00:20 #506 [Verbose] > │     let v2 : int32 = v1.l0                                                   │

00:00:20 #507 [Verbose] > │     let v3 : bool = v2 < v0                                                  │

00:00:20 #508 [Verbose] > │     v3                                                                       │

00:00:20 #509 [Verbose] > │ and closure4 () struct (v0 : int64, v1 : int64) : int64 =                    │

00:00:20 #510 [Verbose] > │     v1                                                                       │

00:00:20 #511 [Verbose] > │ and method17 (v0 : UH4, v1 : uint64) : uint64 =                              │

00:00:20 #512 [Verbose] > │     match v0 with                                                            │

00:00:20 #513 [Verbose] > │     | UH4_0(v2, v3, v4) -> (* Cons *)                                        │

00:00:20 #514 [Verbose] > │         let v5 : uint64 = v1 + 1UL                                           │

00:00:20 #515 [Verbose] > │         method17(v4, v5)                                                     │

00:00:20 #516 [Verbose] > │     | UH4_1 -> (* Nil *)                                                     │

00:00:20 #517 [Verbose] > │         v1                                                                   │

00:00:20 #518 [Verbose] > │ and method18 (v0 : (struct (UH2 * US0) []), v1 : UH4, v2 : uint64) : uint64  │

00:00:20 #519 [Verbose] > │ =                                                                            │

00:00:20 #520 [Verbose] > │     match v1 with                                                            │

00:00:20 #521 [Verbose] > │     | UH4_0(v3, v4, v5) -> (* Cons *)                                        │

00:00:20 #522 [Verbose] > │         v0.[int v2] <- struct (v3, v4)                                       │

00:00:20 #523 [Verbose] > │         let v6 : uint64 = v2 + 1UL                                           │

00:00:20 #524 [Verbose] > │         method18(v0, v5, v6)                                                 │

00:00:20 #525 [Verbose] > │     | UH4_1 -> (* Nil *)                                                     │

00:00:20 #526 [Verbose] > │         v2                                                                   │

00:00:20 #527 [Verbose] > │ and method16 (v0 : UH4) : (struct (UH2 * US0) []) =                          │

00:00:20 #528 [Verbose] > │     let v1 : uint64 = 0UL                                                    │

00:00:20 #529 [Verbose] > │     let v2 : uint64 = method17(v0, v1)                                       │

00:00:20 #530 [Verbose] > │     let v3 : (struct (UH2 * US0) []) = Array.zeroCreate<struct (UH2 * US0)>  │

00:00:20 #531 [Verbose] > │ (System.Convert.ToInt32(v2))                                                 │

00:00:20 #532 [Verbose] > │     let v4 : uint64 = 0UL                                                    │

00:00:20 #533 [Verbose] > │     let v5 : uint64 = method18(v3, v0, v4)                                   │

00:00:20 #534 [Verbose] > │     v3                                                                       │

00:00:20 #535 [Verbose] > │ and method20 (v0 : UH2, v1 : uint64) : uint64 =                              │

00:00:20 #536 [Verbose] > │     match v0 with                                                            │

00:00:20 #537 [Verbose] > │     | UH2_0(v2, v3) -> (* Cons *)                                            │

00:00:20 #538 [Verbose] > │         let v4 : uint64 = v1 + 1UL                                           │

00:00:20 #539 [Verbose] > │         method20(v3, v4)                                                     │

00:00:20 #540 [Verbose] > │     | UH2_1 -> (* Nil *)                                                     │

00:00:20 #541 [Verbose] > │         v1                                                                   │

00:00:20 #542 [Verbose] > │ and method21 (v0 : (string []), v1 : UH2, v2 : uint64) : uint64 =            │

00:00:20 #543 [Verbose] > │     match v1 with                                                            │

00:00:20 #544 [Verbose] > │     | UH2_0(v3, v4) -> (* Cons *)                                            │

00:00:20 #545 [Verbose] > │         v0.[int v2] <- v3                                                    │

00:00:20 #546 [Verbose] > │         let v5 : uint64 = v2 + 1UL                                           │

00:00:20 #547 [Verbose] > │         method21(v0, v4, v5)                                                 │

00:00:20 #548 [Verbose] > │     | UH2_1 -> (* Nil *)                                                     │

00:00:20 #549 [Verbose] > │         v2                                                                   │

00:00:20 #550 [Verbose] > │ and method19 (v0 : UH2) : (string []) =                                      │

00:00:20 #551 [Verbose] > │     let v1 : uint64 = 0UL                                                    │

00:00:20 #552 [Verbose] > │     let v2 : uint64 = method20(v0, v1)                                       │

00:00:20 #553 [Verbose] > │     let v3 : (string []) = Array.zeroCreate<string>                          │

00:00:20 #554 [Verbose] > │ (System.Convert.ToInt32(v2))                                                 │

00:00:20 #555 [Verbose] > │     let v4 : uint64 = 0UL                                                    │

00:00:20 #556 [Verbose] > │     let v5 : uint64 = method21(v3, v0, v4)                                   │

00:00:20 #557 [Verbose] > │     v3                                                                       │

00:00:20 #558 [Verbose] > │ and closure5 () (v0 : int64) : US1 =                                         │

00:00:20 #559 [Verbose] > │     US1_1(v0)                                                                │

00:00:20 #560 [Verbose] > │ and method22 (v0 : uint64, v1 : Mut3) : bool =                               │

00:00:20 #561 [Verbose] > │     let v2 : uint64 = v1.l0                                                  │

00:00:20 #562 [Verbose] > │     let v3 : bool = v2 < v0                                                  │

00:00:20 #563 [Verbose] > │     v3                                                                       │

00:00:20 #564 [Verbose] > │ and method23 (v0 : UH5, v1 : UH5) : UH5 =                                    │

00:00:20 #565 [Verbose] > │     match v0 with                                                            │

00:00:20 #566 [Verbose] > │     | UH5_0(v2, v3, v4) -> (* Cons *)                                        │

00:00:20 #567 [Verbose] > │         let v5 : UH5 = UH5_0(v2, v3, v1)                                     │

00:00:20 #568 [Verbose] > │         method23(v4, v5)                                                     │

00:00:20 #569 [Verbose] > │     | UH5_1 -> (* Nil *)                                                     │

00:00:20 #570 [Verbose] > │         v1                                                                   │

00:00:20 #571 [Verbose] > │ and method25 (v0 : UH5, v1 : int32) : int32 =                                │

00:00:20 #572 [Verbose] > │     match v0 with                                                            │

00:00:20 #573 [Verbose] > │     | UH5_0(v2, v3, v4) -> (* Cons *)                                        │

00:00:20 #574 [Verbose] > │         let v5 : int32 = v1 + 1                                              │

00:00:20 #575 [Verbose] > │         method25(v4, v5)                                                     │

00:00:20 #576 [Verbose] > │     | UH5_1 -> (* Nil *)                                                     │

00:00:20 #577 [Verbose] > │         v1                                                                   │

00:00:20 #578 [Verbose] > │ and method26 (v0 : (struct (int32 * int64) []), v1 : UH5, v2 : int32) :      │

00:00:20 #579 [Verbose] > │ int32 =                                                                      │

00:00:20 #580 [Verbose] > │     match v1 with                                                            │

00:00:20 #581 [Verbose] > │     | UH5_0(v3, v4, v5) -> (* Cons *)                                        │

00:00:20 #582 [Verbose] > │         v0.[int v2] <- struct (v3, v4)                                       │

00:00:20 #583 [Verbose] > │         let v6 : int32 = v2 + 1                                              │

00:00:20 #584 [Verbose] > │         method26(v0, v5, v6)                                                 │

00:00:20 #585 [Verbose] > │     | UH5_1 -> (* Nil *)                                                     │

00:00:20 #586 [Verbose] > │         v2                                                                   │

00:00:20 #587 [Verbose] > │ and method24 (v0 : UH5) : (struct (int32 * int64) []) =                      │

00:00:20 #588 [Verbose] > │     let v1 : int32 = 0                                                       │

00:00:20 #589 [Verbose] > │     let v2 : int32 = method25(v0, v1)                                        │

00:00:20 #590 [Verbose] > │     let v3 : (struct (int32 * int64) []) = Array.zeroCreate<struct (int32 *  │

00:00:20 #591 [Verbose] > │ int64)> (v2)                                                                 │

00:00:20 #592 [Verbose] > │     let v4 : int32 = 0                                                       │

00:00:20 #593 [Verbose] > │     let v5 : int32 = method26(v3, v0, v4)                                    │

00:00:20 #594 [Verbose] > │     v3                                                                       │

00:00:20 #595 [Verbose] > │ and method27 (v0 : UH2, v1 : UH6, v2 : int32) : struct (UH6 * int32) =       │

00:00:20 #596 [Verbose] > │     match v0 with                                                            │

00:00:20 #597 [Verbose] > │     | UH2_0(v3, v4) -> (* Cons *)                                            │

00:00:20 #598 [Verbose] > │         let v5 : int32 = v2 + 1                                              │

00:00:20 #599 [Verbose] > │         let v6 : UH6 = UH6_0(v2, v3, v1)                                     │

00:00:20 #600 [Verbose] > │         method27(v4, v6, v5)                                                 │

00:00:20 #601 [Verbose] > │     | UH2_1 -> (* Nil *)                                                     │

00:00:20 #602 [Verbose] > │         struct (v1, v2)                                                      │

00:00:20 #603 [Verbose] > │ and method28 (v0 : UH6, v1 : UH6) : UH6 =                                    │

00:00:20 #604 [Verbose] > │     match v0 with                                                            │

00:00:20 #605 [Verbose] > │     | UH6_0(v2, v3, v4) -> (* Cons *)                                        │

00:00:20 #606 [Verbose] > │         let v5 : UH6 = UH6_0(v2, v3, v1)                                     │

00:00:20 #607 [Verbose] > │         method28(v4, v5)                                                     │

00:00:20 #608 [Verbose] > │     | UH6_1 -> (* Nil *)                                                     │

00:00:20 #609 [Verbose] > │         v1                                                                   │

00:00:20 #610 [Verbose] > │ and method29 (v0 : Map<int32, int64>, v1 : UH6, v2 : UH2) : UH2 =            │

00:00:20 #611 [Verbose] > │     match v1 with                                                            │

00:00:20 #612 [Verbose] > │     | UH6_0(v3, v4, v5) -> (* Cons *)                                        │

00:00:20 #613 [Verbose] > │         let v6 : UH2 = method29(v0, v5, v2)                                  │

00:00:20 #614 [Verbose] > │         let v7 : int64 = v0.[v3]                                             │

00:00:20 #615 [Verbose] > │         let v8 : int32 = int32 v7                                            │

00:00:20 #616 [Verbose] > │         let v9 : string = v4.PadRight v8                                     │

00:00:20 #617 [Verbose] > │         UH2_0(v9, v6)                                                        │

00:00:20 #618 [Verbose] > │     | UH6_1 -> (* Nil *)                                                     │

00:00:20 #619 [Verbose] > │         v2                                                                   │

00:00:20 #620 [Verbose] > │ and method31 (v0 : UH2, v1 : int32) : int32 =                                │

00:00:20 #621 [Verbose] > │     match v0 with                                                            │

00:00:20 #622 [Verbose] > │     | UH2_0(v2, v3) -> (* Cons *)                                            │

00:00:20 #623 [Verbose] > │         let v4 : int32 = v1 + 1                                              │

00:00:20 #624 [Verbose] > │         method31(v3, v4)                                                     │

00:00:20 #625 [Verbose] > │     | UH2_1 -> (* Nil *)                                                     │

00:00:20 #626 [Verbose] > │         v1                                                                   │

00:00:20 #627 [Verbose] > │ and method32 (v0 : (string []), v1 : UH2, v2 : int32) : int32 =              │

00:00:20 #628 [Verbose] > │     match v1 with                                                            │

00:00:20 #629 [Verbose] > │     | UH2_0(v3, v4) -> (* Cons *)                                            │

00:00:20 #630 [Verbose] > │         v0.[int v2] <- v3                                                    │

00:00:20 #631 [Verbose] > │         let v5 : int32 = v2 + 1                                              │

00:00:20 #632 [Verbose] > │         method32(v0, v4, v5)                                                 │

00:00:20 #633 [Verbose] > │     | UH2_1 -> (* Nil *)                                                     │

00:00:20 #634 [Verbose] > │         v2                                                                   │

00:00:20 #635 [Verbose] > │ and method30 (v0 : UH2) : (string []) =                                      │

00:00:20 #636 [Verbose] > │     let v1 : int32 = 0                                                       │

00:00:20 #637 [Verbose] > │     let v2 : int32 = method31(v0, v1)                                        │

00:00:20 #638 [Verbose] > │     let v3 : (string []) = Array.zeroCreate<string> (v2)                     │

00:00:20 #639 [Verbose] > │     let v4 : int32 = 0                                                       │

00:00:20 #640 [Verbose] > │     let v5 : int32 = method32(v3, v0, v4)                                    │

00:00:20 #641 [Verbose] > │     v3                                                                       │

00:00:20 #642 [Verbose] > │ and method34 (v0 : UH5, v1 : uint64) : uint64 =                              │

00:00:20 #643 [Verbose] > │     match v0 with                                                            │

00:00:20 #644 [Verbose] > │     | UH5_0(v2, v3, v4) -> (* Cons *)                                        │

00:00:20 #645 [Verbose] > │         let v5 : uint64 = v1 + 1UL                                           │

00:00:20 #646 [Verbose] > │         method34(v4, v5)                                                     │

00:00:20 #647 [Verbose] > │     | UH5_1 -> (* Nil *)                                                     │

00:00:20 #648 [Verbose] > │         v1                                                                   │

00:00:20 #649 [Verbose] > │ and method35 (v0 : (struct (int32 * int64) []), v1 : UH5, v2 : uint64) :     │

00:00:20 #650 [Verbose] > │ uint64 =                                                                     │

00:00:20 #651 [Verbose] > │     match v1 with                                                            │

00:00:20 #652 [Verbose] > │     | UH5_0(v3, v4, v5) -> (* Cons *)                                        │

00:00:20 #653 [Verbose] > │         v0.[int v2] <- struct (v3, v4)                                       │

00:00:20 #654 [Verbose] > │         let v6 : uint64 = v2 + 1UL                                           │

00:00:20 #655 [Verbose] > │         method35(v0, v5, v6)                                                 │

00:00:20 #656 [Verbose] > │     | UH5_1 -> (* Nil *)                                                     │

00:00:20 #657 [Verbose] > │         v2                                                                   │

00:00:20 #658 [Verbose] > │ and method33 (v0 : UH5) : (struct (int32 * int64) []) =                      │

00:00:20 #659 [Verbose] > │     let v1 : uint64 = 0UL                                                    │

00:00:20 #660 [Verbose] > │     let v2 : uint64 = method34(v0, v1)                                       │

00:00:20 #661 [Verbose] > │     let v3 : (struct (int32 * int64) []) = Array.zeroCreate<struct (int32 *  │

00:00:20 #662 [Verbose] > │ int64)> (System.Convert.ToInt32(v2))                                         │

00:00:20 #663 [Verbose] > │     let v4 : uint64 = 0UL                                                    │

00:00:20 #664 [Verbose] > │     let v5 : uint64 = method35(v3, v0, v4)                                   │

00:00:20 #665 [Verbose] > │     v3                                                                       │

00:00:20 #666 [Verbose] > │ and closure6 () struct (v0 : int32, v1 : int64) : int64 =                    │

00:00:20 #667 [Verbose] > │     v1                                                                       │

00:00:20 #668 [Verbose] > │ and closure0 () () : unit =                                                  │

00:00:20 #669 [Verbose] > │     let v0 : (unit -> unit) = closure0()                                     │

00:00:20 #670 [Verbose] > │     let v1 : string = nameof v0                                              │

00:00:20 #671 [Verbose] > │     let v2 : string = ""                                                     │

00:00:20 #672 [Verbose] > │     System.Console.WriteLine v2                                              │

00:00:20 #673 [Verbose] > │     System.Console.WriteLine v2                                              │

00:00:20 #674 [Verbose] > │     let v3 : string = $"Test: {v1}"                                          │

00:00:20 #675 [Verbose] > │     System.Console.WriteLine v3                                              │

00:00:20 #676 [Verbose] > │     let v4 : string = "a"                                                    │

00:00:20 #677 [Verbose] > │     let v5 : string = "b"                                                    │

00:00:20 #678 [Verbose] > │     let v6 : UH0 = UH0_1                                                     │

00:00:20 #679 [Verbose] > │     let v7 : UH0 = UH0_0(v5, v5, v5, v6)                                     │

00:00:20 #680 [Verbose] > │     let v8 : UH0 = UH0_0(v4, v4, v4, v7)                                     │

00:00:20 #681 [Verbose] > │     let v9 : (struct (string * string * string) []) = method1(v8)            │

00:00:20 #682 [Verbose] > │     let v10 : uint64 = System.Convert.ToUInt64 v9.Length                     │

00:00:20 #683 [Verbose] > │     let v11 : (struct (string * string * string * (int64 [])) []) =          │

00:00:20 #684 [Verbose] > │ Array.zeroCreate<struct (string * string * string * (int64 []))>             │

00:00:20 #685 [Verbose] > │ (System.Convert.ToInt32(v10))                                                │

00:00:20 #686 [Verbose] > │     let v12 : Mut0 = {l0 = 0UL} : Mut0                                       │

00:00:20 #687 [Verbose] > │     while method4(v10, v12) do                                               │

00:00:20 #688 [Verbose] > │         let v14 : uint64 = v12.l0                                            │

00:00:20 #689 [Verbose] > │         let struct (v15 : string, v16 : string, v17 : string) = v9.[int v14] │

00:00:20 #690 [Verbose] > │         let v18 : string = $"%A{struct (v15, v16)}"                          │

00:00:20 #691 [Verbose] > │         System.Console.WriteLine v2                                          │

00:00:20 #692 [Verbose] > │         let v19 : string = $"Solution: {v18}  "                              │

00:00:20 #693 [Verbose] > │         System.Console.WriteLine v19                                         │

00:00:20 #694 [Verbose] > │         let v20 : int32 = 0                                                  │

00:00:20 #695 [Verbose] > │         let v21 : string = "A"                                               │

00:00:20 #696 [Verbose] > │         let v22 : (struct (string * string) -> string) = closure1()          │

00:00:20 #697 [Verbose] > │         let v23 : int32 = 1                                                  │

00:00:20 #698 [Verbose] > │         let v24 : string = "B"                                               │

00:00:20 #699 [Verbose] > │         let v25 : (struct (string * string) -> string) = closure2()          │

00:00:20 #700 [Verbose] > │         let v26 : UH1 = UH1_1                                                │

00:00:20 #701 [Verbose] > │         let v27 : UH1 = UH1_0(v23, v24, v25, v26)                            │

00:00:20 #702 [Verbose] > │         let v28 : UH1 = UH1_0(v20, v21, v22, v27)                            │

00:00:20 #703 [Verbose] > │         let v29 : (struct (int32 * string * (struct (string * string) ->     │

00:00:20 #704 [Verbose] > │ string)) []) = method5(v28)                                                  │

00:00:20 #705 [Verbose] > │         let v30 : uint64 = System.Convert.ToUInt64 v29.Length                │

00:00:20 #706 [Verbose] > │         let v31 : (struct (string * int64) []) = Array.zeroCreate<struct     │

00:00:20 #707 [Verbose] > │ (string * int64)> (System.Convert.ToInt32(v30))                              │

00:00:20 #708 [Verbose] > │         let v32 : Mut0 = {l0 = 0UL} : Mut0                                   │

00:00:20 #709 [Verbose] > │         while method4(v30, v32) do                                           │

00:00:20 #710 [Verbose] > │             let v34 : uint64 = v32.l0                                        │

00:00:20 #711 [Verbose] > │             let struct (v35 : int32, v36 : string, v37 : (struct (string *   │

00:00:20 #712 [Verbose] > │ string) -> string)) = v29.[int v34]                                          │

00:00:20 #713 [Verbose] > │             let mutable result = None                                        │

00:00:20 #714 [Verbose] > │             #if FABLE_COMPILER_RUST                                          │

00:00:20 #715 [Verbose] > │             #if !WASM                                                        │

00:00:20 #716 [Verbose] > │             ()                                                               │

00:00:20 #717 [Verbose] > │             #else                                                            │

00:00:20 #718 [Verbose] > │             ()                                                               │

00:00:20 #719 [Verbose] > │             #endif                                                           │

00:00:20 #720 [Verbose] > │             #else                                                            │

00:00:20 #721 [Verbose] > │             System.GC.Collect ()                                             │

00:00:20 #722 [Verbose] > │             ()                                                               │

00:00:20 #723 [Verbose] > │             #endif                                                           │

00:00:20 #724 [Verbose] > │             |> fun x -> result <- Some x                                     │

00:00:20 #725 [Verbose] > │             result |> Option.get                                             │

00:00:20 #726 [Verbose] > │             let v38 : (unit -> System.Diagnostics.Stopwatch) =               │

00:00:20 #727 [Verbose] > │ System.Diagnostics.Stopwatch                                                 │

00:00:20 #728 [Verbose] > │             let v39 : System.Diagnostics.Stopwatch = v38 ()                  │

00:00:20 #729 [Verbose] > │             v39.Start ()                                                     │

00:00:20 #730 [Verbose] > │             let v40 : int64 = v39.ElapsedMilliseconds                        │

00:00:20 #731 [Verbose] > │             let v41 : (int32 []) = Array.zeroCreate<int32> (2000001)         │

00:00:20 #732 [Verbose] > │             let v42 : Mut1 = {l0 = 0} : Mut1                                 │

00:00:20 #733 [Verbose] > │             while method8(v42) do                                            │

00:00:20 #734 [Verbose] > │                 let v44 : int32 = v42.l0                                     │

00:00:20 #735 [Verbose] > │                 v41.[int v44] <- v44                                         │

00:00:20 #736 [Verbose] > │                 let v45 : int32 = v44 + 1                                    │

00:00:20 #737 [Verbose] > │                 v42.l0 <- v45                                                │

00:00:20 #738 [Verbose] > │                 ()                                                           │

00:00:20 #739 [Verbose] > │             let v46 : (int32 -> string) = closure3(v15, v16, v37)            │

00:00:20 #740 [Verbose] > │             let v47 : (string []) = v41 |> Array.Parallel.map v46            │

00:00:20 #741 [Verbose] > │             let v48 : int32 = v47.Length                                     │

00:00:20 #742 [Verbose] > │             let v49 : int32 = v48 - 1                                        │

00:00:20 #743 [Verbose] > │             let v50 : string = v47.[int v49]                                 │

00:00:20 #744 [Verbose] > │             let v51 : int64 = v39.ElapsedMilliseconds                        │

00:00:20 #745 [Verbose] > │             let v52 : int64 = v51 - v40                                      │

00:00:20 #746 [Verbose] > │             let v53 : string = $"Test case {v35 + 1}. {v36}. Time: {v52}  "  │

00:00:20 #747 [Verbose] > │             System.Console.WriteLine v53                                     │

00:00:20 #748 [Verbose] > │             v31.[int v34] <- struct (v50, v52)                               │

00:00:20 #749 [Verbose] > │             let v54 : uint64 = v34 + 1UL                                     │

00:00:20 #750 [Verbose] > │             v32.l0 <- v54                                                    │

00:00:20 #751 [Verbose] > │             ()                                                               │

00:00:20 #752 [Verbose] > │         let v55 : uint64 = System.Convert.ToUInt64 v31.Length                │

00:00:20 #753 [Verbose] > │         let v56 : (string []) = Array.zeroCreate<string>                     │

00:00:20 #754 [Verbose] > │ (System.Convert.ToInt32(v55))                                                │

00:00:20 #755 [Verbose] > │         let v57 : Mut0 = {l0 = 0UL} : Mut0                                   │

00:00:20 #756 [Verbose] > │         while method4(v55, v57) do                                           │

00:00:20 #757 [Verbose] > │             let v59 : uint64 = v57.l0                                        │

00:00:20 #758 [Verbose] > │             let struct (v60 : string, v61 : int64) = v31.[int v59]           │

00:00:20 #759 [Verbose] > │             v56.[int v59] <- v60                                             │

00:00:20 #760 [Verbose] > │             let v62 : uint64 = v59 + 1UL                                     │

00:00:20 #761 [Verbose] > │             v57.l0 <- v62                                                    │

00:00:20 #762 [Verbose] > │             ()                                                               │

00:00:20 #763 [Verbose] > │         let v63 : uint64 = System.Convert.ToUInt64 v56.Length                │

00:00:20 #764 [Verbose] > │         let v64 : bool = v63 <= 1UL                                          │

00:00:20 #765 [Verbose] > │         if v64 then                                                          │

00:00:20 #766 [Verbose] > │             ()                                                               │

00:00:20 #767 [Verbose] > │         else                                                                 │

00:00:20 #768 [Verbose] > │             let v65 : string = v56.[int 0UL]                                 │

00:00:20 #769 [Verbose] > │             let v66 : uint64 = 0UL                                           │

00:00:20 #770 [Verbose] > │             let v67 : bool = method9(v65, v56, v66)                          │

00:00:20 #771 [Verbose] > │             if v67 then                                                      │

00:00:20 #772 [Verbose] > │                 ()                                                           │

00:00:20 #773 [Verbose] > │             else                                                             │

00:00:20 #774 [Verbose] > │                 let v68 : string = $"Challenge error: {v56}"                 │

00:00:20 #775 [Verbose] > │                 failwith<unit> v68                                           │

00:00:20 #776 [Verbose] > │         let v69 : string = $"%A{v17}"                                        │

00:00:20 #777 [Verbose] > │         let v70 : (string []) = Array.zeroCreate<string>                     │

00:00:20 #778 [Verbose] > │ (System.Convert.ToInt32(v55))                                                │

00:00:20 #779 [Verbose] > │         let v71 : Mut0 = {l0 = 0UL} : Mut0                                   │

00:00:20 #780 [Verbose] > │         while method4(v55, v71) do                                           │

00:00:20 #781 [Verbose] > │             let v73 : uint64 = v71.l0                                        │

00:00:20 #782 [Verbose] > │             let struct (v74 : string, v75 : int64) = v31.[int v73]           │

00:00:20 #783 [Verbose] > │             v70.[int v73] <- v74                                             │

00:00:20 #784 [Verbose] > │             let v76 : uint64 = v73 + 1UL                                     │

00:00:20 #785 [Verbose] > │             v71.l0 <- v76                                                    │

00:00:20 #786 [Verbose] > │             ()                                                               │

00:00:20 #787 [Verbose] > │         let v77 : string = v70.[int 0UL]                                     │

00:00:20 #788 [Verbose] > │         let v78 : string = $"%A{v77}"                                        │

00:00:20 #789 [Verbose] > │         let v79 : (int64 []) = Array.zeroCreate<int64>                       │

00:00:20 #790 [Verbose] > │ (System.Convert.ToInt32(v55))                                                │

00:00:20 #791 [Verbose] > │         let v80 : Mut0 = {l0 = 0UL} : Mut0                                   │

00:00:20 #792 [Verbose] > │         while method4(v55, v80) do                                           │

00:00:20 #793 [Verbose] > │             let v82 : uint64 = v80.l0                                        │

00:00:20 #794 [Verbose] > │             let struct (v83 : string, v84 : int64) = v31.[int v82]           │

00:00:20 #795 [Verbose] > │             v79.[int v82] <- v84                                             │

00:00:20 #796 [Verbose] > │             let v85 : uint64 = v82 + 1UL                                     │

00:00:20 #797 [Verbose] > │             v80.l0 <- v85                                                    │

00:00:20 #798 [Verbose] > │             ()                                                               │

00:00:20 #799 [Verbose] > │         v11.[int v14] <- struct (v69, v18, v78, v79)                         │

00:00:20 #800 [Verbose] > │         let v86 : uint64 = v14 + 1UL                                         │

00:00:20 #801 [Verbose] > │         v12.l0 <- v86                                                        │

00:00:20 #802 [Verbose] > │         ()                                                                   │

00:00:20 #803 [Verbose] > │     let v87 : uint64 = System.Convert.ToUInt64 v11.Length                    │

00:00:20 #804 [Verbose] > │     let v88 : (struct (UH2 * US0) []) = Array.zeroCreate<struct (UH2 * US0)> │

00:00:20 #805 [Verbose] > │ (System.Convert.ToInt32(v87))                                                │

00:00:20 #806 [Verbose] > │     let v89 : Mut0 = {l0 = 0UL} : Mut0                                       │

00:00:20 #807 [Verbose] > │     while method4(v87, v89) do                                               │

00:00:20 #808 [Verbose] > │         let v91 : uint64 = v89.l0                                            │

00:00:20 #809 [Verbose] > │         let struct (v92 : string, v93 : string, v94 : string, v95 : (int64 [ │

00:00:20 #810 [Verbose] > │ ])) = v11.[int v91]                                                          │

00:00:20 #811 [Verbose] > │         let v96 : uint64 = System.Convert.ToUInt64 v95.Length                │

00:00:20 #812 [Verbose] > │         let v97 : UH3 = UH3_1                                                │

00:00:20 #813 [Verbose] > │         let v98 : Mut2 = {l0 = 0UL; l1 = v97; l2 = 0L} : Mut2                │

00:00:20 #814 [Verbose] > │         while method10(v96, v98) do                                          │

00:00:20 #815 [Verbose] > │             let v100 : uint64 = v98.l0                                       │

00:00:20 #816 [Verbose] > │             let struct (v101 : UH3, v102 : int64) = v98.l1, v98.l2           │

00:00:20 #817 [Verbose] > │             let v103 : int64 = v95.[int v100]                                │

00:00:20 #818 [Verbose] > │             let v104 : int64 = v102 + 1L                                     │

00:00:20 #819 [Verbose] > │             let v105 : uint64 = v100 + 1UL                                   │

00:00:20 #820 [Verbose] > │             let v106 : UH3 = UH3_0(v102, v103, v101)                         │

00:00:20 #821 [Verbose] > │             v98.l0 <- v105                                                   │

00:00:20 #822 [Verbose] > │             v98.l1 <- v106                                                   │

00:00:20 #823 [Verbose] > │             v98.l2 <- v104                                                   │

00:00:20 #824 [Verbose] > │             ()                                                               │

00:00:20 #825 [Verbose] > │         let struct (v107 : UH3, v108 : int64) = v98.l1, v98.l2               │

00:00:20 #826 [Verbose] > │         let v109 : UH3 = UH3_1                                               │

00:00:20 #827 [Verbose] > │         let v110 : UH3 = method11(v107, v109)                                │

00:00:20 #828 [Verbose] > │         let v111 : (struct (int64 * int64) []) = method12(v110)              │

00:00:20 #829 [Verbose] > │         let v112 : int32 = v111.Length                                       │

00:00:20 #830 [Verbose] > │         let v113 : (struct (int64 * int64) []) = Array.zeroCreate<struct     │

00:00:20 #831 [Verbose] > │ (int64 * int64)> (v112)                                                      │

00:00:20 #832 [Verbose] > │         let v114 : Mut1 = {l0 = 0} : Mut1                                    │

00:00:20 #833 [Verbose] > │         while method15(v112, v114) do                                        │

00:00:20 #834 [Verbose] > │             let v116 : int32 = v114.l0                                       │

00:00:20 #835 [Verbose] > │             let struct (v117 : int64, v118 : int64) = v111.[int v116]        │

00:00:20 #836 [Verbose] > │             let v119 : int64 = v117 + 1L                                     │

00:00:20 #837 [Verbose] > │             v113.[int v116] <- struct (v119, v118)                           │

00:00:20 #838 [Verbose] > │             let v120 : int32 = v116 + 1                                      │

00:00:20 #839 [Verbose] > │             v114.l0 <- v120                                                  │

00:00:20 #840 [Verbose] > │             ()                                                               │

00:00:20 #841 [Verbose] > │         let v121 : (struct (int64 * int64) -> int64) = closure4()            │

00:00:20 #842 [Verbose] > │         let v122 : (struct (int64 * int64) []) = v113 |> Array.sortBy v121   │

00:00:20 #843 [Verbose] > │         let struct (v123 : int64, v124 : int64) = v122.[int 0]               │

00:00:20 #844 [Verbose] > │         let v125 : string = $"%A{struct (v123, v124)}"                       │

00:00:20 #845 [Verbose] > │         let v126 : bool = v92 = v94                                          │

00:00:20 #846 [Verbose] > │         let v131 : US0 =                                                     │

00:00:20 #847 [Verbose] > │             if v126 then                                                     │

00:00:20 #848 [Verbose] > │                 let v127 : System.ConsoleColor =                             │

00:00:20 #849 [Verbose] > │ System.ConsoleColor.DarkGreen                                                │

00:00:20 #850 [Verbose] > │                 US0_1(v127)                                                  │

00:00:20 #851 [Verbose] > │             else                                                             │

00:00:20 #852 [Verbose] > │                 let v129 : System.ConsoleColor = System.ConsoleColor.DarkRed │

00:00:20 #853 [Verbose] > │                 US0_1(v129)                                                  │

00:00:20 #854 [Verbose] > │         let v132 : UH2 = UH2_1                                               │

00:00:20 #855 [Verbose] > │         let v133 : UH2 = UH2_0(v125, v132)                                   │

00:00:20 #856 [Verbose] > │         let v134 : UH2 = UH2_0(v94, v133)                                    │

00:00:20 #857 [Verbose] > │         let v135 : UH2 = UH2_0(v92, v134)                                    │

00:00:20 #858 [Verbose] > │         let v136 : UH2 = UH2_0(v93, v135)                                    │

00:00:20 #859 [Verbose] > │         v88.[int v91] <- struct (v136, v131)                                 │

00:00:20 #860 [Verbose] > │         let v137 : uint64 = v91 + 1UL                                        │

00:00:20 #861 [Verbose] > │         v89.l0 <- v137                                                       │

00:00:20 #862 [Verbose] > │         ()                                                                   │

00:00:20 #863 [Verbose] > │     let v138 : string = "Input"                                              │

00:00:20 #864 [Verbose] > │     let v139 : string = "Expected"                                           │

00:00:20 #865 [Verbose] > │     let v140 : string = "Result"                                             │

00:00:20 #866 [Verbose] > │     let v141 : string = "Best"                                               │

00:00:20 #867 [Verbose] > │     let v142 : UH2 = UH2_1                                                   │

00:00:20 #868 [Verbose] > │     let v143 : UH2 = UH2_0(v141, v142)                                       │

00:00:20 #869 [Verbose] > │     let v144 : UH2 = UH2_0(v140, v143)                                       │

00:00:20 #870 [Verbose] > │     let v145 : UH2 = UH2_0(v139, v144)                                       │

00:00:20 #871 [Verbose] > │     let v146 : UH2 = UH2_0(v138, v145)                                       │

00:00:20 #872 [Verbose] > │     let v147 : US0 = US0_0                                                   │

00:00:20 #873 [Verbose] > │     let v148 : string = "---"                                                │

00:00:20 #874 [Verbose] > │     let v149 : UH2 = UH2_1                                                   │

00:00:20 #875 [Verbose] > │     let v150 : UH2 = UH2_0(v148, v149)                                       │

00:00:20 #876 [Verbose] > │     let v151 : UH2 = UH2_0(v148, v150)                                       │

00:00:20 #877 [Verbose] > │     let v152 : UH2 = UH2_0(v148, v151)                                       │

00:00:20 #878 [Verbose] > │     let v153 : UH2 = UH2_0(v148, v152)                                       │

00:00:20 #879 [Verbose] > │     let v154 : US0 = US0_0                                                   │

00:00:20 #880 [Verbose] > │     let v155 : UH4 = UH4_1                                                   │

00:00:20 #881 [Verbose] > │     let v156 : UH4 = UH4_0(v153, v154, v155)                                 │

00:00:20 #882 [Verbose] > │     let v157 : UH4 = UH4_0(v146, v147, v156)                                 │

00:00:20 #883 [Verbose] > │     let v158 : (struct (UH2 * US0) []) = method16(v157)                      │

00:00:20 #884 [Verbose] > │     let v159 : uint64 = System.Convert.ToUInt64 v158.Length                  │

00:00:20 #885 [Verbose] > │     let v160 : uint64 = System.Convert.ToUInt64 v88.Length                   │

00:00:20 #886 [Verbose] > │     let v161 : uint64 = v159 + v160                                          │

00:00:20 #887 [Verbose] > │     let v162 : (struct (UH2 * US0) []) = Array.zeroCreate<struct (UH2 *      │

00:00:20 #888 [Verbose] > │ US0)> (System.Convert.ToInt32(v161))                                         │

00:00:20 #889 [Verbose] > │     let v163 : Mut0 = {l0 = 0UL} : Mut0                                      │

00:00:20 #890 [Verbose] > │     while method4(v161, v163) do                                             │

00:00:20 #891 [Verbose] > │         let v165 : uint64 = v163.l0                                          │

00:00:20 #892 [Verbose] > │         let v166 : bool = v165 < v159                                        │

00:00:20 #893 [Verbose] > │         let struct (v172 : UH2, v173 : US0) =                                │

00:00:20 #894 [Verbose] > │             if v166 then                                                     │

00:00:20 #895 [Verbose] > │                 let struct (v167 : UH2, v168 : US0) = v158.[int v165]        │

00:00:20 #896 [Verbose] > │                 struct (v167, v168)                                          │

00:00:20 #897 [Verbose] > │             else                                                             │

00:00:20 #898 [Verbose] > │                 let v169 : uint64 = v165 - v159                              │

00:00:20 #899 [Verbose] > │                 let struct (v170 : UH2, v171 : US0) = v88.[int v169]         │

00:00:20 #900 [Verbose] > │                 struct (v170, v171)                                          │

00:00:20 #901 [Verbose] > │         v162.[int v165] <- struct (v172, v173)                               │

00:00:20 #902 [Verbose] > │         let v174 : uint64 = v165 + 1UL                                       │

00:00:20 #903 [Verbose] > │         v163.l0 <- v174                                                      │

00:00:20 #904 [Verbose] > │         ()                                                                   │

00:00:20 #905 [Verbose] > │     let v175 : uint64 = System.Convert.ToUInt64 v162.Length                  │

00:00:20 #906 [Verbose] > │     let v176 : ((string []) []) = Array.zeroCreate<(string [])>              │

00:00:20 #907 [Verbose] > │ (System.Convert.ToInt32(v175))                                               │

00:00:20 #908 [Verbose] > │     let v177 : Mut0 = {l0 = 0UL} : Mut0                                      │

00:00:20 #909 [Verbose] > │     while method4(v175, v177) do                                             │

00:00:20 #910 [Verbose] > │         let v179 : uint64 = v177.l0                                          │

00:00:20 #911 [Verbose] > │         let struct (v180 : UH2, v181 : US0) = v162.[int v179]                │

00:00:20 #912 [Verbose] > │         let v182 : (string []) = method19(v180)                              │

00:00:20 #913 [Verbose] > │         v176.[int v179] <- v182                                              │

00:00:20 #914 [Verbose] > │         let v183 : uint64 = v179 + 1UL                                       │

00:00:20 #915 [Verbose] > │         v177.l0 <- v183                                                      │

00:00:20 #916 [Verbose] > │         ()                                                                   │

00:00:20 #917 [Verbose] > │     let v184 : ((string []) []) = v176 |> Array.transpose                    │

00:00:20 #918 [Verbose] > │     let v185 : uint64 = System.Convert.ToUInt64 v184.Length                  │

00:00:20 #919 [Verbose] > │     let v186 : (int64 []) = Array.zeroCreate<int64>                          │

00:00:20 #920 [Verbose] > │ (System.Convert.ToInt32(v185))                                               │

00:00:20 #921 [Verbose] > │     let v187 : Mut0 = {l0 = 0UL} : Mut0                                      │

00:00:20 #922 [Verbose] > │     while method4(v185, v187) do                                             │

00:00:20 #923 [Verbose] > │         let v189 : uint64 = v187.l0                                          │

00:00:20 #924 [Verbose] > │         let v190 : (string []) = v184.[int v189]                             │

00:00:20 #925 [Verbose] > │         let v191 : uint64 = System.Convert.ToUInt64 v190.Length              │

00:00:20 #926 [Verbose] > │         let v192 : (int64 []) = Array.zeroCreate<int64>                      │

00:00:20 #927 [Verbose] > │ (System.Convert.ToInt32(v191))                                               │

00:00:20 #928 [Verbose] > │         let v193 : Mut0 = {l0 = 0UL} : Mut0                                  │

00:00:20 #929 [Verbose] > │         while method4(v191, v193) do                                         │

00:00:20 #930 [Verbose] > │             let v195 : uint64 = v193.l0                                      │

00:00:20 #931 [Verbose] > │             let v196 : string = v190.[int v195]                              │

00:00:20 #932 [Verbose] > │             let v197 : int64 = System.Convert.ToInt64 v196.Length            │

00:00:20 #933 [Verbose] > │             v192.[int v195] <- v197                                          │

00:00:20 #934 [Verbose] > │             let v198 : uint64 = v195 + 1UL                                   │

00:00:20 #935 [Verbose] > │             v193.l0 <- v198                                                  │

00:00:20 #936 [Verbose] > │             ()                                                               │

00:00:20 #937 [Verbose] > │         let v199 : (int64 []) = v192 |> Array.sortDescending                 │

00:00:20 #938 [Verbose] > │         let v200 : int64 option = v199 |> Array.tryItem 0                    │

00:00:20 #939 [Verbose] > │         let v201 : (int64 -> US1) = closure5()                               │

00:00:20 #940 [Verbose] > │         let v202 : US1 = US1_0                                               │

00:00:20 #941 [Verbose] > │         let v203 : US1 = v200 |> Option.map v201 |> Option.defaultValue v202 │

00:00:20 #942 [Verbose] > │         let v206 : int64 =                                                   │

00:00:20 #943 [Verbose] > │             match v203 with                                                  │

00:00:20 #944 [Verbose] > │             | US1_0 -> (* None *)                                            │

00:00:20 #945 [Verbose] > │                 0L                                                           │

00:00:20 #946 [Verbose] > │             | US1_1(v204) -> (* Some *)                                      │

00:00:20 #947 [Verbose] > │                 v204                                                         │

00:00:20 #948 [Verbose] > │         v186.[int v189] <- v206                                              │

00:00:20 #949 [Verbose] > │         let v207 : uint64 = v189 + 1UL                                       │

00:00:20 #950 [Verbose] > │         v187.l0 <- v207                                                      │

00:00:20 #951 [Verbose] > │         ()                                                                   │

00:00:20 #952 [Verbose] > │     let v208 : uint64 = System.Convert.ToUInt64 v186.Length                  │

00:00:20 #953 [Verbose] > │     let v209 : UH5 = UH5_1                                                   │

00:00:20 #954 [Verbose] > │     let v210 : Mut3 = {l0 = 0UL; l1 = v209; l2 = 0} : Mut3                   │

00:00:20 #955 [Verbose] > │     while method22(v208, v210) do                                            │

00:00:20 #956 [Verbose] > │         let v212 : uint64 = v210.l0                                          │

00:00:20 #957 [Verbose] > │         let struct (v213 : UH5, v214 : int32) = v210.l1, v210.l2             │

00:00:20 #958 [Verbose] > │         let v215 : int64 = v186.[int v212]                                   │

00:00:20 #959 [Verbose] > │         let v216 : int32 = v214 + 1                                          │

00:00:20 #960 [Verbose] > │         let v217 : uint64 = v212 + 1UL                                       │

00:00:20 #961 [Verbose] > │         let v218 : UH5 = UH5_0(v214, v215, v213)                             │

00:00:20 #962 [Verbose] > │         v210.l0 <- v217                                                      │

00:00:20 #963 [Verbose] > │         v210.l1 <- v218                                                      │

00:00:20 #964 [Verbose] > │         v210.l2 <- v216                                                      │

00:00:20 #965 [Verbose] > │         ()                                                                   │

00:00:20 #966 [Verbose] > │     let struct (v219 : UH5, v220 : int32) = v210.l1, v210.l2                 │

00:00:20 #967 [Verbose] > │     let v221 : UH5 = UH5_1                                                   │

00:00:20 #968 [Verbose] > │     let v222 : UH5 = method23(v219, v221)                                    │

00:00:20 #969 [Verbose] > │     let v223 : (struct (int32 * int64) []) = method24(v222)                  │

00:00:20 #970 [Verbose] > │     let v224 : Map<int32, int64> = v223 |> Array.map (fun (struct (a, b)) -> │

00:00:20 #971 [Verbose] > │ a, b) |> Map.ofArray                                                         │

00:00:20 #972 [Verbose] > │     let v225 : (struct ((string []) * US0) []) = Array.zeroCreate<struct     │

00:00:20 #973 [Verbose] > │ ((string []) * US0)> (System.Convert.ToInt32(v175))                          │

00:00:20 #974 [Verbose] > │     let v226 : Mut0 = {l0 = 0UL} : Mut0                                      │

00:00:20 #975 [Verbose] > │     while method4(v175, v226) do                                             │

00:00:20 #976 [Verbose] > │         let v228 : uint64 = v226.l0                                          │

00:00:20 #977 [Verbose] > │         let struct (v229 : UH2, v230 : US0) = v162.[int v228]                │

00:00:20 #978 [Verbose] > │         let v231 : UH6 = UH6_1                                               │

00:00:20 #979 [Verbose] > │         let v232 : int32 = 0                                                 │

00:00:20 #980 [Verbose] > │         let struct (v233 : UH6, v234 : int32) = method27(v229, v231, v232)   │

00:00:20 #981 [Verbose] > │         let v235 : UH6 = UH6_1                                               │

00:00:20 #982 [Verbose] > │         let v236 : UH6 = method28(v233, v235)                                │

00:00:20 #983 [Verbose] > │         let v237 : UH2 = UH2_1                                               │

00:00:20 #984 [Verbose] > │         let v238 : UH2 = method29(v224, v236, v237)                          │

00:00:20 #985 [Verbose] > │         let v239 : (string []) = method30(v238)                              │

00:00:20 #986 [Verbose] > │         v225.[int v228] <- struct (v239, v230)                               │

00:00:20 #987 [Verbose] > │         let v240 : uint64 = v228 + 1UL                                       │

00:00:20 #988 [Verbose] > │         v226.l0 <- v240                                                      │

00:00:20 #989 [Verbose] > │         ()                                                                   │

00:00:20 #990 [Verbose] > │     System.Console.WriteLine v2                                              │

00:00:20 #991 [Verbose] > │     let v241 : uint64 = System.Convert.ToUInt64 v225.Length                  │

00:00:20 #992 [Verbose] > │     let v242 : Mut0 = {l0 = 0UL} : Mut0                                      │

00:00:20 #993 [Verbose] > │     while method4(v241, v242) do                                             │

00:00:20 #994 [Verbose] > │         let v244 : uint64 = v242.l0                                          │

00:00:20 #995 [Verbose] > │         let struct (v245 : (string []), v246 : US0) = v225.[int v244]        │

00:00:20 #996 [Verbose] > │         match v246 with                                                      │

00:00:20 #997 [Verbose] > │         | US0_0 -> (* None *)                                                │

00:00:20 #998 [Verbose] > │             let mutable result = None                                        │

00:00:20 #999 [Verbose] > │             #if FABLE_COMPILER_RUST                                          │

00:00:20 #1000 [Verbose] > │             #if !WASM                                                        │

00:00:20 #1001 [Verbose] > │             ()                                                               │

00:00:20 #1002 [Verbose] > │             #else                                                            │

00:00:20 #1003 [Verbose] > │             ()                                                               │

00:00:20 #1004 [Verbose] > │             #endif                                                           │

00:00:20 #1005 [Verbose] > │             #else                                                            │

00:00:20 #1006 [Verbose] > │             System.Console.ResetColor ()                                     │

00:00:20 #1007 [Verbose] > │             ()                                                               │

00:00:20 #1008 [Verbose] > │             #endif                                                           │

00:00:20 #1009 [Verbose] > │             |> fun x -> result <- Some x                                     │

00:00:20 #1010 [Verbose] > │             result |> Option.get                                             │

00:00:20 #1011 [Verbose] > │             ()                                                               │

00:00:20 #1012 [Verbose] > │         | US0_1(v247) -> (* Some *)                                          │

00:00:20 #1013 [Verbose] > │             let mutable result = None                                        │

00:00:20 #1014 [Verbose] > │             #if FABLE_COMPILER_RUST                                          │

00:00:20 #1015 [Verbose] > │             #if !WASM                                                        │

00:00:20 #1016 [Verbose] > │             ()                                                               │

00:00:20 #1017 [Verbose] > │             #else                                                            │

00:00:20 #1018 [Verbose] > │             ()                                                               │

00:00:20 #1019 [Verbose] > │             #endif                                                           │

00:00:20 #1020 [Verbose] > │             #else                                                            │

00:00:20 #1021 [Verbose] > │             System.Console.ForegroundColor <- v247                           │

00:00:20 #1022 [Verbose] > │             ()                                                               │

00:00:20 #1023 [Verbose] > │             #endif                                                           │

00:00:20 #1024 [Verbose] > │             |> fun x -> result <- Some x                                     │

00:00:20 #1025 [Verbose] > │             result |> Option.get                                             │

00:00:20 #1026 [Verbose] > │             ()                                                               │

00:00:20 #1027 [Verbose] > │         let v248 : string = "\t| "                                           │

00:00:20 #1028 [Verbose] > │         let v249 : string = System.String.Join (v248, v245)                  │

00:00:20 #1029 [Verbose] > │         System.Console.WriteLine v249                                        │

00:00:20 #1030 [Verbose] > │         let mutable result = None                                            │

00:00:20 #1031 [Verbose] > │         #if FABLE_COMPILER_RUST                                              │

00:00:20 #1032 [Verbose] > │         #if !WASM                                                            │

00:00:20 #1033 [Verbose] > │         ()                                                                   │

00:00:20 #1034 [Verbose] > │         #else                                                                │

00:00:20 #1035 [Verbose] > │         ()                                                                   │

00:00:20 #1036 [Verbose] > │         #endif                                                               │

00:00:20 #1037 [Verbose] > │         #else                                                                │

00:00:20 #1038 [Verbose] > │         System.Console.ResetColor ()                                         │

00:00:20 #1039 [Verbose] > │         ()                                                                   │

00:00:20 #1040 [Verbose] > │         #endif                                                               │

00:00:20 #1041 [Verbose] > │         |> fun x -> result <- Some x                                         │

00:00:20 #1042 [Verbose] > │         result |> Option.get                                                 │

00:00:20 #1043 [Verbose] > │         let v250 : uint64 = v244 + 1UL                                       │

00:00:20 #1044 [Verbose] > │         v242.l0 <- v250                                                      │

00:00:20 #1045 [Verbose] > │         ()                                                                   │

00:00:20 #1046 [Verbose] > │     let v251 : ((float []) []) = Array.zeroCreate<(float [])>                │

00:00:20 #1047 [Verbose] > │ (System.Convert.ToInt32(v87))                                                │

00:00:20 #1048 [Verbose] > │     let v252 : Mut0 = {l0 = 0UL} : Mut0                                      │

00:00:20 #1049 [Verbose] > │     while method4(v87, v252) do                                              │

00:00:20 #1050 [Verbose] > │         let v254 : uint64 = v252.l0                                          │

00:00:20 #1051 [Verbose] > │         let struct (v255 : string, v256 : string, v257 : string, v258 :      │

00:00:20 #1052 [Verbose] > │ (int64 [])) = v11.[int v254]                                                 │

00:00:20 #1053 [Verbose] > │         let v259 : (int64 -> float) = float                                  │

00:00:20 #1054 [Verbose] > │         let v260 : uint64 = System.Convert.ToUInt64 v258.Length              │

00:00:20 #1055 [Verbose] > │         let v261 : (float []) = Array.zeroCreate<float>                      │

00:00:20 #1056 [Verbose] > │ (System.Convert.ToInt32(v260))                                               │

00:00:20 #1057 [Verbose] > │         let v262 : Mut0 = {l0 = 0UL} : Mut0                                  │

00:00:20 #1058 [Verbose] > │         while method4(v260, v262) do                                         │

00:00:20 #1059 [Verbose] > │             let v264 : uint64 = v262.l0                                      │

00:00:20 #1060 [Verbose] > │             let v265 : int64 = v258.[int v264]                               │

00:00:20 #1061 [Verbose] > │             let v266 : float = v259 v265                                     │

00:00:20 #1062 [Verbose] > │             v261.[int v264] <- v266                                          │

00:00:20 #1063 [Verbose] > │             let v267 : uint64 = v264 + 1UL                                   │

00:00:20 #1064 [Verbose] > │             v262.l0 <- v267                                                  │

00:00:20 #1065 [Verbose] > │             ()                                                               │

00:00:20 #1066 [Verbose] > │         v251.[int v254] <- v261                                              │

00:00:20 #1067 [Verbose] > │         let v268 : uint64 = v254 + 1UL                                       │

00:00:20 #1068 [Verbose] > │         v252.l0 <- v268                                                      │

00:00:20 #1069 [Verbose] > │         ()                                                                   │

00:00:20 #1070 [Verbose] > │     let v269 : ((float []) []) = v251 |> Array.transpose                     │

00:00:20 #1071 [Verbose] > │     let v270 : uint64 = System.Convert.ToUInt64 v269.Length                  │

00:00:20 #1072 [Verbose] > │     let v271 : (float []) = Array.zeroCreate<float>                          │

00:00:20 #1073 [Verbose] > │ (System.Convert.ToInt32(v270))                                               │

00:00:20 #1074 [Verbose] > │     let v272 : Mut0 = {l0 = 0UL} : Mut0                                      │

00:00:20 #1075 [Verbose] > │     while method4(v270, v272) do                                             │

00:00:20 #1076 [Verbose] > │         let v274 : uint64 = v272.l0                                          │

00:00:20 #1077 [Verbose] > │         let v275 : (float []) = v269.[int v274]                              │

00:00:20 #1078 [Verbose] > │         let v276 : float = v275 |> Array.average                             │

00:00:20 #1079 [Verbose] > │         v271.[int v274] <- v276                                              │

00:00:20 #1080 [Verbose] > │         let v277 : uint64 = v274 + 1UL                                       │

00:00:20 #1081 [Verbose] > │         v272.l0 <- v277                                                      │

00:00:20 #1082 [Verbose] > │         ()                                                                   │

00:00:20 #1083 [Verbose] > │     let v278 : (float -> int64) = int64                                      │

00:00:20 #1084 [Verbose] > │     let v279 : uint64 = System.Convert.ToUInt64 v271.Length                  │

00:00:20 #1085 [Verbose] > │     let v280 : (int64 []) = Array.zeroCreate<int64>                          │

00:00:20 #1086 [Verbose] > │ (System.Convert.ToInt32(v279))                                               │

00:00:20 #1087 [Verbose] > │     let v281 : Mut0 = {l0 = 0UL} : Mut0                                      │

00:00:20 #1088 [Verbose] > │     while method4(v279, v281) do                                             │

00:00:20 #1089 [Verbose] > │         let v283 : uint64 = v281.l0                                          │

00:00:20 #1090 [Verbose] > │         let v284 : float = v271.[int v283]                                   │

00:00:20 #1091 [Verbose] > │         let v285 : int64 = v278 v284                                         │

00:00:20 #1092 [Verbose] > │         v280.[int v283] <- v285                                              │

00:00:20 #1093 [Verbose] > │         let v286 : uint64 = v283 + 1UL                                       │

00:00:20 #1094 [Verbose] > │         v281.l0 <- v286                                                      │

00:00:20 #1095 [Verbose] > │         ()                                                                   │

00:00:20 #1096 [Verbose] > │     let v287 : uint64 = System.Convert.ToUInt64 v280.Length                  │

00:00:20 #1097 [Verbose] > │     let v288 : UH5 = UH5_1                                                   │

00:00:20 #1098 [Verbose] > │     let v289 : Mut3 = {l0 = 0UL; l1 = v288; l2 = 0} : Mut3                   │

00:00:20 #1099 [Verbose] > │     while method22(v287, v289) do                                            │

00:00:20 #1100 [Verbose] > │         let v291 : uint64 = v289.l0                                          │

00:00:20 #1101 [Verbose] > │         let struct (v292 : UH5, v293 : int32) = v289.l1, v289.l2             │

00:00:20 #1102 [Verbose] > │         let v294 : int64 = v280.[int v291]                                   │

00:00:20 #1103 [Verbose] > │         let v295 : int32 = v293 + 1                                          │

00:00:20 #1104 [Verbose] > │         let v296 : uint64 = v291 + 1UL                                       │

00:00:20 #1105 [Verbose] > │         let v297 : UH5 = UH5_0(v293, v294, v292)                             │

00:00:20 #1106 [Verbose] > │         v289.l0 <- v296                                                      │

00:00:20 #1107 [Verbose] > │         v289.l1 <- v297                                                      │

00:00:20 #1108 [Verbose] > │         v289.l2 <- v295                                                      │

00:00:20 #1109 [Verbose] > │         ()                                                                   │

00:00:20 #1110 [Verbose] > │     let struct (v298 : UH5, v299 : int32) = v289.l1, v289.l2                 │

00:00:20 #1111 [Verbose] > │     let v300 : UH5 = UH5_1                                                   │

00:00:20 #1112 [Verbose] > │     let v301 : UH5 = method23(v298, v300)                                    │

00:00:20 #1113 [Verbose] > │     let v302 : (struct (int32 * int64) []) = method33(v301)                  │

00:00:20 #1114 [Verbose] > │     System.Console.WriteLine v2                                              │

00:00:20 #1115 [Verbose] > │     let v303 : string = "Average Ranking  "                                  │

00:00:20 #1116 [Verbose] > │     System.Console.WriteLine v303                                            │

00:00:20 #1117 [Verbose] > │     let v304 : (struct (int32 * int64) -> int64) = closure6()                │

00:00:20 #1118 [Verbose] > │     let v305 : (struct (int32 * int64) []) = v302 |> Array.sortBy v304       │

00:00:20 #1119 [Verbose] > │     let v306 : uint64 = System.Convert.ToUInt64 v305.Length                  │

00:00:20 #1120 [Verbose] > │     let v307 : Mut0 = {l0 = 0UL} : Mut0                                      │

00:00:20 #1121 [Verbose] > │     while method4(v306, v307) do                                             │

00:00:20 #1122 [Verbose] > │         let v309 : uint64 = v307.l0                                          │

00:00:20 #1123 [Verbose] > │         let struct (v310 : int32, v311 : int64) = v305.[int v309]            │

00:00:20 #1124 [Verbose] > │         let v312 : string = $"Test case %d{v310 + 1}. Average Time: %A{v311} │

00:00:20 #1125 [Verbose] > │ "                                                                            │

00:00:20 #1126 [Verbose] > │         System.Console.WriteLine v312                                        │

00:00:20 #1127 [Verbose] > │         let v313 : uint64 = v309 + 1UL                                       │

00:00:20 #1128 [Verbose] > │         v307.l0 <- v313                                                      │

00:00:20 #1129 [Verbose] > │         ()                                                                   │

00:00:20 #1130 [Verbose] > │     ()                                                                       │

00:00:20 #1131 [Verbose] > │ and method0 () : unit =                                                      │

00:00:20 #1132 [Verbose] > │     let v0 : (unit -> unit) = closure0()                                     │

00:00:20 #1133 [Verbose] > │     let v1 : string = nameof v0                                              │

00:00:20 #1134 [Verbose] > │     let v2 : string = ""                                                     │

00:00:20 #1135 [Verbose] > │     System.Console.WriteLine v2                                              │

00:00:20 #1136 [Verbose] > │     System.Console.WriteLine v2                                              │

00:00:20 #1137 [Verbose] > │     let v3 : string = $"Test: {v1}"                                          │

00:00:20 #1138 [Verbose] > │     System.Console.WriteLine v3                                              │

00:00:20 #1139 [Verbose] > │     let v4 : string = "a"                                                    │

00:00:20 #1140 [Verbose] > │     let v5 : string = "b"                                                    │

00:00:20 #1141 [Verbose] > │     let v6 : UH0 = UH0_1                                                     │

00:00:20 #1142 [Verbose] > │     let v7 : UH0 = UH0_0(v5, v5, v5, v6)                                     │

00:00:20 #1143 [Verbose] > │     let v8 : UH0 = UH0_0(v4, v4, v4, v7)                                     │

00:00:20 #1144 [Verbose] > │     let v9 : (struct (string * string * string) []) = method1(v8)            │

00:00:20 #1145 [Verbose] > │     let v10 : uint64 = System.Convert.ToUInt64 v9.Length                     │

00:00:20 #1146 [Verbose] > │     let v11 : (struct (string * string * string * (int64 [])) []) =          │

00:00:20 #1147 [Verbose] > │ Array.zeroCreate<struct (string * string * string * (int64 []))>             │

00:00:20 #1148 [Verbose] > │ (System.Convert.ToInt32(v10))                                                │

00:00:20 #1149 [Verbose] > │     let v12 : Mut0 = {l0 = 0UL} : Mut0                                       │

00:00:20 #1150 [Verbose] > │     while method4(v10, v12) do                                               │

00:00:20 #1151 [Verbose] > │         let v14 : uint64 = v12.l0                                            │

00:00:20 #1152 [Verbose] > │         let struct (v15 : string, v16 : string, v17 : string) = v9.[int v14] │

00:00:20 #1153 [Verbose] > │         let v18 : string = $"%A{struct (v15, v16)}"                          │

00:00:20 #1154 [Verbose] > │         System.Console.WriteLine v2                                          │

00:00:20 #1155 [Verbose] > │         let v19 : string = $"Solution: {v18}  "                              │

00:00:20 #1156 [Verbose] > │         System.Console.WriteLine v19                                         │

00:00:20 #1157 [Verbose] > │         let v20 : int32 = 0                                                  │

00:00:20 #1158 [Verbose] > │         let v21 : string = "A"                                               │

00:00:20 #1159 [Verbose] > │         let v22 : (struct (string * string) -> string) = closure1()          │

00:00:20 #1160 [Verbose] > │         let v23 : int32 = 1                                                  │

00:00:20 #1161 [Verbose] > │         let v24 : string = "B"                                               │

00:00:20 #1162 [Verbose] > │         let v25 : (struct (string * string) -> string) = closure2()          │

00:00:20 #1163 [Verbose] > │         let v26 : UH1 = UH1_1                                                │

00:00:20 #1164 [Verbose] > │         let v27 : UH1 = UH1_0(v23, v24, v25, v26)                            │

00:00:20 #1165 [Verbose] > │         let v28 : UH1 = UH1_0(v20, v21, v22, v27)                            │

00:00:20 #1166 [Verbose] > │         let v29 : (struct (int32 * string * (struct (string * string) ->     │

00:00:20 #1167 [Verbose] > │ string)) []) = method5(v28)                                                  │

00:00:20 #1168 [Verbose] > │         let v30 : uint64 = System.Convert.ToUInt64 v29.Length                │

00:00:20 #1169 [Verbose] > │         let v31 : (struct (string * int64) []) = Array.zeroCreate<struct     │

00:00:20 #1170 [Verbose] > │ (string * int64)> (System.Convert.ToInt32(v30))                              │

00:00:20 #1171 [Verbose] > │         let v32 : Mut0 = {l0 = 0UL} : Mut0                                   │

00:00:20 #1172 [Verbose] > │         while method4(v30, v32) do                                           │

00:00:20 #1173 [Verbose] > │             let v34 : uint64 = v32.l0                                        │

00:00:20 #1174 [Verbose] > │             let struct (v35 : int32, v36 : string, v37 : (struct (string *   │

00:00:20 #1175 [Verbose] > │ string) -> string)) = v29.[int v34]                                          │

00:00:20 #1176 [Verbose] > │             let mutable result = None                                        │

00:00:20 #1177 [Verbose] > │             #if FABLE_COMPILER_RUST                                          │

00:00:20 #1178 [Verbose] > │             #if !WASM                                                        │

00:00:20 #1179 [Verbose] > │             ()                                                               │

00:00:20 #1180 [Verbose] > │             #else                                                            │

00:00:20 #1181 [Verbose] > │             ()                                                               │

00:00:20 #1182 [Verbose] > │             #endif                                                           │

00:00:20 #1183 [Verbose] > │             #else                                                            │

00:00:20 #1184 [Verbose] > │             System.GC.Collect ()                                             │

00:00:20 #1185 [Verbose] > │             ()                                                               │

00:00:20 #1186 [Verbose] > │             #endif                                                           │

00:00:20 #1187 [Verbose] > │             |> fun x -> result <- Some x                                     │

00:00:20 #1188 [Verbose] > │             result |> Option.get                                             │

00:00:20 #1189 [Verbose] > │             let v38 : (unit -> System.Diagnostics.Stopwatch) =               │

00:00:20 #1190 [Verbose] > │ System.Diagnostics.Stopwatch                                                 │

00:00:20 #1191 [Verbose] > │             let v39 : System.Diagnostics.Stopwatch = v38 ()                  │

00:00:20 #1192 [Verbose] > │             v39.Start ()                                                     │

00:00:20 #1193 [Verbose] > │             let v40 : int64 = v39.ElapsedMilliseconds                        │

00:00:20 #1194 [Verbose] > │             let v41 : (int32 []) = Array.zeroCreate<int32> (2000001)         │

00:00:20 #1195 [Verbose] > │             let v42 : Mut1 = {l0 = 0} : Mut1                                 │

00:00:20 #1196 [Verbose] > │             while method8(v42) do                                            │

00:00:20 #1197 [Verbose] > │                 let v44 : int32 = v42.l0                                     │

00:00:20 #1198 [Verbose] > │                 v41.[int v44] <- v44                                         │

00:00:20 #1199 [Verbose] > │                 let v45 : int32 = v44 + 1                                    │

00:00:20 #1200 [Verbose] > │                 v42.l0 <- v45                                                │

00:00:20 #1201 [Verbose] > │                 ()                                                           │

00:00:20 #1202 [Verbose] > │             let v46 : (int32 -> string) = closure3(v15, v16, v37)            │

00:00:20 #1203 [Verbose] > │             let v47 : (string []) = v41 |> Array.Parallel.map v46            │

00:00:20 #1204 [Verbose] > │             let v48 : int32 = v47.Length                                     │

00:00:20 #1205 [Verbose] > │             let v49 : int32 = v48 - 1                                        │

00:00:20 #1206 [Verbose] > │             let v50 : string = v47.[int v49]                                 │

00:00:20 #1207 [Verbose] > │             let v51 : int64 = v39.ElapsedMilliseconds                        │

00:00:20 #1208 [Verbose] > │             let v52 : int64 = v51 - v40                                      │

00:00:20 #1209 [Verbose] > │             let v53 : string = $"Test case {v35 + 1}. {v36}. Time: {v52}  "  │

00:00:20 #1210 [Verbose] > │             System.Console.WriteLine v53                                     │

00:00:20 #1211 [Verbose] > │             v31.[int v34] <- struct (v50, v52)                               │

00:00:20 #1212 [Verbose] > │             let v54 : uint64 = v34 + 1UL                                     │

00:00:20 #1213 [Verbose] > │             v32.l0 <- v54                                                    │

00:00:20 #1214 [Verbose] > │             ()                                                               │

00:00:20 #1215 [Verbose] > │         let v55 : uint64 = System.Convert.ToUInt64 v31.Length                │

00:00:20 #1216 [Verbose] > │         let v56 : (string []) = Array.zeroCreate<string>                     │

00:00:20 #1217 [Verbose] > │ (System.Convert.ToInt32(v55))                                                │

00:00:20 #1218 [Verbose] > │         let v57 : Mut0 = {l0 = 0UL} : Mut0                                   │

00:00:20 #1219 [Verbose] > │         while method4(v55, v57) do                                           │

00:00:20 #1220 [Verbose] > │             let v59 : uint64 = v57.l0                                        │

00:00:20 #1221 [Verbose] > │             let struct (v60 : string, v61 : int64) = v31.[int v59]           │

00:00:20 #1222 [Verbose] > │             v56.[int v59] <- v60                                             │

00:00:20 #1223 [Verbose] > │             let v62 : uint64 = v59 + 1UL                                     │

00:00:20 #1224 [Verbose] > │             v57.l0 <- v62                                                    │

00:00:20 #1225 [Verbose] > │             ()                                                               │

00:00:20 #1226 [Verbose] > │         let v63 : uint64 = System.Convert.ToUInt64 v56.Length                │

00:00:20 #1227 [Verbose] > │         let v64 : bool = v63 <= 1UL                                          │

00:00:20 #1228 [Verbose] > │         if v64 then                                                          │

00:00:20 #1229 [Verbose] > │             ()                                                               │

00:00:20 #1230 [Verbose] > │         else                                                                 │

00:00:20 #1231 [Verbose] > │             let v65 : string = v56.[int 0UL]                                 │

00:00:20 #1232 [Verbose] > │             let v66 : uint64 = 0UL                                           │

00:00:20 #1233 [Verbose] > │             let v67 : bool = method9(v65, v56, v66)                          │

00:00:20 #1234 [Verbose] > │             if v67 then                                                      │

00:00:20 #1235 [Verbose] > │                 ()                                                           │

00:00:20 #1236 [Verbose] > │             else                                                             │

00:00:20 #1237 [Verbose] > │                 let v68 : string = $"Challenge error: {v56}"                 │

00:00:20 #1238 [Verbose] > │                 failwith<unit> v68                                           │

00:00:20 #1239 [Verbose] > │         let v69 : string = $"%A{v17}"                                        │

00:00:20 #1240 [Verbose] > │         let v70 : (string []) = Array.zeroCreate<string>                     │

00:00:20 #1241 [Verbose] > │ (System.Convert.ToInt32(v55))                                                │

00:00:20 #1242 [Verbose] > │         let v71 : Mut0 = {l0 = 0UL} : Mut0                                   │

00:00:20 #1243 [Verbose] > │         while method4(v55, v71) do                                           │

00:00:20 #1244 [Verbose] > │             let v73 : uint64 = v71.l0                                        │

00:00:20 #1245 [Verbose] > │             let struct (v74 : string, v75 : int64) = v31.[int v73]           │

00:00:20 #1246 [Verbose] > │             v70.[int v73] <- v74                                             │

00:00:20 #1247 [Verbose] > │             let v76 : uint64 = v73 + 1UL                                     │

00:00:20 #1248 [Verbose] > │             v71.l0 <- v76                                                    │

00:00:20 #1249 [Verbose] > │             ()                                                               │

00:00:20 #1250 [Verbose] > │         let v77 : string = v70.[int 0UL]                                     │

00:00:20 #1251 [Verbose] > │         let v78 : string = $"%A{v77}"                                        │

00:00:20 #1252 [Verbose] > │         let v79 : (int64 []) = Array.zeroCreate<int64>                       │

00:00:20 #1253 [Verbose] > │ (System.Convert.ToInt32(v55))                                                │

00:00:20 #1254 [Verbose] > │         let v80 : Mut0 = {l0 = 0UL} : Mut0                                   │

00:00:20 #1255 [Verbose] > │         while method4(v55, v80) do                                           │

00:00:20 #1256 [Verbose] > │             let v82 : uint64 = v80.l0                                        │

00:00:20 #1257 [Verbose] > │             let struct (v83 : string, v84 : int64) = v31.[int v82]           │

00:00:20 #1258 [Verbose] > │             v79.[int v82] <- v84                                             │

00:00:20 #1259 [Verbose] > │             let v85 : uint64 = v82 + 1UL                                     │

00:00:20 #1260 [Verbose] > │             v80.l0 <- v85                                                    │

00:00:20 #1261 [Verbose] > │             ()                                                               │

00:00:20 #1262 [Verbose] > │         v11.[int v14] <- struct (v69, v18, v78, v79)                         │

00:00:20 #1263 [Verbose] > │         let v86 : uint64 = v14 + 1UL                                         │

00:00:20 #1264 [Verbose] > │         v12.l0 <- v86                                                        │

00:00:20 #1265 [Verbose] > │         ()                                                                   │

00:00:20 #1266 [Verbose] > │     let v87 : uint64 = System.Convert.ToUInt64 v11.Length                    │

00:00:20 #1267 [Verbose] > │     let v88 : (struct (UH2 * US0) []) = Array.zeroCreate<struct (UH2 * US0)> │

00:00:20 #1268 [Verbose] > │ (System.Convert.ToInt32(v87))                                                │

00:00:20 #1269 [Verbose] > │     let v89 : Mut0 = {l0 = 0UL} : Mut0                                       │

00:00:20 #1270 [Verbose] > │     while method4(v87, v89) do                                               │

00:00:20 #1271 [Verbose] > │         let v91 : uint64 = v89.l0                                            │

00:00:20 #1272 [Verbose] > │         let struct (v92 : string, v93 : string, v94 : string, v95 : (int64 [ │

00:00:20 #1273 [Verbose] > │ ])) = v11.[int v91]                                                          │

00:00:20 #1274 [Verbose] > │         let v96 : uint64 = System.Convert.ToUInt64 v95.Length                │

00:00:20 #1275 [Verbose] > │         let v97 : UH3 = UH3_1                                                │

00:00:20 #1276 [Verbose] > │         let v98 : Mut2 = {l0 = 0UL; l1 = v97; l2 = 0L} : Mut2                │

00:00:20 #1277 [Verbose] > │         while method10(v96, v98) do                                          │

00:00:20 #1278 [Verbose] > │             let v100 : uint64 = v98.l0                                       │

00:00:20 #1279 [Verbose] > │             let struct (v101 : UH3, v102 : int64) = v98.l1, v98.l2           │

00:00:20 #1280 [Verbose] > │             let v103 : int64 = v95.[int v100]                                │

00:00:20 #1281 [Verbose] > │             let v104 : int64 = v102 + 1L                                     │

00:00:20 #1282 [Verbose] > │             let v105 : uint64 = v100 + 1UL                                   │

00:00:20 #1283 [Verbose] > │             let v106 : UH3 = UH3_0(v102, v103, v101)                         │

00:00:20 #1284 [Verbose] > │             v98.l0 <- v105                                                   │

00:00:20 #1285 [Verbose] > │             v98.l1 <- v106                                                   │

00:00:20 #1286 [Verbose] > │             v98.l2 <- v104                                                   │

00:00:20 #1287 [Verbose] > │             ()                                                               │

00:00:20 #1288 [Verbose] > │         let struct (v107 : UH3, v108 : int64) = v98.l1, v98.l2               │

00:00:20 #1289 [Verbose] > │         let v109 : UH3 = UH3_1                                               │

00:00:20 #1290 [Verbose] > │         let v110 : UH3 = method11(v107, v109)                                │

00:00:20 #1291 [Verbose] > │         let v111 : (struct (int64 * int64) []) = method12(v110)              │

00:00:20 #1292 [Verbose] > │         let v112 : int32 = v111.Length                                       │

00:00:20 #1293 [Verbose] > │         let v113 : (struct (int64 * int64) []) = Array.zeroCreate<struct     │

00:00:20 #1294 [Verbose] > │ (int64 * int64)> (v112)                                                      │

00:00:20 #1295 [Verbose] > │         let v114 : Mut1 = {l0 = 0} : Mut1                                    │

00:00:20 #1296 [Verbose] > │         while method15(v112, v114) do                                        │

00:00:20 #1297 [Verbose] > │             let v116 : int32 = v114.l0                                       │

00:00:20 #1298 [Verbose] > │             let struct (v117 : int64, v118 : int64) = v111.[int v116]        │

00:00:20 #1299 [Verbose] > │             let v119 : int64 = v117 + 1L                                     │

00:00:20 #1300 [Verbose] > │             v113.[int v116] <- struct (v119, v118)                           │

00:00:20 #1301 [Verbose] > │             let v120 : int32 = v116 + 1                                      │

00:00:20 #1302 [Verbose] > │             v114.l0 <- v120                                                  │

00:00:20 #1303 [Verbose] > │             ()                                                               │

00:00:20 #1304 [Verbose] > │         let v121 : (struct (int64 * int64) -> int64) = closure4()            │

00:00:20 #1305 [Verbose] > │         let v122 : (struct (int64 * int64) []) = v113 |> Array.sortBy v121   │

00:00:20 #1306 [Verbose] > │         let struct (v123 : int64, v124 : int64) = v122.[int 0]               │

00:00:20 #1307 [Verbose] > │         let v125 : string = $"%A{struct (v123, v124)}"                       │

00:00:20 #1308 [Verbose] > │         let v126 : bool = v92 = v94                                          │

00:00:20 #1309 [Verbose] > │         let v131 : US0 =                                                     │

00:00:20 #1310 [Verbose] > │             if v126 then                                                     │

00:00:20 #1311 [Verbose] > │                 let v127 : System.ConsoleColor =                             │

00:00:20 #1312 [Verbose] > │ System.ConsoleColor.DarkGreen                                                │

00:00:20 #1313 [Verbose] > │                 US0_1(v127)                                                  │

00:00:20 #1314 [Verbose] > │             else                                                             │

00:00:20 #1315 [Verbose] > │                 let v129 : System.ConsoleColor = System.ConsoleColor.DarkRed │

00:00:20 #1316 [Verbose] > │                 US0_1(v129)                                                  │

00:00:20 #1317 [Verbose] > │         let v132 : UH2 = UH2_1                                               │

00:00:20 #1318 [Verbose] > │         let v133 : UH2 = UH2_0(v125, v132)                                   │

00:00:20 #1319 [Verbose] > │         let v134 : UH2 = UH2_0(v94, v133)                                    │

00:00:20 #1320 [Verbose] > │         let v135 : UH2 = UH2_0(v92, v134)                                    │

00:00:20 #1321 [Verbose] > │         let v136 : UH2 = UH2_0(v93, v135)                                    │

00:00:20 #1322 [Verbose] > │         v88.[int v91] <- struct (v136, v131)                                 │

00:00:20 #1323 [Verbose] > │         let v137 : uint64 = v91 + 1UL                                        │

00:00:20 #1324 [Verbose] > │         v89.l0 <- v137                                                       │

00:00:20 #1325 [Verbose] > │         ()                                                                   │

00:00:20 #1326 [Verbose] > │     let v138 : string = "Input"                                              │

00:00:20 #1327 [Verbose] > │     let v139 : string = "Expected"                                           │

00:00:20 #1328 [Verbose] > │     let v140 : string = "Result"                                             │

00:00:20 #1329 [Verbose] > │     let v141 : string = "Best"                                               │

00:00:20 #1330 [Verbose] > │     let v142 : UH2 = UH2_1                                                   │

00:00:20 #1331 [Verbose] > │     let v143 : UH2 = UH2_0(v141, v142)                                       │

00:00:20 #1332 [Verbose] > │     let v144 : UH2 = UH2_0(v140, v143)                                       │

00:00:20 #1333 [Verbose] > │     let v145 : UH2 = UH2_0(v139, v144)                                       │

00:00:20 #1334 [Verbose] > │     let v146 : UH2 = UH2_0(v138, v145)                                       │

00:00:20 #1335 [Verbose] > │     let v147 : US0 = US0_0                                                   │

00:00:20 #1336 [Verbose] > │     let v148 : string = "---"                                                │

00:00:20 #1337 [Verbose] > │     let v149 : UH2 = UH2_1                                                   │

00:00:20 #1338 [Verbose] > │     let v150 : UH2 = UH2_0(v148, v149)                                       │

00:00:20 #1339 [Verbose] > │     let v151 : UH2 = UH2_0(v148, v150)                                       │

00:00:20 #1340 [Verbose] > │     let v152 : UH2 = UH2_0(v148, v151)                                       │

00:00:20 #1341 [Verbose] > │     let v153 : UH2 = UH2_0(v148, v152)                                       │

00:00:20 #1342 [Verbose] > │     let v154 : US0 = US0_0                                                   │

00:00:20 #1343 [Verbose] > │     let v155 : UH4 = UH4_1                                                   │

00:00:20 #1344 [Verbose] > │     let v156 : UH4 = UH4_0(v153, v154, v155)                                 │

00:00:20 #1345 [Verbose] > │     let v157 : UH4 = UH4_0(v146, v147, v156)                                 │

00:00:20 #1346 [Verbose] > │     let v158 : (struct (UH2 * US0) []) = method16(v157)                      │

00:00:20 #1347 [Verbose] > │     let v159 : uint64 = System.Convert.ToUInt64 v158.Length                  │

00:00:20 #1348 [Verbose] > │     let v160 : uint64 = System.Convert.ToUInt64 v88.Length                   │

00:00:20 #1349 [Verbose] > │     let v161 : uint64 = v159 + v160                                          │

00:00:20 #1350 [Verbose] > │     let v162 : (struct (UH2 * US0) []) = Array.zeroCreate<struct (UH2 *      │

00:00:20 #1351 [Verbose] > │ US0)> (System.Convert.ToInt32(v161))                                         │

00:00:20 #1352 [Verbose] > │     let v163 : Mut0 = {l0 = 0UL} : Mut0                                      │

00:00:20 #1353 [Verbose] > │     while method4(v161, v163) do                                             │

00:00:20 #1354 [Verbose] > │         let v165 : uint64 = v163.l0                                          │

00:00:20 #1355 [Verbose] > │         let v166 : bool = v165 < v159                                        │

00:00:20 #1356 [Verbose] > │         let struct (v172 : UH2, v173 : US0) =                                │

00:00:20 #1357 [Verbose] > │             if v166 then                                                     │

00:00:20 #1358 [Verbose] > │                 let struct (v167 : UH2, v168 : US0) = v158.[int v165]        │

00:00:20 #1359 [Verbose] > │                 struct (v167, v168)                                          │

00:00:20 #1360 [Verbose] > │             else                                                             │

00:00:20 #1361 [Verbose] > │                 let v169 : uint64 = v165 - v159                              │

00:00:20 #1362 [Verbose] > │                 let struct (v170 : UH2, v171 : US0) = v88.[int v169]         │

00:00:20 #1363 [Verbose] > │                 struct (v170, v171)                                          │

00:00:20 #1364 [Verbose] > │         v162.[int v165] <- struct (v172, v173)                               │

00:00:20 #1365 [Verbose] > │         let v174 : uint64 = v165 + 1UL                                       │

00:00:20 #1366 [Verbose] > │         v163.l0 <- v174                                                      │

00:00:20 #1367 [Verbose] > │         ()                                                                   │

00:00:20 #1368 [Verbose] > │     let v175 : uint64 = System.Convert.ToUInt64 v162.Length                  │

00:00:20 #1369 [Verbose] > │     let v176 : ((string []) []) = Array.zeroCreate<(string [])>              │

00:00:20 #1370 [Verbose] > │ (System.Convert.ToInt32(v175))                                               │

00:00:20 #1371 [Verbose] > │     let v177 : Mut0 = {l0 = 0UL} : Mut0                                      │

00:00:20 #1372 [Verbose] > │     while method4(v175, v177) do                                             │

00:00:20 #1373 [Verbose] > │         let v179 : uint64 = v177.l0                                          │

00:00:20 #1374 [Verbose] > │         let struct (v180 : UH2, v181 : US0) = v162.[int v179]                │

00:00:20 #1375 [Verbose] > │         let v182 : (string []) = method19(v180)                              │

00:00:20 #1376 [Verbose] > │         v176.[int v179] <- v182                                              │

00:00:20 #1377 [Verbose] > │         let v183 : uint64 = v179 + 1UL                                       │

00:00:20 #1378 [Verbose] > │         v177.l0 <- v183                                                      │

00:00:20 #1379 [Verbose] > │         ()                                                                   │

00:00:20 #1380 [Verbose] > │     let v184 : ((string []) []) = v176 |> Array.transpose                    │

00:00:20 #1381 [Verbose] > │     let v185 : uint64 = System.Convert.ToUInt64 v184.Length                  │

00:00:20 #1382 [Verbose] > │     let v186 : (int64 []) = Array.zeroCreate<int64>                          │

00:00:20 #1383 [Verbose] > │ (System.Convert.ToInt32(v185))                                               │

00:00:20 #1384 [Verbose] > │     let v187 : Mut0 = {l0 = 0UL} : Mut0                                      │

00:00:20 #1385 [Verbose] > │     while method4(v185, v187) do                                             │

00:00:20 #1386 [Verbose] > │         let v189 : uint64 = v187.l0                                          │

00:00:20 #1387 [Verbose] > │         let v190 : (string []) = v184.[int v189]                             │

00:00:20 #1388 [Verbose] > │         let v191 : uint64 = System.Convert.ToUInt64 v190.Length              │

00:00:20 #1389 [Verbose] > │         let v192 : (int64 []) = Array.zeroCreate<int64>                      │

00:00:20 #1390 [Verbose] > │ (System.Convert.ToInt32(v191))                                               │

00:00:20 #1391 [Verbose] > │         let v193 : Mut0 = {l0 = 0UL} : Mut0                                  │

00:00:20 #1392 [Verbose] > │         while method4(v191, v193) do                                         │

00:00:20 #1393 [Verbose] > │             let v195 : uint64 = v193.l0                                      │

00:00:20 #1394 [Verbose] > │             let v196 : string = v190.[int v195]                              │

00:00:20 #1395 [Verbose] > │             let v197 : int64 = System.Convert.ToInt64 v196.Length            │

00:00:20 #1396 [Verbose] > │             v192.[int v195] <- v197                                          │

00:00:20 #1397 [Verbose] > │             let v198 : uint64 = v195 + 1UL                                   │

00:00:20 #1398 [Verbose] > │             v193.l0 <- v198                                                  │

00:00:20 #1399 [Verbose] > │             ()                                                               │

00:00:20 #1400 [Verbose] > │         let v199 : (int64 []) = v192 |> Array.sortDescending                 │

00:00:20 #1401 [Verbose] > │         let v200 : int64 option = v199 |> Array.tryItem 0                    │

00:00:20 #1402 [Verbose] > │         let v201 : (int64 -> US1) = closure5()                               │

00:00:20 #1403 [Verbose] > │         let v202 : US1 = US1_0                                               │

00:00:20 #1404 [Verbose] > │         let v203 : US1 = v200 |> Option.map v201 |> Option.defaultValue v202 │

00:00:20 #1405 [Verbose] > │         let v206 : int64 =                                                   │

00:00:20 #1406 [Verbose] > │             match v203 with                                                  │

00:00:20 #1407 [Verbose] > │             | US1_0 -> (* None *)                                            │

00:00:20 #1408 [Verbose] > │                 0L                                                           │

00:00:20 #1409 [Verbose] > │             | US1_1(v204) -> (* Some *)                                      │

00:00:20 #1410 [Verbose] > │                 v204                                                         │

00:00:20 #1411 [Verbose] > │         v186.[int v189] <- v206                                              │

00:00:20 #1412 [Verbose] > │         let v207 : uint64 = v189 + 1UL                                       │

00:00:20 #1413 [Verbose] > │         v187.l0 <- v207                                                      │

00:00:20 #1414 [Verbose] > │         ()                                                                   │

00:00:20 #1415 [Verbose] > │     let v208 : uint64 = System.Convert.ToUInt64 v186.Length                  │

00:00:20 #1416 [Verbose] > │     let v209 : UH5 = UH5_1                                                   │

00:00:20 #1417 [Verbose] > │     let v210 : Mut3 = {l0 = 0UL; l1 = v209; l2 = 0} : Mut3                   │

00:00:20 #1418 [Verbose] > │     while method22(v208, v210) do                                            │

00:00:20 #1419 [Verbose] > │         let v212 : uint64 = v210.l0                                          │

00:00:20 #1420 [Verbose] > │         let struct (v213 : UH5, v214 : int32) = v210.l1, v210.l2             │

00:00:20 #1421 [Verbose] > │         let v215 : int64 = v186.[int v212]                                   │

00:00:20 #1422 [Verbose] > │         let v216 : int32 = v214 + 1                                          │

00:00:20 #1423 [Verbose] > │         let v217 : uint64 = v212 + 1UL                                       │

00:00:20 #1424 [Verbose] > │         let v218 : UH5 = UH5_0(v214, v215, v213)                             │

00:00:20 #1425 [Verbose] > │         v210.l0 <- v217                                                      │

00:00:20 #1426 [Verbose] > │         v210.l1 <- v218                                                      │

00:00:20 #1427 [Verbose] > │         v210.l2 <- v216                                                      │

00:00:20 #1428 [Verbose] > │         ()                                                                   │

00:00:20 #1429 [Verbose] > │     let struct (v219 : UH5, v220 : int32) = v210.l1, v210.l2                 │

00:00:20 #1430 [Verbose] > │     let v221 : UH5 = UH5_1                                                   │

00:00:20 #1431 [Verbose] > │     let v222 : UH5 = method23(v219, v221)                                    │

00:00:20 #1432 [Verbose] > │     let v223 : (struct (int32 * int64) []) = method24(v222)                  │

00:00:20 #1433 [Verbose] > │     let v224 : Map<int32, int64> = v223 |> Array.map (fun (struct (a, b)) -> │

00:00:20 #1434 [Verbose] > │ a, b) |> Map.ofArray                                                         │

00:00:20 #1435 [Verbose] > │     let v225 : (struct ((string []) * US0) []) = Array.zeroCreate<struct     │

00:00:20 #1436 [Verbose] > │ ((string []) * US0)> (System.Convert.ToInt32(v175))                          │

00:00:20 #1437 [Verbose] > │     let v226 : Mut0 = {l0 = 0UL} : Mut0                                      │

00:00:20 #1438 [Verbose] > │     while method4(v175, v226) do                                             │

00:00:20 #1439 [Verbose] > │         let v228 : uint64 = v226.l0                                          │

00:00:20 #1440 [Verbose] > │         let struct (v229 : UH2, v230 : US0) = v162.[int v228]                │

00:00:20 #1441 [Verbose] > │         let v231 : UH6 = UH6_1                                               │

00:00:20 #1442 [Verbose] > │         let v232 : int32 = 0                                                 │

00:00:20 #1443 [Verbose] > │         let struct (v233 : UH6, v234 : int32) = method27(v229, v231, v232)   │

00:00:20 #1444 [Verbose] > │         let v235 : UH6 = UH6_1                                               │

00:00:20 #1445 [Verbose] > │         let v236 : UH6 = method28(v233, v235)                                │

00:00:20 #1446 [Verbose] > │         let v237 : UH2 = UH2_1                                               │

00:00:20 #1447 [Verbose] > │         let v238 : UH2 = method29(v224, v236, v237)                          │

00:00:20 #1448 [Verbose] > │         let v239 : (string []) = method30(v238)                              │

00:00:20 #1449 [Verbose] > │         v225.[int v228] <- struct (v239, v230)                               │

00:00:20 #1450 [Verbose] > │         let v240 : uint64 = v228 + 1UL                                       │

00:00:20 #1451 [Verbose] > │         v226.l0 <- v240                                                      │

00:00:20 #1452 [Verbose] > │         ()                                                                   │

00:00:20 #1453 [Verbose] > │     System.Console.WriteLine v2                                              │

00:00:20 #1454 [Verbose] > │     let v241 : uint64 = System.Convert.ToUInt64 v225.Length                  │

00:00:20 #1455 [Verbose] > │     let v242 : Mut0 = {l0 = 0UL} : Mut0                                      │

00:00:20 #1456 [Verbose] > │     while method4(v241, v242) do                                             │

00:00:20 #1457 [Verbose] > │         let v244 : uint64 = v242.l0                                          │

00:00:20 #1458 [Verbose] > │         let struct (v245 : (string []), v246 : US0) = v225.[int v244]        │

00:00:20 #1459 [Verbose] > │         match v246 with                                                      │

00:00:20 #1460 [Verbose] > │         | US0_0 -> (* None *)                                                │

00:00:20 #1461 [Verbose] > │             let mutable result = None                                        │

00:00:20 #1462 [Verbose] > │             #if FABLE_COMPILER_RUST                                          │

00:00:20 #1463 [Verbose] > │             #if !WASM                                                        │

00:00:20 #1464 [Verbose] > │             ()                                                               │

00:00:20 #1465 [Verbose] > │             #else                                                            │

00:00:20 #1466 [Verbose] > │             ()                                                               │

00:00:20 #1467 [Verbose] > │             #endif                                                           │

00:00:20 #1468 [Verbose] > │             #else                                                            │

00:00:20 #1469 [Verbose] > │             System.Console.ResetColor ()                                     │

00:00:20 #1470 [Verbose] > │             ()                                                               │

00:00:20 #1471 [Verbose] > │             #endif                                                           │

00:00:20 #1472 [Verbose] > │             |> fun x -> result <- Some x                                     │

00:00:20 #1473 [Verbose] > │             result |> Option.get                                             │

00:00:20 #1474 [Verbose] > │             ()                                                               │

00:00:20 #1475 [Verbose] > │         | US0_1(v247) -> (* Some *)                                          │

00:00:20 #1476 [Verbose] > │             let mutable result = None                                        │

00:00:20 #1477 [Verbose] > │             #if FABLE_COMPILER_RUST                                          │

00:00:20 #1478 [Verbose] > │             #if !WASM                                                        │

00:00:20 #1479 [Verbose] > │             ()                                                               │

00:00:20 #1480 [Verbose] > │             #else                                                            │

00:00:20 #1481 [Verbose] > │             ()                                                               │

00:00:20 #1482 [Verbose] > │             #endif                                                           │

00:00:20 #1483 [Verbose] > │             #else                                                            │

00:00:20 #1484 [Verbose] > │             System.Console.ForegroundColor <- v247                           │

00:00:20 #1485 [Verbose] > │             ()                                                               │

00:00:20 #1486 [Verbose] > │             #endif                                                           │

00:00:20 #1487 [Verbose] > │             |> fun x -> result <- Some x                                     │

00:00:20 #1488 [Verbose] > │             result |> Option.get                                             │

00:00:20 #1489 [Verbose] > │             ()                                                               │

00:00:20 #1490 [Verbose] > │         let v248 : string = "\t| "                                           │

00:00:20 #1491 [Verbose] > │         let v249 : string = System.String.Join (v248, v245)                  │

00:00:20 #1492 [Verbose] > │         System.Console.WriteLine v249                                        │

00:00:20 #1493 [Verbose] > │         let mutable result = None                                            │

00:00:20 #1494 [Verbose] > │         #if FABLE_COMPILER_RUST                                              │

00:00:20 #1495 [Verbose] > │         #if !WASM                                                            │

00:00:20 #1496 [Verbose] > │         ()                                                                   │

00:00:20 #1497 [Verbose] > │         #else                                                                │

00:00:20 #1498 [Verbose] > │         ()                                                                   │

00:00:20 #1499 [Verbose] > │         #endif                                                               │

00:00:20 #1500 [Verbose] > │         #else                                                                │

00:00:20 #1501 [Verbose] > │         System.Console.ResetColor ()                                         │

00:00:20 #1502 [Verbose] > │         ()                                                                   │

00:00:20 #1503 [Verbose] > │         #endif                                                               │

00:00:20 #1504 [Verbose] > │         |> fun x -> result <- Some x                                         │

00:00:20 #1505 [Verbose] > │         result |> Option.get                                                 │

00:00:20 #1506 [Verbose] > │         let v250 : uint64 = v244 + 1UL                                       │

00:00:20 #1507 [Verbose] > │         v242.l0 <- v250                                                      │

00:00:20 #1508 [Verbose] > │         ()                                                                   │

00:00:20 #1509 [Verbose] > │     let v251 : ((float []) []) = Array.zeroCreate<(float [])>                │

00:00:20 #1510 [Verbose] > │ (System.Convert.ToInt32(v87))                                                │

00:00:20 #1511 [Verbose] > │     let v252 : Mut0 = {l0 = 0UL} : Mut0                                      │

00:00:20 #1512 [Verbose] > │     while method4(v87, v252) do                                              │

00:00:20 #1513 [Verbose] > │         let v254 : uint64 = v252.l0                                          │

00:00:20 #1514 [Verbose] > │         let struct (v255 : string, v256 : string, v257 : string, v258 :      │

00:00:20 #1515 [Verbose] > │ (int64 [])) = v11.[int v254]                                                 │

00:00:20 #1516 [Verbose] > │         let v259 : (int64 -> float) = float                                  │

00:00:20 #1517 [Verbose] > │         let v260 : uint64 = System.Convert.ToUInt64 v258.Length              │

00:00:20 #1518 [Verbose] > │         let v261 : (float []) = Array.zeroCreate<float>                      │

00:00:20 #1519 [Verbose] > │ (System.Convert.ToInt32(v260))                                               │

00:00:20 #1520 [Verbose] > │         let v262 : Mut0 = {l0 = 0UL} : Mut0                                  │

00:00:20 #1521 [Verbose] > │         while method4(v260, v262) do                                         │

00:00:20 #1522 [Verbose] > │             let v264 : uint64 = v262.l0                                      │

00:00:20 #1523 [Verbose] > │             let v265 : int64 = v258.[int v264]                               │

00:00:20 #1524 [Verbose] > │             let v266 : float = v259 v265                                     │

00:00:20 #1525 [Verbose] > │             v261.[int v264] <- v266                                          │

00:00:20 #1526 [Verbose] > │             let v267 : uint64 = v264 + 1UL                                   │

00:00:20 #1527 [Verbose] > │             v262.l0 <- v267                                                  │

00:00:20 #1528 [Verbose] > │             ()                                                               │

00:00:20 #1529 [Verbose] > │         v251.[int v254] <- v261                                              │

00:00:20 #1530 [Verbose] > │         let v268 : uint64 = v254 + 1UL                                       │

00:00:20 #1531 [Verbose] > │         v252.l0 <- v268                                                      │

00:00:20 #1532 [Verbose] > │         ()                                                                   │

00:00:20 #1533 [Verbose] > │     let v269 : ((float []) []) = v251 |> Array.transpose                     │

00:00:20 #1534 [Verbose] > │     let v270 : uint64 = System.Convert.ToUInt64 v269.Length                  │

00:00:20 #1535 [Verbose] > │     let v271 : (float []) = Array.zeroCreate<float>                          │

00:00:20 #1536 [Verbose] > │ (System.Convert.ToInt32(v270))                                               │

00:00:20 #1537 [Verbose] > │     let v272 : Mut0 = {l0 = 0UL} : Mut0                                      │

00:00:20 #1538 [Verbose] > │     while method4(v270, v272) do                                             │

00:00:20 #1539 [Verbose] > │         let v274 : uint64 = v272.l0                                          │

00:00:20 #1540 [Verbose] > │         let v275 : (float []) = v269.[int v274]                              │

00:00:20 #1541 [Verbose] > │         let v276 : float = v275 |> Array.average                             │

00:00:20 #1542 [Verbose] > │         v271.[int v274] <- v276                                              │

00:00:20 #1543 [Verbose] > │         let v277 : uint64 = v274 + 1UL                                       │

00:00:20 #1544 [Verbose] > │         v272.l0 <- v277                                                      │

00:00:20 #1545 [Verbose] > │         ()                                                                   │

00:00:20 #1546 [Verbose] > │     let v278 : (float -> int64) = int64                                      │

00:00:20 #1547 [Verbose] > │     let v279 : uint64 = System.Convert.ToUInt64 v271.Length                  │

00:00:20 #1548 [Verbose] > │     let v280 : (int64 []) = Array.zeroCreate<int64>                          │

00:00:20 #1549 [Verbose] > │ (System.Convert.ToInt32(v279))                                               │

00:00:20 #1550 [Verbose] > │     let v281 : Mut0 = {l0 = 0UL} : Mut0                                      │

00:00:20 #1551 [Verbose] > │     while method4(v279, v281) do                                             │

00:00:20 #1552 [Verbose] > │         let v283 : uint64 = v281.l0                                          │

00:00:20 #1553 [Verbose] > │         let v284 : float = v271.[int v283]                                   │

00:00:20 #1554 [Verbose] > │         let v285 : int64 = v278 v284                                         │

00:00:20 #1555 [Verbose] > │         v280.[int v283] <- v285                                              │

00:00:20 #1556 [Verbose] > │         let v286 : uint64 = v283 + 1UL                                       │

00:00:20 #1557 [Verbose] > │         v281.l0 <- v286                                                      │

00:00:20 #1558 [Verbose] > │         ()                                                                   │

00:00:20 #1559 [Verbose] > │     let v287 : uint64 = System.Convert.ToUInt64 v280.Length                  │

00:00:20 #1560 [Verbose] > │     let v288 : UH5 = UH5_1                                                   │

00:00:20 #1561 [Verbose] > │     let v289 : Mut3 = {l0 = 0UL; l1 = v288; l2 = 0} : Mut3                   │

00:00:20 #1562 [Verbose] > │     while method22(v287, v289) do                                            │

00:00:20 #1563 [Verbose] > │         let v291 : uint64 = v289.l0                                          │

00:00:20 #1564 [Verbose] > │         let struct (v292 : UH5, v293 : int32) = v289.l1, v289.l2             │

00:00:20 #1565 [Verbose] > │         let v294 : int64 = v280.[int v291]                                   │

00:00:20 #1566 [Verbose] > │         let v295 : int32 = v293 + 1                                          │

00:00:20 #1567 [Verbose] > │         let v296 : uint64 = v291 + 1UL                                       │

00:00:20 #1568 [Verbose] > │         let v297 : UH5 = UH5_0(v293, v294, v292)                             │

00:00:20 #1569 [Verbose] > │         v289.l0 <- v296                                                      │

00:00:20 #1570 [Verbose] > │         v289.l1 <- v297                                                      │

00:00:20 #1571 [Verbose] > │         v289.l2 <- v295                                                      │

00:00:20 #1572 [Verbose] > │         ()                                                                   │

00:00:20 #1573 [Verbose] > │     let struct (v298 : UH5, v299 : int32) = v289.l1, v289.l2                 │

00:00:20 #1574 [Verbose] > │     let v300 : UH5 = UH5_1                                                   │

00:00:20 #1575 [Verbose] > │     let v301 : UH5 = method23(v298, v300)                                    │

00:00:20 #1576 [Verbose] > │     let v302 : (struct (int32 * int64) []) = method33(v301)                  │

00:00:20 #1577 [Verbose] > │     System.Console.WriteLine v2                                              │

00:00:20 #1578 [Verbose] > │     let v303 : string = "Average Ranking  "                                  │

00:00:20 #1579 [Verbose] > │     System.Console.WriteLine v303                                            │

00:00:20 #1580 [Verbose] > │     let v304 : (struct (int32 * int64) -> int64) = closure6()                │

00:00:20 #1581 [Verbose] > │     let v305 : (struct (int32 * int64) []) = v302 |> Array.sortBy v304       │

00:00:20 #1582 [Verbose] > │     let v306 : uint64 = System.Convert.ToUInt64 v305.Length                  │

00:00:20 #1583 [Verbose] > │     let v307 : Mut0 = {l0 = 0UL} : Mut0                                      │

00:00:20 #1584 [Verbose] > │     while method4(v306, v307) do                                             │

00:00:20 #1585 [Verbose] > │         let v309 : uint64 = v307.l0                                          │

00:00:20 #1586 [Verbose] > │         let struct (v310 : int32, v311 : int64) = v305.[int v309]            │

00:00:20 #1587 [Verbose] > │         let v312 : string = $"Test case %d{v310 + 1}. Average Time: %A{v311} │

00:00:20 #1588 [Verbose] > │ "                                                                            │

00:00:20 #1589 [Verbose] > │         System.Console.WriteLine v312                                        │

00:00:20 #1590 [Verbose] > │         let v313 : uint64 = v309 + 1UL                                       │

00:00:20 #1591 [Verbose] > │         v307.l0 <- v313                                                      │

00:00:20 #1592 [Verbose] > │         ()                                                                   │

00:00:20 #1593 [Verbose] > │     ()                                                                       │

00:00:20 #1594 [Verbose] > │ method0()                                                                    │

00:00:20 #1595 [Verbose] > │                                                                              │

00:00:20 #1596 [Verbose] > │                                                                              │

00:00:20 #1597 [Verbose] > │                                                                              │

00:00:20 #1598 [Verbose] > │ Test: v0                                                                     │

00:00:20 #1599 [Verbose] > │                                                                              │

00:00:20 #1600 [Verbose] > │ Solution: struct ("a", "a")                                                  │

00:00:20 #1601 [Verbose] > │ Test case 1. A. Time: 97                                                     │

00:00:20 #1602 [Verbose] > │ Test case 2. B. Time: 95                                                     │

00:00:20 #1603 [Verbose] > │                                                                              │

00:00:20 #1604 [Verbose] > │ Solution: struct ("b", "b")                                                  │

00:00:20 #1605 [Verbose] > │ Test case 1. A. Time: 96                                                     │

00:00:20 #1606 [Verbose] > │ Test case 2. B. Time: 101                                                    │

00:00:20 #1607 [Verbose] > │                                                                              │

00:00:20 #1608 [Verbose] > │ Input            	| Expected	| Result	| Best                                       │

00:00:20 #1609 [Verbose] > │ ---              	| ---     	| ---   	| ---                                        │

00:00:20 #1610 [Verbose] > │ struct ("a", "a")	| "a"     	| "a"   	| struct (2L, 95L)                           │

00:00:20 #1611 [Verbose] > │ struct ("b", "b")	| "b"     	| "b"   	| struct (1L, 96L)                           │

00:00:20 #1612 [Verbose] > │                                                                              │

00:00:20 #1613 [Verbose] > │ Average Ranking                                                              │

00:00:20 #1614 [Verbose] > │ Test case 1. Average Time: 96L                                               │

00:00:20 #1615 [Verbose] > │ Test case 2. Average Time: 98L                                               │

00:00:20 #1616 [Verbose] > │                                                                              │

00:00:20 #1617 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:20 #1618 [Verbose] >

00:00:20 #1619 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────

00:00:20 #1620 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮

00:00:20 #1621 [Verbose] > │ ## emptyTests                                                                │

00:00:20 #1622 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:20 #1623 [Verbose] >

00:00:20 #1624 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────

00:00:20 #1625 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮

00:00:20 #1626 [Verbose] > │ Test: Empty                                                                  │

00:00:20 #1627 [Verbose] > │                                                                              │

00:00:20 #1628 [Verbose] > │ Solution: 0                                                                  │

00:00:20 #1629 [Verbose] > │ Test case 1. A. Time: 61L                                                    │

00:00:20 #1630 [Verbose] > │                                                                              │

00:00:20 #1631 [Verbose] > │ Solution: 2                                                                  │

00:00:20 #1632 [Verbose] > │ Test case 1. A. Time: 62L                                                    │

00:00:20 #1633 [Verbose] > │                                                                              │

00:00:20 #1634 [Verbose] > │ Solution: 5                                                                  │

00:00:20 #1635 [Verbose] > │ Test case 1. A. Time: 70L                                                    │

00:00:20 #1636 [Verbose] > │                                                                              │

00:00:20 #1637 [Verbose] > │ Input   | Expected        | Result  | Best                                   │

00:00:20 #1638 [Verbose] > │ ---     | ---             | ---     | ---                                    │

00:00:20 #1639 [Verbose] > │ 0       | 0               | 0       | (1, 61)                                │

00:00:20 #1640 [Verbose] > │ 2       | 2               | 2       | (1, 62)                                │

00:00:20 #1641 [Verbose] > │ 5       | 5               | 5       | (1, 70)                                │

00:00:20 #1642 [Verbose] > │                                                                              │

00:00:20 #1643 [Verbose] > │ Averages                                                                     │

00:00:20 #1644 [Verbose] > │ Test case 1. Average Time: 64L                                               │

00:00:20 #1645 [Verbose] > │                                                                              │

00:00:20 #1646 [Verbose] > │ Ranking                                                                      │

00:00:20 #1647 [Verbose] > │ Test case 1. Average Time: 64L                                               │

00:00:20 #1648 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:20 #1649 [Verbose] >

00:00:20 #1650 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:20 #1651 [Verbose] > // // test

00:00:20 #1652 [Verbose] >

00:00:20 #1653 [Verbose] > inl get_solutions () =

00:00:20 #1654 [Verbose] >     [[

00:00:20 #1655 [Verbose] >         "A",

00:00:20 #1656 [Verbose] >         fun n =>

00:00:20 #1657 [Verbose] >             n + 1f64

00:00:20 #1658 [Verbose] >     ]]

00:00:20 #1659 [Verbose] >

00:00:20 #1660 [Verbose] > inl rec empty_1_tests () =

00:00:20 #1661 [Verbose] >     inl test_cases = [[

00:00:20 #1662 [Verbose] >         0, 1

00:00:20 #1663 [Verbose] >         2, 3

00:00:20 #1664 [Verbose] >         5, 6

00:00:20 #1665 [Verbose] >     ]]

00:00:20 #1666 [Verbose] >

00:00:20 #1667 [Verbose] >     inl solutions = get_solutions ()

00:00:20 #1668 [Verbose] >

00:00:20 #1669 [Verbose] >     // inl is_fast () = true

00:00:20 #1670 [Verbose] >

00:00:20 #1671 [Verbose] >     inl count =

00:00:20 #1672 [Verbose] >         if is_fast ()

00:00:20 #1673 [Verbose] >         then 1000i32

00:00:20 #1674 [Verbose] >         else 2000000i32

00:00:20 #1675 [Verbose] >

00:00:20 #1676 [Verbose] >     run_all (nameof empty_1_tests) count solutions test_cases

00:00:20 #1677 [Verbose] >     |> sort_result_list

00:00:20 #1678 [Verbose] >

00:00:20 #1679 [Verbose] > empty_1_tests ()

00:00:20 #1680 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0902-1265-6569-631ba6c03b78\main.spi

00:00:25 #1681 [Verbose] >

00:00:25 #1682 [Verbose] > ╭─[ 5.22s - stdout ]───────────────────────────────────────────────────────────╮

00:00:25 #1683 [Verbose] > │ type UH0 =                                                                   │

00:00:25 #1684 [Verbose] > │     | UH0_0 of float * float * UH0                                           │

00:00:25 #1685 [Verbose] > │     | UH0_1                                                                  │

00:00:25 #1686 [Verbose] > │ and Mut0 = {mutable l0 : uint64}                                             │

00:00:25 #1687 [Verbose] > │ and UH1 =                                                                    │

00:00:25 #1688 [Verbose] > │     | UH1_0 of int32 * string * (float -> float) * UH1                       │

00:00:25 #1689 [Verbose] > │     | UH1_1                                                                  │

00:00:25 #1690 [Verbose] > │ and Mut1 = {mutable l0 : int32}                                              │

00:00:25 #1691 [Verbose] > │ and UH2 =                                                                    │

00:00:25 #1692 [Verbose] > │     | UH2_0 of string * UH2                                                  │

00:00:25 #1693 [Verbose] > │     | UH2_1                                                                  │

00:00:25 #1694 [Verbose] > │ and [<Struct>] US0 =                                                         │

00:00:25 #1695 [Verbose] > │     | US0_0                                                                  │

00:00:25 #1696 [Verbose] > │     | US0_1 of f1_0 : System.ConsoleColor                                    │

00:00:25 #1697 [Verbose] > │ and UH3 =                                                                    │

00:00:25 #1698 [Verbose] > │     | UH3_0 of int64 * int64 * UH3                                           │

00:00:25 #1699 [Verbose] > │     | UH3_1                                                                  │

00:00:25 #1700 [Verbose] > │ and Mut2 = {mutable l0 : uint64; mutable l1 : UH3; mutable l2 : int64}       │

00:00:25 #1701 [Verbose] > │ and UH4 =                                                                    │

00:00:25 #1702 [Verbose] > │     | UH4_0 of UH2 * US0 * UH4                                               │

00:00:25 #1703 [Verbose] > │     | UH4_1                                                                  │

00:00:25 #1704 [Verbose] > │ and [<Struct>] US1 =                                                         │

00:00:25 #1705 [Verbose] > │     | US1_0                                                                  │

00:00:25 #1706 [Verbose] > │     | US1_1 of f1_0 : int64                                                  │

00:00:25 #1707 [Verbose] > │ and UH5 =                                                                    │

00:00:25 #1708 [Verbose] > │     | UH5_0 of int32 * int64 * UH5                                           │

00:00:25 #1709 [Verbose] > │     | UH5_1                                                                  │

00:00:25 #1710 [Verbose] > │ and Mut3 = {mutable l0 : uint64; mutable l1 : UH5; mutable l2 : int32}       │

00:00:25 #1711 [Verbose] > │ and UH6 =                                                                    │

00:00:25 #1712 [Verbose] > │     | UH6_0 of int32 * string * UH6                                          │

00:00:25 #1713 [Verbose] > │     | UH6_1                                                                  │

00:00:25 #1714 [Verbose] > │ let rec method2 (v0 : UH0, v1 : uint64) : uint64 =                           │

00:00:25 #1715 [Verbose] > │     match v0 with                                                            │

00:00:25 #1716 [Verbose] > │     | UH0_0(v2, v3, v4) -> (* Cons *)                                        │

00:00:25 #1717 [Verbose] > │         let v5 : uint64 = v1 + 1UL                                           │

00:00:25 #1718 [Verbose] > │         method2(v4, v5)                                                      │

00:00:25 #1719 [Verbose] > │     | UH0_1 -> (* Nil *)                                                     │

00:00:25 #1720 [Verbose] > │         v1                                                                   │

00:00:25 #1721 [Verbose] > │ and method3 (v0 : (struct (float * float) []), v1 : UH0, v2 : uint64) :      │

00:00:25 #1722 [Verbose] > │ uint64 =                                                                     │

00:00:25 #1723 [Verbose] > │     match v1 with                                                            │

00:00:25 #1724 [Verbose] > │     | UH0_0(v3, v4, v5) -> (* Cons *)                                        │

00:00:25 #1725 [Verbose] > │         v0.[int v2] <- struct (v3, v4)                                       │

00:00:25 #1726 [Verbose] > │         let v6 : uint64 = v2 + 1UL                                           │

00:00:25 #1727 [Verbose] > │         method3(v0, v5, v6)                                                  │

00:00:25 #1728 [Verbose] > │     | UH0_1 -> (* Nil *)                                                     │

00:00:25 #1729 [Verbose] > │         v2                                                                   │

00:00:25 #1730 [Verbose] > │ and method1 (v0 : UH0) : (struct (float * float) []) =                       │

00:00:25 #1731 [Verbose] > │     let v1 : uint64 = 0UL                                                    │

00:00:25 #1732 [Verbose] > │     let v2 : uint64 = method2(v0, v1)                                        │

00:00:25 #1733 [Verbose] > │     let v3 : (struct (float * float) []) = Array.zeroCreate<struct (float *  │

00:00:25 #1734 [Verbose] > │ float)> (System.Convert.ToInt32(v2))                                         │

00:00:25 #1735 [Verbose] > │     let v4 : uint64 = 0UL                                                    │

00:00:25 #1736 [Verbose] > │     let v5 : uint64 = method3(v3, v0, v4)                                    │

00:00:25 #1737 [Verbose] > │     v3                                                                       │

00:00:25 #1738 [Verbose] > │ and method4 (v0 : uint64, v1 : Mut0) : bool =                                │

00:00:25 #1739 [Verbose] > │     let v2 : uint64 = v1.l0                                                  │

00:00:25 #1740 [Verbose] > │     let v3 : bool = v2 < v0                                                  │

00:00:25 #1741 [Verbose] > │     v3                                                                       │

00:00:25 #1742 [Verbose] > │ and closure1 () (v0 : float) : float =                                       │

00:00:25 #1743 [Verbose] > │     let v1 : float = v0 + 1.0                                                │

00:00:25 #1744 [Verbose] > │     v1                                                                       │

00:00:25 #1745 [Verbose] > │ and method6 (v0 : UH1, v1 : uint64) : uint64 =                               │

00:00:25 #1746 [Verbose] > │     match v0 with                                                            │

00:00:25 #1747 [Verbose] > │     | UH1_0(v2, v3, v4, v5) -> (* Cons *)                                    │

00:00:25 #1748 [Verbose] > │         let v6 : uint64 = v1 + 1UL                                           │

00:00:25 #1749 [Verbose] > │         method6(v5, v6)                                                      │

00:00:25 #1750 [Verbose] > │     | UH1_1 -> (* Nil *)                                                     │

00:00:25 #1751 [Verbose] > │         v1                                                                   │

00:00:25 #1752 [Verbose] > │ and method7 (v0 : (struct (int32 * string * (float -> float)) []), v1 : UH1, │

00:00:25 #1753 [Verbose] > │ v2 : uint64) : uint64 =                                                      │

00:00:25 #1754 [Verbose] > │     match v1 with                                                            │

00:00:25 #1755 [Verbose] > │     | UH1_0(v3, v4, v5, v6) -> (* Cons *)                                    │

00:00:25 #1756 [Verbose] > │         v0.[int v2] <- struct (v3, v4, v5)                                   │

00:00:25 #1757 [Verbose] > │         let v7 : uint64 = v2 + 1UL                                           │

00:00:25 #1758 [Verbose] > │         method7(v0, v6, v7)                                                  │

00:00:25 #1759 [Verbose] > │     | UH1_1 -> (* Nil *)                                                     │

00:00:25 #1760 [Verbose] > │         v2                                                                   │

00:00:25 #1761 [Verbose] > │ and method5 (v0 : UH1) : (struct (int32 * string * (float -> float)) []) =   │

00:00:25 #1762 [Verbose] > │     let v1 : uint64 = 0UL                                                    │

00:00:25 #1763 [Verbose] > │     let v2 : uint64 = method6(v0, v1)                                        │

00:00:25 #1764 [Verbose] > │     let v3 : (struct (int32 * string * (float -> float)) []) =               │

00:00:25 #1765 [Verbose] > │ Array.zeroCreate<struct (int32 * string * (float -> float))>                 │

00:00:25 #1766 [Verbose] > │ (System.Convert.ToInt32(v2))                                                 │

00:00:25 #1767 [Verbose] > │     let v4 : uint64 = 0UL                                                    │

00:00:25 #1768 [Verbose] > │     let v5 : uint64 = method7(v3, v0, v4)                                    │

00:00:25 #1769 [Verbose] > │     v3                                                                       │

00:00:25 #1770 [Verbose] > │ and method8 (v0 : Mut1) : bool =                                             │

00:00:25 #1771 [Verbose] > │     let v1 : int32 = v0.l0                                                   │

00:00:25 #1772 [Verbose] > │     let v2 : bool = v1 < 2000001                                             │

00:00:25 #1773 [Verbose] > │     v2                                                                       │

00:00:25 #1774 [Verbose] > │ and closure2 (v0 : float, v1 : (float -> float)) (v2 : int32) : float =      │

00:00:25 #1775 [Verbose] > │     v1 v0                                                                    │

00:00:25 #1776 [Verbose] > │ and method9 (v0 : float, v1 : (float []), v2 : uint64) : bool =              │

00:00:25 #1777 [Verbose] > │     let v3 : uint64 = System.Convert.ToUInt64 v1.Length                      │

00:00:25 #1778 [Verbose] > │     let v4 : bool = v2 < v3                                                  │

00:00:25 #1779 [Verbose] > │     if v4 then                                                               │

00:00:25 #1780 [Verbose] > │         let v5 : float = v1.[int v2]                                         │

00:00:25 #1781 [Verbose] > │         let v6 : bool = v0 = v5                                              │

00:00:25 #1782 [Verbose] > │         if v6 then                                                           │

00:00:25 #1783 [Verbose] > │             let v7 : uint64 = v2 + 1UL                                       │

00:00:25 #1784 [Verbose] > │             method9(v0, v1, v7)                                              │

00:00:25 #1785 [Verbose] > │         else                                                                 │

00:00:25 #1786 [Verbose] > │             false                                                            │

00:00:25 #1787 [Verbose] > │     else                                                                     │

00:00:25 #1788 [Verbose] > │         true                                                                 │

00:00:25 #1789 [Verbose] > │ and method10 (v0 : uint64, v1 : Mut2) : bool =                               │

00:00:25 #1790 [Verbose] > │     let v2 : uint64 = v1.l0                                                  │

00:00:25 #1791 [Verbose] > │     let v3 : bool = v2 < v0                                                  │

00:00:25 #1792 [Verbose] > │     v3                                                                       │

00:00:25 #1793 [Verbose] > │ and method11 (v0 : UH3, v1 : UH3) : UH3 =                                    │

00:00:25 #1794 [Verbose] > │     match v0 with                                                            │

00:00:25 #1795 [Verbose] > │     | UH3_0(v2, v3, v4) -> (* Cons *)                                        │

00:00:25 #1796 [Verbose] > │         let v5 : UH3 = UH3_0(v2, v3, v1)                                     │

00:00:25 #1797 [Verbose] > │         method11(v4, v5)                                                     │

00:00:25 #1798 [Verbose] > │     | UH3_1 -> (* Nil *)                                                     │

00:00:25 #1799 [Verbose] > │         v1                                                                   │

00:00:25 #1800 [Verbose] > │ and method13 (v0 : UH3, v1 : int32) : int32 =                                │

00:00:25 #1801 [Verbose] > │     match v0 with                                                            │

00:00:25 #1802 [Verbose] > │     | UH3_0(v2, v3, v4) -> (* Cons *)                                        │

00:00:25 #1803 [Verbose] > │         let v5 : int32 = v1 + 1                                              │

00:00:25 #1804 [Verbose] > │         method13(v4, v5)                                                     │

00:00:25 #1805 [Verbose] > │     | UH3_1 -> (* Nil *)                                                     │

00:00:25 #1806 [Verbose] > │         v1                                                                   │

00:00:25 #1807 [Verbose] > │ and method14 (v0 : (struct (int64 * int64) []), v1 : UH3, v2 : int32) :      │

00:00:25 #1808 [Verbose] > │ int32 =                                                                      │

00:00:25 #1809 [Verbose] > │     match v1 with                                                            │

00:00:25 #1810 [Verbose] > │     | UH3_0(v3, v4, v5) -> (* Cons *)                                        │

00:00:25 #1811 [Verbose] > │         v0.[int v2] <- struct (v3, v4)                                       │

00:00:25 #1812 [Verbose] > │         let v6 : int32 = v2 + 1                                              │

00:00:25 #1813 [Verbose] > │         method14(v0, v5, v6)                                                 │

00:00:25 #1814 [Verbose] > │     | UH3_1 -> (* Nil *)                                                     │

00:00:25 #1815 [Verbose] > │         v2                                                                   │

00:00:25 #1816 [Verbose] > │ and method12 (v0 : UH3) : (struct (int64 * int64) []) =                      │

00:00:25 #1817 [Verbose] > │     let v1 : int32 = 0                                                       │

00:00:25 #1818 [Verbose] > │     let v2 : int32 = method13(v0, v1)                                        │

00:00:25 #1819 [Verbose] > │     let v3 : (struct (int64 * int64) []) = Array.zeroCreate<struct (int64 *  │

00:00:25 #1820 [Verbose] > │ int64)> (v2)                                                                 │

00:00:25 #1821 [Verbose] > │     let v4 : int32 = 0                                                       │

00:00:25 #1822 [Verbose] > │     let v5 : int32 = method14(v3, v0, v4)                                    │

00:00:25 #1823 [Verbose] > │     v3                                                                       │

00:00:25 #1824 [Verbose] > │ and method15 (v0 : int32, v1 : Mut1) : bool =                                │

00:00:25 #1825 [Verbose] > │     let v2 : int32 = v1.l0                                                   │

00:00:25 #1826 [Verbose] > │     let v3 : bool = v2 < v0                                                  │

00:00:25 #1827 [Verbose] > │     v3                                                                       │

00:00:25 #1828 [Verbose] > │ and closure3 () struct (v0 : int64, v1 : int64) : int64 =                    │

00:00:25 #1829 [Verbose] > │     v1                                                                       │

00:00:25 #1830 [Verbose] > │ and method17 (v0 : UH4, v1 : uint64) : uint64 =                              │

00:00:25 #1831 [Verbose] > │     match v0 with                                                            │

00:00:25 #1832 [Verbose] > │     | UH4_0(v2, v3, v4) -> (* Cons *)                                        │

00:00:25 #1833 [Verbose] > │         let v5 : uint64 = v1 + 1UL                                           │

00:00:25 #1834 [Verbose] > │         method17(v4, v5)                                                     │

00:00:25 #1835 [Verbose] > │     | UH4_1 -> (* Nil *)                                                     │

00:00:25 #1836 [Verbose] > │         v1                                                                   │

00:00:25 #1837 [Verbose] > │ and method18 (v0 : (struct (UH2 * US0) []), v1 : UH4, v2 : uint64) : uint64  │

00:00:25 #1838 [Verbose] > │ =                                                                            │

00:00:25 #1839 [Verbose] > │     match v1 with                                                            │

00:00:25 #1840 [Verbose] > │     | UH4_0(v3, v4, v5) -> (* Cons *)                                        │

00:00:25 #1841 [Verbose] > │         v0.[int v2] <- struct (v3, v4)                                       │

00:00:25 #1842 [Verbose] > │         let v6 : uint64 = v2 + 1UL                                           │

00:00:25 #1843 [Verbose] > │         method18(v0, v5, v6)                                                 │

00:00:25 #1844 [Verbose] > │     | UH4_1 -> (* Nil *)                                                     │

00:00:25 #1845 [Verbose] > │         v2                                                                   │

00:00:25 #1846 [Verbose] > │ and method16 (v0 : UH4) : (struct (UH2 * US0) []) =                          │

00:00:25 #1847 [Verbose] > │     let v1 : uint64 = 0UL                                                    │

00:00:25 #1848 [Verbose] > │     let v2 : uint64 = method17(v0, v1)                                       │

00:00:25 #1849 [Verbose] > │     let v3 : (struct (UH2 * US0) []) = Array.zeroCreate<struct (UH2 * US0)>  │

00:00:25 #1850 [Verbose] > │ (System.Convert.ToInt32(v2))                                                 │

00:00:25 #1851 [Verbose] > │     let v4 : uint64 = 0UL                                                    │

00:00:25 #1852 [Verbose] > │     let v5 : uint64 = method18(v3, v0, v4)                                   │

00:00:25 #1853 [Verbose] > │     v3                                                                       │

00:00:25 #1854 [Verbose] > │ and method20 (v0 : UH2, v1 : uint64) : uint64 =                              │

00:00:25 #1855 [Verbose] > │     match v0 with                                                            │

00:00:25 #1856 [Verbose] > │     | UH2_0(v2, v3) -> (* Cons *)                                            │

00:00:25 #1857 [Verbose] > │         let v4 : uint64 = v1 + 1UL                                           │

00:00:25 #1858 [Verbose] > │         method20(v3, v4)                                                     │

00:00:25 #1859 [Verbose] > │     | UH2_1 -> (* Nil *)                                                     │

00:00:25 #1860 [Verbose] > │         v1                                                                   │

00:00:25 #1861 [Verbose] > │ and method21 (v0 : (string []), v1 : UH2, v2 : uint64) : uint64 =            │

00:00:25 #1862 [Verbose] > │     match v1 with                                                            │

00:00:25 #1863 [Verbose] > │     | UH2_0(v3, v4) -> (* Cons *)                                            │

00:00:25 #1864 [Verbose] > │         v0.[int v2] <- v3                                                    │

00:00:25 #1865 [Verbose] > │         let v5 : uint64 = v2 + 1UL                                           │

00:00:25 #1866 [Verbose] > │         method21(v0, v4, v5)                                                 │

00:00:25 #1867 [Verbose] > │     | UH2_1 -> (* Nil *)                                                     │

00:00:25 #1868 [Verbose] > │         v2                                                                   │

00:00:25 #1869 [Verbose] > │ and method19 (v0 : UH2) : (string []) =                                      │

00:00:25 #1870 [Verbose] > │     let v1 : uint64 = 0UL                                                    │

00:00:25 #1871 [Verbose] > │     let v2 : uint64 = method20(v0, v1)                                       │

00:00:25 #1872 [Verbose] > │     let v3 : (string []) = Array.zeroCreate<string>                          │

00:00:25 #1873 [Verbose] > │ (System.Convert.ToInt32(v2))                                                 │

00:00:25 #1874 [Verbose] > │     let v4 : uint64 = 0UL                                                    │

00:00:25 #1875 [Verbose] > │     let v5 : uint64 = method21(v3, v0, v4)                                   │

00:00:25 #1876 [Verbose] > │     v3                                                                       │

00:00:25 #1877 [Verbose] > │ and closure4 () (v0 : int64) : US1 =                                         │

00:00:25 #1878 [Verbose] > │     US1_1(v0)                                                                │

00:00:25 #1879 [Verbose] > │ and method22 (v0 : uint64, v1 : Mut3) : bool =                               │

00:00:25 #1880 [Verbose] > │     let v2 : uint64 = v1.l0                                                  │

00:00:25 #1881 [Verbose] > │     let v3 : bool = v2 < v0                                                  │

00:00:25 #1882 [Verbose] > │     v3                                                                       │

00:00:25 #1883 [Verbose] > │ and method23 (v0 : UH5, v1 : UH5) : UH5 =                                    │

00:00:25 #1884 [Verbose] > │     match v0 with                                                            │

00:00:25 #1885 [Verbose] > │     | UH5_0(v2, v3, v4) -> (* Cons *)                                        │

00:00:25 #1886 [Verbose] > │         let v5 : UH5 = UH5_0(v2, v3, v1)                                     │

00:00:25 #1887 [Verbose] > │         method23(v4, v5)                                                     │

00:00:25 #1888 [Verbose] > │     | UH5_1 -> (* Nil *)                                                     │

00:00:25 #1889 [Verbose] > │         v1                                                                   │

00:00:25 #1890 [Verbose] > │ and method25 (v0 : UH5, v1 : int32) : int32 =                                │

00:00:25 #1891 [Verbose] > │     match v0 with                                                            │

00:00:25 #1892 [Verbose] > │     | UH5_0(v2, v3, v4) -> (* Cons *)                                        │

00:00:25 #1893 [Verbose] > │         let v5 : int32 = v1 + 1                                              │

00:00:25 #1894 [Verbose] > │         method25(v4, v5)                                                     │

00:00:25 #1895 [Verbose] > │     | UH5_1 -> (* Nil *)                                                     │

00:00:25 #1896 [Verbose] > │         v1                                                                   │

00:00:25 #1897 [Verbose] > │ and method26 (v0 : (struct (int32 * int64) []), v1 : UH5, v2 : int32) :      │

00:00:25 #1898 [Verbose] > │ int32 =                                                                      │

00:00:25 #1899 [Verbose] > │     match v1 with                                                            │

00:00:25 #1900 [Verbose] > │     | UH5_0(v3, v4, v5) -> (* Cons *)                                        │

00:00:25 #1901 [Verbose] > │         v0.[int v2] <- struct (v3, v4)                                       │

00:00:25 #1902 [Verbose] > │         let v6 : int32 = v2 + 1                                              │

00:00:25 #1903 [Verbose] > │         method26(v0, v5, v6)                                                 │

00:00:25 #1904 [Verbose] > │     | UH5_1 -> (* Nil *)                                                     │

00:00:25 #1905 [Verbose] > │         v2                                                                   │

00:00:25 #1906 [Verbose] > │ and method24 (v0 : UH5) : (struct (int32 * int64) []) =                      │

00:00:25 #1907 [Verbose] > │     let v1 : int32 = 0                                                       │

00:00:25 #1908 [Verbose] > │     let v2 : int32 = method25(v0, v1)                                        │

00:00:25 #1909 [Verbose] > │     let v3 : (struct (int32 * int64) []) = Array.zeroCreate<struct (int32 *  │

00:00:25 #1910 [Verbose] > │ int64)> (v2)                                                                 │

00:00:25 #1911 [Verbose] > │     let v4 : int32 = 0                                                       │

00:00:25 #1912 [Verbose] > │     let v5 : int32 = method26(v3, v0, v4)                                    │

00:00:25 #1913 [Verbose] > │     v3                                                                       │

00:00:25 #1914 [Verbose] > │ and method27 (v0 : UH2, v1 : UH6, v2 : int32) : struct (UH6 * int32) =       │

00:00:25 #1915 [Verbose] > │     match v0 with                                                            │

00:00:25 #1916 [Verbose] > │     | UH2_0(v3, v4) -> (* Cons *)                                            │

00:00:25 #1917 [Verbose] > │         let v5 : int32 = v2 + 1                                              │

00:00:25 #1918 [Verbose] > │         let v6 : UH6 = UH6_0(v2, v3, v1)                                     │

00:00:25 #1919 [Verbose] > │         method27(v4, v6, v5)                                                 │

00:00:25 #1920 [Verbose] > │     | UH2_1 -> (* Nil *)                                                     │

00:00:25 #1921 [Verbose] > │         struct (v1, v2)                                                      │

00:00:25 #1922 [Verbose] > │ and method28 (v0 : UH6, v1 : UH6) : UH6 =                                    │

00:00:25 #1923 [Verbose] > │     match v0 with                                                            │

00:00:25 #1924 [Verbose] > │     | UH6_0(v2, v3, v4) -> (* Cons *)                                        │

00:00:25 #1925 [Verbose] > │         let v5 : UH6 = UH6_0(v2, v3, v1)                                     │

00:00:25 #1926 [Verbose] > │         method28(v4, v5)                                                     │

00:00:25 #1927 [Verbose] > │     | UH6_1 -> (* Nil *)                                                     │

00:00:25 #1928 [Verbose] > │         v1                                                                   │

00:00:25 #1929 [Verbose] > │ and method29 (v0 : Map<int32, int64>, v1 : UH6, v2 : UH2) : UH2 =            │

00:00:25 #1930 [Verbose] > │     match v1 with                                                            │

00:00:25 #1931 [Verbose] > │     | UH6_0(v3, v4, v5) -> (* Cons *)                                        │

00:00:25 #1932 [Verbose] > │         let v6 : UH2 = method29(v0, v5, v2)                                  │

00:00:25 #1933 [Verbose] > │         let v7 : int64 = v0.[v3]                                             │

00:00:25 #1934 [Verbose] > │         let v8 : int32 = int32 v7                                            │

00:00:25 #1935 [Verbose] > │         let v9 : string = v4.PadRight v8                                     │

00:00:25 #1936 [Verbose] > │         UH2_0(v9, v6)                                                        │

00:00:25 #1937 [Verbose] > │     | UH6_1 -> (* Nil *)                                                     │

00:00:25 #1938 [Verbose] > │         v2                                                                   │

00:00:25 #1939 [Verbose] > │ and method31 (v0 : UH2, v1 : int32) : int32 =                                │

00:00:25 #1940 [Verbose] > │     match v0 with                                                            │

00:00:25 #1941 [Verbose] > │     | UH2_0(v2, v3) -> (* Cons *)                                            │

00:00:25 #1942 [Verbose] > │         let v4 : int32 = v1 + 1                                              │

00:00:25 #1943 [Verbose] > │         method31(v3, v4)                                                     │

00:00:25 #1944 [Verbose] > │     | UH2_1 -> (* Nil *)                                                     │

00:00:25 #1945 [Verbose] > │         v1                                                                   │

00:00:25 #1946 [Verbose] > │ and method32 (v0 : (string []), v1 : UH2, v2 : int32) : int32 =              │

00:00:25 #1947 [Verbose] > │     match v1 with                                                            │

00:00:25 #1948 [Verbose] > │     | UH2_0(v3, v4) -> (* Cons *)                                            │

00:00:25 #1949 [Verbose] > │         v0.[int v2] <- v3                                                    │

00:00:25 #1950 [Verbose] > │         let v5 : int32 = v2 + 1                                              │

00:00:25 #1951 [Verbose] > │         method32(v0, v4, v5)                                                 │

00:00:25 #1952 [Verbose] > │     | UH2_1 -> (* Nil *)                                                     │

00:00:25 #1953 [Verbose] > │         v2                                                                   │

00:00:25 #1954 [Verbose] > │ and method30 (v0 : UH2) : (string []) =                                      │

00:00:25 #1955 [Verbose] > │     let v1 : int32 = 0                                                       │

00:00:25 #1956 [Verbose] > │     let v2 : int32 = method31(v0, v1)                                        │

00:00:25 #1957 [Verbose] > │     let v3 : (string []) = Array.zeroCreate<string> (v2)                     │

00:00:25 #1958 [Verbose] > │     let v4 : int32 = 0                                                       │

00:00:25 #1959 [Verbose] > │     let v5 : int32 = method32(v3, v0, v4)                                    │

00:00:25 #1960 [Verbose] > │     v3                                                                       │

00:00:25 #1961 [Verbose] > │ and method34 (v0 : UH5, v1 : uint64) : uint64 =                              │

00:00:25 #1962 [Verbose] > │     match v0 with                                                            │

00:00:25 #1963 [Verbose] > │     | UH5_0(v2, v3, v4) -> (* Cons *)                                        │

00:00:25 #1964 [Verbose] > │         let v5 : uint64 = v1 + 1UL                                           │

00:00:25 #1965 [Verbose] > │         method34(v4, v5)                                                     │

00:00:25 #1966 [Verbose] > │     | UH5_1 -> (* Nil *)                                                     │

00:00:25 #1967 [Verbose] > │         v1                                                                   │

00:00:25 #1968 [Verbose] > │ and method35 (v0 : (struct (int32 * int64) []), v1 : UH5, v2 : uint64) :     │

00:00:25 #1969 [Verbose] > │ uint64 =                                                                     │

00:00:25 #1970 [Verbose] > │     match v1 with                                                            │

00:00:25 #1971 [Verbose] > │     | UH5_0(v3, v4, v5) -> (* Cons *)                                        │

00:00:25 #1972 [Verbose] > │         v0.[int v2] <- struct (v3, v4)                                       │

00:00:25 #1973 [Verbose] > │         let v6 : uint64 = v2 + 1UL                                           │

00:00:25 #1974 [Verbose] > │         method35(v0, v5, v6)                                                 │

00:00:25 #1975 [Verbose] > │     | UH5_1 -> (* Nil *)                                                     │

00:00:25 #1976 [Verbose] > │         v2                                                                   │

00:00:25 #1977 [Verbose] > │ and method33 (v0 : UH5) : (struct (int32 * int64) []) =                      │

00:00:25 #1978 [Verbose] > │     let v1 : uint64 = 0UL                                                    │

00:00:25 #1979 [Verbose] > │     let v2 : uint64 = method34(v0, v1)                                       │

00:00:25 #1980 [Verbose] > │     let v3 : (struct (int32 * int64) []) = Array.zeroCreate<struct (int32 *  │

00:00:25 #1981 [Verbose] > │ int64)> (System.Convert.ToInt32(v2))                                         │

00:00:25 #1982 [Verbose] > │     let v4 : uint64 = 0UL                                                    │

00:00:25 #1983 [Verbose] > │     let v5 : uint64 = method35(v3, v0, v4)                                   │

00:00:25 #1984 [Verbose] > │     v3                                                                       │

00:00:25 #1985 [Verbose] > │ and closure5 () struct (v0 : int32, v1 : int64) : int64 =                    │

00:00:25 #1986 [Verbose] > │     v1                                                                       │

00:00:25 #1987 [Verbose] > │ and closure0 () () : unit =                                                  │

00:00:25 #1988 [Verbose] > │     let v0 : (unit -> unit) = closure0()                                     │

00:00:25 #1989 [Verbose] > │     let v1 : string = nameof v0                                              │

00:00:25 #1990 [Verbose] > │     let v2 : string = ""                                                     │

00:00:25 #1991 [Verbose] > │     System.Console.WriteLine v2                                              │

00:00:25 #1992 [Verbose] > │     System.Console.WriteLine v2                                              │

00:00:25 #1993 [Verbose] > │     let v3 : string = $"Test: {v1}"                                          │

00:00:25 #1994 [Verbose] > │     System.Console.WriteLine v3                                              │

00:00:25 #1995 [Verbose] > │     let v4 : float = 0.0                                                     │

00:00:25 #1996 [Verbose] > │     let v5 : float = 1.0                                                     │

00:00:25 #1997 [Verbose] > │     let v6 : float = 2.0                                                     │

00:00:25 #1998 [Verbose] > │     let v7 : float = 3.0                                                     │

00:00:25 #1999 [Verbose] > │     let v8 : float = 5.0                                                     │

00:00:25 #2000 [Verbose] > │     let v9 : float = 6.0                                                     │

00:00:25 #2001 [Verbose] > │     let v10 : UH0 = UH0_1                                                    │

00:00:25 #2002 [Verbose] > │     let v11 : UH0 = UH0_0(v8, v9, v10)                                       │

00:00:25 #2003 [Verbose] > │     let v12 : UH0 = UH0_0(v6, v7, v11)                                       │

00:00:25 #2004 [Verbose] > │     let v13 : UH0 = UH0_0(v4, v5, v12)                                       │

00:00:25 #2005 [Verbose] > │     let v14 : (struct (float * float) []) = method1(v13)                     │

00:00:25 #2006 [Verbose] > │     let v15 : uint64 = System.Convert.ToUInt64 v14.Length                    │

00:00:25 #2007 [Verbose] > │     let v16 : (struct (string * string * string * (int64 [])) []) =          │

00:00:25 #2008 [Verbose] > │ Array.zeroCreate<struct (string * string * string * (int64 []))>             │

00:00:25 #2009 [Verbose] > │ (System.Convert.ToInt32(v15))                                                │

00:00:25 #2010 [Verbose] > │     let v17 : Mut0 = {l0 = 0UL} : Mut0                                       │

00:00:25 #2011 [Verbose] > │     while method4(v15, v17) do                                               │

00:00:25 #2012 [Verbose] > │         let v19 : uint64 = v17.l0                                            │

00:00:25 #2013 [Verbose] > │         let struct (v20 : float, v21 : float) = v14.[int v19]                │

00:00:25 #2014 [Verbose] > │         let v22 : string = $"%A{v20}"                                        │

00:00:25 #2015 [Verbose] > │         System.Console.WriteLine v2                                          │

00:00:25 #2016 [Verbose] > │         let v23 : string = $"Solution: {v22}  "                              │

00:00:25 #2017 [Verbose] > │         System.Console.WriteLine v23                                         │

00:00:25 #2018 [Verbose] > │         let v24 : int32 = 0                                                  │

00:00:25 #2019 [Verbose] > │         let v25 : string = "A"                                               │

00:00:25 #2020 [Verbose] > │         let v26 : (float -> float) = closure1()                              │

00:00:25 #2021 [Verbose] > │         let v27 : UH1 = UH1_1                                                │

00:00:25 #2022 [Verbose] > │         let v28 : UH1 = UH1_0(v24, v25, v26, v27)                            │

00:00:25 #2023 [Verbose] > │         let v29 : (struct (int32 * string * (float -> float)) []) =          │

00:00:25 #2024 [Verbose] > │ method5(v28)                                                                 │

00:00:25 #2025 [Verbose] > │         let v30 : uint64 = System.Convert.ToUInt64 v29.Length                │

00:00:25 #2026 [Verbose] > │         let v31 : (struct (float * int64) []) = Array.zeroCreate<struct      │

00:00:25 #2027 [Verbose] > │ (float * int64)> (System.Convert.ToInt32(v30))                               │

00:00:25 #2028 [Verbose] > │         let v32 : Mut0 = {l0 = 0UL} : Mut0                                   │

00:00:25 #2029 [Verbose] > │         while method4(v30, v32) do                                           │

00:00:25 #2030 [Verbose] > │             let v34 : uint64 = v32.l0                                        │

00:00:25 #2031 [Verbose] > │             let struct (v35 : int32, v36 : string, v37 : (float -> float)) = │

00:00:25 #2032 [Verbose] > │ v29.[int v34]                                                                │

00:00:25 #2033 [Verbose] > │             let mutable result = None                                        │

00:00:25 #2034 [Verbose] > │             #if FABLE_COMPILER_RUST                                          │

00:00:25 #2035 [Verbose] > │             #if !WASM                                                        │

00:00:25 #2036 [Verbose] > │             ()                                                               │

00:00:25 #2037 [Verbose] > │             #else                                                            │

00:00:25 #2038 [Verbose] > │             ()                                                               │

00:00:25 #2039 [Verbose] > │             #endif                                                           │

00:00:25 #2040 [Verbose] > │             #else                                                            │

00:00:25 #2041 [Verbose] > │             System.GC.Collect ()                                             │

00:00:25 #2042 [Verbose] > │             ()                                                               │

00:00:25 #2043 [Verbose] > │             #endif                                                           │

00:00:25 #2044 [Verbose] > │             |> fun x -> result <- Some x                                     │

00:00:25 #2045 [Verbose] > │             result |> Option.get                                             │

00:00:25 #2046 [Verbose] > │             let v38 : (unit -> System.Diagnostics.Stopwatch) =               │

00:00:25 #2047 [Verbose] > │ System.Diagnostics.Stopwatch                                                 │

00:00:25 #2048 [Verbose] > │             let v39 : System.Diagnostics.Stopwatch = v38 ()                  │

00:00:25 #2049 [Verbose] > │             v39.Start ()                                                     │

00:00:25 #2050 [Verbose] > │             let v40 : int64 = v39.ElapsedMilliseconds                        │

00:00:25 #2051 [Verbose] > │             let v41 : (int32 []) = Array.zeroCreate<int32> (2000001)         │

00:00:25 #2052 [Verbose] > │             let v42 : Mut1 = {l0 = 0} : Mut1                                 │

00:00:25 #2053 [Verbose] > │             while method8(v42) do                                            │

00:00:25 #2054 [Verbose] > │                 let v44 : int32 = v42.l0                                     │

00:00:25 #2055 [Verbose] > │                 v41.[int v44] <- v44                                         │

00:00:25 #2056 [Verbose] > │                 let v45 : int32 = v44 + 1                                    │

00:00:25 #2057 [Verbose] > │                 v42.l0 <- v45                                                │

00:00:25 #2058 [Verbose] > │                 ()                                                           │

00:00:25 #2059 [Verbose] > │             let v46 : (int32 -> float) = closure2(v20, v37)                  │

00:00:25 #2060 [Verbose] > │             let v47 : (float []) = v41 |> Array.Parallel.map v46             │

00:00:25 #2061 [Verbose] > │             let v48 : int32 = v47.Length                                     │

00:00:25 #2062 [Verbose] > │             let v49 : int32 = v48 - 1                                        │

00:00:25 #2063 [Verbose] > │             let v50 : float = v47.[int v49]                                  │

00:00:25 #2064 [Verbose] > │             let v51 : int64 = v39.ElapsedMilliseconds                        │

00:00:25 #2065 [Verbose] > │             let v52 : int64 = v51 - v40                                      │

00:00:25 #2066 [Verbose] > │             let v53 : string = $"Test case {v35 + 1}. {v36}. Time: {v52}  "  │

00:00:25 #2067 [Verbose] > │             System.Console.WriteLine v53                                     │

00:00:25 #2068 [Verbose] > │             v31.[int v34] <- struct (v50, v52)                               │

00:00:25 #2069 [Verbose] > │             let v54 : uint64 = v34 + 1UL                                     │

00:00:25 #2070 [Verbose] > │             v32.l0 <- v54                                                    │

00:00:25 #2071 [Verbose] > │             ()                                                               │

00:00:25 #2072 [Verbose] > │         let v55 : uint64 = System.Convert.ToUInt64 v31.Length                │

00:00:25 #2073 [Verbose] > │         let v56 : (float []) = Array.zeroCreate<float>                       │

00:00:25 #2074 [Verbose] > │ (System.Convert.ToInt32(v55))                                                │

00:00:25 #2075 [Verbose] > │         let v57 : Mut0 = {l0 = 0UL} : Mut0                                   │

00:00:25 #2076 [Verbose] > │         while method4(v55, v57) do                                           │

00:00:25 #2077 [Verbose] > │             let v59 : uint64 = v57.l0                                        │

00:00:25 #2078 [Verbose] > │             let struct (v60 : float, v61 : int64) = v31.[int v59]            │

00:00:25 #2079 [Verbose] > │             v56.[int v59] <- v60                                             │

00:00:25 #2080 [Verbose] > │             let v62 : uint64 = v59 + 1UL                                     │

00:00:25 #2081 [Verbose] > │             v57.l0 <- v62                                                    │

00:00:25 #2082 [Verbose] > │             ()                                                               │

00:00:25 #2083 [Verbose] > │         let v63 : uint64 = System.Convert.ToUInt64 v56.Length                │

00:00:25 #2084 [Verbose] > │         let v64 : bool = v63 <= 1UL                                          │

00:00:25 #2085 [Verbose] > │         if v64 then                                                          │

00:00:25 #2086 [Verbose] > │             ()                                                               │

00:00:25 #2087 [Verbose] > │         else                                                                 │

00:00:25 #2088 [Verbose] > │             let v65 : float = v56.[int 0UL]                                  │

00:00:25 #2089 [Verbose] > │             let v66 : uint64 = 0UL                                           │

00:00:25 #2090 [Verbose] > │             let v67 : bool = method9(v65, v56, v66)                          │

00:00:25 #2091 [Verbose] > │             if v67 then                                                      │

00:00:25 #2092 [Verbose] > │                 ()                                                           │

00:00:25 #2093 [Verbose] > │             else                                                             │

00:00:25 #2094 [Verbose] > │                 let v68 : string = $"Challenge error: {v56}"                 │

00:00:25 #2095 [Verbose] > │                 failwith<unit> v68                                           │

00:00:25 #2096 [Verbose] > │         let v69 : string = $"%A{v21}"                                        │

00:00:25 #2097 [Verbose] > │         let v70 : (float []) = Array.zeroCreate<float>                       │

00:00:25 #2098 [Verbose] > │ (System.Convert.ToInt32(v55))                                                │

00:00:25 #2099 [Verbose] > │         let v71 : Mut0 = {l0 = 0UL} : Mut0                                   │

00:00:25 #2100 [Verbose] > │         while method4(v55, v71) do                                           │

00:00:25 #2101 [Verbose] > │             let v73 : uint64 = v71.l0                                        │

00:00:25 #2102 [Verbose] > │             let struct (v74 : float, v75 : int64) = v31.[int v73]            │

00:00:25 #2103 [Verbose] > │             v70.[int v73] <- v74                                             │

00:00:25 #2104 [Verbose] > │             let v76 : uint64 = v73 + 1UL                                     │

00:00:25 #2105 [Verbose] > │             v71.l0 <- v76                                                    │

00:00:25 #2106 [Verbose] > │             ()                                                               │

00:00:25 #2107 [Verbose] > │         let v77 : float = v70.[int 0UL]                                      │

00:00:25 #2108 [Verbose] > │         let v78 : string = $"%A{v77}"                                        │

00:00:25 #2109 [Verbose] > │         let v79 : (int64 []) = Array.zeroCreate<int64>                       │

00:00:25 #2110 [Verbose] > │ (System.Convert.ToInt32(v55))                                                │

00:00:25 #2111 [Verbose] > │         let v80 : Mut0 = {l0 = 0UL} : Mut0                                   │

00:00:25 #2112 [Verbose] > │         while method4(v55, v80) do                                           │

00:00:25 #2113 [Verbose] > │             let v82 : uint64 = v80.l0                                        │

00:00:25 #2114 [Verbose] > │             let struct (v83 : float, v84 : int64) = v31.[int v82]            │

00:00:25 #2115 [Verbose] > │             v79.[int v82] <- v84                                             │

00:00:25 #2116 [Verbose] > │             let v85 : uint64 = v82 + 1UL                                     │

00:00:25 #2117 [Verbose] > │             v80.l0 <- v85                                                    │

00:00:25 #2118 [Verbose] > │             ()                                                               │

00:00:25 #2119 [Verbose] > │         v16.[int v19] <- struct (v69, v22, v78, v79)                         │

00:00:25 #2120 [Verbose] > │         let v86 : uint64 = v19 + 1UL                                         │

00:00:25 #2121 [Verbose] > │         v17.l0 <- v86                                                        │

00:00:25 #2122 [Verbose] > │         ()                                                                   │

00:00:25 #2123 [Verbose] > │     let v87 : uint64 = System.Convert.ToUInt64 v16.Length                    │

00:00:25 #2124 [Verbose] > │     let v88 : (struct (UH2 * US0) []) = Array.zeroCreate<struct (UH2 * US0)> │

00:00:25 #2125 [Verbose] > │ (System.Convert.ToInt32(v87))                                                │

00:00:25 #2126 [Verbose] > │     let v89 : Mut0 = {l0 = 0UL} : Mut0                                       │

00:00:25 #2127 [Verbose] > │     while method4(v87, v89) do                                               │

00:00:25 #2128 [Verbose] > │         let v91 : uint64 = v89.l0                                            │

00:00:25 #2129 [Verbose] > │         let struct (v92 : string, v93 : string, v94 : string, v95 : (int64 [ │

00:00:25 #2130 [Verbose] > │ ])) = v16.[int v91]                                                          │

00:00:25 #2131 [Verbose] > │         let v96 : uint64 = System.Convert.ToUInt64 v95.Length                │

00:00:25 #2132 [Verbose] > │         let v97 : UH3 = UH3_1                                                │

00:00:25 #2133 [Verbose] > │         let v98 : Mut2 = {l0 = 0UL; l1 = v97; l2 = 0L} : Mut2                │

00:00:25 #2134 [Verbose] > │         while method10(v96, v98) do                                          │

00:00:25 #2135 [Verbose] > │             let v100 : uint64 = v98.l0                                       │

00:00:25 #2136 [Verbose] > │             let struct (v101 : UH3, v102 : int64) = v98.l1, v98.l2           │

00:00:25 #2137 [Verbose] > │             let v103 : int64 = v95.[int v100]                                │

00:00:25 #2138 [Verbose] > │             let v104 : int64 = v102 + 1L                                     │

00:00:25 #2139 [Verbose] > │             let v105 : uint64 = v100 + 1UL                                   │

00:00:25 #2140 [Verbose] > │             let v106 : UH3 = UH3_0(v102, v103, v101)                         │

00:00:25 #2141 [Verbose] > │             v98.l0 <- v105                                                   │

00:00:25 #2142 [Verbose] > │             v98.l1 <- v106                                                   │

00:00:25 #2143 [Verbose] > │             v98.l2 <- v104                                                   │

00:00:25 #2144 [Verbose] > │             ()                                                               │

00:00:25 #2145 [Verbose] > │         let struct (v107 : UH3, v108 : int64) = v98.l1, v98.l2               │

00:00:25 #2146 [Verbose] > │         let v109 : UH3 = UH3_1                                               │

00:00:25 #2147 [Verbose] > │         let v110 : UH3 = method11(v107, v109)                                │

00:00:25 #2148 [Verbose] > │         let v111 : (struct (int64 * int64) []) = method12(v110)              │

00:00:25 #2149 [Verbose] > │         let v112 : int32 = v111.Length                                       │

00:00:25 #2150 [Verbose] > │         let v113 : (struct (int64 * int64) []) = Array.zeroCreate<struct     │

00:00:25 #2151 [Verbose] > │ (int64 * int64)> (v112)                                                      │

00:00:25 #2152 [Verbose] > │         let v114 : Mut1 = {l0 = 0} : Mut1                                    │

00:00:25 #2153 [Verbose] > │         while method15(v112, v114) do                                        │

00:00:25 #2154 [Verbose] > │             let v116 : int32 = v114.l0                                       │

00:00:25 #2155 [Verbose] > │             let struct (v117 : int64, v118 : int64) = v111.[int v116]        │

00:00:25 #2156 [Verbose] > │             let v119 : int64 = v117 + 1L                                     │

00:00:25 #2157 [Verbose] > │             v113.[int v116] <- struct (v119, v118)                           │

00:00:25 #2158 [Verbose] > │             let v120 : int32 = v116 + 1                                      │

00:00:25 #2159 [Verbose] > │             v114.l0 <- v120                                                  │

00:00:25 #2160 [Verbose] > │             ()                                                               │

00:00:25 #2161 [Verbose] > │         let v121 : (struct (int64 * int64) -> int64) = closure3()            │

00:00:25 #2162 [Verbose] > │         let v122 : (struct (int64 * int64) []) = v113 |> Array.sortBy v121   │

00:00:25 #2163 [Verbose] > │         let struct (v123 : int64, v124 : int64) = v122.[int 0]               │

00:00:25 #2164 [Verbose] > │         let v125 : string = $"%A{struct (v123, v124)}"                       │

00:00:25 #2165 [Verbose] > │         let v126 : bool = v92 = v94                                          │

00:00:25 #2166 [Verbose] > │         let v131 : US0 =                                                     │

00:00:25 #2167 [Verbose] > │             if v126 then                                                     │

00:00:25 #2168 [Verbose] > │                 let v127 : System.ConsoleColor =                             │

00:00:25 #2169 [Verbose] > │ System.ConsoleColor.DarkGreen                                                │

00:00:25 #2170 [Verbose] > │                 US0_1(v127)                                                  │

00:00:25 #2171 [Verbose] > │             else                                                             │

00:00:25 #2172 [Verbose] > │                 let v129 : System.ConsoleColor = System.ConsoleColor.DarkRed │

00:00:25 #2173 [Verbose] > │                 US0_1(v129)                                                  │

00:00:25 #2174 [Verbose] > │         let v132 : UH2 = UH2_1                                               │

00:00:25 #2175 [Verbose] > │         let v133 : UH2 = UH2_0(v125, v132)                                   │

00:00:25 #2176 [Verbose] > │         let v134 : UH2 = UH2_0(v94, v133)                                    │

00:00:25 #2177 [Verbose] > │         let v135 : UH2 = UH2_0(v92, v134)                                    │

00:00:25 #2178 [Verbose] > │         let v136 : UH2 = UH2_0(v93, v135)                                    │

00:00:25 #2179 [Verbose] > │         v88.[int v91] <- struct (v136, v131)                                 │

00:00:25 #2180 [Verbose] > │         let v137 : uint64 = v91 + 1UL                                        │

00:00:25 #2181 [Verbose] > │         v89.l0 <- v137                                                       │

00:00:25 #2182 [Verbose] > │         ()                                                                   │

00:00:25 #2183 [Verbose] > │     let v138 : string = "Input"                                              │

00:00:25 #2184 [Verbose] > │     let v139 : string = "Expected"                                           │

00:00:25 #2185 [Verbose] > │     let v140 : string = "Result"                                             │

00:00:25 #2186 [Verbose] > │     let v141 : string = "Best"                                               │

00:00:25 #2187 [Verbose] > │     let v142 : UH2 = UH2_1                                                   │

00:00:25 #2188 [Verbose] > │     let v143 : UH2 = UH2_0(v141, v142)                                       │

00:00:25 #2189 [Verbose] > │     let v144 : UH2 = UH2_0(v140, v143)                                       │

00:00:25 #2190 [Verbose] > │     let v145 : UH2 = UH2_0(v139, v144)                                       │

00:00:25 #2191 [Verbose] > │     let v146 : UH2 = UH2_0(v138, v145)                                       │

00:00:25 #2192 [Verbose] > │     let v147 : US0 = US0_0                                                   │

00:00:25 #2193 [Verbose] > │     let v148 : string = "---"                                                │

00:00:25 #2194 [Verbose] > │     let v149 : UH2 = UH2_1                                                   │

00:00:25 #2195 [Verbose] > │     let v150 : UH2 = UH2_0(v148, v149)                                       │

00:00:25 #2196 [Verbose] > │     let v151 : UH2 = UH2_0(v148, v150)                                       │

00:00:25 #2197 [Verbose] > │     let v152 : UH2 = UH2_0(v148, v151)                                       │

00:00:25 #2198 [Verbose] > │     let v153 : UH2 = UH2_0(v148, v152)                                       │

00:00:25 #2199 [Verbose] > │     let v154 : US0 = US0_0                                                   │

00:00:25 #2200 [Verbose] > │     let v155 : UH4 = UH4_1                                                   │

00:00:25 #2201 [Verbose] > │     let v156 : UH4 = UH4_0(v153, v154, v155)                                 │

00:00:25 #2202 [Verbose] > │     let v157 : UH4 = UH4_0(v146, v147, v156)                                 │

00:00:25 #2203 [Verbose] > │     let v158 : (struct (UH2 * US0) []) = method16(v157)                      │

00:00:25 #2204 [Verbose] > │     let v159 : uint64 = System.Convert.ToUInt64 v158.Length                  │

00:00:25 #2205 [Verbose] > │     let v160 : uint64 = System.Convert.ToUInt64 v88.Length                   │

00:00:25 #2206 [Verbose] > │     let v161 : uint64 = v159 + v160                                          │

00:00:25 #2207 [Verbose] > │     let v162 : (struct (UH2 * US0) []) = Array.zeroCreate<struct (UH2 *      │

00:00:25 #2208 [Verbose] > │ US0)> (System.Convert.ToInt32(v161))                                         │

00:00:25 #2209 [Verbose] > │     let v163 : Mut0 = {l0 = 0UL} : Mut0                                      │

00:00:25 #2210 [Verbose] > │     while method4(v161, v163) do                                             │

00:00:25 #2211 [Verbose] > │         let v165 : uint64 = v163.l0                                          │

00:00:25 #2212 [Verbose] > │         let v166 : bool = v165 < v159                                        │

00:00:25 #2213 [Verbose] > │         let struct (v172 : UH2, v173 : US0) =                                │

00:00:25 #2214 [Verbose] > │             if v166 then                                                     │

00:00:25 #2215 [Verbose] > │                 let struct (v167 : UH2, v168 : US0) = v158.[int v165]        │

00:00:25 #2216 [Verbose] > │                 struct (v167, v168)                                          │

00:00:25 #2217 [Verbose] > │             else                                                             │

00:00:25 #2218 [Verbose] > │                 let v169 : uint64 = v165 - v159                              │

00:00:25 #2219 [Verbose] > │                 let struct (v170 : UH2, v171 : US0) = v88.[int v169]         │

00:00:25 #2220 [Verbose] > │                 struct (v170, v171)                                          │

00:00:25 #2221 [Verbose] > │         v162.[int v165] <- struct (v172, v173)                               │

00:00:25 #2222 [Verbose] > │         let v174 : uint64 = v165 + 1UL                                       │

00:00:25 #2223 [Verbose] > │         v163.l0 <- v174                                                      │

00:00:25 #2224 [Verbose] > │         ()                                                                   │

00:00:25 #2225 [Verbose] > │     let v175 : uint64 = System.Convert.ToUInt64 v162.Length                  │

00:00:25 #2226 [Verbose] > │     let v176 : ((string []) []) = Array.zeroCreate<(string [])>              │

00:00:25 #2227 [Verbose] > │ (System.Convert.ToInt32(v175))                                               │

00:00:25 #2228 [Verbose] > │     let v177 : Mut0 = {l0 = 0UL} : Mut0                                      │

00:00:25 #2229 [Verbose] > │     while method4(v175, v177) do                                             │

00:00:25 #2230 [Verbose] > │         let v179 : uint64 = v177.l0                                          │

00:00:25 #2231 [Verbose] > │         let struct (v180 : UH2, v181 : US0) = v162.[int v179]                │

00:00:25 #2232 [Verbose] > │         let v182 : (string []) = method19(v180)                              │

00:00:25 #2233 [Verbose] > │         v176.[int v179] <- v182                                              │

00:00:25 #2234 [Verbose] > │         let v183 : uint64 = v179 + 1UL                                       │

00:00:25 #2235 [Verbose] > │         v177.l0 <- v183                                                      │

00:00:25 #2236 [Verbose] > │         ()                                                                   │

00:00:25 #2237 [Verbose] > │     let v184 : ((string []) []) = v176 |> Array.transpose                    │

00:00:25 #2238 [Verbose] > │     let v185 : uint64 = System.Convert.ToUInt64 v184.Length                  │

00:00:25 #2239 [Verbose] > │     let v186 : (int64 []) = Array.zeroCreate<int64>                          │

00:00:25 #2240 [Verbose] > │ (System.Convert.ToInt32(v185))                                               │

00:00:25 #2241 [Verbose] > │     let v187 : Mut0 = {l0 = 0UL} : Mut0                                      │

00:00:25 #2242 [Verbose] > │     while method4(v185, v187) do                                             │

00:00:25 #2243 [Verbose] > │         let v189 : uint64 = v187.l0                                          │

00:00:25 #2244 [Verbose] > │         let v190 : (string []) = v184.[int v189]                             │

00:00:25 #2245 [Verbose] > │         let v191 : uint64 = System.Convert.ToUInt64 v190.Length              │

00:00:25 #2246 [Verbose] > │         let v192 : (int64 []) = Array.zeroCreate<int64>                      │

00:00:25 #2247 [Verbose] > │ (System.Convert.ToInt32(v191))                                               │

00:00:25 #2248 [Verbose] > │         let v193 : Mut0 = {l0 = 0UL} : Mut0                                  │

00:00:25 #2249 [Verbose] > │         while method4(v191, v193) do                                         │

00:00:25 #2250 [Verbose] > │             let v195 : uint64 = v193.l0                                      │

00:00:25 #2251 [Verbose] > │             let v196 : string = v190.[int v195]                              │

00:00:25 #2252 [Verbose] > │             let v197 : int64 = System.Convert.ToInt64 v196.Length            │

00:00:25 #2253 [Verbose] > │             v192.[int v195] <- v197                                          │

00:00:25 #2254 [Verbose] > │             let v198 : uint64 = v195 + 1UL                                   │

00:00:25 #2255 [Verbose] > │             v193.l0 <- v198                                                  │

00:00:25 #2256 [Verbose] > │             ()                                                               │

00:00:25 #2257 [Verbose] > │         let v199 : (int64 []) = v192 |> Array.sortDescending                 │

00:00:25 #2258 [Verbose] > │         let v200 : int64 option = v199 |> Array.tryItem 0                    │

00:00:25 #2259 [Verbose] > │         let v201 : (int64 -> US1) = closure4()                               │

00:00:25 #2260 [Verbose] > │         let v202 : US1 = US1_0                                               │

00:00:25 #2261 [Verbose] > │         let v203 : US1 = v200 |> Option.map v201 |> Option.defaultValue v202 │

00:00:25 #2262 [Verbose] > │         let v206 : int64 =                                                   │

00:00:25 #2263 [Verbose] > │             match v203 with                                                  │

00:00:25 #2264 [Verbose] > │             | US1_0 -> (* None *)                                            │

00:00:25 #2265 [Verbose] > │                 0L                                                           │

00:00:25 #2266 [Verbose] > │             | US1_1(v204) -> (* Some *)                                      │

00:00:25 #2267 [Verbose] > │                 v204                                                         │

00:00:25 #2268 [Verbose] > │         v186.[int v189] <- v206                                              │

00:00:25 #2269 [Verbose] > │         let v207 : uint64 = v189 + 1UL                                       │

00:00:25 #2270 [Verbose] > │         v187.l0 <- v207                                                      │

00:00:25 #2271 [Verbose] > │         ()                                                                   │

00:00:25 #2272 [Verbose] > │     let v208 : uint64 = System.Convert.ToUInt64 v186.Length                  │

00:00:25 #2273 [Verbose] > │     let v209 : UH5 = UH5_1                                                   │

00:00:25 #2274 [Verbose] > │     let v210 : Mut3 = {l0 = 0UL; l1 = v209; l2 = 0} : Mut3                   │

00:00:25 #2275 [Verbose] > │     while method22(v208, v210) do                                            │

00:00:25 #2276 [Verbose] > │         let v212 : uint64 = v210.l0                                          │

00:00:25 #2277 [Verbose] > │         let struct (v213 : UH5, v214 : int32) = v210.l1, v210.l2             │

00:00:25 #2278 [Verbose] > │         let v215 : int64 = v186.[int v212]                                   │

00:00:25 #2279 [Verbose] > │         let v216 : int32 = v214 + 1                                          │

00:00:25 #2280 [Verbose] > │         let v217 : uint64 = v212 + 1UL                                       │

00:00:25 #2281 [Verbose] > │         let v218 : UH5 = UH5_0(v214, v215, v213)                             │

00:00:25 #2282 [Verbose] > │         v210.l0 <- v217                                                      │

00:00:25 #2283 [Verbose] > │         v210.l1 <- v218                                                      │

00:00:25 #2284 [Verbose] > │         v210.l2 <- v216                                                      │

00:00:25 #2285 [Verbose] > │         ()                                                                   │

00:00:25 #2286 [Verbose] > │     let struct (v219 : UH5, v220 : int32) = v210.l1, v210.l2                 │

00:00:25 #2287 [Verbose] > │     let v221 : UH5 = UH5_1                                                   │

00:00:25 #2288 [Verbose] > │     let v222 : UH5 = method23(v219, v221)                                    │

00:00:25 #2289 [Verbose] > │     let v223 : (struct (int32 * int64) []) = method24(v222)                  │

00:00:25 #2290 [Verbose] > │     let v224 : Map<int32, int64> = v223 |> Array.map (fun (struct (a, b)) -> │

00:00:25 #2291 [Verbose] > │ a, b) |> Map.ofArray                                                         │

00:00:25 #2292 [Verbose] > │     let v225 : (struct ((string []) * US0) []) = Array.zeroCreate<struct     │

00:00:25 #2293 [Verbose] > │ ((string []) * US0)> (System.Convert.ToInt32(v175))                          │

00:00:25 #2294 [Verbose] > │     let v226 : Mut0 = {l0 = 0UL} : Mut0                                      │

00:00:25 #2295 [Verbose] > │     while method4(v175, v226) do                                             │

00:00:25 #2296 [Verbose] > │         let v228 : uint64 = v226.l0                                          │

00:00:25 #2297 [Verbose] > │         let struct (v229 : UH2, v230 : US0) = v162.[int v228]                │

00:00:25 #2298 [Verbose] > │         let v231 : UH6 = UH6_1                                               │

00:00:25 #2299 [Verbose] > │         let v232 : int32 = 0                                                 │

00:00:25 #2300 [Verbose] > │         let struct (v233 : UH6, v234 : int32) = method27(v229, v231, v232)   │

00:00:25 #2301 [Verbose] > │         let v235 : UH6 = UH6_1                                               │

00:00:25 #2302 [Verbose] > │         let v236 : UH6 = method28(v233, v235)                                │

00:00:25 #2303 [Verbose] > │         let v237 : UH2 = UH2_1                                               │

00:00:25 #2304 [Verbose] > │         let v238 : UH2 = method29(v224, v236, v237)                          │

00:00:25 #2305 [Verbose] > │         let v239 : (string []) = method30(v238)                              │

00:00:25 #2306 [Verbose] > │         v225.[int v228] <- struct (v239, v230)                               │

00:00:25 #2307 [Verbose] > │         let v240 : uint64 = v228 + 1UL                                       │

00:00:25 #2308 [Verbose] > │         v226.l0 <- v240                                                      │

00:00:25 #2309 [Verbose] > │         ()                                                                   │

00:00:25 #2310 [Verbose] > │     System.Console.WriteLine v2                                              │

00:00:25 #2311 [Verbose] > │     let v241 : uint64 = System.Convert.ToUInt64 v225.Length                  │

00:00:25 #2312 [Verbose] > │     let v242 : Mut0 = {l0 = 0UL} : Mut0                                      │

00:00:25 #2313 [Verbose] > │     while method4(v241, v242) do                                             │

00:00:25 #2314 [Verbose] > │         let v244 : uint64 = v242.l0                                          │

00:00:25 #2315 [Verbose] > │         let struct (v245 : (string []), v246 : US0) = v225.[int v244]        │

00:00:25 #2316 [Verbose] > │         match v246 with                                                      │

00:00:25 #2317 [Verbose] > │         | US0_0 -> (* None *)                                                │

00:00:25 #2318 [Verbose] > │             let mutable result = None                                        │

00:00:25 #2319 [Verbose] > │             #if FABLE_COMPILER_RUST                                          │

00:00:25 #2320 [Verbose] > │             #if !WASM                                                        │

00:00:25 #2321 [Verbose] > │             ()                                                               │

00:00:25 #2322 [Verbose] > │             #else                                                            │

00:00:25 #2323 [Verbose] > │             ()                                                               │

00:00:25 #2324 [Verbose] > │             #endif                                                           │

00:00:25 #2325 [Verbose] > │             #else                                                            │

00:00:25 #2326 [Verbose] > │             System.Console.ResetColor ()                                     │

00:00:25 #2327 [Verbose] > │             ()                                                               │

00:00:25 #2328 [Verbose] > │             #endif                                                           │

00:00:25 #2329 [Verbose] > │             |> fun x -> result <- Some x                                     │

00:00:25 #2330 [Verbose] > │             result |> Option.get                                             │

00:00:25 #2331 [Verbose] > │             ()                                                               │

00:00:25 #2332 [Verbose] > │         | US0_1(v247) -> (* Some *)                                          │

00:00:25 #2333 [Verbose] > │             let mutable result = None                                        │

00:00:25 #2334 [Verbose] > │             #if FABLE_COMPILER_RUST                                          │

00:00:25 #2335 [Verbose] > │             #if !WASM                                                        │

00:00:25 #2336 [Verbose] > │             ()                                                               │

00:00:25 #2337 [Verbose] > │             #else                                                            │

00:00:25 #2338 [Verbose] > │             ()                                                               │

00:00:25 #2339 [Verbose] > │             #endif                                                           │

00:00:25 #2340 [Verbose] > │             #else                                                            │

00:00:25 #2341 [Verbose] > │             System.Console.ForegroundColor <- v247                           │

00:00:25 #2342 [Verbose] > │             ()                                                               │

00:00:25 #2343 [Verbose] > │             #endif                                                           │

00:00:25 #2344 [Verbose] > │             |> fun x -> result <- Some x                                     │

00:00:25 #2345 [Verbose] > │             result |> Option.get                                             │

00:00:25 #2346 [Verbose] > │             ()                                                               │

00:00:25 #2347 [Verbose] > │         let v248 : string = "\t| "                                           │

00:00:25 #2348 [Verbose] > │         let v249 : string = System.String.Join (v248, v245)                  │

00:00:25 #2349 [Verbose] > │         System.Console.WriteLine v249                                        │

00:00:25 #2350 [Verbose] > │         let mutable result = None                                            │

00:00:25 #2351 [Verbose] > │         #if FABLE_COMPILER_RUST                                              │

00:00:25 #2352 [Verbose] > │         #if !WASM                                                            │

00:00:25 #2353 [Verbose] > │         ()                                                                   │

00:00:25 #2354 [Verbose] > │         #else                                                                │

00:00:25 #2355 [Verbose] > │         ()                                                                   │

00:00:25 #2356 [Verbose] > │         #endif                                                               │

00:00:25 #2357 [Verbose] > │         #else                                                                │

00:00:25 #2358 [Verbose] > │         System.Console.ResetColor ()                                         │

00:00:25 #2359 [Verbose] > │         ()                                                                   │

00:00:25 #2360 [Verbose] > │         #endif                                                               │

00:00:25 #2361 [Verbose] > │         |> fun x -> result <- Some x                                         │

00:00:25 #2362 [Verbose] > │         result |> Option.get                                                 │

00:00:25 #2363 [Verbose] > │         let v250 : uint64 = v244 + 1UL                                       │

00:00:25 #2364 [Verbose] > │         v242.l0 <- v250                                                      │

00:00:25 #2365 [Verbose] > │         ()                                                                   │

00:00:25 #2366 [Verbose] > │     let v251 : ((float []) []) = Array.zeroCreate<(float [])>                │

00:00:25 #2367 [Verbose] > │ (System.Convert.ToInt32(v87))                                                │

00:00:25 #2368 [Verbose] > │     let v252 : Mut0 = {l0 = 0UL} : Mut0                                      │

00:00:25 #2369 [Verbose] > │     while method4(v87, v252) do                                              │

00:00:25 #2370 [Verbose] > │         let v254 : uint64 = v252.l0                                          │

00:00:25 #2371 [Verbose] > │         let struct (v255 : string, v256 : string, v257 : string, v258 :      │

00:00:25 #2372 [Verbose] > │ (int64 [])) = v16.[int v254]                                                 │

00:00:25 #2373 [Verbose] > │         let v259 : (int64 -> float) = float                                  │

00:00:25 #2374 [Verbose] > │         let v260 : uint64 = System.Convert.ToUInt64 v258.Length              │

00:00:25 #2375 [Verbose] > │         let v261 : (float []) = Array.zeroCreate<float>                      │

00:00:25 #2376 [Verbose] > │ (System.Convert.ToInt32(v260))                                               │

00:00:25 #2377 [Verbose] > │         let v262 : Mut0 = {l0 = 0UL} : Mut0                                  │

00:00:25 #2378 [Verbose] > │         while method4(v260, v262) do                                         │

00:00:25 #2379 [Verbose] > │             let v264 : uint64 = v262.l0                                      │

00:00:25 #2380 [Verbose] > │             let v265 : int64 = v258.[int v264]                               │

00:00:25 #2381 [Verbose] > │             let v266 : float = v259 v265                                     │

00:00:25 #2382 [Verbose] > │             v261.[int v264] <- v266                                          │

00:00:25 #2383 [Verbose] > │             let v267 : uint64 = v264 + 1UL                                   │

00:00:25 #2384 [Verbose] > │             v262.l0 <- v267                                                  │

00:00:25 #2385 [Verbose] > │             ()                                                               │

00:00:25 #2386 [Verbose] > │         v251.[int v254] <- v261                                              │

00:00:25 #2387 [Verbose] > │         let v268 : uint64 = v254 + 1UL                                       │

00:00:25 #2388 [Verbose] > │         v252.l0 <- v268                                                      │

00:00:25 #2389 [Verbose] > │         ()                                                                   │

00:00:25 #2390 [Verbose] > │     let v269 : ((float []) []) = v251 |> Array.transpose                     │

00:00:25 #2391 [Verbose] > │     let v270 : uint64 = System.Convert.ToUInt64 v269.Length                  │

00:00:25 #2392 [Verbose] > │     let v271 : (float []) = Array.zeroCreate<float>                          │

00:00:25 #2393 [Verbose] > │ (System.Convert.ToInt32(v270))                                               │

00:00:25 #2394 [Verbose] > │     let v272 : Mut0 = {l0 = 0UL} : Mut0                                      │

00:00:25 #2395 [Verbose] > │     while method4(v270, v272) do                                             │

00:00:25 #2396 [Verbose] > │         let v274 : uint64 = v272.l0                                          │

00:00:25 #2397 [Verbose] > │         let v275 : (float []) = v269.[int v274]                              │

00:00:25 #2398 [Verbose] > │         let v276 : float = v275 |> Array.average                             │

00:00:25 #2399 [Verbose] > │         v271.[int v274] <- v276                                              │

00:00:25 #2400 [Verbose] > │         let v277 : uint64 = v274 + 1UL                                       │

00:00:25 #2401 [Verbose] > │         v272.l0 <- v277                                                      │

00:00:25 #2402 [Verbose] > │         ()                                                                   │

00:00:25 #2403 [Verbose] > │     let v278 : (float -> int64) = int64                                      │

00:00:25 #2404 [Verbose] > │     let v279 : uint64 = System.Convert.ToUInt64 v271.Length                  │

00:00:25 #2405 [Verbose] > │     let v280 : (int64 []) = Array.zeroCreate<int64>                          │

00:00:25 #2406 [Verbose] > │ (System.Convert.ToInt32(v279))                                               │

00:00:25 #2407 [Verbose] > │     let v281 : Mut0 = {l0 = 0UL} : Mut0                                      │

00:00:25 #2408 [Verbose] > │     while method4(v279, v281) do                                             │

00:00:25 #2409 [Verbose] > │         let v283 : uint64 = v281.l0                                          │

00:00:25 #2410 [Verbose] > │         let v284 : float = v271.[int v283]                                   │

00:00:25 #2411 [Verbose] > │         let v285 : int64 = v278 v284                                         │

00:00:25 #2412 [Verbose] > │         v280.[int v283] <- v285                                              │

00:00:25 #2413 [Verbose] > │         let v286 : uint64 = v283 + 1UL                                       │

00:00:25 #2414 [Verbose] > │         v281.l0 <- v286                                                      │

00:00:25 #2415 [Verbose] > │         ()                                                                   │

00:00:25 #2416 [Verbose] > │     let v287 : uint64 = System.Convert.ToUInt64 v280.Length                  │

00:00:25 #2417 [Verbose] > │     let v288 : UH5 = UH5_1                                                   │

00:00:25 #2418 [Verbose] > │     let v289 : Mut3 = {l0 = 0UL; l1 = v288; l2 = 0} : Mut3                   │

00:00:25 #2419 [Verbose] > │     while method22(v287, v289) do                                            │

00:00:25 #2420 [Verbose] > │         let v291 : uint64 = v289.l0                                          │

00:00:25 #2421 [Verbose] > │         let struct (v292 : UH5, v293 : int32) = v289.l1, v289.l2             │

00:00:25 #2422 [Verbose] > │         let v294 : int64 = v280.[int v291]                                   │

00:00:25 #2423 [Verbose] > │         let v295 : int32 = v293 + 1                                          │

00:00:25 #2424 [Verbose] > │         let v296 : uint64 = v291 + 1UL                                       │

00:00:25 #2425 [Verbose] > │         let v297 : UH5 = UH5_0(v293, v294, v292)                             │

00:00:25 #2426 [Verbose] > │         v289.l0 <- v296                                                      │

00:00:25 #2427 [Verbose] > │         v289.l1 <- v297                                                      │

00:00:25 #2428 [Verbose] > │         v289.l2 <- v295                                                      │

00:00:25 #2429 [Verbose] > │         ()                                                                   │

00:00:25 #2430 [Verbose] > │     let struct (v298 : UH5, v299 : int32) = v289.l1, v289.l2                 │

00:00:25 #2431 [Verbose] > │     let v300 : UH5 = UH5_1                                                   │

00:00:25 #2432 [Verbose] > │     let v301 : UH5 = method23(v298, v300)                                    │

00:00:25 #2433 [Verbose] > │     let v302 : (struct (int32 * int64) []) = method33(v301)                  │

00:00:25 #2434 [Verbose] > │     System.Console.WriteLine v2                                              │

00:00:25 #2435 [Verbose] > │     let v303 : string = "Average Ranking  "                                  │

00:00:25 #2436 [Verbose] > │     System.Console.WriteLine v303                                            │

00:00:25 #2437 [Verbose] > │     let v304 : (struct (int32 * int64) -> int64) = closure5()                │

00:00:25 #2438 [Verbose] > │     let v305 : (struct (int32 * int64) []) = v302 |> Array.sortBy v304       │

00:00:25 #2439 [Verbose] > │     let v306 : uint64 = System.Convert.ToUInt64 v305.Length                  │

00:00:25 #2440 [Verbose] > │     let v307 : Mut0 = {l0 = 0UL} : Mut0                                      │

00:00:25 #2441 [Verbose] > │     while method4(v306, v307) do                                             │

00:00:25 #2442 [Verbose] > │         let v309 : uint64 = v307.l0                                          │

00:00:25 #2443 [Verbose] > │         let struct (v310 : int32, v311 : int64) = v305.[int v309]            │

00:00:25 #2444 [Verbose] > │         let v312 : string = $"Test case %d{v310 + 1}. Average Time: %A{v311} │

00:00:25 #2445 [Verbose] > │ "                                                                            │

00:00:25 #2446 [Verbose] > │         System.Console.WriteLine v312                                        │

00:00:25 #2447 [Verbose] > │         let v313 : uint64 = v309 + 1UL                                       │

00:00:25 #2448 [Verbose] > │         v307.l0 <- v313                                                      │

00:00:25 #2449 [Verbose] > │         ()                                                                   │

00:00:25 #2450 [Verbose] > │     ()                                                                       │

00:00:25 #2451 [Verbose] > │ and method0 () : unit =                                                      │

00:00:25 #2452 [Verbose] > │     let v0 : (unit -> unit) = closure0()                                     │

00:00:25 #2453 [Verbose] > │     let v1 : string = nameof v0                                              │

00:00:25 #2454 [Verbose] > │     let v2 : string = ""                                                     │

00:00:25 #2455 [Verbose] > │     System.Console.WriteLine v2                                              │

00:00:25 #2456 [Verbose] > │     System.Console.WriteLine v2                                              │

00:00:25 #2457 [Verbose] > │     let v3 : string = $"Test: {v1}"                                          │

00:00:25 #2458 [Verbose] > │     System.Console.WriteLine v3                                              │

00:00:25 #2459 [Verbose] > │     let v4 : float = 0.0                                                     │

00:00:25 #2460 [Verbose] > │     let v5 : float = 1.0                                                     │

00:00:25 #2461 [Verbose] > │     let v6 : float = 2.0                                                     │

00:00:25 #2462 [Verbose] > │     let v7 : float = 3.0                                                     │

00:00:25 #2463 [Verbose] > │     let v8 : float = 5.0                                                     │

00:00:25 #2464 [Verbose] > │     let v9 : float = 6.0                                                     │

00:00:25 #2465 [Verbose] > │     let v10 : UH0 = UH0_1                                                    │

00:00:25 #2466 [Verbose] > │     let v11 : UH0 = UH0_0(v8, v9, v10)                                       │

00:00:25 #2467 [Verbose] > │     let v12 : UH0 = UH0_0(v6, v7, v11)                                       │

00:00:25 #2468 [Verbose] > │     let v13 : UH0 = UH0_0(v4, v5, v12)                                       │

00:00:25 #2469 [Verbose] > │     let v14 : (struct (float * float) []) = method1(v13)                     │

00:00:25 #2470 [Verbose] > │     let v15 : uint64 = System.Convert.ToUInt64 v14.Length                    │

00:00:25 #2471 [Verbose] > │     let v16 : (struct (string * string * string * (int64 [])) []) =          │

00:00:25 #2472 [Verbose] > │ Array.zeroCreate<struct (string * string * string * (int64 []))>             │

00:00:25 #2473 [Verbose] > │ (System.Convert.ToInt32(v15))                                                │

00:00:25 #2474 [Verbose] > │     let v17 : Mut0 = {l0 = 0UL} : Mut0                                       │

00:00:25 #2475 [Verbose] > │     while method4(v15, v17) do                                               │

00:00:25 #2476 [Verbose] > │         let v19 : uint64 = v17.l0                                            │

00:00:25 #2477 [Verbose] > │         let struct (v20 : float, v21 : float) = v14.[int v19]                │

00:00:25 #2478 [Verbose] > │         let v22 : string = $"%A{v20}"                                        │

00:00:25 #2479 [Verbose] > │         System.Console.WriteLine v2                                          │

00:00:25 #2480 [Verbose] > │         let v23 : string = $"Solution: {v22}  "                              │

00:00:25 #2481 [Verbose] > │         System.Console.WriteLine v23                                         │

00:00:25 #2482 [Verbose] > │         let v24 : int32 = 0                                                  │

00:00:25 #2483 [Verbose] > │         let v25 : string = "A"                                               │

00:00:25 #2484 [Verbose] > │         let v26 : (float -> float) = closure1()                              │

00:00:25 #2485 [Verbose] > │         let v27 : UH1 = UH1_1                                                │

00:00:25 #2486 [Verbose] > │         let v28 : UH1 = UH1_0(v24, v25, v26, v27)                            │

00:00:25 #2487 [Verbose] > │         let v29 : (struct (int32 * string * (float -> float)) []) =          │

00:00:25 #2488 [Verbose] > │ method5(v28)                                                                 │

00:00:25 #2489 [Verbose] > │         let v30 : uint64 = System.Convert.ToUInt64 v29.Length                │

00:00:25 #2490 [Verbose] > │         let v31 : (struct (float * int64) []) = Array.zeroCreate<struct      │

00:00:25 #2491 [Verbose] > │ (float * int64)> (System.Convert.ToInt32(v30))                               │

00:00:25 #2492 [Verbose] > │         let v32 : Mut0 = {l0 = 0UL} : Mut0                                   │

00:00:25 #2493 [Verbose] > │         while method4(v30, v32) do                                           │

00:00:25 #2494 [Verbose] > │             let v34 : uint64 = v32.l0                                        │

00:00:25 #2495 [Verbose] > │             let struct (v35 : int32, v36 : string, v37 : (float -> float)) = │

00:00:25 #2496 [Verbose] > │ v29.[int v34]                                                                │

00:00:25 #2497 [Verbose] > │             let mutable result = None                                        │

00:00:25 #2498 [Verbose] > │             #if FABLE_COMPILER_RUST                                          │

00:00:25 #2499 [Verbose] > │             #if !WASM                                                        │

00:00:25 #2500 [Verbose] > │             ()                                                               │

00:00:25 #2501 [Verbose] > │             #else                                                            │

00:00:25 #2502 [Verbose] > │             ()                                                               │

00:00:25 #2503 [Verbose] > │             #endif                                                           │

00:00:25 #2504 [Verbose] > │             #else                                                            │

00:00:25 #2505 [Verbose] > │             System.GC.Collect ()                                             │

00:00:25 #2506 [Verbose] > │             ()                                                               │

00:00:25 #2507 [Verbose] > │             #endif                                                           │

00:00:25 #2508 [Verbose] > │             |> fun x -> result <- Some x                                     │

00:00:26 #2509 [Verbose] > │             result |> Option.get                                             │

00:00:26 #2510 [Verbose] > │             let v38 : (unit -> System.Diagnostics.Stopwatch) =               │

00:00:26 #2511 [Verbose] > │ System.Diagnostics.Stopwatch                                                 │

00:00:26 #2512 [Verbose] > │             let v39 : System.Diagnostics.Stopwatch = v38 ()                  │

00:00:26 #2513 [Verbose] > │             v39.Start ()                                                     │

00:00:26 #2514 [Verbose] > │             let v40 : int64 = v39.ElapsedMilliseconds                        │

00:00:26 #2515 [Verbose] > │             let v41 : (int32 []) = Array.zeroCreate<int32> (2000001)         │

00:00:26 #2516 [Verbose] > │             let v42 : Mut1 = {l0 = 0} : Mut1                                 │

00:00:26 #2517 [Verbose] > │             while method8(v42) do                                            │

00:00:26 #2518 [Verbose] > │                 let v44 : int32 = v42.l0                                     │

00:00:26 #2519 [Verbose] > │                 v41.[int v44] <- v44                                         │

00:00:26 #2520 [Verbose] > │                 let v45 : int32 = v44 + 1                                    │

00:00:26 #2521 [Verbose] > │                 v42.l0 <- v45                                                │

00:00:26 #2522 [Verbose] > │                 ()                                                           │

00:00:26 #2523 [Verbose] > │             let v46 : (int32 -> float) = closure2(v20, v37)                  │

00:00:26 #2524 [Verbose] > │             let v47 : (float []) = v41 |> Array.Parallel.map v46             │

00:00:26 #2525 [Verbose] > │             let v48 : int32 = v47.Length                                     │

00:00:26 #2526 [Verbose] > │             let v49 : int32 = v48 - 1                                        │

00:00:26 #2527 [Verbose] > │             let v50 : float = v47.[int v49]                                  │

00:00:26 #2528 [Verbose] > │             let v51 : int64 = v39.ElapsedMilliseconds                        │

00:00:26 #2529 [Verbose] > │             let v52 : int64 = v51 - v40                                      │

00:00:26 #2530 [Verbose] > │             let v53 : string = $"Test case {v35 + 1}. {v36}. Time: {v52}  "  │

00:00:26 #2531 [Verbose] > │             System.Console.WriteLine v53                                     │

00:00:26 #2532 [Verbose] > │             v31.[int v34] <- struct (v50, v52)                               │

00:00:26 #2533 [Verbose] > │             let v54 : uint64 = v34 + 1UL                                     │

00:00:26 #2534 [Verbose] > │             v32.l0 <- v54                                                    │

00:00:26 #2535 [Verbose] > │             ()                                                               │

00:00:26 #2536 [Verbose] > │         let v55 : uint64 = System.Convert.ToUInt64 v31.Length                │

00:00:26 #2537 [Verbose] > │         let v56 : (float []) = Array.zeroCreate<float>                       │

00:00:26 #2538 [Verbose] > │ (System.Convert.ToInt32(v55))                                                │

00:00:26 #2539 [Verbose] > │         let v57 : Mut0 = {l0 = 0UL} : Mut0                                   │

00:00:26 #2540 [Verbose] > │         while method4(v55, v57) do                                           │

00:00:26 #2541 [Verbose] > │             let v59 : uint64 = v57.l0                                        │

00:00:26 #2542 [Verbose] > │             let struct (v60 : float, v61 : int64) = v31.[int v59]            │

00:00:26 #2543 [Verbose] > │             v56.[int v59] <- v60                                             │

00:00:26 #2544 [Verbose] > │             let v62 : uint64 = v59 + 1UL                                     │

00:00:26 #2545 [Verbose] > │             v57.l0 <- v62                                                    │

00:00:26 #2546 [Verbose] > │             ()                                                               │

00:00:26 #2547 [Verbose] > │         let v63 : uint64 = System.Convert.ToUInt64 v56.Length                │

00:00:26 #2548 [Verbose] > │         let v64 : bool = v63 <= 1UL                                          │

00:00:26 #2549 [Verbose] > │         if v64 then                                                          │

00:00:26 #2550 [Verbose] > │             ()                                                               │

00:00:26 #2551 [Verbose] > │         else                                                                 │

00:00:26 #2552 [Verbose] > │             let v65 : float = v56.[int 0UL]                                  │

00:00:26 #2553 [Verbose] > │             let v66 : uint64 = 0UL                                           │

00:00:26 #2554 [Verbose] > │             let v67 : bool = method9(v65, v56, v66)                          │

00:00:26 #2555 [Verbose] > │             if v67 then                                                      │

00:00:26 #2556 [Verbose] > │                 ()                                                           │

00:00:26 #2557 [Verbose] > │             else                                                             │

00:00:26 #2558 [Verbose] > │                 let v68 : string = $"Challenge error: {v56}"                 │

00:00:26 #2559 [Verbose] > │                 failwith<unit> v68                                           │

00:00:26 #2560 [Verbose] > │         let v69 : string = $"%A{v21}"                                        │

00:00:26 #2561 [Verbose] > │         let v70 : (float []) = Array.zeroCreate<float>                       │

00:00:26 #2562 [Verbose] > │ (System.Convert.ToInt32(v55))                                                │

00:00:26 #2563 [Verbose] > │         let v71 : Mut0 = {l0 = 0UL} : Mut0                                   │

00:00:26 #2564 [Verbose] > │         while method4(v55, v71) do                                           │

00:00:26 #2565 [Verbose] > │             let v73 : uint64 = v71.l0                                        │

00:00:26 #2566 [Verbose] > │             let struct (v74 : float, v75 : int64) = v31.[int v73]            │

00:00:26 #2567 [Verbose] > │             v70.[int v73] <- v74                                             │

00:00:26 #2568 [Verbose] > │             let v76 : uint64 = v73 + 1UL                                     │

00:00:26 #2569 [Verbose] > │             v71.l0 <- v76                                                    │

00:00:26 #2570 [Verbose] > │             ()                                                               │

00:00:26 #2571 [Verbose] > │         let v77 : float = v70.[int 0UL]                                      │

00:00:26 #2572 [Verbose] > │         let v78 : string = $"%A{v77}"                                        │

00:00:26 #2573 [Verbose] > │         let v79 : (int64 []) = Array.zeroCreate<int64>                       │

00:00:26 #2574 [Verbose] > │ (System.Convert.ToInt32(v55))                                                │

00:00:26 #2575 [Verbose] > │         let v80 : Mut0 = {l0 = 0UL} : Mut0                                   │

00:00:26 #2576 [Verbose] > │         while method4(v55, v80) do                                           │

00:00:26 #2577 [Verbose] > │             let v82 : uint64 = v80.l0                                        │

00:00:26 #2578 [Verbose] > │             let struct (v83 : float, v84 : int64) = v31.[int v82]            │

00:00:26 #2579 [Verbose] > │             v79.[int v82] <- v84                                             │

00:00:26 #2580 [Verbose] > │             let v85 : uint64 = v82 + 1UL                                     │

00:00:26 #2581 [Verbose] > │             v80.l0 <- v85                                                    │

00:00:26 #2582 [Verbose] > │             ()                                                               │

00:00:26 #2583 [Verbose] > │         v16.[int v19] <- struct (v69, v22, v78, v79)                         │

00:00:26 #2584 [Verbose] > │         let v86 : uint64 = v19 + 1UL                                         │

00:00:26 #2585 [Verbose] > │         v17.l0 <- v86                                                        │

00:00:26 #2586 [Verbose] > │         ()                                                                   │

00:00:26 #2587 [Verbose] > │     let v87 : uint64 = System.Convert.ToUInt64 v16.Length                    │

00:00:26 #2588 [Verbose] > │     let v88 : (struct (UH2 * US0) []) = Array.zeroCreate<struct (UH2 * US0)> │

00:00:26 #2589 [Verbose] > │ (System.Convert.ToInt32(v87))                                                │

00:00:26 #2590 [Verbose] > │     let v89 : Mut0 = {l0 = 0UL} : Mut0                                       │

00:00:26 #2591 [Verbose] > │     while method4(v87, v89) do                                               │

00:00:26 #2592 [Verbose] > │         let v91 : uint64 = v89.l0                                            │

00:00:26 #2593 [Verbose] > │         let struct (v92 : string, v93 : string, v94 : string, v95 : (int64 [ │

00:00:26 #2594 [Verbose] > │ ])) = v16.[int v91]                                                          │

00:00:26 #2595 [Verbose] > │         let v96 : uint64 = System.Convert.ToUInt64 v95.Length                │

00:00:26 #2596 [Verbose] > │         let v97 : UH3 = UH3_1                                                │

00:00:26 #2597 [Verbose] > │         let v98 : Mut2 = {l0 = 0UL; l1 = v97; l2 = 0L} : Mut2                │

00:00:26 #2598 [Verbose] > │         while method10(v96, v98) do                                          │

00:00:26 #2599 [Verbose] > │             let v100 : uint64 = v98.l0                                       │

00:00:26 #2600 [Verbose] > │             let struct (v101 : UH3, v102 : int64) = v98.l1, v98.l2           │

00:00:26 #2601 [Verbose] > │             let v103 : int64 = v95.[int v100]                                │

00:00:26 #2602 [Verbose] > │             let v104 : int64 = v102 + 1L                                     │

00:00:26 #2603 [Verbose] > │             let v105 : uint64 = v100 + 1UL                                   │

00:00:26 #2604 [Verbose] > │             let v106 : UH3 = UH3_0(v102, v103, v101)                         │

00:00:26 #2605 [Verbose] > │             v98.l0 <- v105                                                   │

00:00:26 #2606 [Verbose] > │             v98.l1 <- v106                                                   │

00:00:26 #2607 [Verbose] > │             v98.l2 <- v104                                                   │

00:00:26 #2608 [Verbose] > │             ()                                                               │

00:00:26 #2609 [Verbose] > │         let struct (v107 : UH3, v108 : int64) = v98.l1, v98.l2               │

00:00:26 #2610 [Verbose] > │         let v109 : UH3 = UH3_1                                               │

00:00:26 #2611 [Verbose] > │         let v110 : UH3 = method11(v107, v109)                                │

00:00:26 #2612 [Verbose] > │         let v111 : (struct (int64 * int64) []) = method12(v110)              │

00:00:26 #2613 [Verbose] > │         let v112 : int32 = v111.Length                                       │

00:00:26 #2614 [Verbose] > │         let v113 : (struct (int64 * int64) []) = Array.zeroCreate<struct     │

00:00:26 #2615 [Verbose] > │ (int64 * int64)> (v112)                                                      │

00:00:26 #2616 [Verbose] > │         let v114 : Mut1 = {l0 = 0} : Mut1                                    │

00:00:26 #2617 [Verbose] > │         while method15(v112, v114) do                                        │

00:00:26 #2618 [Verbose] > │             let v116 : int32 = v114.l0                                       │

00:00:26 #2619 [Verbose] > │             let struct (v117 : int64, v118 : int64) = v111.[int v116]        │

00:00:26 #2620 [Verbose] > │             let v119 : int64 = v117 + 1L                                     │

00:00:26 #2621 [Verbose] > │             v113.[int v116] <- struct (v119, v118)                           │

00:00:26 #2622 [Verbose] > │             let v120 : int32 = v116 + 1                                      │

00:00:26 #2623 [Verbose] > │             v114.l0 <- v120                                                  │

00:00:26 #2624 [Verbose] > │             ()                                                               │

00:00:26 #2625 [Verbose] > │         let v121 : (struct (int64 * int64) -> int64) = closure3()            │

00:00:26 #2626 [Verbose] > │         let v122 : (struct (int64 * int64) []) = v113 |> Array.sortBy v121   │

00:00:26 #2627 [Verbose] > │         let struct (v123 : int64, v124 : int64) = v122.[int 0]               │

00:00:26 #2628 [Verbose] > │         let v125 : string = $"%A{struct (v123, v124)}"                       │

00:00:26 #2629 [Verbose] > │         let v126 : bool = v92 = v94                                          │

00:00:26 #2630 [Verbose] > │         let v131 : US0 =                                                     │

00:00:26 #2631 [Verbose] > │             if v126 then                                                     │

00:00:26 #2632 [Verbose] > │                 let v127 : System.ConsoleColor =                             │

00:00:26 #2633 [Verbose] > │ System.ConsoleColor.DarkGreen                                                │

00:00:26 #2634 [Verbose] > │                 US0_1(v127)                                                  │

00:00:26 #2635 [Verbose] > │             else                                                             │

00:00:26 #2636 [Verbose] > │                 let v129 : System.ConsoleColor = System.ConsoleColor.DarkRed │

00:00:26 #2637 [Verbose] > │                 US0_1(v129)                                                  │

00:00:26 #2638 [Verbose] > │         let v132 : UH2 = UH2_1                                               │

00:00:26 #2639 [Verbose] > │         let v133 : UH2 = UH2_0(v125, v132)                                   │

00:00:26 #2640 [Verbose] > │         let v134 : UH2 = UH2_0(v94, v133)                                    │

00:00:26 #2641 [Verbose] > │         let v135 : UH2 = UH2_0(v92, v134)                                    │

00:00:26 #2642 [Verbose] > │         let v136 : UH2 = UH2_0(v93, v135)                                    │

00:00:26 #2643 [Verbose] > │         v88.[int v91] <- struct (v136, v131)                                 │

00:00:26 #2644 [Verbose] > │         let v137 : uint64 = v91 + 1UL                                        │

00:00:26 #2645 [Verbose] > │         v89.l0 <- v137                                                       │

00:00:26 #2646 [Verbose] > │         ()                                                                   │

00:00:26 #2647 [Verbose] > │     let v138 : string = "Input"                                              │

00:00:26 #2648 [Verbose] > │     let v139 : string = "Expected"                                           │

00:00:26 #2649 [Verbose] > │     let v140 : string = "Result"                                             │

00:00:26 #2650 [Verbose] > │     let v141 : string = "Best"                                               │

00:00:26 #2651 [Verbose] > │     let v142 : UH2 = UH2_1                                                   │

00:00:26 #2652 [Verbose] > │     let v143 : UH2 = UH2_0(v141, v142)                                       │

00:00:26 #2653 [Verbose] > │     let v144 : UH2 = UH2_0(v140, v143)                                       │

00:00:26 #2654 [Verbose] > │     let v145 : UH2 = UH2_0(v139, v144)                                       │

00:00:26 #2655 [Verbose] > │     let v146 : UH2 = UH2_0(v138, v145)                                       │

00:00:26 #2656 [Verbose] > │     let v147 : US0 = US0_0                                                   │

00:00:26 #2657 [Verbose] > │     let v148 : string = "---"                                                │

00:00:26 #2658 [Verbose] > │     let v149 : UH2 = UH2_1                                                   │

00:00:26 #2659 [Verbose] > │     let v150 : UH2 = UH2_0(v148, v149)                                       │

00:00:26 #2660 [Verbose] > │     let v151 : UH2 = UH2_0(v148, v150)                                       │

00:00:26 #2661 [Verbose] > │     let v152 : UH2 = UH2_0(v148, v151)                                       │

00:00:26 #2662 [Verbose] > │     let v153 : UH2 = UH2_0(v148, v152)                                       │

00:00:26 #2663 [Verbose] > │     let v154 : US0 = US0_0                                                   │

00:00:26 #2664 [Verbose] > │     let v155 : UH4 = UH4_1                                                   │

00:00:26 #2665 [Verbose] > │     let v156 : UH4 = UH4_0(v153, v154, v155)                                 │

00:00:26 #2666 [Verbose] > │     let v157 : UH4 = UH4_0(v146, v147, v156)                                 │

00:00:26 #2667 [Verbose] > │     let v158 : (struct (UH2 * US0) []) = method16(v157)                      │

00:00:26 #2668 [Verbose] > │     let v159 : uint64 = System.Convert.ToUInt64 v158.Length                  │

00:00:26 #2669 [Verbose] > │     let v160 : uint64 = System.Convert.ToUInt64 v88.Length                   │

00:00:26 #2670 [Verbose] > │     let v161 : uint64 = v159 + v160                                          │

00:00:26 #2671 [Verbose] > │     let v162 : (struct (UH2 * US0) []) = Array.zeroCreate<struct (UH2 *      │

00:00:26 #2672 [Verbose] > │ US0)> (System.Convert.ToInt32(v161))                                         │

00:00:26 #2673 [Verbose] > │     let v163 : Mut0 = {l0 = 0UL} : Mut0                                      │

00:00:26 #2674 [Verbose] > │     while method4(v161, v163) do                                             │

00:00:26 #2675 [Verbose] > │         let v165 : uint64 = v163.l0                                          │

00:00:26 #2676 [Verbose] > │         let v166 : bool = v165 < v159                                        │

00:00:26 #2677 [Verbose] > │         let struct (v172 : UH2, v173 : US0) =                                │

00:00:26 #2678 [Verbose] > │             if v166 then                                                     │

00:00:26 #2679 [Verbose] > │                 let struct (v167 : UH2, v168 : US0) = v158.[int v165]        │

00:00:26 #2680 [Verbose] > │                 struct (v167, v168)                                          │

00:00:26 #2681 [Verbose] > │             else                                                             │

00:00:26 #2682 [Verbose] > │                 let v169 : uint64 = v165 - v159                              │

00:00:26 #2683 [Verbose] > │                 let struct (v170 : UH2, v171 : US0) = v88.[int v169]         │

00:00:26 #2684 [Verbose] > │                 struct (v170, v171)                                          │

00:00:26 #2685 [Verbose] > │         v162.[int v165] <- struct (v172, v173)                               │

00:00:26 #2686 [Verbose] > │         let v174 : uint64 = v165 + 1UL                                       │

00:00:26 #2687 [Verbose] > │         v163.l0 <- v174                                                      │

00:00:26 #2688 [Verbose] > │         ()                                                                   │

00:00:26 #2689 [Verbose] > │     let v175 : uint64 = System.Convert.ToUInt64 v162.Length                  │

00:00:26 #2690 [Verbose] > │     let v176 : ((string []) []) = Array.zeroCreate<(string [])>              │

00:00:26 #2691 [Verbose] > │ (System.Convert.ToInt32(v175))                                               │

00:00:26 #2692 [Verbose] > │     let v177 : Mut0 = {l0 = 0UL} : Mut0                                      │

00:00:26 #2693 [Verbose] > │     while method4(v175, v177) do                                             │

00:00:26 #2694 [Verbose] > │         let v179 : uint64 = v177.l0                                          │

00:00:26 #2695 [Verbose] > │         let struct (v180 : UH2, v181 : US0) = v162.[int v179]                │

00:00:26 #2696 [Verbose] > │         let v182 : (string []) = method19(v180)                              │

00:00:26 #2697 [Verbose] > │         v176.[int v179] <- v182                                              │

00:00:26 #2698 [Verbose] > │         let v183 : uint64 = v179 + 1UL                                       │

00:00:26 #2699 [Verbose] > │         v177.l0 <- v183                                                      │

00:00:26 #2700 [Verbose] > │         ()                                                                   │

00:00:26 #2701 [Verbose] > │     let v184 : ((string []) []) = v176 |> Array.transpose                    │

00:00:26 #2702 [Verbose] > │     let v185 : uint64 = System.Convert.ToUInt64 v184.Length                  │

00:00:26 #2703 [Verbose] > │     let v186 : (int64 []) = Array.zeroCreate<int64>                          │

00:00:26 #2704 [Verbose] > │ (System.Convert.ToInt32(v185))                                               │

00:00:26 #2705 [Verbose] > │     let v187 : Mut0 = {l0 = 0UL} : Mut0                                      │

00:00:26 #2706 [Verbose] > │     while method4(v185, v187) do                                             │

00:00:26 #2707 [Verbose] > │         let v189 : uint64 = v187.l0                                          │

00:00:26 #2708 [Verbose] > │         let v190 : (string []) = v184.[int v189]                             │

00:00:26 #2709 [Verbose] > │         let v191 : uint64 = System.Convert.ToUInt64 v190.Length              │

00:00:26 #2710 [Verbose] > │         let v192 : (int64 []) = Array.zeroCreate<int64>                      │

00:00:26 #2711 [Verbose] > │ (System.Convert.ToInt32(v191))                                               │

00:00:26 #2712 [Verbose] > │         let v193 : Mut0 = {l0 = 0UL} : Mut0                                  │

00:00:26 #2713 [Verbose] > │         while method4(v191, v193) do                                         │

00:00:26 #2714 [Verbose] > │             let v195 : uint64 = v193.l0                                      │

00:00:26 #2715 [Verbose] > │             let v196 : string = v190.[int v195]                              │

00:00:26 #2716 [Verbose] > │             let v197 : int64 = System.Convert.ToInt64 v196.Length            │

00:00:26 #2717 [Verbose] > │             v192.[int v195] <- v197                                          │

00:00:26 #2718 [Verbose] > │             let v198 : uint64 = v195 + 1UL                                   │

00:00:26 #2719 [Verbose] > │             v193.l0 <- v198                                                  │

00:00:26 #2720 [Verbose] > │             ()                                                               │

00:00:26 #2721 [Verbose] > │         let v199 : (int64 []) = v192 |> Array.sortDescending                 │

00:00:26 #2722 [Verbose] > │         let v200 : int64 option = v199 |> Array.tryItem 0                    │

00:00:26 #2723 [Verbose] > │         let v201 : (int64 -> US1) = closure4()                               │

00:00:26 #2724 [Verbose] > │         let v202 : US1 = US1_0                                               │

00:00:26 #2725 [Verbose] > │         let v203 : US1 = v200 |> Option.map v201 |> Option.defaultValue v202 │

00:00:26 #2726 [Verbose] > │         let v206 : int64 =                                                   │

00:00:26 #2727 [Verbose] > │             match v203 with                                                  │

00:00:26 #2728 [Verbose] > │             | US1_0 -> (* None *)                                            │

00:00:26 #2729 [Verbose] > │                 0L                                                           │

00:00:26 #2730 [Verbose] > │             | US1_1(v204) -> (* Some *)                                      │

00:00:26 #2731 [Verbose] > │                 v204                                                         │

00:00:26 #2732 [Verbose] > │         v186.[int v189] <- v206                                              │

00:00:26 #2733 [Verbose] > │         let v207 : uint64 = v189 + 1UL                                       │

00:00:26 #2734 [Verbose] > │         v187.l0 <- v207                                                      │

00:00:26 #2735 [Verbose] > │         ()                                                                   │

00:00:26 #2736 [Verbose] > │     let v208 : uint64 = System.Convert.ToUInt64 v186.Length                  │

00:00:26 #2737 [Verbose] > │     let v209 : UH5 = UH5_1                                                   │

00:00:26 #2738 [Verbose] > │     let v210 : Mut3 = {l0 = 0UL; l1 = v209; l2 = 0} : Mut3                   │

00:00:26 #2739 [Verbose] > │     while method22(v208, v210) do                                            │

00:00:26 #2740 [Verbose] > │         let v212 : uint64 = v210.l0                                          │

00:00:26 #2741 [Verbose] > │         let struct (v213 : UH5, v214 : int32) = v210.l1, v210.l2             │

00:00:26 #2742 [Verbose] > │         let v215 : int64 = v186.[int v212]                                   │

00:00:26 #2743 [Verbose] > │         let v216 : int32 = v214 + 1                                          │

00:00:26 #2744 [Verbose] > │         let v217 : uint64 = v212 + 1UL                                       │

00:00:26 #2745 [Verbose] > │         let v218 : UH5 = UH5_0(v214, v215, v213)                             │

00:00:26 #2746 [Verbose] > │         v210.l0 <- v217                                                      │

00:00:26 #2747 [Verbose] > │         v210.l1 <- v218                                                      │

00:00:26 #2748 [Verbose] > │         v210.l2 <- v216                                                      │

00:00:26 #2749 [Verbose] > │         ()                                                                   │

00:00:26 #2750 [Verbose] > │     let struct (v219 : UH5, v220 : int32) = v210.l1, v210.l2                 │

00:00:26 #2751 [Verbose] > │     let v221 : UH5 = UH5_1                                                   │

00:00:26 #2752 [Verbose] > │     let v222 : UH5 = method23(v219, v221)                                    │

00:00:26 #2753 [Verbose] > │     let v223 : (struct (int32 * int64) []) = method24(v222)                  │

00:00:26 #2754 [Verbose] > │     let v224 : Map<int32, int64> = v223 |> Array.map (fun (struct (a, b)) -> │

00:00:26 #2755 [Verbose] > │ a, b) |> Map.ofArray                                                         │

00:00:26 #2756 [Verbose] > │     let v225 : (struct ((string []) * US0) []) = Array.zeroCreate<struct     │

00:00:26 #2757 [Verbose] > │ ((string []) * US0)> (System.Convert.ToInt32(v175))                          │

00:00:26 #2758 [Verbose] > │     let v226 : Mut0 = {l0 = 0UL} : Mut0                                      │

00:00:26 #2759 [Verbose] > │     while method4(v175, v226) do                                             │

00:00:26 #2760 [Verbose] > │         let v228 : uint64 = v226.l0                                          │

00:00:26 #2761 [Verbose] > │         let struct (v229 : UH2, v230 : US0) = v162.[int v228]                │

00:00:26 #2762 [Verbose] > │         let v231 : UH6 = UH6_1                                               │

00:00:26 #2763 [Verbose] > │         let v232 : int32 = 0                                                 │

00:00:26 #2764 [Verbose] > │         let struct (v233 : UH6, v234 : int32) = method27(v229, v231, v232)   │

00:00:26 #2765 [Verbose] > │         let v235 : UH6 = UH6_1                                               │

00:00:26 #2766 [Verbose] > │         let v236 : UH6 = method28(v233, v235)                                │

00:00:26 #2767 [Verbose] > │         let v237 : UH2 = UH2_1                                               │

00:00:26 #2768 [Verbose] > │         let v238 : UH2 = method29(v224, v236, v237)                          │

00:00:26 #2769 [Verbose] > │         let v239 : (string []) = method30(v238)                              │

00:00:26 #2770 [Verbose] > │         v225.[int v228] <- struct (v239, v230)                               │

00:00:26 #2771 [Verbose] > │         let v240 : uint64 = v228 + 1UL                                       │

00:00:26 #2772 [Verbose] > │         v226.l0 <- v240                                                      │

00:00:26 #2773 [Verbose] > │         ()                                                                   │

00:00:26 #2774 [Verbose] > │     System.Console.WriteLine v2                                              │

00:00:26 #2775 [Verbose] > │     let v241 : uint64 = System.Convert.ToUInt64 v225.Length                  │

00:00:26 #2776 [Verbose] > │     let v242 : Mut0 = {l0 = 0UL} : Mut0                                      │

00:00:26 #2777 [Verbose] > │     while method4(v241, v242) do                                             │

00:00:26 #2778 [Verbose] > │         let v244 : uint64 = v242.l0                                          │

00:00:26 #2779 [Verbose] > │         let struct (v245 : (string []), v246 : US0) = v225.[int v244]        │

00:00:26 #2780 [Verbose] > │         match v246 with                                                      │

00:00:26 #2781 [Verbose] > │         | US0_0 -> (* None *)                                                │

00:00:26 #2782 [Verbose] > │             let mutable result = None                                        │

00:00:26 #2783 [Verbose] > │             #if FABLE_COMPILER_RUST                                          │

00:00:26 #2784 [Verbose] > │             #if !WASM                                                        │

00:00:26 #2785 [Verbose] > │             ()                                                               │

00:00:26 #2786 [Verbose] > │             #else                                                            │

00:00:26 #2787 [Verbose] > │             ()                                                               │

00:00:26 #2788 [Verbose] > │             #endif                                                           │

00:00:26 #2789 [Verbose] > │             #else                                                            │

00:00:26 #2790 [Verbose] > │             System.Console.ResetColor ()                                     │

00:00:26 #2791 [Verbose] > │             ()                                                               │

00:00:26 #2792 [Verbose] > │             #endif                                                           │

00:00:26 #2793 [Verbose] > │             |> fun x -> result <- Some x                                     │

00:00:26 #2794 [Verbose] > │             result |> Option.get                                             │

00:00:26 #2795 [Verbose] > │             ()                                                               │

00:00:26 #2796 [Verbose] > │         | US0_1(v247) -> (* Some *)                                          │

00:00:26 #2797 [Verbose] > │             let mutable result = None                                        │

00:00:26 #2798 [Verbose] > │             #if FABLE_COMPILER_RUST                                          │

00:00:26 #2799 [Verbose] > │             #if !WASM                                                        │

00:00:26 #2800 [Verbose] > │             ()                                                               │

00:00:26 #2801 [Verbose] > │             #else                                                            │

00:00:26 #2802 [Verbose] > │             ()                                                               │

00:00:26 #2803 [Verbose] > │             #endif                                                           │

00:00:26 #2804 [Verbose] > │             #else                                                            │

00:00:26 #2805 [Verbose] > │             System.Console.ForegroundColor <- v247                           │

00:00:26 #2806 [Verbose] > │             ()                                                               │

00:00:26 #2807 [Verbose] > │             #endif                                                           │

00:00:26 #2808 [Verbose] > │             |> fun x -> result <- Some x                                     │

00:00:26 #2809 [Verbose] > │             result |> Option.get                                             │

00:00:26 #2810 [Verbose] > │             ()                                                               │

00:00:26 #2811 [Verbose] > │         let v248 : string = "\t| "                                           │

00:00:26 #2812 [Verbose] > │         let v249 : string = System.String.Join (v248, v245)                  │

00:00:26 #2813 [Verbose] > │         System.Console.WriteLine v249                                        │

00:00:26 #2814 [Verbose] > │         let mutable result = None                                            │

00:00:26 #2815 [Verbose] > │         #if FABLE_COMPILER_RUST                                              │

00:00:26 #2816 [Verbose] > │         #if !WASM                                                            │

00:00:26 #2817 [Verbose] > │         ()                                                                   │

00:00:26 #2818 [Verbose] > │         #else                                                                │

00:00:26 #2819 [Verbose] > │         ()                                                                   │

00:00:26 #2820 [Verbose] > │         #endif                                                               │

00:00:26 #2821 [Verbose] > │         #else                                                                │

00:00:26 #2822 [Verbose] > │         System.Console.ResetColor ()                                         │

00:00:26 #2823 [Verbose] > │         ()                                                                   │

00:00:26 #2824 [Verbose] > │         #endif                                                               │

00:00:26 #2825 [Verbose] > │         |> fun x -> result <- Some x                                         │

00:00:26 #2826 [Verbose] > │         result |> Option.get                                                 │

00:00:26 #2827 [Verbose] > │         let v250 : uint64 = v244 + 1UL                                       │

00:00:26 #2828 [Verbose] > │         v242.l0 <- v250                                                      │

00:00:26 #2829 [Verbose] > │         ()                                                                   │

00:00:26 #2830 [Verbose] > │     let v251 : ((float []) []) = Array.zeroCreate<(float [])>                │

00:00:26 #2831 [Verbose] > │ (System.Convert.ToInt32(v87))                                                │

00:00:26 #2832 [Verbose] > │     let v252 : Mut0 = {l0 = 0UL} : Mut0                                      │

00:00:26 #2833 [Verbose] > │     while method4(v87, v252) do                                              │

00:00:26 #2834 [Verbose] > │         let v254 : uint64 = v252.l0                                          │

00:00:26 #2835 [Verbose] > │         let struct (v255 : string, v256 : string, v257 : string, v258 :      │

00:00:26 #2836 [Verbose] > │ (int64 [])) = v16.[int v254]                                                 │

00:00:26 #2837 [Verbose] > │         let v259 : (int64 -> float) = float                                  │

00:00:26 #2838 [Verbose] > │         let v260 : uint64 = System.Convert.ToUInt64 v258.Length              │

00:00:26 #2839 [Verbose] > │         let v261 : (float []) = Array.zeroCreate<float>                      │

00:00:26 #2840 [Verbose] > │ (System.Convert.ToInt32(v260))                                               │

00:00:26 #2841 [Verbose] > │         let v262 : Mut0 = {l0 = 0UL} : Mut0                                  │

00:00:26 #2842 [Verbose] > │         while method4(v260, v262) do                                         │

00:00:26 #2843 [Verbose] > │             let v264 : uint64 = v262.l0                                      │

00:00:26 #2844 [Verbose] > │             let v265 : int64 = v258.[int v264]                               │

00:00:26 #2845 [Verbose] > │             let v266 : float = v259 v265                                     │

00:00:26 #2846 [Verbose] > │             v261.[int v264] <- v266                                          │

00:00:26 #2847 [Verbose] > │             let v267 : uint64 = v264 + 1UL                                   │

00:00:26 #2848 [Verbose] > │             v262.l0 <- v267                                                  │

00:00:26 #2849 [Verbose] > │             ()                                                               │

00:00:26 #2850 [Verbose] > │         v251.[int v254] <- v261                                              │

00:00:26 #2851 [Verbose] > │         let v268 : uint64 = v254 + 1UL                                       │

00:00:26 #2852 [Verbose] > │         v252.l0 <- v268                                                      │

00:00:26 #2853 [Verbose] > │         ()                                                                   │

00:00:26 #2854 [Verbose] > │     let v269 : ((float []) []) = v251 |> Array.transpose                     │

00:00:26 #2855 [Verbose] > │     let v270 : uint64 = System.Convert.ToUInt64 v269.Length                  │

00:00:26 #2856 [Verbose] > │     let v271 : (float []) = Array.zeroCreate<float>                          │

00:00:26 #2857 [Verbose] > │ (System.Convert.ToInt32(v270))                                               │

00:00:26 #2858 [Verbose] > │     let v272 : Mut0 = {l0 = 0UL} : Mut0                                      │

00:00:26 #2859 [Verbose] > │     while method4(v270, v272) do                                             │

00:00:26 #2860 [Verbose] > │         let v274 : uint64 = v272.l0                                          │

00:00:26 #2861 [Verbose] > │         let v275 : (float []) = v269.[int v274]                              │

00:00:26 #2862 [Verbose] > │         let v276 : float = v275 |> Array.average                             │

00:00:26 #2863 [Verbose] > │         v271.[int v274] <- v276                                              │

00:00:26 #2864 [Verbose] > │         let v277 : uint64 = v274 + 1UL                                       │

00:00:26 #2865 [Verbose] > │         v272.l0 <- v277                                                      │

00:00:26 #2866 [Verbose] > │         ()                                                                   │

00:00:26 #2867 [Verbose] > │     let v278 : (float -> int64) = int64                                      │

00:00:26 #2868 [Verbose] > │     let v279 : uint64 = System.Convert.ToUInt64 v271.Length                  │

00:00:26 #2869 [Verbose] > │     let v280 : (int64 []) = Array.zeroCreate<int64>                          │

00:00:26 #2870 [Verbose] > │ (System.Convert.ToInt32(v279))                                               │

00:00:26 #2871 [Verbose] > │     let v281 : Mut0 = {l0 = 0UL} : Mut0                                      │

00:00:26 #2872 [Verbose] > │     while method4(v279, v281) do                                             │

00:00:26 #2873 [Verbose] > │         let v283 : uint64 = v281.l0                                          │

00:00:26 #2874 [Verbose] > │         let v284 : float = v271.[int v283]                                   │

00:00:26 #2875 [Verbose] > │         let v285 : int64 = v278 v284                                         │

00:00:26 #2876 [Verbose] > │         v280.[int v283] <- v285                                              │

00:00:26 #2877 [Verbose] > │         let v286 : uint64 = v283 + 1UL                                       │

00:00:26 #2878 [Verbose] > │         v281.l0 <- v286                                                      │

00:00:26 #2879 [Verbose] > │         ()                                                                   │

00:00:26 #2880 [Verbose] > │     let v287 : uint64 = System.Convert.ToUInt64 v280.Length                  │

00:00:26 #2881 [Verbose] > │     let v288 : UH5 = UH5_1                                                   │

00:00:26 #2882 [Verbose] > │     let v289 : Mut3 = {l0 = 0UL; l1 = v288; l2 = 0} : Mut3                   │

00:00:26 #2883 [Verbose] > │     while method22(v287, v289) do                                            │

00:00:26 #2884 [Verbose] > │         let v291 : uint64 = v289.l0                                          │

00:00:26 #2885 [Verbose] > │         let struct (v292 : UH5, v293 : int32) = v289.l1, v289.l2             │

00:00:26 #2886 [Verbose] > │         let v294 : int64 = v280.[int v291]                                   │

00:00:26 #2887 [Verbose] > │         let v295 : int32 = v293 + 1                                          │

00:00:26 #2888 [Verbose] > │         let v296 : uint64 = v291 + 1UL                                       │

00:00:26 #2889 [Verbose] > │         let v297 : UH5 = UH5_0(v293, v294, v292)                             │

00:00:26 #2890 [Verbose] > │         v289.l0 <- v296                                                      │

00:00:26 #2891 [Verbose] > │         v289.l1 <- v297                                                      │

00:00:26 #2892 [Verbose] > │         v289.l2 <- v295                                                      │

00:00:26 #2893 [Verbose] > │         ()                                                                   │

00:00:26 #2894 [Verbose] > │     let struct (v298 : UH5, v299 : int32) = v289.l1, v289.l2                 │

00:00:26 #2895 [Verbose] > │     let v300 : UH5 = UH5_1                                                   │

00:00:26 #2896 [Verbose] > │     let v301 : UH5 = method23(v298, v300)                                    │

00:00:26 #2897 [Verbose] > │     let v302 : (struct (int32 * int64) []) = method33(v301)                  │

00:00:26 #2898 [Verbose] > │     System.Console.WriteLine v2                                              │

00:00:26 #2899 [Verbose] > │     let v303 : string = "Average Ranking  "                                  │

00:00:26 #2900 [Verbose] > │     System.Console.WriteLine v303                                            │

00:00:26 #2901 [Verbose] > │     let v304 : (struct (int32 * int64) -> int64) = closure5()                │

00:00:26 #2902 [Verbose] > │     let v305 : (struct (int32 * int64) []) = v302 |> Array.sortBy v304       │

00:00:26 #2903 [Verbose] > │     let v306 : uint64 = System.Convert.ToUInt64 v305.Length                  │

00:00:26 #2904 [Verbose] > │     let v307 : Mut0 = {l0 = 0UL} : Mut0                                      │

00:00:26 #2905 [Verbose] > │     while method4(v306, v307) do                                             │

00:00:26 #2906 [Verbose] > │         let v309 : uint64 = v307.l0                                          │

00:00:26 #2907 [Verbose] > │         let struct (v310 : int32, v311 : int64) = v305.[int v309]            │

00:00:26 #2908 [Verbose] > │         let v312 : string = $"Test case %d{v310 + 1}. Average Time: %A{v311} │

00:00:26 #2909 [Verbose] > │ "                                                                            │

00:00:26 #2910 [Verbose] > │         System.Console.WriteLine v312                                        │

00:00:26 #2911 [Verbose] > │         let v313 : uint64 = v309 + 1UL                                       │

00:00:26 #2912 [Verbose] > │         v307.l0 <- v313                                                      │

00:00:26 #2913 [Verbose] > │         ()                                                                   │

00:00:26 #2914 [Verbose] > │     ()                                                                       │

00:00:26 #2915 [Verbose] > │ method0()                                                                    │

00:00:26 #2916 [Verbose] > │                                                                              │

00:00:26 #2917 [Verbose] > │                                                                              │

00:00:26 #2918 [Verbose] > │                                                                              │

00:00:26 #2919 [Verbose] > │ Test: v0                                                                     │

00:00:26 #2920 [Verbose] > │                                                                              │

00:00:26 #2921 [Verbose] > │ Solution: 0.0                                                                │

00:00:26 #2922 [Verbose] > │ Test case 1. A. Time: 24                                                     │

00:00:26 #2923 [Verbose] > │                                                                              │

00:00:26 #2924 [Verbose] > │ Solution: 2.0                                                                │

00:00:26 #2925 [Verbose] > │ Test case 1. A. Time: 11                                                     │

00:00:26 #2926 [Verbose] > │                                                                              │

00:00:26 #2927 [Verbose] > │ Solution: 5.0                                                                │

00:00:26 #2928 [Verbose] > │ Test case 1. A. Time: 11                                                     │

00:00:26 #2929 [Verbose] > │                                                                              │

00:00:26 #2930 [Verbose] > │ Input	| Expected	| Result	| Best                                                   │

00:00:26 #2931 [Verbose] > │ ---  	| ---     	| ---   	| ---                                                    │

00:00:26 #2932 [Verbose] > │ 0.0  	| 1.0     	| 1.0   	| struct (1L, 24L)                                       │

00:00:26 #2933 [Verbose] > │ 2.0  	| 3.0     	| 3.0   	| struct (1L, 11L)                                       │

00:00:26 #2934 [Verbose] > │ 5.0  	| 6.0     	| 6.0   	| struct (1L, 11L)                                       │

00:00:26 #2935 [Verbose] > │                                                                              │

00:00:26 #2936 [Verbose] > │ Average Ranking                                                              │

00:00:26 #2937 [Verbose] > │ Test case 1. Average Time: 15L                                               │

00:00:26 #2938 [Verbose] > │                                                                              │

00:00:26 #2939 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:27 #2940 [Verbose] > [NbConvertApp] Converting notebook benchmark.dib.ipynb to html

00:00:27 #2941 [Verbose] > C:\Users\i574n\scoop\apps\python\current\Lib\site-packages\nbformat\__init__.py:93: MissingIDFieldWarning: Code cell is missing an id field, this will become a hard error in future nbformat versions. You may want to use `normalize()` on your notebooks before validations (available since nbformat 5.1.4). Previous versions of nbformat are fixing this issue transparently, and will stop doing so in the future.

00:00:27 #2942 [Verbose] >   validate(nb)

00:00:28 #2943 [Verbose] > C:\Users\i574n\scoop\apps\python\current\Lib\site-packages\nbconvert\filters\highlight.py:71: UserWarning: IPython3 lexer unavailable, falling back on Python 3

00:00:28 #2944 [Verbose] >   return _pygments_highlight(

00:00:28 #2945 [Verbose] > [NbConvertApp] Writing 405195 bytes to benchmark.dib.html

00:00:29 #2946 [Debug] executeAsync / exitCode: 0 / output.Length: 221255

00:00:29 #2947 [Debug] main / executeCommand / exitCode: 0

00:00:00 #1 [Debug] runWithTimeoutAsync / timeout: 60

00:00:00 #2 [Debug] executeAsync / options: { Command =

   "dotnet "C:\home\git\polyglot\deps\The-Spiral-Language\The Spiral Language 2\artifacts\bin\The Spiral Language 2\release\Spiral.dll" port=13805"

  WorkingDirectory = None

  CancellationToken = Some System.Threading.CancellationToken

  OnLine = Some <fun:main@450-1020> }

00:00:00 #3 [Verbose] > pwd: C:\home\git\polyglot\lib\spiral

00:00:00 #4 [Verbose] > dll_path: C:\home\git\polyglot\deps\The-Spiral-Language\The Spiral Language 2\artifacts\bin\The Spiral Language 2\release

00:00:00 #5 [Debug] runWithTimeoutAsync / timeout: 500

00:00:00 #6 [Verbose] waitForPortAccess / port: 13805 / retry: 0

00:00:01 #7 [Debug] sendJson / port: 13805 / json: {"Ping":true} / result.Length:

00:00:01 #8 [Verbose] awaitCompiler / Ping / result: Some(null) / port: 13805 / retry: 0

00:00:01 #9 [Verbose] > Server bound to: http://localhost:13805

00:00:01 #10 [Debug] executeAsync / options: { Command = "pwsh -c "../../scripts/invoke-dib.ps1 stream.dib""

  WorkingDirectory = None

  CancellationToken = Some System.Threading.CancellationToken

  OnLine = None }

00:00:03 #11 [Verbose] >

00:00:03 #12 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────

00:00:03 #13 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮

00:00:03 #14 [Verbose] > │ # stream                                                                     │

00:00:03 #15 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:03 #16 [Verbose] >

00:00:03 #17 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:03 #18 [Verbose] > // // test

00:00:03 #19 [Verbose] >

00:00:03 #20 [Verbose] > open testing

00:00:06 #21 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0902-2775-7504-7be9c245f5b3\main.spi

00:00:08 #22 [Verbose] >

00:00:08 #23 [Verbose] > ╭─[ 4.92s - stdout ]───────────────────────────────────────────────────────────╮

00:00:08 #24 [Verbose] > │ ()                                                                           │

00:00:08 #25 [Verbose] > │                                                                              │

00:00:08 #26 [Verbose] > │                                                                              │

00:00:08 #27 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:08 #28 [Verbose] >

00:00:08 #29 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:08 #30 [Verbose] > union rec stream t =

00:00:08 #31 [Verbose] >     | StreamCons : t * (() -> stream t)

00:00:08 #32 [Verbose] >     | StreamNil

00:00:08 #33 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0902-3061-6150-603f42649d3f\main.spi

00:00:08 #34 [Verbose] >

00:00:08 #35 [Verbose] > ╭─[ 175.85ms - stdout ]────────────────────────────────────────────────────────╮

00:00:08 #36 [Verbose] > │ ()                                                                           │

00:00:08 #37 [Verbose] > │                                                                              │

00:00:08 #38 [Verbose] > │                                                                              │

00:00:08 #39 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:08 #40 [Verbose] >

00:00:08 #41 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────

00:00:08 #42 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮

00:00:08 #43 [Verbose] > │ ## fold                                                                      │

00:00:08 #44 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:08 #45 [Verbose] >

00:00:08 #46 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:08 #47 [Verbose] > inl fold fn init s =

00:00:08 #48 [Verbose] >     inl rec body acc = function

00:00:08 #49 [Verbose] >         | StreamCons (st, fn') => loop (fn acc st) (fn' ())

00:00:08 #50 [Verbose] >         | StreamNil => acc

00:00:08 #51 [Verbose] >     and inl loop acc = join_body body acc

00:00:08 #52 [Verbose] >     loop init s

00:00:08 #53 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0902-3079-7998-774c367fdf20\main.spi

00:00:08 #54 [Verbose] >

00:00:08 #55 [Verbose] > ╭─[ 243.18ms - stdout ]────────────────────────────────────────────────────────╮

00:00:08 #56 [Verbose] > │ ()                                                                           │

00:00:08 #57 [Verbose] > │                                                                              │

00:00:08 #58 [Verbose] > │                                                                              │

00:00:08 #59 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:08 #60 [Verbose] >

00:00:08 #61 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────

00:00:08 #62 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮

00:00:08 #63 [Verbose] > │ ## fold_back                                                                 │

00:00:08 #64 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:08 #65 [Verbose] >

00:00:08 #66 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:08 #67 [Verbose] > inl fold_back fn s init =

00:00:08 #68 [Verbose] >     inl rec body acc = function

00:00:08 #69 [Verbose] >         | StreamCons (st, fn') => fn st (loop acc (fn' ()))

00:00:08 #70 [Verbose] >         | StreamNil => acc

00:00:08 #71 [Verbose] >     and inl loop acc = join_body body acc

00:00:08 #72 [Verbose] >     loop init s

00:00:09 #73 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0902-3104-0408-0d35279d0954\main.spi

00:00:09 #74 [Verbose] >

00:00:09 #75 [Verbose] > ╭─[ 198.66ms - stdout ]────────────────────────────────────────────────────────╮

00:00:09 #76 [Verbose] > │ ()                                                                           │

00:00:09 #77 [Verbose] > │                                                                              │

00:00:09 #78 [Verbose] > │                                                                              │

00:00:09 #79 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:09 #80 [Verbose] >

00:00:09 #81 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────

00:00:09 #82 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮

00:00:09 #83 [Verbose] > │ ## to_list                                                                   │

00:00:09 #84 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:09 #85 [Verbose] >

00:00:09 #86 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:09 #87 [Verbose] > inl to_list s =

00:00:09 #88 [Verbose] >     (s, [[]])

00:00:09 #89 [Verbose] >     ||> fold_back fun x acc =>

00:00:09 #90 [Verbose] >         x :: acc

00:00:09 #91 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0902-3124-2431-20de5c376a7c\main.spi

00:00:09 #92 [Verbose] >

00:00:09 #93 [Verbose] > ╭─[ 203.05ms - stdout ]────────────────────────────────────────────────────────╮

00:00:09 #94 [Verbose] > │ ()                                                                           │

00:00:09 #95 [Verbose] > │                                                                              │

00:00:09 #96 [Verbose] > │                                                                              │

00:00:09 #97 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:09 #98 [Verbose] >

00:00:09 #99 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────

00:00:09 #100 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮

00:00:09 #101 [Verbose] > │ ## rev                                                                       │

00:00:09 #102 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:09 #103 [Verbose] >

00:00:09 #104 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:09 #105 [Verbose] > inl rev s =

00:00:09 #106 [Verbose] >     (StreamNil, s)

00:00:09 #107 [Verbose] >     ||> fold fun s x =>

00:00:09 #108 [Verbose] >         StreamCons (x, fun () => s)

00:00:09 #109 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0902-3145-4516-45d24d693c6c\main.spi

00:00:09 #110 [Verbose] >

00:00:09 #111 [Verbose] > ╭─[ 165.38ms - stdout ]────────────────────────────────────────────────────────╮

00:00:09 #112 [Verbose] > │ ()                                                                           │

00:00:09 #113 [Verbose] > │                                                                              │

00:00:09 #114 [Verbose] > │                                                                              │

00:00:09 #115 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:09 #116 [Verbose] >

00:00:09 #117 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────

00:00:09 #118 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮

00:00:09 #119 [Verbose] > │ ## from_list                                                                 │

00:00:09 #120 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:09 #121 [Verbose] >

00:00:09 #122 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:09 #123 [Verbose] > inl from_list list =

00:00:09 #124 [Verbose] >     (list, StreamNil)

00:00:09 #125 [Verbose] >     ||> listm.foldBack fun x acc =>

00:00:09 #126 [Verbose] >         StreamCons (x, fun () => acc)

00:00:09 #127 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0902-3162-6220-6d215d8557a7\main.spi

00:00:09 #128 [Verbose] >

00:00:09 #129 [Verbose] > ╭─[ 169.88ms - stdout ]────────────────────────────────────────────────────────╮

00:00:09 #130 [Verbose] > │ ()                                                                           │

00:00:09 #131 [Verbose] > │                                                                              │

00:00:09 #132 [Verbose] > │                                                                              │

00:00:09 #133 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:09 #134 [Verbose] >

00:00:09 #135 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:09 #136 [Verbose] > // // test

00:00:09 #137 [Verbose] >

00:00:09 #138 [Verbose] > listm.init 3i32 id

00:00:09 #139 [Verbose] > |> from_list

00:00:09 #140 [Verbose] > |> rev

00:00:09 #141 [Verbose] > |> to_list

00:00:09 #142 [Verbose] > |> _equal [[ 2; 1; 0 ]]

00:00:09 #143 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0902-3179-7942-74566071a9e0\main.spi

00:00:10 #144 [Verbose] >

00:00:10 #145 [Verbose] > ╭─[ 1.09s - stdout ]───────────────────────────────────────────────────────────╮

00:00:10 #146 [Verbose] > │ type UH0 =                                                                   │

00:00:10 #147 [Verbose] > │     | UH0_0 of int32 * UH0                                                   │

00:00:10 #148 [Verbose] > │     | UH0_1                                                                  │

00:00:10 #149 [Verbose] > │ let rec method0 () : unit =                                                  │

00:00:10 #150 [Verbose] > │     let v0 : UH0 = UH0_1                                                     │

00:00:10 #151 [Verbose] > │     let v1 : UH0 = UH0_0(0, v0)                                              │

00:00:10 #152 [Verbose] > │     let v2 : UH0 = UH0_0(1, v1)                                              │

00:00:10 #153 [Verbose] > │     let v3 : UH0 = UH0_0(2, v2)                                              │

00:00:10 #154 [Verbose] > │     let v4 : UH0 = UH0_1                                                     │

00:00:10 #155 [Verbose] > │     let v5 : UH0 = UH0_0(0, v4)                                              │

00:00:10 #156 [Verbose] > │     let v6 : UH0 = UH0_0(1, v5)                                              │

00:00:10 #157 [Verbose] > │     let v7 : UH0 = UH0_0(2, v6)                                              │

00:00:10 #158 [Verbose] > │     let v8 : string = $"__expect / actual: %A{v3} / expected: %A{v7}"        │

00:00:10 #159 [Verbose] > │     ()                                                                       │

00:00:10 #160 [Verbose] > │ method0()                                                                    │

00:00:10 #161 [Verbose] > │                                                                              │

00:00:10 #162 [Verbose] > │                                                                              │

00:00:10 #163 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:10 #164 [Verbose] >

00:00:10 #165 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────

00:00:10 #166 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮

00:00:10 #167 [Verbose] > │ ## try_item                                                                  │

00:00:10 #168 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:10 #169 [Verbose] >

00:00:10 #170 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:10 #171 [Verbose] > inl try_item i s =

00:00:10 #172 [Verbose] >     inl rec body i = function

00:00:10 #173 [Verbose] >         | StreamCons (x, _) when i <= 0 => Some x

00:00:10 #174 [Verbose] >         | StreamCons (_, fn) => loop (i - 1) (fn ())

00:00:10 #175 [Verbose] >         | StreamNil => None

00:00:10 #176 [Verbose] >     and inl loop acc s' =

00:00:10 #177 [Verbose] >         match var_is acc, var_is s' with

00:00:10 #178 [Verbose] >         | false, false => body acc s'

00:00:10 #179 [Verbose] >         | _ =>

00:00:10 #180 [Verbose] >             inl acc = dyn acc

00:00:10 #181 [Verbose] >             inl s' = dyn s'

00:00:10 #182 [Verbose] >             join body acc s'

00:00:10 #183 [Verbose] >     loop i s

00:00:10 #184 [Verbose] >

00:00:10 #185 [Verbose] > inl item i =

00:00:10 #186 [Verbose] >     try_item i >> optionm.value

00:00:10 #187 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0902-3289-8977-85b60954ffe1\main.spi

00:00:10 #188 [Verbose] >

00:00:10 #189 [Verbose] > ╭─[ 207.63ms - stdout ]────────────────────────────────────────────────────────╮

00:00:10 #190 [Verbose] > │ ()                                                                           │

00:00:10 #191 [Verbose] > │                                                                              │

00:00:10 #192 [Verbose] > │                                                                              │

00:00:10 #193 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:10 #194 [Verbose] >

00:00:10 #195 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:10 #196 [Verbose] > // // test

00:00:10 #197 [Verbose] >

00:00:10 #198 [Verbose] > listm.init 10i32 id

00:00:10 #199 [Verbose] > |> from_list

00:00:10 #200 [Verbose] > |> item 9i32

00:00:10 #201 [Verbose] > |> _equal 9

00:00:11 #202 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0902-3310-1054-14c4a087835c\main.spi

00:00:11 #203 [Verbose] >

00:00:11 #204 [Verbose] > ╭─[ 205.83ms - stdout ]────────────────────────────────────────────────────────╮

00:00:11 #205 [Verbose] > │ let rec method0 () : unit =                                                  │

00:00:11 #206 [Verbose] > │     let v0 : string = $"__expect / actual: %A{9} / expected: %A{9}"          │

00:00:11 #207 [Verbose] > │     ()                                                                       │

00:00:11 #208 [Verbose] > │ method0()                                                                    │

00:00:11 #209 [Verbose] > │                                                                              │

00:00:11 #210 [Verbose] > │                                                                              │

00:00:11 #211 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:11 #212 [Verbose] >

00:00:11 #213 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────

00:00:11 #214 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮

00:00:11 #215 [Verbose] > │ ## new_infinite_stream                                                       │

00:00:11 #216 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:11 #217 [Verbose] >

00:00:11 #218 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:11 #219 [Verbose] > inl new_infinite_stream fn =

00:00:11 #220 [Verbose] >     inl rec loop n =

00:00:11 #221 [Verbose] >         StreamCons (fn n, fun () => loop (n + 1))

00:00:11 #222 [Verbose] >     loop 0

00:00:11 #223 [Verbose] >

00:00:11 #224 [Verbose] > inl new_infinite_stream_ fn =

00:00:11 #225 [Verbose] >     let rec loop n =

00:00:11 #226 [Verbose] >         StreamCons (fn n, fun () => loop (n + 1))

00:00:11 #227 [Verbose] >     loop 0

00:00:11 #228 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0902-3331-3167-358143e11168\main.spi

00:00:11 #229 [Verbose] >

00:00:11 #230 [Verbose] > ╭─[ 214.14ms - stdout ]────────────────────────────────────────────────────────╮

00:00:11 #231 [Verbose] > │ ()                                                                           │

00:00:11 #232 [Verbose] > │                                                                              │

00:00:11 #233 [Verbose] > │                                                                              │

00:00:11 #234 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:11 #235 [Verbose] >

00:00:11 #236 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:11 #237 [Verbose] > // // test

00:00:11 #238 [Verbose] >

00:00:11 #239 [Verbose] > new_infinite_stream print_and_return

00:00:11 #240 [Verbose] > |> item 4i32

00:00:11 #241 [Verbose] > |> _equal 4i32

00:00:11 #242 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0902-3353-5338-56a01cf8aec8\main.spi

00:00:11 #243 [Verbose] >

00:00:11 #244 [Verbose] > ╭─[ 230.14ms - stdout ]────────────────────────────────────────────────────────╮

00:00:11 #245 [Verbose] > │ let rec method0 () : unit =                                                  │

00:00:11 #246 [Verbose] > │     printfn $"print_and_return / x: {0}"                                     │

00:00:11 #247 [Verbose] > │     printfn $"print_and_return / x: {1}"                                     │

00:00:11 #248 [Verbose] > │     printfn $"print_and_return / x: {2}"                                     │

00:00:11 #249 [Verbose] > │     printfn $"print_and_return / x: {3}"                                     │

00:00:11 #250 [Verbose] > │     printfn $"print_and_return / x: {4}"                                     │

00:00:11 #251 [Verbose] > │     let v0 : string = $"__expect / actual: %A{4} / expected: %A{4}"          │

00:00:11 #252 [Verbose] > │     ()                                                                       │

00:00:11 #253 [Verbose] > │ method0()                                                                    │

00:00:11 #254 [Verbose] > │                                                                              │

00:00:11 #255 [Verbose] > │ print_and_return / x: 0                                                      │

00:00:11 #256 [Verbose] > │ print_and_return / x: 1                                                      │

00:00:11 #257 [Verbose] > │ print_and_return / x: 2                                                      │

00:00:11 #258 [Verbose] > │ print_and_return / x: 3                                                      │

00:00:11 #259 [Verbose] > │ print_and_return / x: 4                                                      │

00:00:11 #260 [Verbose] > │                                                                              │

00:00:11 #261 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:11 #262 [Verbose] >

00:00:11 #263 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────

00:00:11 #264 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮

00:00:11 #265 [Verbose] > │ ## new_finite_stream                                                         │

00:00:11 #266 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:11 #267 [Verbose] >

00:00:11 #268 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:11 #269 [Verbose] > inl new_finite_stream fn max =

00:00:11 #270 [Verbose] >     inl rec loop n =

00:00:11 #271 [Verbose] >         if n >= max

00:00:11 #272 [Verbose] >         then StreamNil

00:00:11 #273 [Verbose] >         else StreamCons (fn n, fun () => loop (n + 1))

00:00:11 #274 [Verbose] >     loop 0

00:00:11 #275 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0902-3377-7724-7926061a182e\main.spi

00:00:11 #276 [Verbose] >

00:00:11 #277 [Verbose] > ╭─[ 195.45ms - stdout ]────────────────────────────────────────────────────────╮

00:00:11 #278 [Verbose] > │ ()                                                                           │

00:00:11 #279 [Verbose] > │                                                                              │

00:00:11 #280 [Verbose] > │                                                                              │

00:00:11 #281 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:11 #282 [Verbose] >

00:00:11 #283 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────

00:00:11 #284 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮

00:00:11 #285 [Verbose] > │ ## memoize                                                                   │

00:00:11 #286 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:11 #287 [Verbose] >

00:00:11 #288 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:11 #289 [Verbose] > union memoized_stream t =

00:00:11 #290 [Verbose] >     | NotComputed : () -> stream t

00:00:11 #291 [Verbose] >     | Computed : stream t

00:00:11 #292 [Verbose] >

00:00:11 #293 [Verbose] > inl memoize s =

00:00:11 #294 [Verbose] >     inl rec body s =

00:00:11 #295 [Verbose] >         inl state = mut (NotComputed s)

00:00:11 #296 [Verbose] >         fun () =>

00:00:11 #297 [Verbose] >             match *state with

00:00:11 #298 [Verbose] >             | Computed x => x

00:00:11 #299 [Verbose] >             | NotComputed fn =>

00:00:11 #300 [Verbose] >                 inl new_state =

00:00:11 #301 [Verbose] >                     match fn () with

00:00:11 #302 [Verbose] >                     | StreamNil => StreamNil

00:00:11 #303 [Verbose] >                     | StreamCons (x, fn) => StreamCons (x, loop fn)

00:00:11 #304 [Verbose] >                 state <- Computed new_state

00:00:11 #305 [Verbose] >                 new_state

00:00:11 #306 [Verbose] >     and inl loop s' = join_body_unit body s s'

00:00:11 #307 [Verbose] >     loop (fun () => s)

00:00:11 #308 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0902-3397-9735-98245d8702f5\main.spi

00:00:12 #309 [Verbose] >

00:00:12 #310 [Verbose] > ╭─[ 261.07ms - stdout ]────────────────────────────────────────────────────────╮

00:00:12 #311 [Verbose] > │ ()                                                                           │

00:00:12 #312 [Verbose] > │                                                                              │

00:00:12 #313 [Verbose] > │                                                                              │

00:00:12 #314 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:12 #315 [Verbose] >

00:00:12 #316 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:12 #317 [Verbose] > // // test

00:00:12 #318 [Verbose] >

00:00:12 #319 [Verbose] > inl memo_stream = new_finite_stream print_and_return 10 |> memoize

00:00:12 #320 [Verbose] >

00:00:12 #321 [Verbose] > memo_stream ()

00:00:12 #322 [Verbose] > |> item 3i32

00:00:12 #323 [Verbose] > |> _equal 3i32

00:00:12 #324 [Verbose] >

00:00:12 #325 [Verbose] > memo_stream ()

00:00:12 #326 [Verbose] > |> item 5i32

00:00:12 #327 [Verbose] > |> _equal 5i32

00:00:12 #328 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0902-3423-2368-2db9ad914a44\main.spi

00:00:12 #329 [Verbose] >

00:00:12 #330 [Verbose] > ╭─[ 672.56ms - stdout ]────────────────────────────────────────────────────────╮

00:00:12 #331 [Verbose] > │ type UH0 =                                                                   │

00:00:12 #332 [Verbose] > │     | UH0_0 of int32 * (unit -> UH0)                                         │

00:00:12 #333 [Verbose] > │     | UH0_1                                                                  │

00:00:12 #334 [Verbose] > │ and [<Struct>] US0 =                                                         │

00:00:12 #335 [Verbose] > │     | US0_0 of f0_0 : UH0                                                    │

00:00:12 #336 [Verbose] > │     | US0_1 of f1_0 : (unit -> UH0)                                          │

00:00:12 #337 [Verbose] > │ and Mut0 = {mutable l0 : US0}                                                │

00:00:12 #338 [Verbose] > │ and [<Struct>] US1 =                                                         │

00:00:12 #339 [Verbose] > │     | US1_0                                                                  │

00:00:12 #340 [Verbose] > │     | US1_1 of f1_0 : int32                                                  │

00:00:12 #341 [Verbose] > │ let rec closure10 () () : UH0 =                                              │

00:00:12 #342 [Verbose] > │     UH0_1                                                                    │

00:00:12 #343 [Verbose] > │ and closure9 () () : UH0 =                                                   │

00:00:12 #344 [Verbose] > │     printfn $"print_and_return / x: {9}"                                     │

00:00:12 #345 [Verbose] > │     let v0 : (unit -> UH0) = closure10()                                     │

00:00:12 #346 [Verbose] > │     UH0_0(9, v0)                                                             │

00:00:12 #347 [Verbose] > │ and closure8 () () : UH0 =                                                   │

00:00:12 #348 [Verbose] > │     printfn $"print_and_return / x: {8}"                                     │

00:00:12 #349 [Verbose] > │     let v0 : (unit -> UH0) = closure9()                                      │

00:00:12 #350 [Verbose] > │     UH0_0(8, v0)                                                             │

00:00:12 #351 [Verbose] > │ and closure7 () () : UH0 =                                                   │

00:00:12 #352 [Verbose] > │     printfn $"print_and_return / x: {7}"                                     │

00:00:12 #353 [Verbose] > │     let v0 : (unit -> UH0) = closure8()                                      │

00:00:12 #354 [Verbose] > │     UH0_0(7, v0)                                                             │

00:00:12 #355 [Verbose] > │ and closure6 () () : UH0 =                                                   │

00:00:12 #356 [Verbose] > │     printfn $"print_and_return / x: {6}"                                     │

00:00:12 #357 [Verbose] > │     let v0 : (unit -> UH0) = closure7()                                      │

00:00:12 #358 [Verbose] > │     UH0_0(6, v0)                                                             │

00:00:12 #359 [Verbose] > │ and closure5 () () : UH0 =                                                   │

00:00:12 #360 [Verbose] > │     printfn $"print_and_return / x: {5}"                                     │

00:00:12 #361 [Verbose] > │     let v0 : (unit -> UH0) = closure6()                                      │

00:00:12 #362 [Verbose] > │     UH0_0(5, v0)                                                             │

00:00:12 #363 [Verbose] > │ and closure4 () () : UH0 =                                                   │

00:00:12 #364 [Verbose] > │     printfn $"print_and_return / x: {4}"                                     │

00:00:12 #365 [Verbose] > │     let v0 : (unit -> UH0) = closure5()                                      │

00:00:12 #366 [Verbose] > │     UH0_0(4, v0)                                                             │

00:00:12 #367 [Verbose] > │ and closure3 () () : UH0 =                                                   │

00:00:12 #368 [Verbose] > │     printfn $"print_and_return / x: {3}"                                     │

00:00:12 #369 [Verbose] > │     let v0 : (unit -> UH0) = closure4()                                      │

00:00:12 #370 [Verbose] > │     UH0_0(3, v0)                                                             │

00:00:12 #371 [Verbose] > │ and closure2 () () : UH0 =                                                   │

00:00:12 #372 [Verbose] > │     printfn $"print_and_return / x: {2}"                                     │

00:00:12 #373 [Verbose] > │     let v0 : (unit -> UH0) = closure3()                                      │

00:00:12 #374 [Verbose] > │     UH0_0(2, v0)                                                             │

00:00:12 #375 [Verbose] > │ and closure1 () () : UH0 =                                                   │

00:00:12 #376 [Verbose] > │     printfn $"print_and_return / x: {1}"                                     │

00:00:12 #377 [Verbose] > │     let v0 : (unit -> UH0) = closure2()                                      │

00:00:12 #378 [Verbose] > │     UH0_0(1, v0)                                                             │

00:00:12 #379 [Verbose] > │ and closure0 () () : UH0 =                                                   │

00:00:12 #380 [Verbose] > │     let v0 : (unit -> UH0) = closure1()                                      │

00:00:12 #381 [Verbose] > │     UH0_0(0, v0)                                                             │

00:00:12 #382 [Verbose] > │ and closure11 (v0 : Mut0) () : UH0 =                                         │

00:00:12 #383 [Verbose] > │     let v1 : US0 = v0.l0                                                     │

00:00:12 #384 [Verbose] > │     match v1 with                                                            │

00:00:12 #385 [Verbose] > │     | US0_0(v2) -> (* Computed *)                                            │

00:00:12 #386 [Verbose] > │         v2                                                                   │

00:00:12 #387 [Verbose] > │     | US0_1(v3) -> (* NotComputed *)                                         │

00:00:12 #388 [Verbose] > │         let v4 : UH0 = v3 ()                                                 │

00:00:12 #389 [Verbose] > │         let v13 : UH0 =                                                      │

00:00:12 #390 [Verbose] > │             match v4 with                                                    │

00:00:12 #391 [Verbose] > │             | UH0_0(v6, v7) -> (* StreamCons *)                              │

00:00:12 #392 [Verbose] > │                 let v8 : US0 = US0_1(v7)                                     │

00:00:12 #393 [Verbose] > │                 let v9 : Mut0 = {l0 = v8} : Mut0                             │

00:00:12 #394 [Verbose] > │                 let v10 : (unit -> UH0) = closure11(v9)                      │

00:00:12 #395 [Verbose] > │                 UH0_0(v6, v10)                                               │

00:00:12 #396 [Verbose] > │             | UH0_1 -> (* StreamNil *)                                       │

00:00:12 #397 [Verbose] > │                 UH0_1                                                        │

00:00:12 #398 [Verbose] > │         let v14 : US0 = US0_0(v13)                                           │

00:00:12 #399 [Verbose] > │         v0.l0 <- v14                                                         │

00:00:12 #400 [Verbose] > │         v13                                                                  │

00:00:12 #401 [Verbose] > │ and method1 (v0 : int32, v1 : UH0) : US1 =                                   │

00:00:12 #402 [Verbose] > │     match v1 with                                                            │

00:00:12 #403 [Verbose] > │     | UH0_0(v2, v3) -> (* StreamCons *)                                      │

00:00:12 #404 [Verbose] > │         let v4 : bool = v0 <= 0                                              │

00:00:12 #405 [Verbose] > │         if v4 then                                                           │

00:00:12 #406 [Verbose] > │             US1_1(v2)                                                        │

00:00:12 #407 [Verbose] > │         else                                                                 │

00:00:12 #408 [Verbose] > │             let v6 : int32 = v0 - 1                                          │

00:00:12 #409 [Verbose] > │             let v7 : UH0 = v3 ()                                             │

00:00:12 #410 [Verbose] > │             method1(v6, v7)                                                  │

00:00:12 #411 [Verbose] > │     | UH0_1 -> (* StreamNil *)                                               │

00:00:12 #412 [Verbose] > │         US1_0                                                                │

00:00:12 #413 [Verbose] > │ and method0 () : unit =                                                      │

00:00:12 #414 [Verbose] > │     printfn $"print_and_return / x: {0}"                                     │

00:00:12 #415 [Verbose] > │     let v0 : (unit -> UH0) = closure0()                                      │

00:00:12 #416 [Verbose] > │     let v1 : US0 = US0_1(v0)                                                 │

00:00:12 #417 [Verbose] > │     let v2 : Mut0 = {l0 = v1} : Mut0                                         │

00:00:12 #418 [Verbose] > │     let v3 : US0 = v2.l0                                                     │

00:00:12 #419 [Verbose] > │     let v18 : UH0 =                                                          │

00:00:12 #420 [Verbose] > │         match v3 with                                                        │

00:00:12 #421 [Verbose] > │         | US0_0(v4) -> (* Computed *)                                        │

00:00:12 #422 [Verbose] > │             v4                                                               │

00:00:12 #423 [Verbose] > │         | US0_1(v5) -> (* NotComputed *)                                     │

00:00:12 #424 [Verbose] > │             let v6 : UH0 = v5 ()                                             │

00:00:12 #425 [Verbose] > │             let v15 : UH0 =                                                  │

00:00:12 #426 [Verbose] > │                 match v6 with                                                │

00:00:12 #427 [Verbose] > │                 | UH0_0(v8, v9) -> (* StreamCons *)                          │

00:00:12 #428 [Verbose] > │                     let v10 : US0 = US0_1(v9)                                │

00:00:12 #429 [Verbose] > │                     let v11 : Mut0 = {l0 = v10} : Mut0                       │

00:00:12 #430 [Verbose] > │                     let v12 : (unit -> UH0) = closure11(v11)                 │

00:00:12 #431 [Verbose] > │                     UH0_0(v8, v12)                                           │

00:00:12 #432 [Verbose] > │                 | UH0_1 -> (* StreamNil *)                                   │

00:00:12 #433 [Verbose] > │                     UH0_1                                                    │

00:00:12 #434 [Verbose] > │             let v16 : US0 = US0_0(v15)                                       │

00:00:12 #435 [Verbose] > │             v2.l0 <- v16                                                     │

00:00:12 #436 [Verbose] > │             v15                                                              │

00:00:12 #437 [Verbose] > │     let v19 : int32 = 3                                                      │

00:00:12 #438 [Verbose] > │     let v20 : US1 = method1(v19, v18)                                        │

00:00:12 #439 [Verbose] > │     let v24 : int32 =                                                        │

00:00:12 #440 [Verbose] > │         match v20 with                                                       │

00:00:12 #441 [Verbose] > │         | US1_0 -> (* None *)                                                │

00:00:12 #442 [Verbose] > │             failwith<int32> "Option does not have a value."                  │

00:00:12 #443 [Verbose] > │         | US1_1(v21) -> (* Some *)                                           │

00:00:12 #444 [Verbose] > │             v21                                                              │

00:00:12 #445 [Verbose] > │     let v25 : string = $"__expect / actual: %A{v24} / expected: %A{3}"       │

00:00:12 #446 [Verbose] > │     let v26 : bool = v24 = 3                                                 │

00:00:12 #447 [Verbose] > │     let v27 : bool = v26 = false                                             │

00:00:12 #448 [Verbose] > │     if v27 then                                                              │

00:00:12 #449 [Verbose] > │         failwith<unit> v25                                                   │

00:00:12 #450 [Verbose] > │     let v28 : US0 = v2.l0                                                    │

00:00:12 #451 [Verbose] > │     let v43 : UH0 =                                                          │

00:00:12 #452 [Verbose] > │         match v28 with                                                       │

00:00:12 #453 [Verbose] > │         | US0_0(v29) -> (* Computed *)                                       │

00:00:12 #454 [Verbose] > │             v29                                                              │

00:00:12 #455 [Verbose] > │         | US0_1(v30) -> (* NotComputed *)                                    │

00:00:12 #456 [Verbose] > │             let v31 : UH0 = v30 ()                                           │

00:00:12 #457 [Verbose] > │             let v40 : UH0 =                                                  │

00:00:12 #458 [Verbose] > │                 match v31 with                                               │

00:00:12 #459 [Verbose] > │                 | UH0_0(v33, v34) -> (* StreamCons *)                        │

00:00:12 #460 [Verbose] > │                     let v35 : US0 = US0_1(v34)                               │

00:00:12 #461 [Verbose] > │                     let v36 : Mut0 = {l0 = v35} : Mut0                       │

00:00:12 #462 [Verbose] > │                     let v37 : (unit -> UH0) = closure11(v36)                 │

00:00:12 #463 [Verbose] > │                     UH0_0(v33, v37)                                          │

00:00:12 #464 [Verbose] > │                 | UH0_1 -> (* StreamNil *)                                   │

00:00:12 #465 [Verbose] > │                     UH0_1                                                    │

00:00:12 #466 [Verbose] > │             let v41 : US0 = US0_0(v40)                                       │

00:00:12 #467 [Verbose] > │             v2.l0 <- v41                                                     │

00:00:12 #468 [Verbose] > │             v40                                                              │

00:00:12 #469 [Verbose] > │     let v44 : int32 = 5                                                      │

00:00:12 #470 [Verbose] > │     let v45 : US1 = method1(v44, v43)                                        │

00:00:12 #471 [Verbose] > │     let v49 : int32 =                                                        │

00:00:12 #472 [Verbose] > │         match v45 with                                                       │

00:00:12 #473 [Verbose] > │         | US1_0 -> (* None *)                                                │

00:00:12 #474 [Verbose] > │             failwith<int32> "Option does not have a value."                  │

00:00:12 #475 [Verbose] > │         | US1_1(v46) -> (* Some *)                                           │

00:00:12 #476 [Verbose] > │             v46                                                              │

00:00:12 #477 [Verbose] > │     let v50 : string = $"__expect / actual: %A{v49} / expected: %A{5}"       │

00:00:12 #478 [Verbose] > │     let v51 : bool = v49 = 5                                                 │

00:00:12 #479 [Verbose] > │     let v52 : bool = v51 = false                                             │

00:00:12 #480 [Verbose] > │     if v52 then                                                              │

00:00:12 #481 [Verbose] > │         failwith<unit> v50                                                   │

00:00:12 #482 [Verbose] > │ method0()                                                                    │

00:00:12 #483 [Verbose] > │                                                                              │

00:00:12 #484 [Verbose] > │ print_and_return / x: 0                                                      │

00:00:12 #485 [Verbose] > │ print_and_return / x: 1                                                      │

00:00:12 #486 [Verbose] > │ print_and_return / x: 2                                                      │

00:00:12 #487 [Verbose] > │ print_and_return / x: 3                                                      │

00:00:12 #488 [Verbose] > │ print_and_return / x: 4                                                      │

00:00:12 #489 [Verbose] > │ print_and_return / x: 5                                                      │

00:00:12 #490 [Verbose] > │                                                                              │

00:00:12 #491 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:12 #492 [Verbose] >

00:00:12 #493 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:12 #494 [Verbose] > // // test

00:00:12 #495 [Verbose] >

00:00:12 #496 [Verbose] > inl memo_stream = new_infinite_stream_ print_and_return |> memoize

00:00:12 #497 [Verbose] >

00:00:12 #498 [Verbose] > memo_stream ()

00:00:12 #499 [Verbose] > |> item 3i32

00:00:12 #500 [Verbose] > |> _equal 3i32

00:00:12 #501 [Verbose] >

00:00:12 #502 [Verbose] > memo_stream ()

00:00:12 #503 [Verbose] > |> item 5i32

00:00:12 #504 [Verbose] > |> _equal 5i32

00:00:12 #505 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0902-3497-9729-9bde90b9176b\main.spi

00:00:13 #506 [Verbose] >

00:00:13 #507 [Verbose] > ╭─[ 215.19ms - stdout ]────────────────────────────────────────────────────────╮

00:00:13 #508 [Verbose] > │ type UH0 =                                                                   │

00:00:13 #509 [Verbose] > │     | UH0_0 of int32 * (unit -> UH0)                                         │

00:00:13 #510 [Verbose] > │     | UH0_1                                                                  │

00:00:13 #511 [Verbose] > │ and [<Struct>] US0 =                                                         │

00:00:13 #512 [Verbose] > │     | US0_0 of f0_0 : UH0                                                    │

00:00:13 #513 [Verbose] > │     | US0_1 of f1_0 : (unit -> UH0)                                          │

00:00:13 #514 [Verbose] > │ and Mut0 = {mutable l0 : US0}                                                │

00:00:13 #515 [Verbose] > │ and [<Struct>] US1 =                                                         │

00:00:13 #516 [Verbose] > │     | US1_0                                                                  │

00:00:13 #517 [Verbose] > │     | US1_1 of f1_0 : int32                                                  │

00:00:13 #518 [Verbose] > │ let rec closure0 (v0 : int32) () : UH0 =                                     │

00:00:13 #519 [Verbose] > │     let v1 : int32 = v0 + 1                                                  │

00:00:13 #520 [Verbose] > │     method1(v1)                                                              │

00:00:13 #521 [Verbose] > │ and method1 (v0 : int32) : UH0 =                                             │

00:00:13 #522 [Verbose] > │     printfn $"print_and_return / x: {v0}"                                    │

00:00:13 #523 [Verbose] > │     let v1 : (unit -> UH0) = closure0(v0)                                    │

00:00:13 #524 [Verbose] > │     UH0_0(v0, v1)                                                            │

00:00:13 #525 [Verbose] > │ and closure1 (v0 : UH0) () : UH0 =                                           │

00:00:13 #526 [Verbose] > │     v0                                                                       │

00:00:13 #527 [Verbose] > │ and closure2 (v0 : UH0, v1 : Mut0) () : UH0 =                                │

00:00:13 #528 [Verbose] > │     let v2 : US0 = v1.l0                                                     │

00:00:13 #529 [Verbose] > │     match v2 with                                                            │

00:00:13 #530 [Verbose] > │     | US0_0(v3) -> (* Computed *)                                            │

00:00:13 #531 [Verbose] > │         v3                                                                   │

00:00:13 #532 [Verbose] > │     | US0_1(v4) -> (* NotComputed *)                                         │

00:00:13 #533 [Verbose] > │         let v5 : UH0 = v4 ()                                                 │

00:00:13 #534 [Verbose] > │         let v12 : UH0 =                                                      │

00:00:13 #535 [Verbose] > │             match v5 with                                                    │

00:00:13 #536 [Verbose] > │             | UH0_0(v7, v8) -> (* StreamCons *)                              │

00:00:13 #537 [Verbose] > │                 let v9 : (unit -> UH0) = method2(v0, v8)                     │

00:00:13 #538 [Verbose] > │                 UH0_0(v7, v9)                                                │

00:00:13 #539 [Verbose] > │             | UH0_1 -> (* StreamNil *)                                       │

00:00:13 #540 [Verbose] > │                 UH0_1                                                        │

00:00:13 #541 [Verbose] > │         let v13 : US0 = US0_0(v12)                                           │

00:00:13 #542 [Verbose] > │         v1.l0 <- v13                                                         │

00:00:13 #543 [Verbose] > │         v12                                                                  │

00:00:13 #544 [Verbose] > │ and method2 (v0 : UH0, v1 : (unit -> UH0)) : (unit -> UH0) =                 │

00:00:13 #545 [Verbose] > │     let v2 : US0 = US0_1(v1)                                                 │

00:00:13 #546 [Verbose] > │     let v3 : Mut0 = {l0 = v2} : Mut0                                         │

00:00:13 #547 [Verbose] > │     closure2(v0, v3)                                                         │

00:00:13 #548 [Verbose] > │ and method3 (v0 : int32, v1 : UH0) : US1 =                                   │

00:00:13 #549 [Verbose] > │     match v1 with                                                            │

00:00:13 #550 [Verbose] > │     | UH0_0(v2, v3) -> (* StreamCons *)                                      │

00:00:13 #551 [Verbose] > │         let v4 : bool = v0 <= 0                                              │

00:00:13 #552 [Verbose] > │         if v4 then                                                           │

00:00:13 #553 [Verbose] > │             US1_1(v2)                                                        │

00:00:13 #554 [Verbose] > │         else                                                                 │

00:00:13 #555 [Verbose] > │             let v6 : int32 = v0 - 1                                          │

00:00:13 #556 [Verbose] > │             let v7 : UH0 = v3 ()                                             │

00:00:13 #557 [Verbose] > │             method3(v6, v7)                                                  │

00:00:13 #558 [Verbose] > │     | UH0_1 -> (* StreamNil *)                                               │

00:00:13 #559 [Verbose] > │         US1_0                                                                │

00:00:13 #560 [Verbose] > │ and method0 () : unit =                                                      │

00:00:13 #561 [Verbose] > │     let v0 : int32 = 0                                                       │

00:00:13 #562 [Verbose] > │     let v1 : UH0 = method1(v0)                                               │

00:00:13 #563 [Verbose] > │     let v2 : (unit -> UH0) = closure1(v1)                                    │

00:00:13 #564 [Verbose] > │     let v3 : (unit -> UH0) = method2(v1, v2)                                 │

00:00:13 #565 [Verbose] > │     let v4 : UH0 = v3 ()                                                     │

00:00:13 #566 [Verbose] > │     let v5 : int32 = 3                                                       │

00:00:13 #567 [Verbose] > │     let v6 : US1 = method3(v5, v4)                                           │

00:00:13 #568 [Verbose] > │     let v10 : int32 =                                                        │

00:00:13 #569 [Verbose] > │         match v6 with                                                        │

00:00:13 #570 [Verbose] > │         | US1_0 -> (* None *)                                                │

00:00:13 #571 [Verbose] > │             failwith<int32> "Option does not have a value."                  │

00:00:13 #572 [Verbose] > │         | US1_1(v7) -> (* Some *)                                            │

00:00:13 #573 [Verbose] > │             v7                                                               │

00:00:13 #574 [Verbose] > │     let v11 : string = $"__expect / actual: %A{v10} / expected: %A{3}"       │

00:00:13 #575 [Verbose] > │     let v12 : bool = v10 = 3                                                 │

00:00:13 #576 [Verbose] > │     let v13 : bool = v12 = false                                             │

00:00:13 #577 [Verbose] > │     if v13 then                                                              │

00:00:13 #578 [Verbose] > │         failwith<unit> v11                                                   │

00:00:13 #579 [Verbose] > │     let v14 : UH0 = v3 ()                                                    │

00:00:13 #580 [Verbose] > │     let v15 : int32 = 5                                                      │

00:00:13 #581 [Verbose] > │     let v16 : US1 = method3(v15, v14)                                        │

00:00:13 #582 [Verbose] > │     let v20 : int32 =                                                        │

00:00:13 #583 [Verbose] > │         match v16 with                                                       │

00:00:13 #584 [Verbose] > │         | US1_0 -> (* None *)                                                │

00:00:13 #585 [Verbose] > │             failwith<int32> "Option does not have a value."                  │

00:00:13 #586 [Verbose] > │         | US1_1(v17) -> (* Some *)                                           │

00:00:13 #587 [Verbose] > │             v17                                                              │

00:00:13 #588 [Verbose] > │     let v21 : string = $"__expect / actual: %A{v20} / expected: %A{5}"       │

00:00:13 #589 [Verbose] > │     let v22 : bool = v20 = 5                                                 │

00:00:13 #590 [Verbose] > │     let v23 : bool = v22 = false                                             │

00:00:13 #591 [Verbose] > │     if v23 then                                                              │

00:00:13 #592 [Verbose] > │         failwith<unit> v21                                                   │

00:00:13 #593 [Verbose] > │ method0()                                                                    │

00:00:13 #594 [Verbose] > │                                                                              │

00:00:13 #595 [Verbose] > │ print_and_return / x: 0                                                      │

00:00:13 #596 [Verbose] > │ print_and_return / x: 1                                                      │

00:00:13 #597 [Verbose] > │ print_and_return / x: 2                                                      │

00:00:13 #598 [Verbose] > │ print_and_return / x: 3                                                      │

00:00:13 #599 [Verbose] > │ print_and_return / x: 4                                                      │

00:00:13 #600 [Verbose] > │ print_and_return / x: 5                                                      │

00:00:13 #601 [Verbose] > │                                                                              │

00:00:13 #602 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:13 #603 [Verbose] >

00:00:13 #604 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────

00:00:13 #605 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮

00:00:13 #606 [Verbose] > │ ## unfold                                                                    │

00:00:13 #607 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:13 #608 [Verbose] >

00:00:13 #609 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:13 #610 [Verbose] > inl unfold f x0 =

00:00:13 #611 [Verbose] >     inl rec body x =

00:00:13 #612 [Verbose] >         match f x with

00:00:13 #613 [Verbose] >         | Some (x', y) => StreamCons (x', fun () => loop y)

00:00:13 #614 [Verbose] >         | None => StreamNil

00:00:13 #615 [Verbose] >     and inl loop x = join_body_unit body x0 x

00:00:13 #616 [Verbose] >     loop x0

00:00:13 #617 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0902-3522-2248-2013bd023cf7\main.spi

00:00:13 #618 [Verbose] >

00:00:13 #619 [Verbose] > ╭─[ 138.40ms - stdout ]────────────────────────────────────────────────────────╮

00:00:13 #620 [Verbose] > │ ()                                                                           │

00:00:13 #621 [Verbose] > │                                                                              │

00:00:13 #622 [Verbose] > │                                                                              │

00:00:13 #623 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:13 #624 [Verbose] >

00:00:13 #625 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────

00:00:13 #626 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮

00:00:13 #627 [Verbose] > │ ## iterate                                                                   │

00:00:13 #628 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:13 #629 [Verbose] >

00:00:13 #630 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:13 #631 [Verbose] > inl iterate f =

00:00:13 #632 [Verbose] >     unfold (fun x => Some (x, f x))

00:00:13 #633 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0902-3536-3673-33f2e8826985\main.spi

00:00:13 #634 [Verbose] >

00:00:13 #635 [Verbose] > ╭─[ 152.99ms - stdout ]────────────────────────────────────────────────────────╮

00:00:13 #636 [Verbose] > │ ()                                                                           │

00:00:13 #637 [Verbose] > │                                                                              │

00:00:13 #638 [Verbose] > │                                                                              │

00:00:13 #639 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:13 #640 [Verbose] >

00:00:13 #641 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:13 #642 [Verbose] > // // test

00:00:13 #643 [Verbose] >

00:00:13 #644 [Verbose] > iterate ((*) 2) 1i32

00:00:13 #645 [Verbose] > |> item 10i32

00:00:13 #646 [Verbose] > |> _equal 1024

00:00:13 #647 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0902-3552-5222-5b926a280e12\main.spi

00:00:13 #648 [Verbose] >

00:00:13 #649 [Verbose] > ╭─[ 142.46ms - stdout ]────────────────────────────────────────────────────────╮

00:00:13 #650 [Verbose] > │ let rec method0 () : unit =                                                  │

00:00:13 #651 [Verbose] > │     let v0 : string = $"__expect / actual: %A{1024} / expected: %A{1024}"    │

00:00:13 #652 [Verbose] > │     ()                                                                       │

00:00:13 #653 [Verbose] > │ method0()                                                                    │

00:00:13 #654 [Verbose] > │                                                                              │

00:00:13 #655 [Verbose] > │                                                                              │

00:00:13 #656 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:13 #657 [Verbose] >

00:00:13 #658 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────

00:00:13 #659 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮

00:00:13 #660 [Verbose] > │ ## take_while                                                                │

00:00:13 #661 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:13 #662 [Verbose] >

00:00:13 #663 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:13 #664 [Verbose] > inl take_while cond s =

00:00:13 #665 [Verbose] >     inl rec body i = function

00:00:13 #666 [Verbose] >         | StreamCons (st, fn) when cond st i => StreamCons (st, fun () => loop

00:00:13 #667 [Verbose] > (i + 1) (fn ()))

00:00:13 #668 [Verbose] >         | _ => StreamNil

00:00:13 #669 [Verbose] >     and inl loop i = join_body body i

00:00:13 #670 [Verbose] >     loop 0 s

00:00:13 #671 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0902-3567-6714-66b596d41322\main.spi

00:00:13 #672 [Verbose] >

00:00:13 #673 [Verbose] > ╭─[ 182.04ms - stdout ]────────────────────────────────────────────────────────╮

00:00:13 #674 [Verbose] > │ ()                                                                           │

00:00:13 #675 [Verbose] > │                                                                              │

00:00:13 #676 [Verbose] > │                                                                              │

00:00:13 #677 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:13 #678 [Verbose] >

00:00:13 #679 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────

00:00:13 #680 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮

00:00:13 #681 [Verbose] > │ ## sum                                                                       │

00:00:13 #682 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:13 #683 [Verbose] >

00:00:13 #684 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:13 #685 [Verbose] > inl sum seq =

00:00:13 #686 [Verbose] >     seq |> fold (+) 0

00:00:13 #687 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0902-3585-8576-8aa905d35aa9\main.spi

00:00:13 #688 [Verbose] >

00:00:13 #689 [Verbose] > ╭─[ 134.34ms - stdout ]────────────────────────────────────────────────────────╮

00:00:13 #690 [Verbose] > │ ()                                                                           │

00:00:13 #691 [Verbose] > │                                                                              │

00:00:13 #692 [Verbose] > │                                                                              │

00:00:13 #693 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:13 #694 [Verbose] >

00:00:13 #695 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:13 #696 [Verbose] > // // test

00:00:13 #697 [Verbose] >

00:00:13 #698 [Verbose] > listm.init 10i32 id

00:00:13 #699 [Verbose] > |> from_list

00:00:13 #700 [Verbose] > |> sum

00:00:13 #701 [Verbose] > |> _equal 45

00:00:13 #702 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0902-3599-9942-9d25571ad85f\main.spi

00:00:14 #703 [Verbose] >

00:00:14 #704 [Verbose] > ╭─[ 157.97ms - stdout ]────────────────────────────────────────────────────────╮

00:00:14 #705 [Verbose] > │ let rec method0 () : unit =                                                  │

00:00:14 #706 [Verbose] > │     let v0 : string = $"__expect / actual: %A{45} / expected: %A{45}"        │

00:00:14 #707 [Verbose] > │     ()                                                                       │

00:00:14 #708 [Verbose] > │ method0()                                                                    │

00:00:14 #709 [Verbose] > │                                                                              │

00:00:14 #710 [Verbose] > │                                                                              │

00:00:14 #711 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:14 #712 [Verbose] >

00:00:14 #713 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:14 #714 [Verbose] > // // test

00:00:14 #715 [Verbose] >

00:00:14 #716 [Verbose] > new_finite_stream print_and_return 10i32

00:00:14 #717 [Verbose] > |> take_while (fun n (_ : i32) => n < 5)

00:00:14 #718 [Verbose] > |> sum

00:00:14 #719 [Verbose] > |> _equal 10

00:00:14 #720 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0902-3615-1560-1211bae4cf5c\main.spi

00:00:14 #721 [Verbose] >

00:00:14 #722 [Verbose] > ╭─[ 167.78ms - stdout ]────────────────────────────────────────────────────────╮

00:00:14 #723 [Verbose] > │ let rec method0 () : unit =                                                  │

00:00:14 #724 [Verbose] > │     printfn $"print_and_return / x: {0}"                                     │

00:00:14 #725 [Verbose] > │     printfn $"print_and_return / x: {1}"                                     │

00:00:14 #726 [Verbose] > │     printfn $"print_and_return / x: {2}"                                     │

00:00:14 #727 [Verbose] > │     printfn $"print_and_return / x: {3}"                                     │

00:00:14 #728 [Verbose] > │     printfn $"print_and_return / x: {4}"                                     │

00:00:14 #729 [Verbose] > │     printfn $"print_and_return / x: {5}"                                     │

00:00:14 #730 [Verbose] > │     let v0 : string = $"__expect / actual: %A{10} / expected: %A{10}"        │

00:00:14 #731 [Verbose] > │     ()                                                                       │

00:00:14 #732 [Verbose] > │ method0()                                                                    │

00:00:14 #733 [Verbose] > │                                                                              │

00:00:14 #734 [Verbose] > │ print_and_return / x: 0                                                      │

00:00:14 #735 [Verbose] > │ print_and_return / x: 1                                                      │

00:00:14 #736 [Verbose] > │ print_and_return / x: 2                                                      │

00:00:14 #737 [Verbose] > │ print_and_return / x: 3                                                      │

00:00:14 #738 [Verbose] > │ print_and_return / x: 4                                                      │

00:00:14 #739 [Verbose] > │ print_and_return / x: 5                                                      │

00:00:14 #740 [Verbose] > │                                                                              │

00:00:14 #741 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:14 #742 [Verbose] >

00:00:14 #743 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:14 #744 [Verbose] > // // test

00:00:14 #745 [Verbose] >

00:00:14 #746 [Verbose] > new_infinite_stream print_and_return

00:00:14 #747 [Verbose] > |> take_while (fun n (_ : i32) => n < 5i32)

00:00:14 #748 [Verbose] > |> sum

00:00:14 #749 [Verbose] > |> _equal 10

00:00:14 #750 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0902-3633-3321-337dcd362ff3\main.spi

00:00:14 #751 [Verbose] >

00:00:14 #752 [Verbose] > ╭─[ 155.87ms - stdout ]────────────────────────────────────────────────────────╮

00:00:14 #753 [Verbose] > │ let rec method0 () : unit =                                                  │

00:00:14 #754 [Verbose] > │     printfn $"print_and_return / x: {0}"                                     │

00:00:14 #755 [Verbose] > │     printfn $"print_and_return / x: {1}"                                     │

00:00:14 #756 [Verbose] > │     printfn $"print_and_return / x: {2}"                                     │

00:00:14 #757 [Verbose] > │     printfn $"print_and_return / x: {3}"                                     │

00:00:14 #758 [Verbose] > │     printfn $"print_and_return / x: {4}"                                     │

00:00:14 #759 [Verbose] > │     printfn $"print_and_return / x: {5}"                                     │

00:00:14 #760 [Verbose] > │     let v0 : string = $"__expect / actual: %A{10} / expected: %A{10}"        │

00:00:14 #761 [Verbose] > │     ()                                                                       │

00:00:14 #762 [Verbose] > │ method0()                                                                    │

00:00:14 #763 [Verbose] > │                                                                              │

00:00:14 #764 [Verbose] > │ print_and_return / x: 0                                                      │

00:00:14 #765 [Verbose] > │ print_and_return / x: 1                                                      │

00:00:14 #766 [Verbose] > │ print_and_return / x: 2                                                      │

00:00:14 #767 [Verbose] > │ print_and_return / x: 3                                                      │

00:00:14 #768 [Verbose] > │ print_and_return / x: 4                                                      │

00:00:14 #769 [Verbose] > │ print_and_return / x: 5                                                      │

00:00:14 #770 [Verbose] > │                                                                              │

00:00:14 #771 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:14 #772 [Verbose] >

00:00:14 #773 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:14 #774 [Verbose] > // // test

00:00:14 #775 [Verbose] >

00:00:14 #776 [Verbose] > iterate ((*) 6) 1i32

00:00:14 #777 [Verbose] > |> take_while (fun _ i => i <= 7i32)

00:00:14 #778 [Verbose] > |> to_list

00:00:14 #779 [Verbose] > |> _equal [[ 1i32; 6; 36; 216; 1296; 7776; 46656; 279936 ]]

00:00:14 #780 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0902-3649-4952-4ec293c825ea\main.spi

00:00:14 #781 [Verbose] >

00:00:14 #782 [Verbose] > ╭─[ 178.29ms - stdout ]────────────────────────────────────────────────────────╮

00:00:14 #783 [Verbose] > │ type UH0 =                                                                   │

00:00:14 #784 [Verbose] > │     | UH0_0 of int32 * UH0                                                   │

00:00:14 #785 [Verbose] > │     | UH0_1                                                                  │

00:00:14 #786 [Verbose] > │ let rec method0 () : unit =                                                  │

00:00:14 #787 [Verbose] > │     let v0 : UH0 = UH0_1                                                     │

00:00:14 #788 [Verbose] > │     let v1 : UH0 = UH0_0(279936, v0)                                         │

00:00:14 #789 [Verbose] > │     let v2 : UH0 = UH0_0(46656, v1)                                          │

00:00:14 #790 [Verbose] > │     let v3 : UH0 = UH0_0(7776, v2)                                           │

00:00:14 #791 [Verbose] > │     let v4 : UH0 = UH0_0(1296, v3)                                           │

00:00:14 #792 [Verbose] > │     let v5 : UH0 = UH0_0(216, v4)                                            │

00:00:14 #793 [Verbose] > │     let v6 : UH0 = UH0_0(36, v5)                                             │

00:00:14 #794 [Verbose] > │     let v7 : UH0 = UH0_0(6, v6)                                              │

00:00:14 #795 [Verbose] > │     let v8 : UH0 = UH0_0(1, v7)                                              │

00:00:14 #796 [Verbose] > │     let v9 : UH0 = UH0_1                                                     │

00:00:14 #797 [Verbose] > │     let v10 : UH0 = UH0_0(279936, v9)                                        │

00:00:14 #798 [Verbose] > │     let v11 : UH0 = UH0_0(46656, v10)                                        │

00:00:14 #799 [Verbose] > │     let v12 : UH0 = UH0_0(7776, v11)                                         │

00:00:14 #800 [Verbose] > │     let v13 : UH0 = UH0_0(1296, v12)                                         │

00:00:14 #801 [Verbose] > │     let v14 : UH0 = UH0_0(216, v13)                                          │

00:00:14 #802 [Verbose] > │     let v15 : UH0 = UH0_0(36, v14)                                           │

00:00:14 #803 [Verbose] > │     let v16 : UH0 = UH0_0(6, v15)                                            │

00:00:14 #804 [Verbose] > │     let v17 : UH0 = UH0_0(1, v16)                                            │

00:00:14 #805 [Verbose] > │     let v18 : string = $"__expect / actual: %A{v8} / expected: %A{v17}"      │

00:00:14 #806 [Verbose] > │     ()                                                                       │

00:00:14 #807 [Verbose] > │ method0()                                                                    │

00:00:14 #808 [Verbose] > │                                                                              │

00:00:14 #809 [Verbose] > │                                                                              │

00:00:14 #810 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:14 #811 [Verbose] >

00:00:14 #812 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────

00:00:14 #813 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮

00:00:14 #814 [Verbose] > │ ## indexed                                                                   │

00:00:14 #815 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:14 #816 [Verbose] >

00:00:14 #817 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:14 #818 [Verbose] > inl indexed s =

00:00:14 #819 [Verbose] >     ((StreamNil, 0), s)

00:00:14 #820 [Verbose] >     ||> fold fun (acc, i) x =>

00:00:14 #821 [Verbose] >         StreamCons ((i, x), fun () => acc), i + 1

00:00:14 #822 [Verbose] >     |> fst

00:00:14 #823 [Verbose] >     |> rev

00:00:14 #824 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0902-3668-6875-6449de1627f5\main.spi

00:00:14 #825 [Verbose] >

00:00:14 #826 [Verbose] > ╭─[ 151.56ms - stdout ]────────────────────────────────────────────────────────╮

00:00:14 #827 [Verbose] > │ ()                                                                           │

00:00:14 #828 [Verbose] > │                                                                              │

00:00:14 #829 [Verbose] > │                                                                              │

00:00:14 #830 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:14 #831 [Verbose] >

00:00:14 #832 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:14 #833 [Verbose] > // // test

00:00:14 #834 [Verbose] >

00:00:14 #835 [Verbose] > listm.init 10i32 ((*) 2)

00:00:14 #836 [Verbose] > |> from_list

00:00:14 #837 [Verbose] > |> indexed

00:00:14 #838 [Verbose] > |> item 5i32

00:00:14 #839 [Verbose] > |> _equal (5i32, 10i32)

00:00:14 #840 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0902-3684-8410-8687781cab63\main.spi

00:00:14 #841 [Verbose] >

00:00:14 #842 [Verbose] > ╭─[ 157.96ms - stdout ]────────────────────────────────────────────────────────╮

00:00:14 #843 [Verbose] > │ let rec method0 () : unit =                                                  │

00:00:14 #844 [Verbose] > │     let v0 : string = $"__expect / actual: %A{struct (5, 10)} / expected:    │

00:00:14 #845 [Verbose] > │ %A{struct (5, 10)}"                                                          │

00:00:14 #846 [Verbose] > │     ()                                                                       │

00:00:14 #847 [Verbose] > │ method0()                                                                    │

00:00:14 #848 [Verbose] > │                                                                              │

00:00:14 #849 [Verbose] > │                                                                              │

00:00:14 #850 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:14 #851 [Verbose] >

00:00:14 #852 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────

00:00:14 #853 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮

00:00:14 #854 [Verbose] > │ ## map                                                                       │

00:00:14 #855 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:14 #856 [Verbose] >

00:00:14 #857 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:14 #858 [Verbose] > inl map fn s =

00:00:14 #859 [Verbose] >     (s, StreamNil)

00:00:14 #860 [Verbose] >     ||> fold_back fun x acc =>

00:00:14 #861 [Verbose] >         StreamCons (fn x, fun () => acc)

00:00:14 #862 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0902-3700-0065-0240dd43ffa8\main.spi

00:00:15 #863 [Verbose] >

00:00:15 #864 [Verbose] > ╭─[ 156.15ms - stdout ]────────────────────────────────────────────────────────╮

00:00:15 #865 [Verbose] > │ ()                                                                           │

00:00:15 #866 [Verbose] > │                                                                              │

00:00:15 #867 [Verbose] > │                                                                              │

00:00:15 #868 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:15 #869 [Verbose] >

00:00:15 #870 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:15 #871 [Verbose] > // // test

00:00:15 #872 [Verbose] >

00:00:15 #873 [Verbose] > listm.init 10i32 id

00:00:15 #874 [Verbose] > |> from_list

00:00:15 #875 [Verbose] > |> map ((*) 2)

00:00:15 #876 [Verbose] > |> item 5i32

00:00:15 #877 [Verbose] > |> _equal 10i32

00:00:15 #878 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0902-3716-1662-1776d984c17b\main.spi

00:00:15 #879 [Verbose] >

00:00:15 #880 [Verbose] > ╭─[ 189.17ms - stdout ]────────────────────────────────────────────────────────╮

00:00:15 #881 [Verbose] > │ let rec method0 () : unit =                                                  │

00:00:15 #882 [Verbose] > │     let v0 : string = $"__expect / actual: %A{10} / expected: %A{10}"        │

00:00:15 #883 [Verbose] > │     ()                                                                       │

00:00:15 #884 [Verbose] > │ method0()                                                                    │

00:00:15 #885 [Verbose] > │                                                                              │

00:00:15 #886 [Verbose] > │                                                                              │

00:00:15 #887 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:15 #888 [Verbose] >

00:00:15 #889 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────

00:00:15 #890 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮

00:00:15 #891 [Verbose] > │ ## zip_with                                                                  │

00:00:15 #892 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:15 #893 [Verbose] >

00:00:15 #894 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:15 #895 [Verbose] > inl zip_with fn s1 s2 =

00:00:15 #896 [Verbose] >     inl rec loop s1 s2 =

00:00:15 #897 [Verbose] >         match s1, s2 with

00:00:15 #898 [Verbose] >         | StreamCons (st1, fn1), StreamCons (st2, fn2) =>

00:00:15 #899 [Verbose] >             StreamCons (fn st1 st2, fun () => loop (fn1 ()) (fn2 ()))

00:00:15 #900 [Verbose] >         | StreamNil, _ | _, StreamNil => StreamNil

00:00:15 #901 [Verbose] >     loop s1 s2

00:00:15 #902 [Verbose] >

00:00:15 #903 [Verbose] > inl zip_with_ fn s1 s2 =

00:00:15 #904 [Verbose] >     let rec loop s1 s2 =

00:00:15 #905 [Verbose] >         match s1, s2 with

00:00:15 #906 [Verbose] >         | StreamCons (st1, fn1), StreamCons (st2, fn2) =>

00:00:15 #907 [Verbose] >             StreamCons (fn st1 st2, fun () => loop (fn1 ()) (fn2 ()))

00:00:15 #908 [Verbose] >         | StreamNil, _ | _, StreamNil => StreamNil

00:00:15 #909 [Verbose] >     loop s1 s2

00:00:15 #910 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0902-3736-3606-34327890c97d\main.spi

00:00:15 #911 [Verbose] >

00:00:15 #912 [Verbose] > ╭─[ 164.76ms - stdout ]────────────────────────────────────────────────────────╮

00:00:15 #913 [Verbose] > │ ()                                                                           │

00:00:15 #914 [Verbose] > │                                                                              │

00:00:15 #915 [Verbose] > │                                                                              │

00:00:15 #916 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:15 #917 [Verbose] >

00:00:15 #918 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:15 #919 [Verbose] > // // test

00:00:15 #920 [Verbose] >

00:00:15 #921 [Verbose] > ((listm.init 10i32 id |> from_list), (listm.init 10i32 ((*) 2) |> from_list))

00:00:15 #922 [Verbose] > ||> zip_with (+)

00:00:15 #923 [Verbose] > |> item 2i32

00:00:15 #924 [Verbose] > |> _equal 6

00:00:15 #925 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0902-3752-5273-5c304638cd1c\main.spi

00:00:15 #926 [Verbose] >

00:00:15 #927 [Verbose] > ╭─[ 140.78ms - stdout ]────────────────────────────────────────────────────────╮

00:00:15 #928 [Verbose] > │ let rec method0 () : unit =                                                  │

00:00:15 #929 [Verbose] > │     let v0 : string = $"__expect / actual: %A{6} / expected: %A{6}"          │

00:00:15 #930 [Verbose] > │     ()                                                                       │

00:00:15 #931 [Verbose] > │ method0()                                                                    │

00:00:15 #932 [Verbose] > │                                                                              │

00:00:15 #933 [Verbose] > │                                                                              │

00:00:15 #934 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:15 #935 [Verbose] >

00:00:15 #936 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────

00:00:15 #937 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮

00:00:15 #938 [Verbose] > │ ## zip                                                                       │

00:00:15 #939 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:15 #940 [Verbose] >

00:00:15 #941 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:15 #942 [Verbose] > inl zip s1 s2 =

00:00:15 #943 [Verbose] >     zip_with pair s1 s2

00:00:15 #944 [Verbose] >

00:00:15 #945 [Verbose] > inl zip_ s1 s2 =

00:00:15 #946 [Verbose] >     zip_with_ pair s1 s2

00:00:15 #947 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0902-3767-6743-6917e7da1cc9\main.spi

00:00:15 #948 [Verbose] >

00:00:15 #949 [Verbose] > ╭─[ 196.53ms - stdout ]────────────────────────────────────────────────────────╮

00:00:15 #950 [Verbose] > │ ()                                                                           │

00:00:15 #951 [Verbose] > │                                                                              │

00:00:15 #952 [Verbose] > │                                                                              │

00:00:15 #953 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:15 #954 [Verbose] >

00:00:15 #955 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:15 #956 [Verbose] > // // test

00:00:15 #957 [Verbose] >

00:00:15 #958 [Verbose] > ((listm.init 10i32 id |> from_list), (listm.init 10i32 ((*) 2) |> from_list))

00:00:15 #959 [Verbose] > ||> zip

00:00:15 #960 [Verbose] > |> item 5i32

00:00:15 #961 [Verbose] > |> _equal (5, 10)

00:00:15 #962 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0902-3787-8734-81e4fee38ca6\main.spi

00:00:15 #963 [Verbose] >

00:00:15 #964 [Verbose] > ╭─[ 157.47ms - stdout ]────────────────────────────────────────────────────────╮

00:00:15 #965 [Verbose] > │ let rec method0 () : unit =                                                  │

00:00:15 #966 [Verbose] > │     let v0 : string = $"__expect / actual: %A{struct (5, 10)} / expected:    │

00:00:15 #967 [Verbose] > │ %A{struct (5, 10)}"                                                          │

00:00:15 #968 [Verbose] > │     ()                                                                       │

00:00:15 #969 [Verbose] > │ method0()                                                                    │

00:00:15 #970 [Verbose] > │                                                                              │

00:00:15 #971 [Verbose] > │                                                                              │

00:00:15 #972 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:15 #973 [Verbose] >

00:00:15 #974 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────

00:00:15 #975 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮

00:00:15 #976 [Verbose] > │ ## unzip                                                                     │

00:00:15 #977 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:15 #978 [Verbose] >

00:00:15 #979 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:15 #980 [Verbose] > inl unzip s =

00:00:15 #981 [Verbose] >     inl rec body s =

00:00:15 #982 [Verbose] >         match s with

00:00:15 #983 [Verbose] >         | StreamCons ((x, y), fn) =>

00:00:15 #984 [Verbose] >             inl xs, ys = loop (fn ())

00:00:15 #985 [Verbose] >             StreamCons (x, fun () => xs), StreamCons (y, fun () => ys)

00:00:15 #986 [Verbose] >         | StreamNil => pair StreamNil StreamNil

00:00:15 #987 [Verbose] >     and inl loop x =

00:00:15 #988 [Verbose] >         if var_is x |> not

00:00:15 #989 [Verbose] >         then body x

00:00:15 #990 [Verbose] >         else

00:00:15 #991 [Verbose] >             inl x = dyn x

00:00:15 #992 [Verbose] >             join body x

00:00:15 #993 [Verbose] >     loop s

00:00:16 #994 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0902-3803-0371-04b97a1e0740\main.spi

00:00:16 #995 [Verbose] >

00:00:16 #996 [Verbose] > ╭─[ 168.54ms - stdout ]────────────────────────────────────────────────────────╮

00:00:16 #997 [Verbose] > │ ()                                                                           │

00:00:16 #998 [Verbose] > │                                                                              │

00:00:16 #999 [Verbose] > │                                                                              │

00:00:16 #1000 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:16 #1001 [Verbose] >

00:00:16 #1002 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:16 #1003 [Verbose] > // // test

00:00:16 #1004 [Verbose] >

00:00:16 #1005 [Verbose] > listm.init 10i32 id

00:00:16 #1006 [Verbose] > |> listm.map (fun x => x, x)

00:00:16 #1007 [Verbose] > |> from_list

00:00:16 #1008 [Verbose] > |> unzip

00:00:16 #1009 [Verbose] > |> fun x, y =>

00:00:16 #1010 [Verbose] >     x |> sum

00:00:16 #1011 [Verbose] >     |> _equal 45

00:00:16 #1012 [Verbose] >

00:00:16 #1013 [Verbose] >     y |> sum

00:00:16 #1014 [Verbose] >     |> _equal 45

00:00:16 #1015 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0902-3820-2085-22932973c446\main.spi

00:00:16 #1016 [Verbose] >

00:00:16 #1017 [Verbose] > ╭─[ 198.86ms - stdout ]────────────────────────────────────────────────────────╮

00:00:16 #1018 [Verbose] > │ let rec method0 () : unit =                                                  │

00:00:16 #1019 [Verbose] > │     let v0 : string = $"__expect / actual: %A{45} / expected: %A{45}"        │

00:00:16 #1020 [Verbose] > │     let v1 : string = $"__expect / actual: %A{45} / expected: %A{45}"        │

00:00:16 #1021 [Verbose] > │     ()                                                                       │

00:00:16 #1022 [Verbose] > │ method0()                                                                    │

00:00:16 #1023 [Verbose] > │                                                                              │

00:00:16 #1024 [Verbose] > │                                                                              │

00:00:16 #1025 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:18 #1026 [Verbose] > [NbConvertApp] Converting notebook stream.dib.ipynb to html

00:00:18 #1027 [Verbose] > C:\Users\i574n\scoop\apps\python\current\Lib\site-packages\nbformat\__init__.py:93: MissingIDFieldWarning: Code cell is missing an id field, this will become a hard error in future nbformat versions. You may want to use `normalize()` on your notebooks before validations (available since nbformat 5.1.4). Previous versions of nbformat are fixing this issue transparently, and will stop doing so in the future.

00:00:18 #1028 [Verbose] >   validate(nb)

00:00:18 #1029 [Verbose] > C:\Users\i574n\scoop\apps\python\current\Lib\site-packages\nbconvert\filters\highlight.py:71: UserWarning: IPython3 lexer unavailable, falling back on Python 3

00:00:18 #1030 [Verbose] >   return _pygments_highlight(

00:00:19 #1031 [Verbose] > [NbConvertApp] Writing 357091 bytes to stream.dib.html

00:00:19 #1032 [Debug] executeAsync / exitCode: 0 / output.Length: 58505

00:00:19 #1033 [Debug] main / executeCommand / exitCode: 0

00:00:00 #1 [Debug] runWithTimeoutAsync / timeout: 60

00:00:00 #2 [Debug] executeAsync / options: { Command =

   "dotnet "C:\home\git\polyglot\deps\The-Spiral-Language\The Spiral Language 2\artifacts\bin\The Spiral Language 2\release\Spiral.dll" port=13805"

  WorkingDirectory = None

  CancellationToken = Some System.Threading.CancellationToken

  OnLine = Some <fun:main@450-1020> }

00:00:00 #3 [Verbose] > pwd: C:\home\git\polyglot\lib\spiral

00:00:00 #4 [Verbose] > dll_path: C:\home\git\polyglot\deps\The-Spiral-Language\The Spiral Language 2\artifacts\bin\The Spiral Language 2\release

00:00:00 #5 [Debug] runWithTimeoutAsync / timeout: 500

00:00:00 #6 [Verbose] waitForPortAccess / port: 13805 / retry: 0

00:00:01 #7 [Debug] sendJson / port: 13805 / json: {"Ping":true} / result.Length:

00:00:01 #8 [Verbose] awaitCompiler / Ping / result: Some(null) / port: 13805 / retry: 0

00:00:01 #9 [Verbose] > Server bound to: http://localhost:13805

00:00:01 #10 [Debug] executeAsync / options: { Command = "pwsh -c "../../scripts/invoke-dib.ps1 seq.dib""

  WorkingDirectory = None

  CancellationToken = Some System.Threading.CancellationToken

  OnLine = None }

00:00:03 #11 [Verbose] >

00:00:03 #12 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────

00:00:03 #13 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮

00:00:03 #14 [Verbose] > │ # seq                                                                        │

00:00:03 #15 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:03 #16 [Verbose] >

00:00:03 #17 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:03 #18 [Verbose] > // // test

00:00:03 #19 [Verbose] >

00:00:03 #20 [Verbose] > open testing

00:00:06 #21 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0902-4811-1140-14f8f974a33c\main.spi

00:00:08 #22 [Verbose] >

00:00:08 #23 [Verbose] > ╭─[ 5.02s - stdout ]───────────────────────────────────────────────────────────╮

00:00:08 #24 [Verbose] > │ ()                                                                           │

00:00:08 #25 [Verbose] > │                                                                              │

00:00:08 #26 [Verbose] > │                                                                              │

00:00:08 #27 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:08 #28 [Verbose] >

00:00:08 #29 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────

00:00:08 #30 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮

00:00:08 #31 [Verbose] > │ ## seq                                                                       │

00:00:08 #32 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:08 #33 [Verbose] >

00:00:08 #34 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:08 #35 [Verbose] > type seq dim el = dim -> option el

00:00:08 #36 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0902-5106-0689-0daf7b1aa91a\main.spi

00:00:08 #37 [Verbose] >

00:00:08 #38 [Verbose] > ╭─[ 203.12ms - stdout ]────────────────────────────────────────────────────────╮

00:00:08 #39 [Verbose] > │ ()                                                                           │

00:00:08 #40 [Verbose] > │                                                                              │

00:00:08 #41 [Verbose] > │                                                                              │

00:00:08 #42 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:08 #43 [Verbose] >

00:00:08 #44 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────

00:00:08 #45 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮

00:00:08 #46 [Verbose] > │ ## try_item                                                                  │

00:00:08 #47 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:08 #48 [Verbose] >

00:00:08 #49 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:08 #50 [Verbose] > inl try_item n s =

00:00:08 #51 [Verbose] >     n |> s

00:00:08 #52 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0902-5127-2785-2ead463820b2\main.spi

00:00:09 #53 [Verbose] >

00:00:09 #54 [Verbose] > ╭─[ 247.92ms - stdout ]────────────────────────────────────────────────────────╮

00:00:09 #55 [Verbose] > │ ()                                                                           │

00:00:09 #56 [Verbose] > │                                                                              │

00:00:09 #57 [Verbose] > │                                                                              │

00:00:09 #58 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:09 #59 [Verbose] >

00:00:09 #60 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────

00:00:09 #61 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮

00:00:09 #62 [Verbose] > │ ## from_list                                                                 │

00:00:09 #63 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:09 #64 [Verbose] >

00:00:09 #65 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:09 #66 [Verbose] > inl from_list list =

00:00:09 #67 [Verbose] >     fun n =>

00:00:09 #68 [Verbose] >         list

00:00:09 #69 [Verbose] >         |> listm'.try_item n

00:00:09 #70 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0902-5152-5279-5c5cf9054f16\main.spi

00:00:09 #71 [Verbose] >

00:00:09 #72 [Verbose] > ╭─[ 180.36ms - stdout ]────────────────────────────────────────────────────────╮

00:00:09 #73 [Verbose] > │ ()                                                                           │

00:00:09 #74 [Verbose] > │                                                                              │

00:00:09 #75 [Verbose] > │                                                                              │

00:00:09 #76 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:09 #77 [Verbose] >

00:00:09 #78 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:09 #79 [Verbose] > // // test

00:00:09 #80 [Verbose] >

00:00:09 #81 [Verbose] > listm.init 10i32 print_and_return

00:00:09 #82 [Verbose] > |> from_list

00:00:09 #83 [Verbose] > |> try_item 5i32

00:00:09 #84 [Verbose] > |> _equal (Some 5i32)

00:00:09 #85 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0902-5171-7104-786492a904a3\main.spi

00:00:10 #86 [Verbose] >

00:00:10 #87 [Verbose] > ╭─[ 1.30s - stdout ]───────────────────────────────────────────────────────────╮

00:00:10 #88 [Verbose] > │ type [<Struct>] US0 =                                                        │

00:00:10 #89 [Verbose] > │     | US0_0                                                                  │

00:00:10 #90 [Verbose] > │     | US0_1 of f1_0 : int32                                                  │

00:00:10 #91 [Verbose] > │ let rec method0 () : unit =                                                  │

00:00:10 #92 [Verbose] > │     printfn $"print_and_return / x: {0}"                                     │

00:00:10 #93 [Verbose] > │     printfn $"print_and_return / x: {1}"                                     │

00:00:10 #94 [Verbose] > │     printfn $"print_and_return / x: {2}"                                     │

00:00:10 #95 [Verbose] > │     printfn $"print_and_return / x: {3}"                                     │

00:00:10 #96 [Verbose] > │     printfn $"print_and_return / x: {4}"                                     │

00:00:10 #97 [Verbose] > │     printfn $"print_and_return / x: {5}"                                     │

00:00:10 #98 [Verbose] > │     printfn $"print_and_return / x: {6}"                                     │

00:00:10 #99 [Verbose] > │     printfn $"print_and_return / x: {7}"                                     │

00:00:10 #100 [Verbose] > │     printfn $"print_and_return / x: {8}"                                     │

00:00:10 #101 [Verbose] > │     printfn $"print_and_return / x: {9}"                                     │

00:00:10 #102 [Verbose] > │     let v0 : US0 = US0_1(5)                                                  │

00:00:10 #103 [Verbose] > │     let v1 : US0 = US0_1(5)                                                  │

00:00:10 #104 [Verbose] > │     let v2 : string = $"__expect / actual: %A{v0} / expected: %A{v1}"        │

00:00:10 #105 [Verbose] > │     ()                                                                       │

00:00:10 #106 [Verbose] > │ method0()                                                                    │

00:00:10 #107 [Verbose] > │                                                                              │

00:00:10 #108 [Verbose] > │ print_and_return / x: 0                                                      │

00:00:10 #109 [Verbose] > │ print_and_return / x: 1                                                      │

00:00:10 #110 [Verbose] > │ print_and_return / x: 2                                                      │

00:00:10 #111 [Verbose] > │ print_and_return / x: 3                                                      │

00:00:10 #112 [Verbose] > │ print_and_return / x: 4                                                      │

00:00:10 #113 [Verbose] > │ print_and_return / x: 5                                                      │

00:00:10 #114 [Verbose] > │ print_and_return / x: 6                                                      │

00:00:10 #115 [Verbose] > │ print_and_return / x: 7                                                      │

00:00:10 #116 [Verbose] > │ print_and_return / x: 8                                                      │

00:00:10 #117 [Verbose] > │ print_and_return / x: 9                                                      │

00:00:10 #118 [Verbose] > │                                                                              │

00:00:10 #119 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:10 #120 [Verbose] >

00:00:10 #121 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────

00:00:10 #122 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮

00:00:10 #123 [Verbose] > │ ## map                                                                       │

00:00:10 #124 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:10 #125 [Verbose] >

00:00:10 #126 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:10 #127 [Verbose] > inl map fn s =

00:00:10 #128 [Verbose] >     fun n =>

00:00:10 #129 [Verbose] >         n

00:00:10 #130 [Verbose] >         |> s

00:00:10 #131 [Verbose] >         |> optionm.map fn

00:00:10 #132 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0902-5303-0301-0da8db43f0bc\main.spi

00:00:10 #133 [Verbose] >

00:00:10 #134 [Verbose] > ╭─[ 197.74ms - stdout ]────────────────────────────────────────────────────────╮

00:00:10 #135 [Verbose] > │ ()                                                                           │

00:00:10 #136 [Verbose] > │                                                                              │

00:00:10 #137 [Verbose] > │                                                                              │

00:00:10 #138 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:10 #139 [Verbose] >

00:00:10 #140 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:10 #141 [Verbose] > // // test

00:00:10 #142 [Verbose] >

00:00:10 #143 [Verbose] > listm.init 10i32 id

00:00:10 #144 [Verbose] > |> from_list

00:00:10 #145 [Verbose] > |> map ((*) 2)

00:00:10 #146 [Verbose] > |> try_item 5i32

00:00:10 #147 [Verbose] > |> _equal (Some 10i32)

00:00:10 #148 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0902-5322-2279-254070fcf43f\main.spi

00:00:10 #149 [Verbose] >

00:00:10 #150 [Verbose] > ╭─[ 208.81ms - stdout ]────────────────────────────────────────────────────────╮

00:00:10 #151 [Verbose] > │ type [<Struct>] US0 =                                                        │

00:00:10 #152 [Verbose] > │     | US0_0                                                                  │

00:00:10 #153 [Verbose] > │     | US0_1 of f1_0 : int32                                                  │

00:00:10 #154 [Verbose] > │ let rec method0 () : unit =                                                  │

00:00:10 #155 [Verbose] > │     let v0 : US0 = US0_1(10)                                                 │

00:00:10 #156 [Verbose] > │     let v1 : US0 = US0_1(10)                                                 │

00:00:10 #157 [Verbose] > │     let v2 : string = $"__expect / actual: %A{v0} / expected: %A{v1}"        │

00:00:10 #158 [Verbose] > │     ()                                                                       │

00:00:10 #159 [Verbose] > │ method0()                                                                    │

00:00:10 #160 [Verbose] > │                                                                              │

00:00:10 #161 [Verbose] > │                                                                              │

00:00:10 #162 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:10 #163 [Verbose] >

00:00:10 #164 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────

00:00:10 #165 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮

00:00:10 #166 [Verbose] > │ ## mapi                                                                      │

00:00:10 #167 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:10 #168 [Verbose] >

00:00:10 #169 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:10 #170 [Verbose] > inl mapi fn s =

00:00:10 #171 [Verbose] >     fun n =>

00:00:10 #172 [Verbose] >         n

00:00:10 #173 [Verbose] >         |> s

00:00:10 #174 [Verbose] >         |> optionm.map (fn n)

00:00:11 #175 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0902-5344-4449-4987d093af5d\main.spi

00:00:11 #176 [Verbose] >

00:00:11 #177 [Verbose] > ╭─[ 192.91ms - stdout ]────────────────────────────────────────────────────────╮

00:00:11 #178 [Verbose] > │ ()                                                                           │

00:00:11 #179 [Verbose] > │                                                                              │

00:00:11 #180 [Verbose] > │                                                                              │

00:00:11 #181 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:11 #182 [Verbose] >

00:00:11 #183 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:11 #184 [Verbose] > // // test

00:00:11 #185 [Verbose] >

00:00:11 #186 [Verbose] > listm.init 10i32 print_and_return

00:00:11 #187 [Verbose] > |> from_list

00:00:11 #188 [Verbose] > |> mapi fun i x => i + x

00:00:11 #189 [Verbose] > |> try_item 5i32

00:00:11 #190 [Verbose] > |> _equal (Some 10i32)

00:00:11 #191 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0902-5364-6401-6e5d09a55529\main.spi

00:00:11 #192 [Verbose] >

00:00:11 #193 [Verbose] > ╭─[ 246.25ms - stdout ]────────────────────────────────────────────────────────╮

00:00:11 #194 [Verbose] > │ type [<Struct>] US0 =                                                        │

00:00:11 #195 [Verbose] > │     | US0_0                                                                  │

00:00:11 #196 [Verbose] > │     | US0_1 of f1_0 : int32                                                  │

00:00:11 #197 [Verbose] > │ let rec method0 () : unit =                                                  │

00:00:11 #198 [Verbose] > │     printfn $"print_and_return / x: {0}"                                     │

00:00:11 #199 [Verbose] > │     printfn $"print_and_return / x: {1}"                                     │

00:00:11 #200 [Verbose] > │     printfn $"print_and_return / x: {2}"                                     │

00:00:11 #201 [Verbose] > │     printfn $"print_and_return / x: {3}"                                     │

00:00:11 #202 [Verbose] > │     printfn $"print_and_return / x: {4}"                                     │

00:00:11 #203 [Verbose] > │     printfn $"print_and_return / x: {5}"                                     │

00:00:11 #204 [Verbose] > │     printfn $"print_and_return / x: {6}"                                     │

00:00:11 #205 [Verbose] > │     printfn $"print_and_return / x: {7}"                                     │

00:00:11 #206 [Verbose] > │     printfn $"print_and_return / x: {8}"                                     │

00:00:11 #207 [Verbose] > │     printfn $"print_and_return / x: {9}"                                     │

00:00:11 #208 [Verbose] > │     let v0 : US0 = US0_1(10)                                                 │

00:00:11 #209 [Verbose] > │     let v1 : US0 = US0_1(10)                                                 │

00:00:11 #210 [Verbose] > │     let v2 : string = $"__expect / actual: %A{v0} / expected: %A{v1}"        │

00:00:11 #211 [Verbose] > │     ()                                                                       │

00:00:11 #212 [Verbose] > │ method0()                                                                    │

00:00:11 #213 [Verbose] > │                                                                              │

00:00:11 #214 [Verbose] > │ print_and_return / x: 0                                                      │

00:00:11 #215 [Verbose] > │ print_and_return / x: 1                                                      │

00:00:11 #216 [Verbose] > │ print_and_return / x: 2                                                      │

00:00:11 #217 [Verbose] > │ print_and_return / x: 3                                                      │

00:00:11 #218 [Verbose] > │ print_and_return / x: 4                                                      │

00:00:11 #219 [Verbose] > │ print_and_return / x: 5                                                      │

00:00:11 #220 [Verbose] > │ print_and_return / x: 6                                                      │

00:00:11 #221 [Verbose] > │ print_and_return / x: 7                                                      │

00:00:11 #222 [Verbose] > │ print_and_return / x: 8                                                      │

00:00:11 #223 [Verbose] > │ print_and_return / x: 9                                                      │

00:00:11 #224 [Verbose] > │                                                                              │

00:00:11 #225 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:11 #226 [Verbose] >

00:00:11 #227 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────

00:00:11 #228 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮

00:00:11 #229 [Verbose] > │ ## choose                                                                    │

00:00:11 #230 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:11 #231 [Verbose] >

00:00:11 #232 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:11 #233 [Verbose] > inl choose forall dim {number} t u. (fn : t -> option u) (s : seq dim t) : seq

00:00:11 #234 [Verbose] > dim u =

00:00:11 #235 [Verbose] >     fun n =>

00:00:11 #236 [Verbose] >         inl rec body fn s i i' =

00:00:11 #237 [Verbose] >             match i |> s with

00:00:11 #238 [Verbose] >             | None => None

00:00:11 #239 [Verbose] >             | Some x =>

00:00:11 #240 [Verbose] >                 match x |> fn with

00:00:11 #241 [Verbose] >                 | Some x when n = i' => Some x

00:00:11 #242 [Verbose] >                 | Some _ => loop (i + 1) (i' + 1)

00:00:11 #243 [Verbose] >                 | _ => loop (i + 1) i'

00:00:11 #244 [Verbose] >         and inl loop i i' =

00:00:11 #245 [Verbose] >             if n |> var_is |> not

00:00:11 #246 [Verbose] >             then body fn s i i'

00:00:11 #247 [Verbose] >             else

00:00:11 #248 [Verbose] >                 inl fn = join fn

00:00:11 #249 [Verbose] >                 inl s = join s

00:00:11 #250 [Verbose] >                 join body fn s i i'

00:00:11 #251 [Verbose] >         loop 0 0

00:00:11 #252 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0902-5391-9103-902ecc280c77\main.spi

00:00:11 #253 [Verbose] >

00:00:11 #254 [Verbose] > ╭─[ 150.40ms - stdout ]────────────────────────────────────────────────────────╮

00:00:11 #255 [Verbose] > │ ()                                                                           │

00:00:11 #256 [Verbose] > │                                                                              │

00:00:11 #257 [Verbose] > │                                                                              │

00:00:11 #258 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:11 #259 [Verbose] >

00:00:11 #260 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:11 #261 [Verbose] > // // test

00:00:11 #262 [Verbose] >

00:00:11 #263 [Verbose] > listm.init 10i32 print_and_return

00:00:11 #264 [Verbose] > |> from_list

00:00:11 #265 [Verbose] > |> choose (fun x => if x % 2 = 0 then Some x else None)

00:00:11 #266 [Verbose] > |> try_item 1i32

00:00:11 #267 [Verbose] > |> _equal (Some 2i32)

00:00:11 #268 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0902-5406-0606-03197aa607c2\main.spi

00:00:11 #269 [Verbose] >

00:00:11 #270 [Verbose] > ╭─[ 220.54ms - stdout ]────────────────────────────────────────────────────────╮

00:00:11 #271 [Verbose] > │ type [<Struct>] US0 =                                                        │

00:00:11 #272 [Verbose] > │     | US0_0                                                                  │

00:00:11 #273 [Verbose] > │     | US0_1 of f1_0 : int32                                                  │

00:00:11 #274 [Verbose] > │ let rec method0 () : unit =                                                  │

00:00:11 #275 [Verbose] > │     printfn $"print_and_return / x: {0}"                                     │

00:00:11 #276 [Verbose] > │     printfn $"print_and_return / x: {1}"                                     │

00:00:11 #277 [Verbose] > │     printfn $"print_and_return / x: {2}"                                     │

00:00:11 #278 [Verbose] > │     printfn $"print_and_return / x: {3}"                                     │

00:00:11 #279 [Verbose] > │     printfn $"print_and_return / x: {4}"                                     │

00:00:11 #280 [Verbose] > │     printfn $"print_and_return / x: {5}"                                     │

00:00:11 #281 [Verbose] > │     printfn $"print_and_return / x: {6}"                                     │

00:00:11 #282 [Verbose] > │     printfn $"print_and_return / x: {7}"                                     │

00:00:11 #283 [Verbose] > │     printfn $"print_and_return / x: {8}"                                     │

00:00:11 #284 [Verbose] > │     printfn $"print_and_return / x: {9}"                                     │

00:00:11 #285 [Verbose] > │     let v0 : US0 = US0_1(2)                                                  │

00:00:11 #286 [Verbose] > │     let v1 : US0 = US0_1(2)                                                  │

00:00:11 #287 [Verbose] > │     let v2 : string = $"__expect / actual: %A{v0} / expected: %A{v1}"        │

00:00:11 #288 [Verbose] > │     ()                                                                       │

00:00:11 #289 [Verbose] > │ method0()                                                                    │

00:00:11 #290 [Verbose] > │                                                                              │

00:00:11 #291 [Verbose] > │ print_and_return / x: 0                                                      │

00:00:11 #292 [Verbose] > │ print_and_return / x: 1                                                      │

00:00:11 #293 [Verbose] > │ print_and_return / x: 2                                                      │

00:00:11 #294 [Verbose] > │ print_and_return / x: 3                                                      │

00:00:11 #295 [Verbose] > │ print_and_return / x: 4                                                      │

00:00:11 #296 [Verbose] > │ print_and_return / x: 5                                                      │

00:00:11 #297 [Verbose] > │ print_and_return / x: 6                                                      │

00:00:11 #298 [Verbose] > │ print_and_return / x: 7                                                      │

00:00:11 #299 [Verbose] > │ print_and_return / x: 8                                                      │

00:00:11 #300 [Verbose] > │ print_and_return / x: 9                                                      │

00:00:11 #301 [Verbose] > │                                                                              │

00:00:11 #302 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:11 #303 [Verbose] >

00:00:11 #304 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────

00:00:11 #305 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮

00:00:11 #306 [Verbose] > │ ## indexed                                                                   │

00:00:11 #307 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:11 #308 [Verbose] >

00:00:11 #309 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:11 #310 [Verbose] > inl indexed s =

00:00:11 #311 [Verbose] >     s

00:00:11 #312 [Verbose] >     |> mapi fun i x =>

00:00:11 #313 [Verbose] >         i, x

00:00:11 #314 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0902-5429-2966-28de1156602d\main.spi

00:00:11 #315 [Verbose] >

00:00:11 #316 [Verbose] > ╭─[ 170.26ms - stdout ]────────────────────────────────────────────────────────╮

00:00:11 #317 [Verbose] > │ ()                                                                           │

00:00:11 #318 [Verbose] > │                                                                              │

00:00:11 #319 [Verbose] > │                                                                              │

00:00:11 #320 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:11 #321 [Verbose] >

00:00:11 #322 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:11 #323 [Verbose] > // // test

00:00:11 #324 [Verbose] >

00:00:11 #325 [Verbose] > listm.init 10i32 ((*) 2)

00:00:11 #326 [Verbose] > |> from_list

00:00:11 #327 [Verbose] > |> indexed

00:00:11 #328 [Verbose] > |> try_item 5i32

00:00:11 #329 [Verbose] > |> _equal (Some (5i32, 10i32))

00:00:12 #330 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0902-5446-4685-450075aeaacb\main.spi

00:00:12 #331 [Verbose] >

00:00:12 #332 [Verbose] > ╭─[ 284.95ms - stdout ]────────────────────────────────────────────────────────╮

00:00:12 #333 [Verbose] > │ type [<Struct>] US0 =                                                        │

00:00:12 #334 [Verbose] > │     | US0_0                                                                  │

00:00:12 #335 [Verbose] > │     | US0_1 of f1_0 : int32 * f1_1 : int32                                   │

00:00:12 #336 [Verbose] > │ let rec method0 () : unit =                                                  │

00:00:12 #337 [Verbose] > │     let v0 : US0 = US0_1(5, 10)                                              │

00:00:12 #338 [Verbose] > │     let v1 : US0 = US0_1(5, 10)                                              │

00:00:12 #339 [Verbose] > │     let v2 : string = $"__expect / actual: %A{v0} / expected: %A{v1}"        │

00:00:12 #340 [Verbose] > │     ()                                                                       │

00:00:12 #341 [Verbose] > │ method0()                                                                    │

00:00:12 #342 [Verbose] > │                                                                              │

00:00:12 #343 [Verbose] > │                                                                              │

00:00:12 #344 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:12 #345 [Verbose] >

00:00:12 #346 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────

00:00:12 #347 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮

00:00:12 #348 [Verbose] > │ ## zip                                                                       │

00:00:12 #349 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:12 #350 [Verbose] >

00:00:12 #351 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:12 #352 [Verbose] > inl zip n seq1 seq2 =

00:00:12 #353 [Verbose] >     seq1 n, seq2 n

00:00:12 #354 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0902-5476-7605-7ed8573e424e\main.spi

00:00:12 #355 [Verbose] >

00:00:12 #356 [Verbose] > ╭─[ 132.61ms - stdout ]────────────────────────────────────────────────────────╮

00:00:12 #357 [Verbose] > │ ()                                                                           │

00:00:12 #358 [Verbose] > │                                                                              │

00:00:12 #359 [Verbose] > │                                                                              │

00:00:12 #360 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:12 #361 [Verbose] >

00:00:12 #362 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:12 #363 [Verbose] > // // test

00:00:12 #364 [Verbose] >

00:00:12 #365 [Verbose] > ((listm.init 10i32 id |> from_list), (listm.init 10i32 ((*) 2) |> from_list))

00:00:12 #366 [Verbose] > ||> zip 5i32

00:00:12 #367 [Verbose] > |> _equal (Some 5, Some 10)

00:00:12 #368 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0902-5489-8956-86fbf3923bd6\main.spi

00:00:12 #369 [Verbose] >

00:00:12 #370 [Verbose] > ╭─[ 192.97ms - stdout ]────────────────────────────────────────────────────────╮

00:00:12 #371 [Verbose] > │ type [<Struct>] US0 =                                                        │

00:00:12 #372 [Verbose] > │     | US0_0                                                                  │

00:00:12 #373 [Verbose] > │     | US0_1 of f1_0 : int32                                                  │

00:00:12 #374 [Verbose] > │ let rec method0 () : unit =                                                  │

00:00:12 #375 [Verbose] > │     let v0 : US0 = US0_1(5)                                                  │

00:00:12 #376 [Verbose] > │     let v1 : US0 = US0_1(10)                                                 │

00:00:12 #377 [Verbose] > │     let v2 : US0 = US0_1(5)                                                  │

00:00:12 #378 [Verbose] > │     let v3 : US0 = US0_1(10)                                                 │

00:00:12 #379 [Verbose] > │     let v4 : string = $"__expect / actual: %A{struct (v0, v1)} / expected:   │

00:00:12 #380 [Verbose] > │ %A{struct (v2, v3)}"                                                         │

00:00:12 #381 [Verbose] > │     ()                                                                       │

00:00:12 #382 [Verbose] > │ method0()                                                                    │

00:00:12 #383 [Verbose] > │                                                                              │

00:00:12 #384 [Verbose] > │                                                                              │

00:00:12 #385 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:12 #386 [Verbose] >

00:00:12 #387 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────

00:00:12 #388 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮

00:00:12 #389 [Verbose] > │ ## zip_with                                                                  │

00:00:12 #390 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:12 #391 [Verbose] >

00:00:12 #392 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:12 #393 [Verbose] > inl zip_with fn seq1 seq2 =

00:00:12 #394 [Verbose] >     fun n =>

00:00:12 #395 [Verbose] >         fn (seq1 n) (seq2 n)

00:00:12 #396 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0902-5509-0988-0b0e2547799e\main.spi

00:00:12 #397 [Verbose] >

00:00:12 #398 [Verbose] > ╭─[ 136.72ms - stdout ]────────────────────────────────────────────────────────╮

00:00:12 #399 [Verbose] > │ ()                                                                           │

00:00:12 #400 [Verbose] > │                                                                              │

00:00:12 #401 [Verbose] > │                                                                              │

00:00:12 #402 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:12 #403 [Verbose] >

00:00:12 #404 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:12 #405 [Verbose] > // // test

00:00:12 #406 [Verbose] >

00:00:12 #407 [Verbose] > ((listm.init 10i32 id |> from_list), (listm.init 10i32 ((*) 2) |> from_list))

00:00:12 #408 [Verbose] > ||> zip_with (optionm'.choose (+))

00:00:12 #409 [Verbose] > |> try_item 2i32

00:00:12 #410 [Verbose] > |> _equal (Some 6)

00:00:12 #411 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0902-5523-2379-28c78c1e87d0\main.spi

00:00:12 #412 [Verbose] >

00:00:12 #413 [Verbose] > ╭─[ 207.77ms - stdout ]────────────────────────────────────────────────────────╮

00:00:12 #414 [Verbose] > │ type [<Struct>] US0 =                                                        │

00:00:12 #415 [Verbose] > │     | US0_0                                                                  │

00:00:12 #416 [Verbose] > │     | US0_1 of f1_0 : int32                                                  │

00:00:12 #417 [Verbose] > │ let rec method0 () : unit =                                                  │

00:00:12 #418 [Verbose] > │     let v0 : US0 = US0_1(6)                                                  │

00:00:12 #419 [Verbose] > │     let v1 : US0 = US0_1(6)                                                  │

00:00:12 #420 [Verbose] > │     let v2 : string = $"__expect / actual: %A{v0} / expected: %A{v1}"        │

00:00:12 #421 [Verbose] > │     ()                                                                       │

00:00:12 #422 [Verbose] > │ method0()                                                                    │

00:00:12 #423 [Verbose] > │                                                                              │

00:00:12 #424 [Verbose] > │                                                                              │

00:00:12 #425 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:12 #426 [Verbose] >

00:00:12 #427 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────

00:00:12 #428 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮

00:00:12 #429 [Verbose] > │ ## fold                                                                      │

00:00:12 #430 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:12 #431 [Verbose] >

00:00:12 #432 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:12 #433 [Verbose] > inl fold fn init seq =

00:00:12 #434 [Verbose] >     inl rec loop acc n =

00:00:12 #435 [Verbose] >         match seq n with

00:00:12 #436 [Verbose] >         | Some x => loop (fn acc x) (n + 1)

00:00:12 #437 [Verbose] >         | None => acc

00:00:12 #438 [Verbose] >     loop init 0

00:00:12 #439 [Verbose] >

00:00:12 #440 [Verbose] > inl fold_ fn init seq =

00:00:12 #441 [Verbose] >     let rec loop acc n =

00:00:12 #442 [Verbose] >         match seq n with

00:00:12 #443 [Verbose] >         | Some x => loop (fn acc x) (n + 1)

00:00:12 #444 [Verbose] >         | None => acc

00:00:12 #445 [Verbose] >     loop init 0

00:00:13 #446 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0902-5545-4569-46398e41f629\main.spi

00:00:13 #447 [Verbose] >

00:00:13 #448 [Verbose] > ╭─[ 140.12ms - stdout ]────────────────────────────────────────────────────────╮

00:00:13 #449 [Verbose] > │ ()                                                                           │

00:00:13 #450 [Verbose] > │                                                                              │

00:00:13 #451 [Verbose] > │                                                                              │

00:00:13 #452 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:13 #453 [Verbose] >

00:00:13 #454 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────

00:00:13 #455 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮

00:00:13 #456 [Verbose] > │ ## sum                                                                       │

00:00:13 #457 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:13 #458 [Verbose] >

00:00:13 #459 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:13 #460 [Verbose] > inl sum seq =

00:00:13 #461 [Verbose] >     seq |> fold (+) 0

00:00:13 #462 [Verbose] >

00:00:13 #463 [Verbose] > inl sum_ seq =

00:00:13 #464 [Verbose] >     seq |> fold_ (+) 0

00:00:13 #465 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0902-5560-6002-6c8839f0fed9\main.spi

00:00:13 #466 [Verbose] >

00:00:13 #467 [Verbose] > ╭─[ 152.46ms - stdout ]────────────────────────────────────────────────────────╮

00:00:13 #468 [Verbose] > │ ()                                                                           │

00:00:13 #469 [Verbose] > │                                                                              │

00:00:13 #470 [Verbose] > │                                                                              │

00:00:13 #471 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:13 #472 [Verbose] >

00:00:13 #473 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:13 #474 [Verbose] > // // test

00:00:13 #475 [Verbose] >

00:00:13 #476 [Verbose] > listm.init 10i32 id

00:00:13 #477 [Verbose] > |> from_list

00:00:13 #478 [Verbose] > |> fun f (n : i32) => f n

00:00:13 #479 [Verbose] > |> sum

00:00:13 #480 [Verbose] > |> _equal 45

00:00:13 #481 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0902-5575-7552-7aa00fe35af0\main.spi

00:00:13 #482 [Verbose] >

00:00:13 #483 [Verbose] > ╭─[ 150.37ms - stdout ]────────────────────────────────────────────────────────╮

00:00:13 #484 [Verbose] > │ let rec method0 () : unit =                                                  │

00:00:13 #485 [Verbose] > │     let v0 : string = $"__expect / actual: %A{45} / expected: %A{45}"        │

00:00:13 #486 [Verbose] > │     ()                                                                       │

00:00:13 #487 [Verbose] > │ method0()                                                                    │

00:00:13 #488 [Verbose] > │                                                                              │

00:00:13 #489 [Verbose] > │                                                                              │

00:00:13 #490 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:13 #491 [Verbose] >

00:00:13 #492 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────

00:00:13 #493 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮

00:00:13 #494 [Verbose] > │ ## to_list                                                                   │

00:00:13 #495 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:13 #496 [Verbose] >

00:00:13 #497 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:13 #498 [Verbose] > inl to_list seq =

00:00:13 #499 [Verbose] >     seq

00:00:13 #500 [Verbose] >     |> fold (fun acc x => x :: acc) [[]]

00:00:13 #501 [Verbose] >     |> listm.rev

00:00:13 #502 [Verbose] >

00:00:13 #503 [Verbose] > inl to_list_ seq =

00:00:13 #504 [Verbose] >     seq

00:00:13 #505 [Verbose] >     |> fold_ (fun acc x => x :: acc) [[]]

00:00:13 #506 [Verbose] >     |> listm.rev

00:00:13 #507 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0902-5591-9136-94f547af246a\main.spi

00:00:13 #508 [Verbose] >

00:00:13 #509 [Verbose] > ╭─[ 154.70ms - stdout ]────────────────────────────────────────────────────────╮

00:00:13 #510 [Verbose] > │ ()                                                                           │

00:00:13 #511 [Verbose] > │                                                                              │

00:00:13 #512 [Verbose] > │                                                                              │

00:00:13 #513 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:13 #514 [Verbose] >

00:00:13 #515 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:13 #516 [Verbose] > // // test

00:00:13 #517 [Verbose] >

00:00:13 #518 [Verbose] > listm.init 10i32 id

00:00:13 #519 [Verbose] > |> from_list

00:00:13 #520 [Verbose] > |> fun f (n : i32) => f n

00:00:13 #521 [Verbose] > |> to_list

00:00:13 #522 [Verbose] > |> _equal (listm.init 10i32 id)

00:00:13 #523 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0902-5606-0694-066ac02f55c8\main.spi

00:00:13 #524 [Verbose] >

00:00:13 #525 [Verbose] > ╭─[ 223.90ms - stdout ]────────────────────────────────────────────────────────╮

00:00:13 #526 [Verbose] > │ type UH0 =                                                                   │

00:00:13 #527 [Verbose] > │     | UH0_0 of int32 * UH0                                                   │

00:00:13 #528 [Verbose] > │     | UH0_1                                                                  │

00:00:13 #529 [Verbose] > │ let rec method0 () : unit =                                                  │

00:00:13 #530 [Verbose] > │     let v0 : UH0 = UH0_1                                                     │

00:00:13 #531 [Verbose] > │     let v1 : UH0 = UH0_0(9, v0)                                              │

00:00:13 #532 [Verbose] > │     let v2 : UH0 = UH0_0(8, v1)                                              │

00:00:13 #533 [Verbose] > │     let v3 : UH0 = UH0_0(7, v2)                                              │

00:00:13 #534 [Verbose] > │     let v4 : UH0 = UH0_0(6, v3)                                              │

00:00:13 #535 [Verbose] > │     let v5 : UH0 = UH0_0(5, v4)                                              │

00:00:13 #536 [Verbose] > │     let v6 : UH0 = UH0_0(4, v5)                                              │

00:00:13 #537 [Verbose] > │     let v7 : UH0 = UH0_0(3, v6)                                              │

00:00:13 #538 [Verbose] > │     let v8 : UH0 = UH0_0(2, v7)                                              │

00:00:13 #539 [Verbose] > │     let v9 : UH0 = UH0_0(1, v8)                                              │

00:00:13 #540 [Verbose] > │     let v10 : UH0 = UH0_0(0, v9)                                             │

00:00:13 #541 [Verbose] > │     let v11 : UH0 = UH0_1                                                    │

00:00:13 #542 [Verbose] > │     let v12 : UH0 = UH0_0(9, v11)                                            │

00:00:13 #543 [Verbose] > │     let v13 : UH0 = UH0_0(8, v12)                                            │

00:00:13 #544 [Verbose] > │     let v14 : UH0 = UH0_0(7, v13)                                            │

00:00:13 #545 [Verbose] > │     let v15 : UH0 = UH0_0(6, v14)                                            │

00:00:13 #546 [Verbose] > │     let v16 : UH0 = UH0_0(5, v15)                                            │

00:00:13 #547 [Verbose] > │     let v17 : UH0 = UH0_0(4, v16)                                            │

00:00:13 #548 [Verbose] > │     let v18 : UH0 = UH0_0(3, v17)                                            │

00:00:13 #549 [Verbose] > │     let v19 : UH0 = UH0_0(2, v18)                                            │

00:00:13 #550 [Verbose] > │     let v20 : UH0 = UH0_0(1, v19)                                            │

00:00:13 #551 [Verbose] > │     let v21 : UH0 = UH0_0(0, v20)                                            │

00:00:13 #552 [Verbose] > │     let v22 : string = $"__expect / actual: %A{v10} / expected: %A{v21}"     │

00:00:13 #553 [Verbose] > │     ()                                                                       │

00:00:13 #554 [Verbose] > │ method0()                                                                    │

00:00:13 #555 [Verbose] > │                                                                              │

00:00:13 #556 [Verbose] > │                                                                              │

00:00:13 #557 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:13 #558 [Verbose] >

00:00:13 #559 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────

00:00:13 #560 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮

00:00:13 #561 [Verbose] > │ ## from_array                                                                │

00:00:13 #562 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:13 #563 [Verbose] >

00:00:13 #564 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:13 #565 [Verbose] > inl from_array forall dim {number; int} el. (array : a dim el) : seq dim el =

00:00:13 #566 [Verbose] >     fun n =>

00:00:13 #567 [Verbose] >         if n >= length array

00:00:13 #568 [Verbose] >         then None

00:00:13 #569 [Verbose] >         else index array n |> Some

00:00:13 #570 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0902-5630-3083-3ea06b12fb77\main.spi

00:00:13 #571 [Verbose] >

00:00:13 #572 [Verbose] > ╭─[ 151.44ms - stdout ]────────────────────────────────────────────────────────╮

00:00:13 #573 [Verbose] > │ ()                                                                           │

00:00:13 #574 [Verbose] > │                                                                              │

00:00:13 #575 [Verbose] > │                                                                              │

00:00:13 #576 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:13 #577 [Verbose] >

00:00:13 #578 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:13 #579 [Verbose] > // // test

00:00:13 #580 [Verbose] >

00:00:13 #581 [Verbose] > a ;[[ 1; 2; 3 ]]

00:00:13 #582 [Verbose] > |> from_array

00:00:13 #583 [Verbose] > |> try_item 1i32

00:00:13 #584 [Verbose] > |> _equal (Some 2i32)

00:00:14 #585 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0902-5646-4629-42e5260aeb0e\main.spi

00:00:14 #586 [Verbose] >

00:00:14 #587 [Verbose] > ╭─[ 396.68ms - stdout ]────────────────────────────────────────────────────────╮

00:00:14 #588 [Verbose] > │ type [<Struct>] US0 =                                                        │

00:00:14 #589 [Verbose] > │     | US0_0                                                                  │

00:00:14 #590 [Verbose] > │     | US0_1 of f1_0 : int32                                                  │

00:00:14 #591 [Verbose] > │ let rec method1 (v0 : (int32 [])) : (int32 []) =                             │

00:00:14 #592 [Verbose] > │     v0                                                                       │

00:00:14 #593 [Verbose] > │ and method0 () : unit =                                                      │

00:00:14 #594 [Verbose] > │     let v0 : (int32 []) = [|1; 2; 3|]                                        │

00:00:14 #595 [Verbose] > │     let v1 : (int32 []) = method1(v0)                                        │

00:00:14 #596 [Verbose] > │     let v2 : int32 = v1.Length                                               │

00:00:14 #597 [Verbose] > │     let v3 : bool = 1 >= v2                                                  │

00:00:14 #598 [Verbose] > │     let v7 : US0 =                                                           │

00:00:14 #599 [Verbose] > │         if v3 then                                                           │

00:00:14 #600 [Verbose] > │             US0_0                                                            │

00:00:14 #601 [Verbose] > │         else                                                                 │

00:00:14 #602 [Verbose] > │             let v5 : int32 = v1.[int 1]                                      │

00:00:14 #603 [Verbose] > │             US0_1(v5)                                                        │

00:00:14 #604 [Verbose] > │     let v8 : US0 = US0_1(2)                                                  │

00:00:14 #605 [Verbose] > │     let v9 : string = $"__expect / actual: %A{v7} / expected: %A{v8}"        │

00:00:14 #606 [Verbose] > │     let v13 : bool =                                                         │

00:00:14 #607 [Verbose] > │         match v7 with                                                        │

00:00:14 #608 [Verbose] > │         | US0_1(v11) -> (* Some *)                                           │

00:00:14 #609 [Verbose] > │             let v12 : bool = v11 = 2                                         │

00:00:14 #610 [Verbose] > │             v12                                                              │

00:00:14 #611 [Verbose] > │         | _ ->                                                               │

00:00:14 #612 [Verbose] > │             false                                                            │

00:00:14 #613 [Verbose] > │     let v14 : bool = v13 = false                                             │

00:00:14 #614 [Verbose] > │     if v14 then                                                              │

00:00:14 #615 [Verbose] > │         failwith<unit> v9                                                    │

00:00:14 #616 [Verbose] > │ method0()                                                                    │

00:00:14 #617 [Verbose] > │                                                                              │

00:00:14 #618 [Verbose] > │                                                                              │

00:00:14 #619 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:14 #620 [Verbose] >

00:00:14 #621 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────

00:00:14 #622 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮

00:00:14 #623 [Verbose] > │ ## to_array                                                                  │

00:00:14 #624 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:14 #625 [Verbose] >

00:00:14 #626 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:14 #627 [Verbose] > inl to_array seq =

00:00:14 #628 [Verbose] >     inl ar = a ;[[]] |> mut

00:00:14 #629 [Verbose] >     ((), seq)

00:00:14 #630 [Verbose] >     ||> fold fun _ x =>

00:00:14 #631 [Verbose] >         ar <- *ar /@ a ;[[x]]

00:00:14 #632 [Verbose] >     *ar

00:00:14 #633 [Verbose] >

00:00:14 #634 [Verbose] > inl to_array_ seq =

00:00:14 #635 [Verbose] >     inl ar = a ;[[]] |> mut

00:00:14 #636 [Verbose] >     ((), seq)

00:00:14 #637 [Verbose] >     ||> fold_ fun _ x =>

00:00:14 #638 [Verbose] >         ar <- *ar /@ a ;[[x]]

00:00:14 #639 [Verbose] >     *ar

00:00:14 #640 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0902-5687-8759-8c343b1442a9\main.spi

00:00:14 #641 [Verbose] >

00:00:14 #642 [Verbose] > ╭─[ 176.50ms - stdout ]────────────────────────────────────────────────────────╮

00:00:14 #643 [Verbose] > │ ()                                                                           │

00:00:14 #644 [Verbose] > │                                                                              │

00:00:14 #645 [Verbose] > │                                                                              │

00:00:14 #646 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:14 #647 [Verbose] >

00:00:14 #648 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:14 #649 [Verbose] > // // test

00:00:14 #650 [Verbose] >

00:00:14 #651 [Verbose] > listm.init 10i32 id

00:00:14 #652 [Verbose] > |> from_list

00:00:14 #653 [Verbose] > |> fun (x : i32 -> _) => x

00:00:14 #654 [Verbose] > |> to_array

00:00:14 #655 [Verbose] > |> _equal (a ;[[ 0; 1; 2; 3; 4; 5; 6; 7; 8; 9 ]] : _ i32 _)

00:00:14 #656 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0902-5705-0532-04bb1502c940\main.spi

00:00:14 #657 [Verbose] >

00:00:15 #658 [Verbose] > ╭─[ 428.93ms - stdout ]────────────────────────────────────────────────────────╮

00:00:15 #659 [Verbose] > │ type Mut0 = {mutable l0 : (int32 [])}                                        │

00:00:15 #660 [Verbose] > │ and Mut1 = {mutable l0 : int32}                                              │

00:00:15 #661 [Verbose] > │ let rec method1 (v0 : (int32 [])) : (int32 []) =                             │

00:00:15 #662 [Verbose] > │     v0                                                                       │

00:00:15 #663 [Verbose] > │ and method2 (v0 : int32, v1 : Mut1) : bool =                                 │

00:00:15 #664 [Verbose] > │     let v2 : int32 = v1.l0                                                   │

00:00:15 #665 [Verbose] > │     let v3 : bool = v2 < v0                                                  │

00:00:15 #666 [Verbose] > │     v3                                                                       │

00:00:15 #667 [Verbose] > │ and method3 (v0 : (int32 []), v1 : (int32 []), v2 : int32) : bool =          │

00:00:15 #668 [Verbose] > │     let v3 : int32 = v0.Length                                               │

00:00:15 #669 [Verbose] > │     let v4 : bool = v2 < v3                                                  │

00:00:15 #670 [Verbose] > │     if v4 then                                                               │

00:00:15 #671 [Verbose] > │         let v5 : int32 = v0.[int v2]                                         │

00:00:15 #672 [Verbose] > │         let v6 : int32 = v1.[int v2]                                         │

00:00:15 #673 [Verbose] > │         let v7 : bool = v5 = v6                                              │

00:00:15 #674 [Verbose] > │         if v7 then                                                           │

00:00:15 #675 [Verbose] > │             let v8 : int32 = v2 + 1                                          │

00:00:15 #676 [Verbose] > │             method3(v0, v1, v8)                                              │

00:00:15 #677 [Verbose] > │         else                                                                 │

00:00:15 #678 [Verbose] > │             false                                                            │

00:00:15 #679 [Verbose] > │     else                                                                     │

00:00:15 #680 [Verbose] > │         true                                                                 │

00:00:15 #681 [Verbose] > │ and method0 () : unit =                                                      │

00:00:15 #682 [Verbose] > │     let v0 : (int32 []) = [||]                                               │

00:00:15 #683 [Verbose] > │     let v1 : (int32 []) = method1(v0)                                        │

00:00:15 #684 [Verbose] > │     let v2 : Mut0 = {l0 = v1} : Mut0                                         │

00:00:15 #685 [Verbose] > │     let v3 : (int32 []) = v2.l0                                              │

00:00:15 #686 [Verbose] > │     let v4 : (int32 []) = [|0|]                                              │

00:00:15 #687 [Verbose] > │     let v5 : (int32 []) = method1(v4)                                        │

00:00:15 #688 [Verbose] > │     let v6 : int32 = v3.Length                                               │

00:00:15 #689 [Verbose] > │     let v7 : int32 = v5.Length                                               │

00:00:15 #690 [Verbose] > │     let v8 : int32 = v6 + v7                                                 │

00:00:15 #691 [Verbose] > │     let v9 : (int32 []) = Array.zeroCreate<int32> (v8)                       │

00:00:15 #692 [Verbose] > │     let v10 : Mut1 = {l0 = 0} : Mut1                                         │

00:00:15 #693 [Verbose] > │     while method2(v8, v10) do                                                │

00:00:15 #694 [Verbose] > │         let v12 : int32 = v10.l0                                             │

00:00:15 #695 [Verbose] > │         let v13 : bool = v12 < v6                                            │

00:00:15 #696 [Verbose] > │         let v17 : int32 =                                                    │

00:00:15 #697 [Verbose] > │             if v13 then                                                      │

00:00:15 #698 [Verbose] > │                 let v14 : int32 = v3.[int v12]                               │

00:00:15 #699 [Verbose] > │                 v14                                                          │

00:00:15 #700 [Verbose] > │             else                                                             │

00:00:15 #701 [Verbose] > │                 let v15 : int32 = v12 - v6                                   │

00:00:15 #702 [Verbose] > │                 let v16 : int32 = v5.[int v15]                               │

00:00:15 #703 [Verbose] > │                 v16                                                          │

00:00:15 #704 [Verbose] > │         v9.[int v12] <- v17                                                  │

00:00:15 #705 [Verbose] > │         let v18 : int32 = v12 + 1                                            │

00:00:15 #706 [Verbose] > │         v10.l0 <- v18                                                        │

00:00:15 #707 [Verbose] > │         ()                                                                   │

00:00:15 #708 [Verbose] > │     v2.l0 <- v9                                                              │

00:00:15 #709 [Verbose] > │     let v19 : (int32 []) = v2.l0                                             │

00:00:15 #710 [Verbose] > │     let v20 : (int32 []) = [|1|]                                             │

00:00:15 #711 [Verbose] > │     let v21 : (int32 []) = method1(v20)                                      │

00:00:15 #712 [Verbose] > │     let v22 : int32 = v19.Length                                             │

00:00:15 #713 [Verbose] > │     let v23 : int32 = v21.Length                                             │

00:00:15 #714 [Verbose] > │     let v24 : int32 = v22 + v23                                              │

00:00:15 #715 [Verbose] > │     let v25 : (int32 []) = Array.zeroCreate<int32> (v24)                     │

00:00:15 #716 [Verbose] > │     let v26 : Mut1 = {l0 = 0} : Mut1                                         │

00:00:15 #717 [Verbose] > │     while method2(v24, v26) do                                               │

00:00:15 #718 [Verbose] > │         let v28 : int32 = v26.l0                                             │

00:00:15 #719 [Verbose] > │         let v29 : bool = v28 < v22                                           │

00:00:15 #720 [Verbose] > │         let v33 : int32 =                                                    │

00:00:15 #721 [Verbose] > │             if v29 then                                                      │

00:00:15 #722 [Verbose] > │                 let v30 : int32 = v19.[int v28]                              │

00:00:15 #723 [Verbose] > │                 v30                                                          │

00:00:15 #724 [Verbose] > │             else                                                             │

00:00:15 #725 [Verbose] > │                 let v31 : int32 = v28 - v22                                  │

00:00:15 #726 [Verbose] > │                 let v32 : int32 = v21.[int v31]                              │

00:00:15 #727 [Verbose] > │                 v32                                                          │

00:00:15 #728 [Verbose] > │         v25.[int v28] <- v33                                                 │

00:00:15 #729 [Verbose] > │         let v34 : int32 = v28 + 1                                            │

00:00:15 #730 [Verbose] > │         v26.l0 <- v34                                                        │

00:00:15 #731 [Verbose] > │         ()                                                                   │

00:00:15 #732 [Verbose] > │     v2.l0 <- v25                                                             │

00:00:15 #733 [Verbose] > │     let v35 : (int32 []) = v2.l0                                             │

00:00:15 #734 [Verbose] > │     let v36 : (int32 []) = [|2|]                                             │

00:00:15 #735 [Verbose] > │     let v37 : (int32 []) = method1(v36)                                      │

00:00:15 #736 [Verbose] > │     let v38 : int32 = v35.Length                                             │

00:00:15 #737 [Verbose] > │     let v39 : int32 = v37.Length                                             │

00:00:15 #738 [Verbose] > │     let v40 : int32 = v38 + v39                                              │

00:00:15 #739 [Verbose] > │     let v41 : (int32 []) = Array.zeroCreate<int32> (v40)                     │

00:00:15 #740 [Verbose] > │     let v42 : Mut1 = {l0 = 0} : Mut1                                         │

00:00:15 #741 [Verbose] > │     while method2(v40, v42) do                                               │

00:00:15 #742 [Verbose] > │         let v44 : int32 = v42.l0                                             │

00:00:15 #743 [Verbose] > │         let v45 : bool = v44 < v38                                           │

00:00:15 #744 [Verbose] > │         let v49 : int32 =                                                    │

00:00:15 #745 [Verbose] > │             if v45 then                                                      │

00:00:15 #746 [Verbose] > │                 let v46 : int32 = v35.[int v44]                              │

00:00:15 #747 [Verbose] > │                 v46                                                          │

00:00:15 #748 [Verbose] > │             else                                                             │

00:00:15 #749 [Verbose] > │                 let v47 : int32 = v44 - v38                                  │

00:00:15 #750 [Verbose] > │                 let v48 : int32 = v37.[int v47]                              │

00:00:15 #751 [Verbose] > │                 v48                                                          │

00:00:15 #752 [Verbose] > │         v41.[int v44] <- v49                                                 │

00:00:15 #753 [Verbose] > │         let v50 : int32 = v44 + 1                                            │

00:00:15 #754 [Verbose] > │         v42.l0 <- v50                                                        │

00:00:15 #755 [Verbose] > │         ()                                                                   │

00:00:15 #756 [Verbose] > │     v2.l0 <- v41                                                             │

00:00:15 #757 [Verbose] > │     let v51 : (int32 []) = v2.l0                                             │

00:00:15 #758 [Verbose] > │     let v52 : (int32 []) = [|3|]                                             │

00:00:15 #759 [Verbose] > │     let v53 : (int32 []) = method1(v52)                                      │

00:00:15 #760 [Verbose] > │     let v54 : int32 = v51.Length                                             │

00:00:15 #761 [Verbose] > │     let v55 : int32 = v53.Length                                             │

00:00:15 #762 [Verbose] > │     let v56 : int32 = v54 + v55                                              │

00:00:15 #763 [Verbose] > │     let v57 : (int32 []) = Array.zeroCreate<int32> (v56)                     │

00:00:15 #764 [Verbose] > │     let v58 : Mut1 = {l0 = 0} : Mut1                                         │

00:00:15 #765 [Verbose] > │     while method2(v56, v58) do                                               │

00:00:15 #766 [Verbose] > │         let v60 : int32 = v58.l0                                             │

00:00:15 #767 [Verbose] > │         let v61 : bool = v60 < v54                                           │

00:00:15 #768 [Verbose] > │         let v65 : int32 =                                                    │

00:00:15 #769 [Verbose] > │             if v61 then                                                      │

00:00:15 #770 [Verbose] > │                 let v62 : int32 = v51.[int v60]                              │

00:00:15 #771 [Verbose] > │                 v62                                                          │

00:00:15 #772 [Verbose] > │             else                                                             │

00:00:15 #773 [Verbose] > │                 let v63 : int32 = v60 - v54                                  │

00:00:15 #774 [Verbose] > │                 let v64 : int32 = v53.[int v63]                              │

00:00:15 #775 [Verbose] > │                 v64                                                          │

00:00:15 #776 [Verbose] > │         v57.[int v60] <- v65                                                 │

00:00:15 #777 [Verbose] > │         let v66 : int32 = v60 + 1                                            │

00:00:15 #778 [Verbose] > │         v58.l0 <- v66                                                        │

00:00:15 #779 [Verbose] > │         ()                                                                   │

00:00:15 #780 [Verbose] > │     v2.l0 <- v57                                                             │

00:00:15 #781 [Verbose] > │     let v67 : (int32 []) = v2.l0                                             │

00:00:15 #782 [Verbose] > │     let v68 : (int32 []) = [|4|]                                             │

00:00:15 #783 [Verbose] > │     let v69 : (int32 []) = method1(v68)                                      │

00:00:15 #784 [Verbose] > │     let v70 : int32 = v67.Length                                             │

00:00:15 #785 [Verbose] > │     let v71 : int32 = v69.Length                                             │

00:00:15 #786 [Verbose] > │     let v72 : int32 = v70 + v71                                              │

00:00:15 #787 [Verbose] > │     let v73 : (int32 []) = Array.zeroCreate<int32> (v72)                     │

00:00:15 #788 [Verbose] > │     let v74 : Mut1 = {l0 = 0} : Mut1                                         │

00:00:15 #789 [Verbose] > │     while method2(v72, v74) do                                               │

00:00:15 #790 [Verbose] > │         let v76 : int32 = v74.l0                                             │

00:00:15 #791 [Verbose] > │         let v77 : bool = v76 < v70                                           │

00:00:15 #792 [Verbose] > │         let v81 : int32 =                                                    │

00:00:15 #793 [Verbose] > │             if v77 then                                                      │

00:00:15 #794 [Verbose] > │                 let v78 : int32 = v67.[int v76]                              │

00:00:15 #795 [Verbose] > │                 v78                                                          │

00:00:15 #796 [Verbose] > │             else                                                             │

00:00:15 #797 [Verbose] > │                 let v79 : int32 = v76 - v70                                  │

00:00:15 #798 [Verbose] > │                 let v80 : int32 = v69.[int v79]                              │

00:00:15 #799 [Verbose] > │                 v80                                                          │

00:00:15 #800 [Verbose] > │         v73.[int v76] <- v81                                                 │

00:00:15 #801 [Verbose] > │         let v82 : int32 = v76 + 1                                            │

00:00:15 #802 [Verbose] > │         v74.l0 <- v82                                                        │

00:00:15 #803 [Verbose] > │         ()                                                                   │

00:00:15 #804 [Verbose] > │     v2.l0 <- v73                                                             │

00:00:15 #805 [Verbose] > │     let v83 : (int32 []) = v2.l0                                             │

00:00:15 #806 [Verbose] > │     let v84 : (int32 []) = [|5|]                                             │

00:00:15 #807 [Verbose] > │     let v85 : (int32 []) = method1(v84)                                      │

00:00:15 #808 [Verbose] > │     let v86 : int32 = v83.Length                                             │

00:00:15 #809 [Verbose] > │     let v87 : int32 = v85.Length                                             │

00:00:15 #810 [Verbose] > │     let v88 : int32 = v86 + v87                                              │

00:00:15 #811 [Verbose] > │     let v89 : (int32 []) = Array.zeroCreate<int32> (v88)                     │

00:00:15 #812 [Verbose] > │     let v90 : Mut1 = {l0 = 0} : Mut1                                         │

00:00:15 #813 [Verbose] > │     while method2(v88, v90) do                                               │

00:00:15 #814 [Verbose] > │         let v92 : int32 = v90.l0                                             │

00:00:15 #815 [Verbose] > │         let v93 : bool = v92 < v86                                           │

00:00:15 #816 [Verbose] > │         let v97 : int32 =                                                    │

00:00:15 #817 [Verbose] > │             if v93 then                                                      │

00:00:15 #818 [Verbose] > │                 let v94 : int32 = v83.[int v92]                              │

00:00:15 #819 [Verbose] > │                 v94                                                          │

00:00:15 #820 [Verbose] > │             else                                                             │

00:00:15 #821 [Verbose] > │                 let v95 : int32 = v92 - v86                                  │

00:00:15 #822 [Verbose] > │                 let v96 : int32 = v85.[int v95]                              │

00:00:15 #823 [Verbose] > │                 v96                                                          │

00:00:15 #824 [Verbose] > │         v89.[int v92] <- v97                                                 │

00:00:15 #825 [Verbose] > │         let v98 : int32 = v92 + 1                                            │

00:00:15 #826 [Verbose] > │         v90.l0 <- v98                                                        │

00:00:15 #827 [Verbose] > │         ()                                                                   │

00:00:15 #828 [Verbose] > │     v2.l0 <- v89                                                             │

00:00:15 #829 [Verbose] > │     let v99 : (int32 []) = v2.l0                                             │

00:00:15 #830 [Verbose] > │     let v100 : (int32 []) = [|6|]                                            │

00:00:15 #831 [Verbose] > │     let v101 : (int32 []) = method1(v100)                                    │

00:00:15 #832 [Verbose] > │     let v102 : int32 = v99.Length                                            │

00:00:15 #833 [Verbose] > │     let v103 : int32 = v101.Length                                           │

00:00:15 #834 [Verbose] > │     let v104 : int32 = v102 + v103                                           │

00:00:15 #835 [Verbose] > │     let v105 : (int32 []) = Array.zeroCreate<int32> (v104)                   │

00:00:15 #836 [Verbose] > │     let v106 : Mut1 = {l0 = 0} : Mut1                                        │

00:00:15 #837 [Verbose] > │     while method2(v104, v106) do                                             │

00:00:15 #838 [Verbose] > │         let v108 : int32 = v106.l0                                           │

00:00:15 #839 [Verbose] > │         let v109 : bool = v108 < v102                                        │

00:00:15 #840 [Verbose] > │         let v113 : int32 =                                                   │

00:00:15 #841 [Verbose] > │             if v109 then                                                     │

00:00:15 #842 [Verbose] > │                 let v110 : int32 = v99.[int v108]                            │

00:00:15 #843 [Verbose] > │                 v110                                                         │

00:00:15 #844 [Verbose] > │             else                                                             │

00:00:15 #845 [Verbose] > │                 let v111 : int32 = v108 - v102                               │

00:00:15 #846 [Verbose] > │                 let v112 : int32 = v101.[int v111]                           │

00:00:15 #847 [Verbose] > │                 v112                                                         │

00:00:15 #848 [Verbose] > │         v105.[int v108] <- v113                                              │

00:00:15 #849 [Verbose] > │         let v114 : int32 = v108 + 1                                          │

00:00:15 #850 [Verbose] > │         v106.l0 <- v114                                                      │

00:00:15 #851 [Verbose] > │         ()                                                                   │

00:00:15 #852 [Verbose] > │     v2.l0 <- v105                                                            │

00:00:15 #853 [Verbose] > │     let v115 : (int32 []) = v2.l0                                            │

00:00:15 #854 [Verbose] > │     let v116 : (int32 []) = [|7|]                                            │

00:00:15 #855 [Verbose] > │     let v117 : (int32 []) = method1(v116)                                    │

00:00:15 #856 [Verbose] > │     let v118 : int32 = v115.Length                                           │

00:00:15 #857 [Verbose] > │     let v119 : int32 = v117.Length                                           │

00:00:15 #858 [Verbose] > │     let v120 : int32 = v118 + v119                                           │

00:00:15 #859 [Verbose] > │     let v121 : (int32 []) = Array.zeroCreate<int32> (v120)                   │

00:00:15 #860 [Verbose] > │     let v122 : Mut1 = {l0 = 0} : Mut1                                        │

00:00:15 #861 [Verbose] > │     while method2(v120, v122) do                                             │

00:00:15 #862 [Verbose] > │         let v124 : int32 = v122.l0                                           │

00:00:15 #863 [Verbose] > │         let v125 : bool = v124 < v118                                        │

00:00:15 #864 [Verbose] > │         let v129 : int32 =                                                   │

00:00:15 #865 [Verbose] > │             if v125 then                                                     │

00:00:15 #866 [Verbose] > │                 let v126 : int32 = v115.[int v124]                           │

00:00:15 #867 [Verbose] > │                 v126                                                         │

00:00:15 #868 [Verbose] > │             else                                                             │

00:00:15 #869 [Verbose] > │                 let v127 : int32 = v124 - v118                               │

00:00:15 #870 [Verbose] > │                 let v128 : int32 = v117.[int v127]                           │

00:00:15 #871 [Verbose] > │                 v128                                                         │

00:00:15 #872 [Verbose] > │         v121.[int v124] <- v129                                              │

00:00:15 #873 [Verbose] > │         let v130 : int32 = v124 + 1                                          │

00:00:15 #874 [Verbose] > │         v122.l0 <- v130                                                      │

00:00:15 #875 [Verbose] > │         ()                                                                   │

00:00:15 #876 [Verbose] > │     v2.l0 <- v121                                                            │

00:00:15 #877 [Verbose] > │     let v131 : (int32 []) = v2.l0                                            │

00:00:15 #878 [Verbose] > │     let v132 : (int32 []) = [|8|]                                            │

00:00:15 #879 [Verbose] > │     let v133 : (int32 []) = method1(v132)                                    │

00:00:15 #880 [Verbose] > │     let v134 : int32 = v131.Length                                           │

00:00:15 #881 [Verbose] > │     let v135 : int32 = v133.Length                                           │

00:00:15 #882 [Verbose] > │     let v136 : int32 = v134 + v135                                           │

00:00:15 #883 [Verbose] > │     let v137 : (int32 []) = Array.zeroCreate<int32> (v136)                   │

00:00:15 #884 [Verbose] > │     let v138 : Mut1 = {l0 = 0} : Mut1                                        │

00:00:15 #885 [Verbose] > │     while method2(v136, v138) do                                             │

00:00:15 #886 [Verbose] > │         let v140 : int32 = v138.l0                                           │

00:00:15 #887 [Verbose] > │         let v141 : bool = v140 < v134                                        │

00:00:15 #888 [Verbose] > │         let v145 : int32 =                                                   │

00:00:15 #889 [Verbose] > │             if v141 then                                                     │

00:00:15 #890 [Verbose] > │                 let v142 : int32 = v131.[int v140]                           │

00:00:15 #891 [Verbose] > │                 v142                                                         │

00:00:15 #892 [Verbose] > │             else                                                             │

00:00:15 #893 [Verbose] > │                 let v143 : int32 = v140 - v134                               │

00:00:15 #894 [Verbose] > │                 let v144 : int32 = v133.[int v143]                           │

00:00:15 #895 [Verbose] > │                 v144                                                         │

00:00:15 #896 [Verbose] > │         v137.[int v140] <- v145                                              │

00:00:15 #897 [Verbose] > │         let v146 : int32 = v140 + 1                                          │

00:00:15 #898 [Verbose] > │         v138.l0 <- v146                                                      │

00:00:15 #899 [Verbose] > │         ()                                                                   │

00:00:15 #900 [Verbose] > │     v2.l0 <- v137                                                            │

00:00:15 #901 [Verbose] > │     let v147 : (int32 []) = v2.l0                                            │

00:00:15 #902 [Verbose] > │     let v148 : (int32 []) = [|9|]                                            │

00:00:15 #903 [Verbose] > │     let v149 : (int32 []) = method1(v148)                                    │

00:00:15 #904 [Verbose] > │     let v150 : int32 = v147.Length                                           │

00:00:15 #905 [Verbose] > │     let v151 : int32 = v149.Length                                           │

00:00:15 #906 [Verbose] > │     let v152 : int32 = v150 + v151                                           │

00:00:15 #907 [Verbose] > │     let v153 : (int32 []) = Array.zeroCreate<int32> (v152)                   │

00:00:15 #908 [Verbose] > │     let v154 : Mut1 = {l0 = 0} : Mut1                                        │

00:00:15 #909 [Verbose] > │     while method2(v152, v154) do                                             │

00:00:15 #910 [Verbose] > │         let v156 : int32 = v154.l0                                           │

00:00:15 #911 [Verbose] > │         let v157 : bool = v156 < v150                                        │

00:00:15 #912 [Verbose] > │         let v161 : int32 =                                                   │

00:00:15 #913 [Verbose] > │             if v157 then                                                     │

00:00:15 #914 [Verbose] > │                 let v158 : int32 = v147.[int v156]                           │

00:00:15 #915 [Verbose] > │                 v158                                                         │

00:00:15 #916 [Verbose] > │             else                                                             │

00:00:15 #917 [Verbose] > │                 let v159 : int32 = v156 - v150                               │

00:00:15 #918 [Verbose] > │                 let v160 : int32 = v149.[int v159]                           │

00:00:15 #919 [Verbose] > │                 v160                                                         │

00:00:15 #920 [Verbose] > │         v153.[int v156] <- v161                                              │

00:00:15 #921 [Verbose] > │         let v162 : int32 = v156 + 1                                          │

00:00:15 #922 [Verbose] > │         v154.l0 <- v162                                                      │

00:00:15 #923 [Verbose] > │         ()                                                                   │

00:00:15 #924 [Verbose] > │     v2.l0 <- v153                                                            │

00:00:15 #925 [Verbose] > │     let v163 : (int32 []) = v2.l0                                            │

00:00:15 #926 [Verbose] > │     let v164 : (int32 []) = [|0; 1; 2; 3; 4; 5; 6; 7; 8; 9|]                 │

00:00:15 #927 [Verbose] > │     let v165 : (int32 []) = method1(v164)                                    │

00:00:15 #928 [Verbose] > │     let v166 : string = $"__expect / actual: %A{v163} / expected: %A{v165}"  │

00:00:15 #929 [Verbose] > │     let v167 : int32 = v163.Length                                           │

00:00:15 #930 [Verbose] > │     let v168 : int32 = v165.Length                                           │

00:00:15 #931 [Verbose] > │     let v169 : bool = v167 = v168                                            │

00:00:15 #932 [Verbose] > │     let v170 : bool = v169 <> true                                           │

00:00:15 #933 [Verbose] > │     let v173 : bool =                                                        │

00:00:15 #934 [Verbose] > │         if v170 then                                                         │

00:00:15 #935 [Verbose] > │             false                                                            │

00:00:15 #936 [Verbose] > │         else                                                                 │

00:00:15 #937 [Verbose] > │             let v171 : int32 = 0                                             │

00:00:15 #938 [Verbose] > │             method3(v163, v165, v171)                                        │

00:00:15 #939 [Verbose] > │     let v174 : bool = v173 = false                                           │

00:00:15 #940 [Verbose] > │     if v174 then                                                             │

00:00:15 #941 [Verbose] > │         failwith<unit> v166                                                  │

00:00:15 #942 [Verbose] > │ method0()                                                                    │

00:00:15 #943 [Verbose] > │                                                                              │

00:00:15 #944 [Verbose] > │                                                                              │

00:00:15 #945 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:15 #946 [Verbose] >

00:00:15 #947 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────

00:00:15 #948 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮

00:00:15 #949 [Verbose] > │ ## take_while                                                                │

00:00:15 #950 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:15 #951 [Verbose] >

00:00:15 #952 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:15 #953 [Verbose] > inl take_while cond seq =

00:00:15 #954 [Verbose] >     inl rec loop acc i =

00:00:15 #955 [Verbose] >         match seq i with

00:00:15 #956 [Verbose] >         | Some st when cond st i => loop (st :: acc) (i + 1)

00:00:15 #957 [Verbose] >         | _ => acc |> listm.rev

00:00:15 #958 [Verbose] >     loop [[]] 0

00:00:15 #959 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0902-5763-6323-66f670ea7eb7\main.spi

00:00:15 #960 [Verbose] >

00:00:15 #961 [Verbose] > ╭─[ 160.44ms - stdout ]────────────────────────────────────────────────────────╮

00:00:15 #962 [Verbose] > │ ()                                                                           │

00:00:15 #963 [Verbose] > │                                                                              │

00:00:15 #964 [Verbose] > │                                                                              │

00:00:15 #965 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:15 #966 [Verbose] >

00:00:15 #967 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:15 #968 [Verbose] > // // test

00:00:15 #969 [Verbose] >

00:00:15 #970 [Verbose] > listm.init 10i32 id

00:00:15 #971 [Verbose] > |> from_list

00:00:15 #972 [Verbose] > |> take_while (fun n (_ : i32) => n < 5)

00:00:15 #973 [Verbose] > |> listm'.sum

00:00:15 #974 [Verbose] > |> _equal 10

00:00:15 #975 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0902-5779-7913-79f6c7bd5bbb\main.spi

00:00:15 #976 [Verbose] >

00:00:15 #977 [Verbose] > ╭─[ 141.55ms - stdout ]────────────────────────────────────────────────────────╮

00:00:15 #978 [Verbose] > │ let rec method0 () : unit =                                                  │

00:00:15 #979 [Verbose] > │     let v0 : string = $"__expect / actual: %A{10} / expected: %A{10}"        │

00:00:15 #980 [Verbose] > │     ()                                                                       │

00:00:15 #981 [Verbose] > │ method0()                                                                    │

00:00:15 #982 [Verbose] > │                                                                              │

00:00:15 #983 [Verbose] > │                                                                              │

00:00:15 #984 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:15 #985 [Verbose] >

00:00:15 #986 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:15 #987 [Verbose] > // // test

00:00:15 #988 [Verbose] >

00:00:15 #989 [Verbose] > stream.new_finite_stream print_and_return 10i32

00:00:15 #990 [Verbose] > |> flip stream.try_item

00:00:15 #991 [Verbose] > |> take_while (fun n (_ : i32) => n < 5)

00:00:15 #992 [Verbose] > |> listm'.sum

00:00:15 #993 [Verbose] > |> _equal 10

00:00:15 #994 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0902-5793-9369-9666b301d8d8\main.spi

00:00:15 #995 [Verbose] >

00:00:15 #996 [Verbose] > ╭─[ 238.76ms - stdout ]────────────────────────────────────────────────────────╮

00:00:15 #997 [Verbose] > │ let rec method0 () : unit =                                                  │

00:00:15 #998 [Verbose] > │     printfn $"print_and_return / x: {0}"                                     │

00:00:15 #999 [Verbose] > │     printfn $"print_and_return / x: {1}"                                     │

00:00:15 #1000 [Verbose] > │     printfn $"print_and_return / x: {1}"                                     │

00:00:15 #1001 [Verbose] > │     printfn $"print_and_return / x: {2}"                                     │

00:00:15 #1002 [Verbose] > │     printfn $"print_and_return / x: {1}"                                     │

00:00:15 #1003 [Verbose] > │     printfn $"print_and_return / x: {2}"                                     │

00:00:15 #1004 [Verbose] > │     printfn $"print_and_return / x: {3}"                                     │

00:00:15 #1005 [Verbose] > │     printfn $"print_and_return / x: {1}"                                     │

00:00:15 #1006 [Verbose] > │     printfn $"print_and_return / x: {2}"                                     │

00:00:15 #1007 [Verbose] > │     printfn $"print_and_return / x: {3}"                                     │

00:00:15 #1008 [Verbose] > │     printfn $"print_and_return / x: {4}"                                     │

00:00:15 #1009 [Verbose] > │     printfn $"print_and_return / x: {1}"                                     │

00:00:15 #1010 [Verbose] > │     printfn $"print_and_return / x: {2}"                                     │

00:00:15 #1011 [Verbose] > │     printfn $"print_and_return / x: {3}"                                     │

00:00:15 #1012 [Verbose] > │     printfn $"print_and_return / x: {4}"                                     │

00:00:15 #1013 [Verbose] > │     printfn $"print_and_return / x: {5}"                                     │

00:00:15 #1014 [Verbose] > │     let v0 : string = $"__expect / actual: %A{10} / expected: %A{10}"        │

00:00:15 #1015 [Verbose] > │     ()                                                                       │

00:00:15 #1016 [Verbose] > │ method0()                                                                    │

00:00:15 #1017 [Verbose] > │                                                                              │

00:00:15 #1018 [Verbose] > │ print_and_return / x: 0                                                      │

00:00:15 #1019 [Verbose] > │ print_and_return / x: 1                                                      │

00:00:15 #1020 [Verbose] > │ print_and_return / x: 1                                                      │

00:00:15 #1021 [Verbose] > │ print_and_return / x: 2                                                      │

00:00:15 #1022 [Verbose] > │ print_and_return / x: 1                                                      │

00:00:15 #1023 [Verbose] > │ print_and_return / x: 2                                                      │

00:00:15 #1024 [Verbose] > │ print_and_return / x: 3                                                      │

00:00:15 #1025 [Verbose] > │ print_and_return / x: 1                                                      │

00:00:15 #1026 [Verbose] > │ print_and_return / x: 2                                                      │

00:00:15 #1027 [Verbose] > │ print_and_return / x: 3                                                      │

00:00:15 #1028 [Verbose] > │ print_and_return / x: 4                                                      │

00:00:15 #1029 [Verbose] > │ print_and_return / x: 1                                                      │

00:00:15 #1030 [Verbose] > │ print_and_return / x: 2                                                      │

00:00:15 #1031 [Verbose] > │ print_and_return / x: 3                                                      │

00:00:15 #1032 [Verbose] > │ print_and_return / x: 4                                                      │

00:00:15 #1033 [Verbose] > │ print_and_return / x: 5                                                      │

00:00:15 #1034 [Verbose] > │                                                                              │

00:00:15 #1035 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:15 #1036 [Verbose] >

00:00:15 #1037 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────

00:00:15 #1038 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮

00:00:15 #1039 [Verbose] > │ ## take_while_                                                               │

00:00:15 #1040 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:15 #1041 [Verbose] >

00:00:15 #1042 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:15 #1043 [Verbose] > inl take_while_ cond seq =

00:00:15 #1044 [Verbose] >     let rec loop acc i =

00:00:15 #1045 [Verbose] >         match seq i with

00:00:15 #1046 [Verbose] >         | Some st when cond st i => loop (st :: acc) (i + 1)

00:00:15 #1047 [Verbose] >         | _ => acc |> listm.rev

00:00:15 #1048 [Verbose] >     loop [[]] 0

00:00:15 #1049 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0902-5819-1939-1bff45ccf21a\main.spi

00:00:15 #1050 [Verbose] >

00:00:15 #1051 [Verbose] > ╭─[ 161.27ms - stdout ]────────────────────────────────────────────────────────╮

00:00:15 #1052 [Verbose] > │ ()                                                                           │

00:00:15 #1053 [Verbose] > │                                                                              │

00:00:15 #1054 [Verbose] > │                                                                              │

00:00:15 #1055 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:15 #1056 [Verbose] >

00:00:15 #1057 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:15 #1058 [Verbose] > // // test

00:00:15 #1059 [Verbose] >

00:00:15 #1060 [Verbose] > stream.new_infinite_stream_ print_and_return

00:00:15 #1061 [Verbose] > |> flip stream.try_item

00:00:15 #1062 [Verbose] > |> take_while_ (fun n (_ : i32) => n < 5i32)

00:00:15 #1063 [Verbose] > |> listm'.sum

00:00:15 #1064 [Verbose] > |> _equal 10

00:00:15 #1065 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0902-5835-3577-34fbe30cb31d\main.spi

00:00:16 #1066 [Verbose] >

00:00:16 #1067 [Verbose] > ╭─[ 297.47ms - stdout ]────────────────────────────────────────────────────────╮

00:00:16 #1068 [Verbose] > │ type UH0 =                                                                   │

00:00:16 #1069 [Verbose] > │     | UH0_0 of int32 * (unit -> UH0)                                         │

00:00:16 #1070 [Verbose] > │     | UH0_1                                                                  │

00:00:16 #1071 [Verbose] > │ and UH1 =                                                                    │

00:00:16 #1072 [Verbose] > │     | UH1_0 of int32 * UH1                                                   │

00:00:16 #1073 [Verbose] > │     | UH1_1                                                                  │

00:00:16 #1074 [Verbose] > │ and [<Struct>] US0 =                                                         │

00:00:16 #1075 [Verbose] > │     | US0_0                                                                  │

00:00:16 #1076 [Verbose] > │     | US0_1 of f1_0 : int32                                                  │

00:00:16 #1077 [Verbose] > │ let rec closure0 (v0 : int32) () : UH0 =                                     │

00:00:16 #1078 [Verbose] > │     let v1 : int32 = v0 + 1                                                  │

00:00:16 #1079 [Verbose] > │     method1(v1)                                                              │

00:00:16 #1080 [Verbose] > │ and method1 (v0 : int32) : UH0 =                                             │

00:00:16 #1081 [Verbose] > │     printfn $"print_and_return / x: {v0}"                                    │

00:00:16 #1082 [Verbose] > │     let v1 : (unit -> UH0) = closure0(v0)                                    │

00:00:16 #1083 [Verbose] > │     UH0_0(v0, v1)                                                            │

00:00:16 #1084 [Verbose] > │ and method3 (v0 : int32, v1 : UH0) : US0 =                                   │

00:00:16 #1085 [Verbose] > │     match v1 with                                                            │

00:00:16 #1086 [Verbose] > │     | UH0_0(v2, v3) -> (* StreamCons *)                                      │

00:00:16 #1087 [Verbose] > │         let v4 : bool = v0 <= 0                                              │

00:00:16 #1088 [Verbose] > │         if v4 then                                                           │

00:00:16 #1089 [Verbose] > │             US0_1(v2)                                                        │

00:00:16 #1090 [Verbose] > │         else                                                                 │

00:00:16 #1091 [Verbose] > │             let v6 : int32 = v0 - 1                                          │

00:00:16 #1092 [Verbose] > │             let v7 : UH0 = v3 ()                                             │

00:00:16 #1093 [Verbose] > │             method3(v6, v7)                                                  │

00:00:16 #1094 [Verbose] > │     | UH0_1 -> (* StreamNil *)                                               │

00:00:16 #1095 [Verbose] > │         US0_0                                                                │

00:00:16 #1096 [Verbose] > │ and method4 (v0 : UH1, v1 : UH1) : UH1 =                                     │

00:00:16 #1097 [Verbose] > │     match v0 with                                                            │

00:00:16 #1098 [Verbose] > │     | UH1_0(v2, v3) -> (* Cons *)                                            │

00:00:16 #1099 [Verbose] > │         let v4 : UH1 = UH1_0(v2, v1)                                         │

00:00:16 #1100 [Verbose] > │         method4(v3, v4)                                                      │

00:00:16 #1101 [Verbose] > │     | UH1_1 -> (* Nil *)                                                     │

00:00:16 #1102 [Verbose] > │         v1                                                                   │

00:00:16 #1103 [Verbose] > │ and method2 (v0 : UH0, v1 : UH1, v2 : int32) : UH1 =                         │

00:00:16 #1104 [Verbose] > │     let v3 : US0 = method3(v2, v0)                                           │

00:00:16 #1105 [Verbose] > │     match v3 with                                                            │

00:00:16 #1106 [Verbose] > │     | US0_1(v4) -> (* Some *)                                                │

00:00:16 #1107 [Verbose] > │         let v5 : bool = v4 < 5                                               │

00:00:16 #1108 [Verbose] > │         if v5 then                                                           │

00:00:16 #1109 [Verbose] > │             let v6 : UH1 = UH1_0(v4, v1)                                     │

00:00:16 #1110 [Verbose] > │             let v7 : int32 = v2 + 1                                          │

00:00:16 #1111 [Verbose] > │             method2(v0, v6, v7)                                              │

00:00:16 #1112 [Verbose] > │         else                                                                 │

00:00:16 #1113 [Verbose] > │             let v9 : UH1 = UH1_1                                             │

00:00:16 #1114 [Verbose] > │             method4(v1, v9)                                                  │

00:00:16 #1115 [Verbose] > │     | _ ->                                                                   │

00:00:16 #1116 [Verbose] > │         let v12 : UH1 = UH1_1                                                │

00:00:16 #1117 [Verbose] > │         method4(v1, v12)                                                     │

00:00:16 #1118 [Verbose] > │ and method5 (v0 : UH1, v1 : int32) : int32 =                                 │

00:00:16 #1119 [Verbose] > │     match v0 with                                                            │

00:00:16 #1120 [Verbose] > │     | UH1_0(v2, v3) -> (* Cons *)                                            │

00:00:16 #1121 [Verbose] > │         let v4 : int32 = v1 + v2                                             │

00:00:16 #1122 [Verbose] > │         method5(v3, v4)                                                      │

00:00:16 #1123 [Verbose] > │     | UH1_1 -> (* Nil *)                                                     │

00:00:16 #1124 [Verbose] > │         v1                                                                   │

00:00:16 #1125 [Verbose] > │ and method0 () : unit =                                                      │

00:00:16 #1126 [Verbose] > │     let v0 : int32 = 0                                                       │

00:00:16 #1127 [Verbose] > │     let v1 : UH0 = method1(v0)                                               │

00:00:16 #1128 [Verbose] > │     let v2 : UH1 = UH1_1                                                     │

00:00:16 #1129 [Verbose] > │     let v3 : int32 = 0                                                       │

00:00:16 #1130 [Verbose] > │     let v4 : UH1 = method2(v1, v2, v3)                                       │

00:00:16 #1131 [Verbose] > │     let v5 : int32 = 0                                                       │

00:00:16 #1132 [Verbose] > │     let v6 : int32 = method5(v4, v5)                                         │

00:00:16 #1133 [Verbose] > │     let v7 : string = $"__expect / actual: %A{v6} / expected: %A{10}"        │

00:00:16 #1134 [Verbose] > │     let v8 : bool = v6 = 10                                                  │

00:00:16 #1135 [Verbose] > │     let v9 : bool = v8 = false                                               │

00:00:16 #1136 [Verbose] > │     if v9 then                                                               │

00:00:16 #1137 [Verbose] > │         failwith<unit> v7                                                    │

00:00:16 #1138 [Verbose] > │ method0()                                                                    │

00:00:16 #1139 [Verbose] > │                                                                              │

00:00:16 #1140 [Verbose] > │ print_and_return / x: 0                                                      │

00:00:16 #1141 [Verbose] > │ print_and_return / x: 1                                                      │

00:00:16 #1142 [Verbose] > │ print_and_return / x: 1                                                      │

00:00:16 #1143 [Verbose] > │ print_and_return / x: 2                                                      │

00:00:16 #1144 [Verbose] > │ print_and_return / x: 1                                                      │

00:00:16 #1145 [Verbose] > │ print_and_return / x: 2                                                      │

00:00:16 #1146 [Verbose] > │ print_and_return / x: 3                                                      │

00:00:16 #1147 [Verbose] > │ print_and_return / x: 1                                                      │

00:00:16 #1148 [Verbose] > │ print_and_return / x: 2                                                      │

00:00:16 #1149 [Verbose] > │ print_and_return / x: 3                                                      │

00:00:16 #1150 [Verbose] > │ print_and_return / x: 4                                                      │

00:00:16 #1151 [Verbose] > │ print_and_return / x: 1                                                      │

00:00:16 #1152 [Verbose] > │ print_and_return / x: 2                                                      │

00:00:16 #1153 [Verbose] > │ print_and_return / x: 3                                                      │

00:00:16 #1154 [Verbose] > │ print_and_return / x: 4                                                      │

00:00:16 #1155 [Verbose] > │ print_and_return / x: 5                                                      │

00:00:16 #1156 [Verbose] > │                                                                              │

00:00:16 #1157 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:16 #1158 [Verbose] >

00:00:16 #1159 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:16 #1160 [Verbose] > // // test

00:00:16 #1161 [Verbose] >

00:00:16 #1162 [Verbose] > stream.new_infinite_stream_ print_and_return

00:00:16 #1163 [Verbose] > |> stream.memoize

00:00:16 #1164 [Verbose] > |> fun list =>

00:00:16 #1165 [Verbose] >     inl list = list ()

00:00:16 #1166 [Verbose] >     fun n =>

00:00:16 #1167 [Verbose] >         list |> stream.try_item n

00:00:16 #1168 [Verbose] > |> take_while_ (fun n (_ : i32) => n < 5i32)

00:00:16 #1169 [Verbose] > |> listm'.sum

00:00:16 #1170 [Verbose] > |> _equal 10

00:00:16 #1171 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0902-5869-6923-69b34528182f\main.spi

00:00:16 #1172 [Verbose] >

00:00:16 #1173 [Verbose] > ╭─[ 273.38ms - stdout ]────────────────────────────────────────────────────────╮

00:00:16 #1174 [Verbose] > │ type UH0 =                                                                   │

00:00:16 #1175 [Verbose] > │     | UH0_0 of int32 * (unit -> UH0)                                         │

00:00:16 #1176 [Verbose] > │     | UH0_1                                                                  │

00:00:16 #1177 [Verbose] > │ and [<Struct>] US0 =                                                         │

00:00:16 #1178 [Verbose] > │     | US0_0 of f0_0 : UH0                                                    │

00:00:16 #1179 [Verbose] > │     | US0_1 of f1_0 : (unit -> UH0)                                          │

00:00:16 #1180 [Verbose] > │ and Mut0 = {mutable l0 : US0}                                                │

00:00:16 #1181 [Verbose] > │ and UH1 =                                                                    │

00:00:16 #1182 [Verbose] > │     | UH1_0 of int32 * UH1                                                   │

00:00:16 #1183 [Verbose] > │     | UH1_1                                                                  │

00:00:16 #1184 [Verbose] > │ and [<Struct>] US1 =                                                         │

00:00:16 #1185 [Verbose] > │     | US1_0                                                                  │

00:00:16 #1186 [Verbose] > │     | US1_1 of f1_0 : int32                                                  │

00:00:16 #1187 [Verbose] > │ let rec closure0 (v0 : int32) () : UH0 =                                     │

00:00:16 #1188 [Verbose] > │     let v1 : int32 = v0 + 1                                                  │

00:00:16 #1189 [Verbose] > │     method1(v1)                                                              │

00:00:16 #1190 [Verbose] > │ and method1 (v0 : int32) : UH0 =                                             │

00:00:16 #1191 [Verbose] > │     printfn $"print_and_return / x: {v0}"                                    │

00:00:16 #1192 [Verbose] > │     let v1 : (unit -> UH0) = closure0(v0)                                    │

00:00:16 #1193 [Verbose] > │     UH0_0(v0, v1)                                                            │

00:00:16 #1194 [Verbose] > │ and closure1 (v0 : UH0) () : UH0 =                                           │

00:00:16 #1195 [Verbose] > │     v0                                                                       │

00:00:16 #1196 [Verbose] > │ and closure2 (v0 : UH0, v1 : Mut0) () : UH0 =                                │

00:00:16 #1197 [Verbose] > │     let v2 : US0 = v1.l0                                                     │

00:00:16 #1198 [Verbose] > │     match v2 with                                                            │

00:00:16 #1199 [Verbose] > │     | US0_0(v3) -> (* Computed *)                                            │

00:00:16 #1200 [Verbose] > │         v3                                                                   │

00:00:16 #1201 [Verbose] > │     | US0_1(v4) -> (* NotComputed *)                                         │

00:00:16 #1202 [Verbose] > │         let v5 : UH0 = v4 ()                                                 │

00:00:16 #1203 [Verbose] > │         let v12 : UH0 =                                                      │

00:00:16 #1204 [Verbose] > │             match v5 with                                                    │

00:00:16 #1205 [Verbose] > │             | UH0_0(v7, v8) -> (* StreamCons *)                              │

00:00:16 #1206 [Verbose] > │                 let v9 : (unit -> UH0) = method2(v0, v8)                     │

00:00:16 #1207 [Verbose] > │                 UH0_0(v7, v9)                                                │

00:00:16 #1208 [Verbose] > │             | UH0_1 -> (* StreamNil *)                                       │

00:00:16 #1209 [Verbose] > │                 UH0_1                                                        │

00:00:16 #1210 [Verbose] > │         let v13 : US0 = US0_0(v12)                                           │

00:00:16 #1211 [Verbose] > │         v1.l0 <- v13                                                         │

00:00:16 #1212 [Verbose] > │         v12                                                                  │

00:00:16 #1213 [Verbose] > │ and method2 (v0 : UH0, v1 : (unit -> UH0)) : (unit -> UH0) =                 │

00:00:16 #1214 [Verbose] > │     let v2 : US0 = US0_1(v1)                                                 │

00:00:16 #1215 [Verbose] > │     let v3 : Mut0 = {l0 = v2} : Mut0                                         │

00:00:16 #1216 [Verbose] > │     closure2(v0, v3)                                                         │

00:00:16 #1217 [Verbose] > │ and method4 (v0 : int32, v1 : UH0) : US1 =                                   │

00:00:16 #1218 [Verbose] > │     match v1 with                                                            │

00:00:16 #1219 [Verbose] > │     | UH0_0(v2, v3) -> (* StreamCons *)                                      │

00:00:16 #1220 [Verbose] > │         let v4 : bool = v0 <= 0                                              │

00:00:16 #1221 [Verbose] > │         if v4 then                                                           │

00:00:16 #1222 [Verbose] > │             US1_1(v2)                                                        │

00:00:16 #1223 [Verbose] > │         else                                                                 │

00:00:16 #1224 [Verbose] > │             let v6 : int32 = v0 - 1                                          │

00:00:16 #1225 [Verbose] > │             let v7 : UH0 = v3 ()                                             │

00:00:16 #1226 [Verbose] > │             method4(v6, v7)                                                  │

00:00:16 #1227 [Verbose] > │     | UH0_1 -> (* StreamNil *)                                               │

00:00:16 #1228 [Verbose] > │         US1_0                                                                │

00:00:16 #1229 [Verbose] > │ and method5 (v0 : UH1, v1 : UH1) : UH1 =                                     │

00:00:16 #1230 [Verbose] > │     match v0 with                                                            │

00:00:16 #1231 [Verbose] > │     | UH1_0(v2, v3) -> (* Cons *)                                            │

00:00:16 #1232 [Verbose] > │         let v4 : UH1 = UH1_0(v2, v1)                                         │

00:00:16 #1233 [Verbose] > │         method5(v3, v4)                                                      │

00:00:16 #1234 [Verbose] > │     | UH1_1 -> (* Nil *)                                                     │

00:00:16 #1235 [Verbose] > │         v1                                                                   │

00:00:16 #1236 [Verbose] > │ and method3 (v0 : UH0, v1 : UH1, v2 : int32) : UH1 =                         │

00:00:16 #1237 [Verbose] > │     let v3 : US1 = method4(v2, v0)                                           │

00:00:16 #1238 [Verbose] > │     match v3 with                                                            │

00:00:16 #1239 [Verbose] > │     | US1_1(v4) -> (* Some *)                                                │

00:00:16 #1240 [Verbose] > │         let v5 : bool = v4 < 5                                               │

00:00:16 #1241 [Verbose] > │         if v5 then                                                           │

00:00:16 #1242 [Verbose] > │             let v6 : UH1 = UH1_0(v4, v1)                                     │

00:00:16 #1243 [Verbose] > │             let v7 : int32 = v2 + 1                                          │

00:00:16 #1244 [Verbose] > │             method3(v0, v6, v7)                                              │

00:00:16 #1245 [Verbose] > │         else                                                                 │

00:00:16 #1246 [Verbose] > │             let v9 : UH1 = UH1_1                                             │

00:00:16 #1247 [Verbose] > │             method5(v1, v9)                                                  │

00:00:16 #1248 [Verbose] > │     | _ ->                                                                   │

00:00:16 #1249 [Verbose] > │         let v12 : UH1 = UH1_1                                                │

00:00:16 #1250 [Verbose] > │         method5(v1, v12)                                                     │

00:00:16 #1251 [Verbose] > │ and method6 (v0 : UH1, v1 : int32) : int32 =                                 │

00:00:16 #1252 [Verbose] > │     match v0 with                                                            │

00:00:16 #1253 [Verbose] > │     | UH1_0(v2, v3) -> (* Cons *)                                            │

00:00:16 #1254 [Verbose] > │         let v4 : int32 = v1 + v2                                             │

00:00:16 #1255 [Verbose] > │         method6(v3, v4)                                                      │

00:00:16 #1256 [Verbose] > │     | UH1_1 -> (* Nil *)                                                     │

00:00:16 #1257 [Verbose] > │         v1                                                                   │

00:00:16 #1258 [Verbose] > │ and method0 () : unit =                                                      │

00:00:16 #1259 [Verbose] > │     let v0 : int32 = 0                                                       │

00:00:16 #1260 [Verbose] > │     let v1 : UH0 = method1(v0)                                               │

00:00:16 #1261 [Verbose] > │     let v2 : (unit -> UH0) = closure1(v1)                                    │

00:00:16 #1262 [Verbose] > │     let v3 : (unit -> UH0) = method2(v1, v2)                                 │

00:00:16 #1263 [Verbose] > │     let v4 : UH0 = v3 ()                                                     │

00:00:16 #1264 [Verbose] > │     let v5 : UH1 = UH1_1                                                     │

00:00:16 #1265 [Verbose] > │     let v6 : int32 = 0                                                       │

00:00:16 #1266 [Verbose] > │     let v7 : UH1 = method3(v4, v5, v6)                                       │

00:00:16 #1267 [Verbose] > │     let v8 : int32 = 0                                                       │

00:00:16 #1268 [Verbose] > │     let v9 : int32 = method6(v7, v8)                                         │

00:00:16 #1269 [Verbose] > │     let v10 : string = $"__expect / actual: %A{v9} / expected: %A{10}"       │

00:00:16 #1270 [Verbose] > │     let v11 : bool = v9 = 10                                                 │

00:00:16 #1271 [Verbose] > │     let v12 : bool = v11 = false                                             │

00:00:16 #1272 [Verbose] > │     if v12 then                                                              │

00:00:16 #1273 [Verbose] > │         failwith<unit> v10                                                   │

00:00:16 #1274 [Verbose] > │ method0()                                                                    │

00:00:16 #1275 [Verbose] > │                                                                              │

00:00:16 #1276 [Verbose] > │ print_and_return / x: 0                                                      │

00:00:16 #1277 [Verbose] > │ print_and_return / x: 1                                                      │

00:00:16 #1278 [Verbose] > │ print_and_return / x: 2                                                      │

00:00:16 #1279 [Verbose] > │ print_and_return / x: 3                                                      │

00:00:16 #1280 [Verbose] > │ print_and_return / x: 4                                                      │

00:00:16 #1281 [Verbose] > │ print_and_return / x: 5                                                      │

00:00:16 #1282 [Verbose] > │                                                                              │

00:00:16 #1283 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:16 #1284 [Verbose] >

00:00:16 #1285 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:16 #1286 [Verbose] > // // test

00:00:16 #1287 [Verbose] >

00:00:16 #1288 [Verbose] > stream.new_finite_stream print_and_return 10i32

00:00:16 #1289 [Verbose] > |> stream.memoize

00:00:16 #1290 [Verbose] > |> fun list =>

00:00:16 #1291 [Verbose] >     inl list = list ()

00:00:16 #1292 [Verbose] >     fun n =>

00:00:16 #1293 [Verbose] >         list |> stream.try_item n

00:00:16 #1294 [Verbose] > |> take_while_ (fun n (_ : i32) => n < 5)

00:00:16 #1295 [Verbose] > |> listm'.sum

00:00:16 #1296 [Verbose] > |> _equal 10

00:00:16 #1297 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0902-5900-0073-01e6f1b58014\main.spi

00:00:16 #1298 [Verbose] >

00:00:16 #1299 [Verbose] > ╭─[ 337.27ms - stdout ]────────────────────────────────────────────────────────╮

00:00:16 #1300 [Verbose] > │ type UH0 =                                                                   │

00:00:16 #1301 [Verbose] > │     | UH0_0 of int32 * (unit -> UH0)                                         │

00:00:16 #1302 [Verbose] > │     | UH0_1                                                                  │

00:00:16 #1303 [Verbose] > │ and [<Struct>] US0 =                                                         │

00:00:16 #1304 [Verbose] > │     | US0_0 of f0_0 : UH0                                                    │

00:00:16 #1305 [Verbose] > │     | US0_1 of f1_0 : (unit -> UH0)                                          │

00:00:16 #1306 [Verbose] > │ and Mut0 = {mutable l0 : US0}                                                │

00:00:16 #1307 [Verbose] > │ and UH1 =                                                                    │

00:00:16 #1308 [Verbose] > │     | UH1_0 of int32 * UH1                                                   │

00:00:16 #1309 [Verbose] > │     | UH1_1                                                                  │

00:00:16 #1310 [Verbose] > │ and [<Struct>] US1 =                                                         │

00:00:16 #1311 [Verbose] > │     | US1_0                                                                  │

00:00:16 #1312 [Verbose] > │     | US1_1 of f1_0 : int32                                                  │

00:00:16 #1313 [Verbose] > │ let rec closure10 () () : UH0 =                                              │

00:00:16 #1314 [Verbose] > │     UH0_1                                                                    │

00:00:16 #1315 [Verbose] > │ and closure9 () () : UH0 =                                                   │

00:00:16 #1316 [Verbose] > │     printfn $"print_and_return / x: {9}"                                     │

00:00:16 #1317 [Verbose] > │     let v0 : (unit -> UH0) = closure10()                                     │

00:00:16 #1318 [Verbose] > │     UH0_0(9, v0)                                                             │

00:00:16 #1319 [Verbose] > │ and closure8 () () : UH0 =                                                   │

00:00:16 #1320 [Verbose] > │     printfn $"print_and_return / x: {8}"                                     │

00:00:16 #1321 [Verbose] > │     let v0 : (unit -> UH0) = closure9()                                      │

00:00:16 #1322 [Verbose] > │     UH0_0(8, v0)                                                             │

00:00:16 #1323 [Verbose] > │ and closure7 () () : UH0 =                                                   │

00:00:16 #1324 [Verbose] > │     printfn $"print_and_return / x: {7}"                                     │

00:00:16 #1325 [Verbose] > │     let v0 : (unit -> UH0) = closure8()                                      │

00:00:16 #1326 [Verbose] > │     UH0_0(7, v0)                                                             │

00:00:16 #1327 [Verbose] > │ and closure6 () () : UH0 =                                                   │

00:00:16 #1328 [Verbose] > │     printfn $"print_and_return / x: {6}"                                     │

00:00:16 #1329 [Verbose] > │     let v0 : (unit -> UH0) = closure7()                                      │

00:00:16 #1330 [Verbose] > │     UH0_0(6, v0)                                                             │

00:00:16 #1331 [Verbose] > │ and closure5 () () : UH0 =                                                   │

00:00:16 #1332 [Verbose] > │     printfn $"print_and_return / x: {5}"                                     │

00:00:16 #1333 [Verbose] > │     let v0 : (unit -> UH0) = closure6()                                      │

00:00:16 #1334 [Verbose] > │     UH0_0(5, v0)                                                             │

00:00:16 #1335 [Verbose] > │ and closure4 () () : UH0 =                                                   │

00:00:16 #1336 [Verbose] > │     printfn $"print_and_return / x: {4}"                                     │

00:00:16 #1337 [Verbose] > │     let v0 : (unit -> UH0) = closure5()                                      │

00:00:16 #1338 [Verbose] > │     UH0_0(4, v0)                                                             │

00:00:16 #1339 [Verbose] > │ and closure3 () () : UH0 =                                                   │

00:00:16 #1340 [Verbose] > │     printfn $"print_and_return / x: {3}"                                     │

00:00:16 #1341 [Verbose] > │     let v0 : (unit -> UH0) = closure4()                                      │

00:00:16 #1342 [Verbose] > │     UH0_0(3, v0)                                                             │

00:00:16 #1343 [Verbose] > │ and closure2 () () : UH0 =                                                   │

00:00:16 #1344 [Verbose] > │     printfn $"print_and_return / x: {2}"                                     │

00:00:16 #1345 [Verbose] > │     let v0 : (unit -> UH0) = closure3()                                      │

00:00:16 #1346 [Verbose] > │     UH0_0(2, v0)                                                             │

00:00:16 #1347 [Verbose] > │ and closure1 () () : UH0 =                                                   │

00:00:16 #1348 [Verbose] > │     printfn $"print_and_return / x: {1}"                                     │

00:00:16 #1349 [Verbose] > │     let v0 : (unit -> UH0) = closure2()                                      │

00:00:16 #1350 [Verbose] > │     UH0_0(1, v0)                                                             │

00:00:16 #1351 [Verbose] > │ and closure0 () () : UH0 =                                                   │

00:00:16 #1352 [Verbose] > │     let v0 : (unit -> UH0) = closure1()                                      │

00:00:16 #1353 [Verbose] > │     UH0_0(0, v0)                                                             │

00:00:16 #1354 [Verbose] > │ and closure11 (v0 : Mut0) () : UH0 =                                         │

00:00:16 #1355 [Verbose] > │     let v1 : US0 = v0.l0                                                     │

00:00:16 #1356 [Verbose] > │     match v1 with                                                            │

00:00:16 #1357 [Verbose] > │     | US0_0(v2) -> (* Computed *)                                            │

00:00:16 #1358 [Verbose] > │         v2                                                                   │

00:00:16 #1359 [Verbose] > │     | US0_1(v3) -> (* NotComputed *)                                         │

00:00:16 #1360 [Verbose] > │         let v4 : UH0 = v3 ()                                                 │

00:00:16 #1361 [Verbose] > │         let v13 : UH0 =                                                      │

00:00:16 #1362 [Verbose] > │             match v4 with                                                    │

00:00:16 #1363 [Verbose] > │             | UH0_0(v6, v7) -> (* StreamCons *)                              │

00:00:16 #1364 [Verbose] > │                 let v8 : US0 = US0_1(v7)                                     │

00:00:16 #1365 [Verbose] > │                 let v9 : Mut0 = {l0 = v8} : Mut0                             │

00:00:16 #1366 [Verbose] > │                 let v10 : (unit -> UH0) = closure11(v9)                      │

00:00:16 #1367 [Verbose] > │                 UH0_0(v6, v10)                                               │

00:00:16 #1368 [Verbose] > │             | UH0_1 -> (* StreamNil *)                                       │

00:00:16 #1369 [Verbose] > │                 UH0_1                                                        │

00:00:16 #1370 [Verbose] > │         let v14 : US0 = US0_0(v13)                                           │

00:00:16 #1371 [Verbose] > │         v0.l0 <- v14                                                         │

00:00:16 #1372 [Verbose] > │         v13                                                                  │

00:00:16 #1373 [Verbose] > │ and method2 (v0 : int32, v1 : UH0) : US1 =                                   │

00:00:16 #1374 [Verbose] > │     match v1 with                                                            │

00:00:16 #1375 [Verbose] > │     | UH0_0(v2, v3) -> (* StreamCons *)                                      │

00:00:16 #1376 [Verbose] > │         let v4 : bool = v0 <= 0                                              │

00:00:16 #1377 [Verbose] > │         if v4 then                                                           │

00:00:16 #1378 [Verbose] > │             US1_1(v2)                                                        │

00:00:16 #1379 [Verbose] > │         else                                                                 │

00:00:16 #1380 [Verbose] > │             let v6 : int32 = v0 - 1                                          │

00:00:16 #1381 [Verbose] > │             let v7 : UH0 = v3 ()                                             │

00:00:16 #1382 [Verbose] > │             method2(v6, v7)                                                  │

00:00:16 #1383 [Verbose] > │     | UH0_1 -> (* StreamNil *)                                               │

00:00:16 #1384 [Verbose] > │         US1_0                                                                │

00:00:16 #1385 [Verbose] > │ and method3 (v0 : UH1, v1 : UH1) : UH1 =                                     │

00:00:16 #1386 [Verbose] > │     match v0 with                                                            │

00:00:16 #1387 [Verbose] > │     | UH1_0(v2, v3) -> (* Cons *)                                            │

00:00:16 #1388 [Verbose] > │         let v4 : UH1 = UH1_0(v2, v1)                                         │

00:00:16 #1389 [Verbose] > │         method3(v3, v4)                                                      │

00:00:16 #1390 [Verbose] > │     | UH1_1 -> (* Nil *)                                                     │

00:00:16 #1391 [Verbose] > │         v1                                                                   │

00:00:16 #1392 [Verbose] > │ and method1 (v0 : UH0, v1 : UH1, v2 : int32) : UH1 =                         │

00:00:16 #1393 [Verbose] > │     let v3 : US1 = method2(v2, v0)                                           │

00:00:16 #1394 [Verbose] > │     match v3 with                                                            │

00:00:16 #1395 [Verbose] > │     | US1_1(v4) -> (* Some *)                                                │

00:00:16 #1396 [Verbose] > │         let v5 : bool = v4 < 5                                               │

00:00:16 #1397 [Verbose] > │         if v5 then                                                           │

00:00:16 #1398 [Verbose] > │             let v6 : UH1 = UH1_0(v4, v1)                                     │

00:00:16 #1399 [Verbose] > │             let v7 : int32 = v2 + 1                                          │

00:00:16 #1400 [Verbose] > │             method1(v0, v6, v7)                                              │

00:00:16 #1401 [Verbose] > │         else                                                                 │

00:00:16 #1402 [Verbose] > │             let v9 : UH1 = UH1_1                                             │

00:00:16 #1403 [Verbose] > │             method3(v1, v9)                                                  │

00:00:16 #1404 [Verbose] > │     | _ ->                                                                   │

00:00:16 #1405 [Verbose] > │         let v12 : UH1 = UH1_1                                                │

00:00:16 #1406 [Verbose] > │         method3(v1, v12)                                                     │

00:00:16 #1407 [Verbose] > │ and method4 (v0 : UH1, v1 : int32) : int32 =                                 │

00:00:16 #1408 [Verbose] > │     match v0 with                                                            │

00:00:16 #1409 [Verbose] > │     | UH1_0(v2, v3) -> (* Cons *)                                            │

00:00:16 #1410 [Verbose] > │         let v4 : int32 = v1 + v2                                             │

00:00:16 #1411 [Verbose] > │         method4(v3, v4)                                                      │

00:00:16 #1412 [Verbose] > │     | UH1_1 -> (* Nil *)                                                     │

00:00:16 #1413 [Verbose] > │         v1                                                                   │

00:00:16 #1414 [Verbose] > │ and method0 () : unit =                                                      │

00:00:16 #1415 [Verbose] > │     printfn $"print_and_return / x: {0}"                                     │

00:00:16 #1416 [Verbose] > │     let v0 : (unit -> UH0) = closure0()                                      │

00:00:16 #1417 [Verbose] > │     let v1 : US0 = US0_1(v0)                                                 │

00:00:16 #1418 [Verbose] > │     let v2 : Mut0 = {l0 = v1} : Mut0                                         │

00:00:16 #1419 [Verbose] > │     let v3 : US0 = v2.l0                                                     │

00:00:16 #1420 [Verbose] > │     let v18 : UH0 =                                                          │

00:00:16 #1421 [Verbose] > │         match v3 with                                                        │

00:00:16 #1422 [Verbose] > │         | US0_0(v4) -> (* Computed *)                                        │

00:00:16 #1423 [Verbose] > │             v4                                                               │

00:00:16 #1424 [Verbose] > │         | US0_1(v5) -> (* NotComputed *)                                     │

00:00:16 #1425 [Verbose] > │             let v6 : UH0 = v5 ()                                             │

00:00:16 #1426 [Verbose] > │             let v15 : UH0 =                                                  │

00:00:16 #1427 [Verbose] > │                 match v6 with                                                │

00:00:16 #1428 [Verbose] > │                 | UH0_0(v8, v9) -> (* StreamCons *)                          │

00:00:16 #1429 [Verbose] > │                     let v10 : US0 = US0_1(v9)                                │

00:00:16 #1430 [Verbose] > │                     let v11 : Mut0 = {l0 = v10} : Mut0                       │

00:00:16 #1431 [Verbose] > │                     let v12 : (unit -> UH0) = closure11(v11)                 │

00:00:16 #1432 [Verbose] > │                     UH0_0(v8, v12)                                           │

00:00:16 #1433 [Verbose] > │                 | UH0_1 -> (* StreamNil *)                                   │

00:00:16 #1434 [Verbose] > │                     UH0_1                                                    │

00:00:16 #1435 [Verbose] > │             let v16 : US0 = US0_0(v15)                                       │

00:00:16 #1436 [Verbose] > │             v2.l0 <- v16                                                     │

00:00:16 #1437 [Verbose] > │             v15                                                              │

00:00:16 #1438 [Verbose] > │     let v19 : UH1 = UH1_1                                                    │

00:00:16 #1439 [Verbose] > │     let v20 : int32 = 0                                                      │

00:00:16 #1440 [Verbose] > │     let v21 : UH1 = method1(v18, v19, v20)                                   │

00:00:16 #1441 [Verbose] > │     let v22 : int32 = 0                                                      │

00:00:16 #1442 [Verbose] > │     let v23 : int32 = method4(v21, v22)                                      │

00:00:16 #1443 [Verbose] > │     let v24 : string = $"__expect / actual: %A{v23} / expected: %A{10}"      │

00:00:16 #1444 [Verbose] > │     let v25 : bool = v23 = 10                                                │

00:00:16 #1445 [Verbose] > │     let v26 : bool = v25 = false                                             │

00:00:16 #1446 [Verbose] > │     if v26 then                                                              │

00:00:16 #1447 [Verbose] > │         failwith<unit> v24                                                   │

00:00:16 #1448 [Verbose] > │ method0()                                                                    │

00:00:16 #1449 [Verbose] > │                                                                              │

00:00:16 #1450 [Verbose] > │ print_and_return / x: 0                                                      │

00:00:16 #1451 [Verbose] > │ print_and_return / x: 1                                                      │

00:00:16 #1452 [Verbose] > │ print_and_return / x: 2                                                      │

00:00:16 #1453 [Verbose] > │ print_and_return / x: 3                                                      │

00:00:16 #1454 [Verbose] > │ print_and_return / x: 4                                                      │

00:00:16 #1455 [Verbose] > │ print_and_return / x: 5                                                      │

00:00:16 #1456 [Verbose] > │                                                                              │

00:00:16 #1457 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:16 #1458 [Verbose] >

00:00:16 #1459 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────

00:00:16 #1460 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮

00:00:16 #1461 [Verbose] > │ ## memoize                                                                   │

00:00:16 #1462 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:16 #1463 [Verbose] >

00:00:16 #1464 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:16 #1465 [Verbose] > inl memoize seq =

00:00:16 #1466 [Verbose] >     inl state = mut [[]]

00:00:16 #1467 [Verbose] >     fun n =>

00:00:16 #1468 [Verbose] >         match *state |> listm'.try_find (fun (n', _) => n' = n) with

00:00:16 #1469 [Verbose] >         | Some (_, v) => v

00:00:16 #1470 [Verbose] >         | None =>

00:00:16 #1471 [Verbose] >             inl new_state = seq n

00:00:16 #1472 [Verbose] >             state <- (n, new_state) :: *state

00:00:16 #1473 [Verbose] >             new_state

00:00:16 #1474 [Verbose] >

00:00:16 #1475 [Verbose] > inl memoize_ seq =

00:00:16 #1476 [Verbose] >     inl state = mut [[]]

00:00:16 #1477 [Verbose] >     fun n =>

00:00:16 #1478 [Verbose] >         match *state |> listm'.try_find_ (fun (n', _) => n' = n) with

00:00:16 #1479 [Verbose] >         | Some (_, v) => v

00:00:16 #1480 [Verbose] >         | None =>

00:00:16 #1481 [Verbose] >             inl new_state = seq n

00:00:16 #1482 [Verbose] >             state <- (n, new_state) :: *state

00:00:16 #1483 [Verbose] >             new_state

00:00:17 #1484 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0902-5941-4114-4020b5c47d11\main.spi

00:00:17 #1485 [Verbose] >

00:00:17 #1486 [Verbose] > ╭─[ 418.92ms - stdout ]────────────────────────────────────────────────────────╮

00:00:17 #1487 [Verbose] > │ ()                                                                           │

00:00:17 #1488 [Verbose] > │                                                                              │

00:00:17 #1489 [Verbose] > │                                                                              │

00:00:17 #1490 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:17 #1491 [Verbose] >

00:00:17 #1492 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:17 #1493 [Verbose] > // // test

00:00:17 #1494 [Verbose] >

00:00:17 #1495 [Verbose] > inl seq =

00:00:17 #1496 [Verbose] >     fun n =>

00:00:17 #1497 [Verbose] >         n |> print_and_return |> Some

00:00:17 #1498 [Verbose] >     |> memoize_

00:00:17 #1499 [Verbose] >

00:00:17 #1500 [Verbose] > seq

00:00:17 #1501 [Verbose] > |> take_while_ (fun n (_ : i32) => n < 5)

00:00:17 #1502 [Verbose] > |> listm'.sum

00:00:17 #1503 [Verbose] > |> _equal 10

00:00:17 #1504 [Verbose] >

00:00:17 #1505 [Verbose] > seq

00:00:17 #1506 [Verbose] > |> take_while_ (fun n _ => n < 5)

00:00:17 #1507 [Verbose] > |> listm'.sum

00:00:17 #1508 [Verbose] > |> _equal 10

00:00:17 #1509 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0902-5983-8311-80eb9cbae888\main.spi

00:00:17 #1510 [Verbose] >

00:00:17 #1511 [Verbose] > ╭─[ 342.87ms - stdout ]────────────────────────────────────────────────────────╮

00:00:17 #1512 [Verbose] > │ type [<Struct>] US0 =                                                        │

00:00:17 #1513 [Verbose] > │     | US0_0                                                                  │

00:00:17 #1514 [Verbose] > │     | US0_1 of f1_0 : int32                                                  │

00:00:17 #1515 [Verbose] > │ and UH0 =                                                                    │

00:00:17 #1516 [Verbose] > │     | UH0_0 of int32 * US0 * UH0                                             │

00:00:17 #1517 [Verbose] > │     | UH0_1                                                                  │

00:00:17 #1518 [Verbose] > │ and Mut0 = {mutable l0 : UH0}                                                │

00:00:17 #1519 [Verbose] > │ and UH1 =                                                                    │

00:00:17 #1520 [Verbose] > │     | UH1_0 of int32 * UH1                                                   │

00:00:17 #1521 [Verbose] > │     | UH1_1                                                                  │

00:00:17 #1522 [Verbose] > │ and [<Struct>] US1 =                                                         │

00:00:17 #1523 [Verbose] > │     | US1_0                                                                  │

00:00:17 #1524 [Verbose] > │     | US1_1 of f1_0 : int32 * f1_1 : US0                                     │

00:00:17 #1525 [Verbose] > │ let rec method2 (v0 : int32, v1 : UH0) : US1 =                               │

00:00:17 #1526 [Verbose] > │     match v1 with                                                            │

00:00:17 #1527 [Verbose] > │     | UH0_0(v3, v4, v5) -> (* Cons *)                                        │

00:00:17 #1528 [Verbose] > │         let v6 : bool = v3 = v0                                              │

00:00:17 #1529 [Verbose] > │         if v6 then                                                           │

00:00:17 #1530 [Verbose] > │             US1_1(v3, v4)                                                    │

00:00:17 #1531 [Verbose] > │         else                                                                 │

00:00:17 #1532 [Verbose] > │             method2(v0, v5)                                                  │

00:00:17 #1533 [Verbose] > │     | UH0_1 -> (* Nil *)                                                     │

00:00:17 #1534 [Verbose] > │         US1_0                                                                │

00:00:17 #1535 [Verbose] > │ and method3 (v0 : UH1, v1 : UH1) : UH1 =                                     │

00:00:17 #1536 [Verbose] > │     match v0 with                                                            │

00:00:17 #1537 [Verbose] > │     | UH1_0(v2, v3) -> (* Cons *)                                            │

00:00:17 #1538 [Verbose] > │         let v4 : UH1 = UH1_0(v2, v1)                                         │

00:00:17 #1539 [Verbose] > │         method3(v3, v4)                                                      │

00:00:17 #1540 [Verbose] > │     | UH1_1 -> (* Nil *)                                                     │

00:00:17 #1541 [Verbose] > │         v1                                                                   │

00:00:17 #1542 [Verbose] > │ and method1 (v0 : Mut0, v1 : UH1, v2 : int32) : UH1 =                        │

00:00:17 #1543 [Verbose] > │     let v3 : UH0 = v0.l0                                                     │

00:00:17 #1544 [Verbose] > │     let v4 : US1 = method2(v2, v3)                                           │

00:00:17 #1545 [Verbose] > │     let v12 : US0 =                                                          │

00:00:17 #1546 [Verbose] > │         match v4 with                                                        │

00:00:17 #1547 [Verbose] > │         | US1_0 -> (* None *)                                                │

00:00:17 #1548 [Verbose] > │             printfn $"print_and_return / x: {v2}"                            │

00:00:17 #1549 [Verbose] > │             let v7 : UH0 = v0.l0                                             │

00:00:17 #1550 [Verbose] > │             let v8 : US0 = US0_1(v2)                                         │

00:00:17 #1551 [Verbose] > │             let v9 : UH0 = UH0_0(v2, v8, v7)                                 │

00:00:17 #1552 [Verbose] > │             v0.l0 <- v9                                                      │

00:00:17 #1553 [Verbose] > │             US0_1(v2)                                                        │

00:00:17 #1554 [Verbose] > │         | US1_1(v5, v6) -> (* Some *)                                        │

00:00:17 #1555 [Verbose] > │             v6                                                               │

00:00:17 #1556 [Verbose] > │     match v12 with                                                           │

00:00:17 #1557 [Verbose] > │     | US0_1(v13) -> (* Some *)                                               │

00:00:17 #1558 [Verbose] > │         let v14 : bool = v13 < 5                                             │

00:00:17 #1559 [Verbose] > │         if v14 then                                                          │

00:00:17 #1560 [Verbose] > │             let v15 : UH1 = UH1_0(v13, v1)                                   │

00:00:17 #1561 [Verbose] > │             let v16 : int32 = v2 + 1                                         │

00:00:17 #1562 [Verbose] > │             method1(v0, v15, v16)                                            │

00:00:17 #1563 [Verbose] > │         else                                                                 │

00:00:17 #1564 [Verbose] > │             let v18 : UH1 = UH1_1                                            │

00:00:17 #1565 [Verbose] > │             method3(v1, v18)                                                 │

00:00:17 #1566 [Verbose] > │     | _ ->                                                                   │

00:00:17 #1567 [Verbose] > │         let v21 : UH1 = UH1_1                                                │

00:00:17 #1568 [Verbose] > │         method3(v1, v21)                                                     │

00:00:17 #1569 [Verbose] > │ and method4 (v0 : UH1, v1 : int32) : int32 =                                 │

00:00:17 #1570 [Verbose] > │     match v0 with                                                            │

00:00:17 #1571 [Verbose] > │     | UH1_0(v2, v3) -> (* Cons *)                                            │

00:00:17 #1572 [Verbose] > │         let v4 : int32 = v1 + v2                                             │

00:00:17 #1573 [Verbose] > │         method4(v3, v4)                                                      │

00:00:17 #1574 [Verbose] > │     | UH1_1 -> (* Nil *)                                                     │

00:00:17 #1575 [Verbose] > │         v1                                                                   │

00:00:17 #1576 [Verbose] > │ and method5 (v0 : Mut0, v1 : UH1, v2 : int32) : UH1 =                        │

00:00:17 #1577 [Verbose] > │     let v3 : UH0 = v0.l0                                                     │

00:00:17 #1578 [Verbose] > │     let v4 : US1 = method2(v2, v3)                                           │

00:00:17 #1579 [Verbose] > │     let v12 : US0 =                                                          │

00:00:17 #1580 [Verbose] > │         match v4 with                                                        │

00:00:17 #1581 [Verbose] > │         | US1_0 -> (* None *)                                                │

00:00:17 #1582 [Verbose] > │             printfn $"print_and_return / x: {v2}"                            │

00:00:17 #1583 [Verbose] > │             let v7 : UH0 = v0.l0                                             │

00:00:17 #1584 [Verbose] > │             let v8 : US0 = US0_1(v2)                                         │

00:00:17 #1585 [Verbose] > │             let v9 : UH0 = UH0_0(v2, v8, v7)                                 │

00:00:17 #1586 [Verbose] > │             v0.l0 <- v9                                                      │

00:00:17 #1587 [Verbose] > │             US0_1(v2)                                                        │

00:00:17 #1588 [Verbose] > │         | US1_1(v5, v6) -> (* Some *)                                        │

00:00:17 #1589 [Verbose] > │             v6                                                               │

00:00:17 #1590 [Verbose] > │     match v12 with                                                           │

00:00:17 #1591 [Verbose] > │     | US0_1(v13) -> (* Some *)                                               │

00:00:17 #1592 [Verbose] > │         let v14 : bool = v13 < 5                                             │

00:00:17 #1593 [Verbose] > │         if v14 then                                                          │

00:00:17 #1594 [Verbose] > │             let v15 : UH1 = UH1_0(v13, v1)                                   │

00:00:17 #1595 [Verbose] > │             let v16 : int32 = v2 + 1                                         │

00:00:17 #1596 [Verbose] > │             method5(v0, v15, v16)                                            │

00:00:17 #1597 [Verbose] > │         else                                                                 │

00:00:17 #1598 [Verbose] > │             let v18 : UH1 = UH1_1                                            │

00:00:17 #1599 [Verbose] > │             method3(v1, v18)                                                 │

00:00:17 #1600 [Verbose] > │     | _ ->                                                                   │

00:00:17 #1601 [Verbose] > │         let v21 : UH1 = UH1_1                                                │

00:00:17 #1602 [Verbose] > │         method3(v1, v21)                                                     │

00:00:17 #1603 [Verbose] > │ and method0 () : unit =                                                      │

00:00:17 #1604 [Verbose] > │     let v0 : UH0 = UH0_1                                                     │

00:00:17 #1605 [Verbose] > │     let v1 : Mut0 = {l0 = v0} : Mut0                                         │

00:00:17 #1606 [Verbose] > │     let v2 : UH1 = UH1_1                                                     │

00:00:17 #1607 [Verbose] > │     let v3 : int32 = 0                                                       │

00:00:17 #1608 [Verbose] > │     let v4 : UH1 = method1(v1, v2, v3)                                       │

00:00:17 #1609 [Verbose] > │     let v5 : int32 = 0                                                       │

00:00:17 #1610 [Verbose] > │     let v6 : int32 = method4(v4, v5)                                         │

00:00:17 #1611 [Verbose] > │     let v7 : string = $"__expect / actual: %A{v6} / expected: %A{10}"        │

00:00:17 #1612 [Verbose] > │     let v8 : bool = v6 = 10                                                  │

00:00:17 #1613 [Verbose] > │     let v9 : bool = v8 = false                                               │

00:00:17 #1614 [Verbose] > │     if v9 then                                                               │

00:00:17 #1615 [Verbose] > │         failwith<unit> v7                                                    │

00:00:17 #1616 [Verbose] > │     let v10 : UH1 = UH1_1                                                    │

00:00:17 #1617 [Verbose] > │     let v11 : int32 = 0                                                      │

00:00:17 #1618 [Verbose] > │     let v12 : UH1 = method5(v1, v10, v11)                                    │

00:00:17 #1619 [Verbose] > │     let v13 : int32 = 0                                                      │

00:00:17 #1620 [Verbose] > │     let v14 : int32 = method4(v12, v13)                                      │

00:00:17 #1621 [Verbose] > │     let v15 : string = $"__expect / actual: %A{v14} / expected: %A{10}"      │

00:00:17 #1622 [Verbose] > │     let v16 : bool = v14 = 10                                                │

00:00:17 #1623 [Verbose] > │     let v17 : bool = v16 = false                                             │

00:00:17 #1624 [Verbose] > │     if v17 then                                                              │

00:00:17 #1625 [Verbose] > │         failwith<unit> v15                                                   │

00:00:17 #1626 [Verbose] > │ method0()                                                                    │

00:00:17 #1627 [Verbose] > │                                                                              │

00:00:17 #1628 [Verbose] > │ print_and_return / x: 0                                                      │

00:00:17 #1629 [Verbose] > │ print_and_return / x: 1                                                      │

00:00:17 #1630 [Verbose] > │ print_and_return / x: 2                                                      │

00:00:17 #1631 [Verbose] > │ print_and_return / x: 3                                                      │

00:00:17 #1632 [Verbose] > │ print_and_return / x: 4                                                      │

00:00:17 #1633 [Verbose] > │ print_and_return / x: 5                                                      │

00:00:17 #1634 [Verbose] > │                                                                              │

00:00:17 #1635 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:17 #1636 [Verbose] >

00:00:17 #1637 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────

00:00:17 #1638 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮

00:00:17 #1639 [Verbose] > │ ## iterate                                                                   │

00:00:17 #1640 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:17 #1641 [Verbose] >

00:00:17 #1642 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:17 #1643 [Verbose] > inl iterate f x0 num_steps =

00:00:17 #1644 [Verbose] >     inl rec loop x n =

00:00:17 #1645 [Verbose] >         if n <= 0

00:00:17 #1646 [Verbose] >         then x

00:00:17 #1647 [Verbose] >         else loop (f x) (n - 1)

00:00:17 #1648 [Verbose] >     loop x0 num_steps

00:00:17 #1649 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0903-0022-2284-29a01f869936\main.spi

00:00:17 #1650 [Verbose] >

00:00:17 #1651 [Verbose] > ╭─[ 182.86ms - stdout ]────────────────────────────────────────────────────────╮

00:00:17 #1652 [Verbose] > │ ()                                                                           │

00:00:17 #1653 [Verbose] > │                                                                              │

00:00:17 #1654 [Verbose] > │                                                                              │

00:00:17 #1655 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:17 #1656 [Verbose] >

00:00:17 #1657 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:17 #1658 [Verbose] > // // test

00:00:17 #1659 [Verbose] >

00:00:17 #1660 [Verbose] > 10i32 |> iterate ((*) 2) 1i32

00:00:17 #1661 [Verbose] > |> _equal 1024

00:00:18 #1662 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0903-0041-4119-47c1c5817c7d\main.spi

00:00:18 #1663 [Verbose] >

00:00:18 #1664 [Verbose] > ╭─[ 204.78ms - stdout ]────────────────────────────────────────────────────────╮

00:00:18 #1665 [Verbose] > │ let rec method0 () : unit =                                                  │

00:00:18 #1666 [Verbose] > │     let v0 : string = $"__expect / actual: %A{1024} / expected: %A{1024}"    │

00:00:18 #1667 [Verbose] > │     ()                                                                       │

00:00:18 #1668 [Verbose] > │ method0()                                                                    │

00:00:18 #1669 [Verbose] > │                                                                              │

00:00:18 #1670 [Verbose] > │                                                                              │

00:00:18 #1671 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:18 #1672 [Verbose] >

00:00:18 #1673 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:18 #1674 [Verbose] > inl iterate_ f x0 num_steps =

00:00:18 #1675 [Verbose] >     let rec loop x n =

00:00:18 #1676 [Verbose] >         if n <= 0

00:00:18 #1677 [Verbose] >         then x

00:00:18 #1678 [Verbose] >         else loop (f x) (n - 1)

00:00:18 #1679 [Verbose] >     loop x0 num_steps

00:00:18 #1680 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0903-0062-6205-6663694c2b24\main.spi

00:00:18 #1681 [Verbose] >

00:00:18 #1682 [Verbose] > ╭─[ 202.57ms - stdout ]────────────────────────────────────────────────────────╮

00:00:18 #1683 [Verbose] > │ ()                                                                           │

00:00:18 #1684 [Verbose] > │                                                                              │

00:00:18 #1685 [Verbose] > │                                                                              │

00:00:18 #1686 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:18 #1687 [Verbose] >

00:00:18 #1688 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:18 #1689 [Verbose] > // // test

00:00:18 #1690 [Verbose] >

00:00:18 #1691 [Verbose] > 10i32 |> iterate_ ((*) 2) 1i32

00:00:18 #1692 [Verbose] > |> _equal 1024

00:00:18 #1693 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0903-0082-8257-8533a11358d2\main.spi

00:00:18 #1694 [Verbose] >

00:00:18 #1695 [Verbose] > ╭─[ 161.97ms - stdout ]────────────────────────────────────────────────────────╮

00:00:18 #1696 [Verbose] > │ let rec method1 (v0 : int32, v1 : int32) : int32 =                           │

00:00:18 #1697 [Verbose] > │     let v2 : bool = v1 <= 0                                                  │

00:00:18 #1698 [Verbose] > │     if v2 then                                                               │

00:00:18 #1699 [Verbose] > │         v0                                                                   │

00:00:18 #1700 [Verbose] > │     else                                                                     │

00:00:18 #1701 [Verbose] > │         let v3 : int32 = 2 * v0                                              │

00:00:18 #1702 [Verbose] > │         let v4 : int32 = v1 - 1                                              │

00:00:18 #1703 [Verbose] > │         method1(v3, v4)                                                      │

00:00:18 #1704 [Verbose] > │ and method0 () : unit =                                                      │

00:00:18 #1705 [Verbose] > │     let v0 : int32 = 1                                                       │

00:00:18 #1706 [Verbose] > │     let v1 : int32 = 10                                                      │

00:00:18 #1707 [Verbose] > │     let v2 : int32 = method1(v0, v1)                                         │

00:00:18 #1708 [Verbose] > │     let v3 : string = $"__expect / actual: %A{v2} / expected: %A{1024}"      │

00:00:18 #1709 [Verbose] > │     let v4 : bool = v2 = 1024                                                │

00:00:18 #1710 [Verbose] > │     let v5 : bool = v4 = false                                               │

00:00:18 #1711 [Verbose] > │     if v5 then                                                               │

00:00:18 #1712 [Verbose] > │         failwith<unit> v3                                                    │

00:00:18 #1713 [Verbose] > │ method0()                                                                    │

00:00:18 #1714 [Verbose] > │                                                                              │

00:00:18 #1715 [Verbose] > │                                                                              │

00:00:18 #1716 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:18 #1717 [Verbose] >

00:00:18 #1718 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:18 #1719 [Verbose] > inl iterate' f x0 num_steps =

00:00:18 #1720 [Verbose] >     listm.init num_steps id

00:00:18 #1721 [Verbose] >     |> listm.fold (fun x _ => f x) x0

00:00:18 #1722 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0903-0099-9963-9b35c42b74ce\main.spi

00:00:18 #1723 [Verbose] >

00:00:18 #1724 [Verbose] > ╭─[ 123.28ms - stdout ]────────────────────────────────────────────────────────╮

00:00:18 #1725 [Verbose] > │ ()                                                                           │

00:00:18 #1726 [Verbose] > │                                                                              │

00:00:18 #1727 [Verbose] > │                                                                              │

00:00:18 #1728 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:18 #1729 [Verbose] >

00:00:18 #1730 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:18 #1731 [Verbose] > // // test

00:00:18 #1732 [Verbose] >

00:00:18 #1733 [Verbose] > 10i32 |> iterate' ((*) 2) 1i32

00:00:18 #1734 [Verbose] > |> _equal 1024

00:00:18 #1735 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0903-0112-1216-16e4d74f0ceb\main.spi

00:00:18 #1736 [Verbose] >

00:00:18 #1737 [Verbose] > ╭─[ 157.49ms - stdout ]────────────────────────────────────────────────────────╮

00:00:18 #1738 [Verbose] > │ let rec method0 () : unit =                                                  │

00:00:18 #1739 [Verbose] > │     let v0 : string = $"__expect / actual: %A{1024} / expected: %A{1024}"    │

00:00:18 #1740 [Verbose] > │     ()                                                                       │

00:00:18 #1741 [Verbose] > │ method0()                                                                    │

00:00:18 #1742 [Verbose] > │                                                                              │

00:00:18 #1743 [Verbose] > │                                                                              │

00:00:18 #1744 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:18 #1745 [Verbose] >

00:00:18 #1746 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────

00:00:18 #1747 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮

00:00:18 #1748 [Verbose] > │ ## find_last                                                                 │

00:00:18 #1749 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:18 #1750 [Verbose] >

00:00:18 #1751 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:18 #1752 [Verbose] > inl find_last forall item result. fold_fn fn target : option result =

00:00:18 #1753 [Verbose] >     fold_fn (fun (item : item) (result : option result) =>

00:00:18 #1754 [Verbose] >         match result with

00:00:18 #1755 [Verbose] >         | None => fn item

00:00:18 #1756 [Verbose] >         | result => result

00:00:18 #1757 [Verbose] >     ) target (None : option result)

00:00:18 #1758 [Verbose] >

00:00:18 #1759 [Verbose] > inl array_find_last forall item result. (fn : item -> option result) (target : a

00:00:18 #1760 [Verbose] > i32 item) : option result =

00:00:18 #1761 [Verbose] >     find_last am.foldBack fn target

00:00:18 #1762 [Verbose] >

00:00:18 #1763 [Verbose] > inl list_find_last forall item result. (fn : item -> option result) (target :

00:00:18 #1764 [Verbose] > list item) : option result =

00:00:18 #1765 [Verbose] >     find_last listm.foldBack fn target

00:00:18 #1766 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0903-0128-2890-27552e4f37f4\main.spi

00:00:18 #1767 [Verbose] >

00:00:18 #1768 [Verbose] > ╭─[ 195.79ms - stdout ]────────────────────────────────────────────────────────╮

00:00:18 #1769 [Verbose] > │ ()                                                                           │

00:00:18 #1770 [Verbose] > │                                                                              │

00:00:18 #1771 [Verbose] > │                                                                              │

00:00:18 #1772 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:20 #1773 [Verbose] > [NbConvertApp] Converting notebook seq.dib.ipynb to html

00:00:20 #1774 [Verbose] > C:\Users\i574n\scoop\apps\python\current\Lib\site-packages\nbformat\__init__.py:93: MissingIDFieldWarning: Code cell is missing an id field, this will become a hard error in future nbformat versions. You may want to use `normalize()` on your notebooks before validations (available since nbformat 5.1.4). Previous versions of nbformat are fixing this issue transparently, and will stop doing so in the future.

00:00:20 #1775 [Verbose] >   validate(nb)

00:00:21 #1776 [Verbose] > C:\Users\i574n\scoop\apps\python\current\Lib\site-packages\nbconvert\filters\highlight.py:71: UserWarning: IPython3 lexer unavailable, falling back on Python 3

00:00:21 #1777 [Verbose] >   return _pygments_highlight(

00:00:21 #1778 [Verbose] > [NbConvertApp] Writing 390581 bytes to seq.dib.html

00:00:22 #1779 [Debug] executeAsync / exitCode: 0 / output.Length: 114270

00:00:22 #1780 [Debug] main / executeCommand / exitCode: 0

00:00:00 #1 [Debug] runWithTimeoutAsync / timeout: 60

00:00:00 #2 [Debug] executeAsync / options: { Command =

   "dotnet "C:\home\git\polyglot\deps\The-Spiral-Language\The Spiral Language 2\artifacts\bin\The Spiral Language 2\release\Spiral.dll" port=13805"

  WorkingDirectory = None

  CancellationToken = Some System.Threading.CancellationToken

  OnLine = Some <fun:main@450-1020> }

00:00:00 #3 [Verbose] > pwd: C:\home\git\polyglot\lib\spiral

00:00:00 #4 [Verbose] > dll_path: C:\home\git\polyglot\deps\The-Spiral-Language\The Spiral Language 2\artifacts\bin\The Spiral Language 2\release

00:00:00 #5 [Debug] runWithTimeoutAsync / timeout: 500

00:00:00 #6 [Verbose] waitForPortAccess / port: 13805 / retry: 0

00:00:01 #7 [Debug] sendJson / port: 13805 / json: {"Ping":true} / result.Length:

00:00:01 #8 [Verbose] awaitCompiler / Ping / result: Some(null) / port: 13805 / retry: 0

00:00:01 #9 [Verbose] > Server bound to: http://localhost:13805

00:00:01 #10 [Debug] executeAsync / options: { Command = "pwsh -c "../../scripts/invoke-dib.ps1 util.dib""

  WorkingDirectory = None

  CancellationToken = Some System.Threading.CancellationToken

  OnLine = None }

00:00:03 #11 [Verbose] >

00:00:03 #12 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────

00:00:03 #13 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮

00:00:03 #14 [Verbose] > │ # util                                                                       │

00:00:03 #15 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:03 #16 [Verbose] >

00:00:03 #17 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:03 #18 [Verbose] > // // test

00:00:03 #19 [Verbose] >

00:00:03 #20 [Verbose] > open testing

00:00:06 #21 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0903-1138-3892-3e45fef4b60f\main.spi

00:00:08 #22 [Verbose] >

00:00:08 #23 [Verbose] > ╭─[ 5.07s - stdout ]───────────────────────────────────────────────────────────╮

00:00:08 #24 [Verbose] > │ ()                                                                           │

00:00:08 #25 [Verbose] > │                                                                              │

00:00:08 #26 [Verbose] > │                                                                              │

00:00:08 #27 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:08 #28 [Verbose] >

00:00:08 #29 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────

00:00:08 #30 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮

00:00:08 #31 [Verbose] > │ ## ski                                                                       │

00:00:08 #32 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:08 #33 [Verbose] >

00:00:08 #34 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:08 #35 [Verbose] > union rec ski =

00:00:08 #36 [Verbose] >     | I

00:00:08 #37 [Verbose] >     | K

00:00:08 #38 [Verbose] >     | S

00:00:08 #39 [Verbose] >     | App : ski * ski

00:00:08 #40 [Verbose] >

00:00:08 #41 [Verbose] > inl rec eval ski =

00:00:08 #42 [Verbose] >     match ski with

00:00:08 #43 [Verbose] >     | App (App (K, x), y) => eval x

00:00:08 #44 [Verbose] >     | App (App (App (S, x), y), z) => eval (App (App (x, z), App (y, z)))

00:00:08 #45 [Verbose] >     | App (I, x) => eval x

00:00:08 #46 [Verbose] >     | App (K, x) => App (K, eval x)

00:00:08 #47 [Verbose] >     | App (f, x) => eval (App (eval f, x))

00:00:08 #48 [Verbose] >     | _ => ski

00:00:08 #49 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0903-1430-3005-3def0ea83d29\main.spi

00:00:08 #50 [Verbose] >

00:00:08 #51 [Verbose] > ╭─[ 203.18ms - stdout ]────────────────────────────────────────────────────────╮

00:00:08 #52 [Verbose] > │ ()                                                                           │

00:00:08 #53 [Verbose] > │                                                                              │

00:00:08 #54 [Verbose] > │                                                                              │

00:00:08 #55 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:08 #56 [Verbose] >

00:00:08 #57 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:08 #58 [Verbose] > // // test

00:00:08 #59 [Verbose] >

00:00:08 #60 [Verbose] > eval I

00:00:08 #61 [Verbose] > |> _equal I

00:00:08 #62 [Verbose] >

00:00:08 #63 [Verbose] > eval (App (I, I))

00:00:08 #64 [Verbose] > |> _equal I

00:00:08 #65 [Verbose] >

00:00:08 #66 [Verbose] > eval (App (I, App (I, I)))

00:00:08 #67 [Verbose] > |> _equal I

00:00:08 #68 [Verbose] >

00:00:08 #69 [Verbose] > eval (App (App (I, I), I))

00:00:08 #70 [Verbose] > |> _equal I

00:00:08 #71 [Verbose] >

00:00:08 #72 [Verbose] > eval (App (App (App (I, I), I), I))

00:00:08 #73 [Verbose] > |> _equal I

00:00:08 #74 [Verbose] >

00:00:08 #75 [Verbose] > eval K

00:00:08 #76 [Verbose] > |> _equal K

00:00:08 #77 [Verbose] >

00:00:08 #78 [Verbose] > eval (App (K, I))

00:00:08 #79 [Verbose] > |> _equal (App (K, I))

00:00:08 #80 [Verbose] >

00:00:08 #81 [Verbose] > eval (App (K, K))

00:00:08 #82 [Verbose] > |> _equal (App (K, K))

00:00:08 #83 [Verbose] >

00:00:08 #84 [Verbose] > eval (App (App (K, I), K))

00:00:08 #85 [Verbose] > |> _equal I

00:00:08 #86 [Verbose] >

00:00:08 #87 [Verbose] > eval (App (App (K, K), I))

00:00:08 #88 [Verbose] > |> _equal K

00:00:08 #89 [Verbose] >

00:00:08 #90 [Verbose] > eval (App (App (App (App (K, K), I), S), K))

00:00:08 #91 [Verbose] > |> _equal S

00:00:08 #92 [Verbose] >

00:00:08 #93 [Verbose] > eval S

00:00:08 #94 [Verbose] > |> _equal S

00:00:08 #95 [Verbose] >

00:00:08 #96 [Verbose] > eval (App (App (App (S, I), I), I))

00:00:08 #97 [Verbose] > |> _equal I

00:00:08 #98 [Verbose] >

00:00:08 #99 [Verbose] > eval (App (App (App (S, K), K), I))

00:00:08 #100 [Verbose] > |> _equal I

00:00:08 #101 [Verbose] >

00:00:08 #102 [Verbose] > eval (App (App (App (S, K), I), (App (App (K, I), S))))

00:00:08 #103 [Verbose] > |> _equal I

00:00:08 #104 [Verbose] >

00:00:08 #105 [Verbose] > eval (App (App (K, S), App (I, App (App (App (S, K), S), I))))

00:00:08 #106 [Verbose] > |> _equal S

00:00:08 #107 [Verbose] >

00:00:08 #108 [Verbose] > eval (App (App (App (S, K), I), K))

00:00:08 #109 [Verbose] > |> _equal K

00:00:09 #110 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0903-1449-4985-4c87c9926884\main.spi

00:00:10 #111 [Verbose] >

00:00:10 #112 [Verbose] > ╭─[ 1.15s - stdout ]───────────────────────────────────────────────────────────╮

00:00:10 #113 [Verbose] > │ type UH0 =                                                                   │

00:00:10 #114 [Verbose] > │     | UH0_0 of UH0 * UH0                                                     │

00:00:10 #115 [Verbose] > │     | UH0_1                                                                  │

00:00:10 #116 [Verbose] > │     | UH0_2                                                                  │

00:00:10 #117 [Verbose] > │     | UH0_3                                                                  │

00:00:10 #118 [Verbose] > │ let rec method0 () : unit =                                                  │

00:00:10 #119 [Verbose] > │     let v0 : UH0 = UH0_1                                                     │

00:00:10 #120 [Verbose] > │     let v1 : UH0 = UH0_1                                                     │

00:00:10 #121 [Verbose] > │     let v2 : string = $"__expect / actual: %A{v0} / expected: %A{v1}"        │

00:00:10 #122 [Verbose] > │     let v6 : UH0 = UH0_1                                                     │

00:00:10 #123 [Verbose] > │     let v7 : UH0 = UH0_1                                                     │

00:00:10 #124 [Verbose] > │     let v8 : string = $"__expect / actual: %A{v6} / expected: %A{v7}"        │

00:00:10 #125 [Verbose] > │     let v12 : UH0 = UH0_1                                                    │

00:00:10 #126 [Verbose] > │     let v13 : UH0 = UH0_1                                                    │

00:00:10 #127 [Verbose] > │     let v14 : string = $"__expect / actual: %A{v12} / expected: %A{v13}"     │

00:00:10 #128 [Verbose] > │     let v18 : UH0 = UH0_1                                                    │

00:00:10 #129 [Verbose] > │     let v19 : UH0 = UH0_1                                                    │

00:00:10 #130 [Verbose] > │     let v20 : string = $"__expect / actual: %A{v18} / expected: %A{v19}"     │

00:00:10 #131 [Verbose] > │     let v24 : UH0 = UH0_1                                                    │

00:00:10 #132 [Verbose] > │     let v25 : UH0 = UH0_1                                                    │

00:00:10 #133 [Verbose] > │     let v26 : string = $"__expect / actual: %A{v24} / expected: %A{v25}"     │

00:00:10 #134 [Verbose] > │     let v30 : UH0 = UH0_2                                                    │

00:00:10 #135 [Verbose] > │     let v31 : UH0 = UH0_2                                                    │

00:00:10 #136 [Verbose] > │     let v32 : string = $"__expect / actual: %A{v30} / expected: %A{v31}"     │

00:00:10 #137 [Verbose] > │     let v36 : UH0 = UH0_2                                                    │

00:00:10 #138 [Verbose] > │     let v37 : UH0 = UH0_1                                                    │

00:00:10 #139 [Verbose] > │     let v38 : UH0 = UH0_0(v36, v37)                                          │

00:00:10 #140 [Verbose] > │     let v39 : UH0 = UH0_2                                                    │

00:00:10 #141 [Verbose] > │     let v40 : UH0 = UH0_1                                                    │

00:00:10 #142 [Verbose] > │     let v41 : UH0 = UH0_0(v39, v40)                                          │

00:00:10 #143 [Verbose] > │     let v42 : string = $"__expect / actual: %A{v38} / expected: %A{v41}"     │

00:00:10 #144 [Verbose] > │     let v54 : UH0 = UH0_2                                                    │

00:00:10 #145 [Verbose] > │     let v55 : UH0 = UH0_2                                                    │

00:00:10 #146 [Verbose] > │     let v56 : UH0 = UH0_0(v54, v55)                                          │

00:00:10 #147 [Verbose] > │     let v57 : UH0 = UH0_2                                                    │

00:00:10 #148 [Verbose] > │     let v58 : UH0 = UH0_2                                                    │

00:00:10 #149 [Verbose] > │     let v59 : UH0 = UH0_0(v57, v58)                                          │

00:00:10 #150 [Verbose] > │     let v60 : string = $"__expect / actual: %A{v56} / expected: %A{v59}"     │

00:00:10 #151 [Verbose] > │     let v72 : UH0 = UH0_1                                                    │

00:00:10 #152 [Verbose] > │     let v73 : UH0 = UH0_1                                                    │

00:00:10 #153 [Verbose] > │     let v74 : string = $"__expect / actual: %A{v72} / expected: %A{v73}"     │

00:00:10 #154 [Verbose] > │     let v78 : UH0 = UH0_2                                                    │

00:00:10 #155 [Verbose] > │     let v79 : UH0 = UH0_2                                                    │

00:00:10 #156 [Verbose] > │     let v80 : string = $"__expect / actual: %A{v78} / expected: %A{v79}"     │

00:00:10 #157 [Verbose] > │     let v84 : UH0 = UH0_3                                                    │

00:00:10 #158 [Verbose] > │     let v85 : UH0 = UH0_3                                                    │

00:00:10 #159 [Verbose] > │     let v86 : string = $"__expect / actual: %A{v84} / expected: %A{v85}"     │

00:00:10 #160 [Verbose] > │     let v90 : UH0 = UH0_3                                                    │

00:00:10 #161 [Verbose] > │     let v91 : UH0 = UH0_3                                                    │

00:00:10 #162 [Verbose] > │     let v92 : string = $"__expect / actual: %A{v90} / expected: %A{v91}"     │

00:00:10 #163 [Verbose] > │     let v96 : UH0 = UH0_1                                                    │

00:00:10 #164 [Verbose] > │     let v97 : UH0 = UH0_1                                                    │

00:00:10 #165 [Verbose] > │     let v98 : string = $"__expect / actual: %A{v96} / expected: %A{v97}"     │

00:00:10 #166 [Verbose] > │     let v102 : UH0 = UH0_1                                                   │

00:00:10 #167 [Verbose] > │     let v103 : UH0 = UH0_1                                                   │

00:00:10 #168 [Verbose] > │     let v104 : string = $"__expect / actual: %A{v102} / expected: %A{v103}"  │

00:00:10 #169 [Verbose] > │     let v108 : UH0 = UH0_1                                                   │

00:00:10 #170 [Verbose] > │     let v109 : UH0 = UH0_1                                                   │

00:00:10 #171 [Verbose] > │     let v110 : string = $"__expect / actual: %A{v108} / expected: %A{v109}"  │

00:00:10 #172 [Verbose] > │     let v114 : UH0 = UH0_3                                                   │

00:00:10 #173 [Verbose] > │     let v115 : UH0 = UH0_3                                                   │

00:00:10 #174 [Verbose] > │     let v116 : string = $"__expect / actual: %A{v114} / expected: %A{v115}"  │

00:00:10 #175 [Verbose] > │     let v120 : UH0 = UH0_2                                                   │

00:00:10 #176 [Verbose] > │     let v121 : UH0 = UH0_2                                                   │

00:00:10 #177 [Verbose] > │     let v122 : string = $"__expect / actual: %A{v120} / expected: %A{v121}"  │

00:00:10 #178 [Verbose] > │     ()                                                                       │

00:00:10 #179 [Verbose] > │ method0()                                                                    │

00:00:10 #180 [Verbose] > │                                                                              │

00:00:10 #181 [Verbose] > │                                                                              │

00:00:10 #182 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:11 #183 [Verbose] > [NbConvertApp] Converting notebook util.dib.ipynb to html

00:00:11 #184 [Verbose] > C:\Users\i574n\scoop\apps\python\current\Lib\site-packages\nbformat\__init__.py:93: MissingIDFieldWarning: Code cell is missing an id field, this will become a hard error in future nbformat versions. You may want to use `normalize()` on your notebooks before validations (available since nbformat 5.1.4). Previous versions of nbformat are fixing this issue transparently, and will stop doing so in the future.

00:00:11 #185 [Verbose] >   validate(nb)

00:00:12 #186 [Verbose] > C:\Users\i574n\scoop\apps\python\current\Lib\site-packages\nbconvert\filters\highlight.py:71: UserWarning: IPython3 lexer unavailable, falling back on Python 3

00:00:12 #187 [Verbose] >   return _pygments_highlight(

00:00:12 #188 [Verbose] > [NbConvertApp] Writing 285566 bytes to util.dib.html

00:00:13 #189 [Debug] executeAsync / exitCode: 0 / output.Length: 9299

00:00:13 #190 [Debug] main / executeCommand / exitCode: 0

00:00:00 #1 [Debug] runWithTimeoutAsync / timeout: 60

00:00:00 #2 [Debug] executeAsync / options: { Command =

   "dotnet "C:\home\git\polyglot\deps\The-Spiral-Language\The Spiral Language 2\artifacts\bin\The Spiral Language 2\release\Spiral.dll" port=13805"

  WorkingDirectory = None

  CancellationToken = Some System.Threading.CancellationToken

  OnLine = Some <fun:main@450-1020> }

00:00:00 #3 [Verbose] > pwd: C:\home\git\polyglot\lib\spiral

00:00:00 #4 [Verbose] > dll_path: C:\home\git\polyglot\deps\The-Spiral-Language\The Spiral Language 2\artifacts\bin\The Spiral Language 2\release

00:00:00 #5 [Debug] runWithTimeoutAsync / timeout: 500

00:00:00 #6 [Verbose] waitForPortAccess / port: 13805 / retry: 0

00:00:01 #7 [Debug] sendJson / port: 13805 / json: {"Ping":true} / result.Length:

00:00:01 #8 [Verbose] awaitCompiler / Ping / result: Some(null) / port: 13805 / retry: 0

00:00:01 #9 [Verbose] > Server bound to: http://localhost:13805

00:00:01 #10 [Debug] executeAsync / options: { Command = "pwsh -c "../../scripts/invoke-dib.ps1 rust.dib""

  WorkingDirectory = None

  CancellationToken = Some System.Threading.CancellationToken

  OnLine = None }

00:00:03 #11 [Verbose] >

00:00:03 #12 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────

00:00:03 #13 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮

00:00:03 #14 [Verbose] > │ # rust                                                                       │

00:00:03 #15 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:03 #16 [Verbose] >

00:00:03 #17 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:03 #18 [Verbose] > // // test

00:00:03 #19 [Verbose] >

00:00:03 #20 [Verbose] > open testing

00:00:06 #21 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0903-2520-2035-242e8814ea7e\main.spi

00:00:08 #22 [Verbose] >

00:00:08 #23 [Verbose] > ╭─[ 5.14s - stdout ]───────────────────────────────────────────────────────────╮

00:00:08 #24 [Verbose] > │ ()                                                                           │

00:00:08 #25 [Verbose] > │                                                                              │

00:00:08 #26 [Verbose] > │                                                                              │

00:00:08 #27 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:08 #28 [Verbose] >

00:00:08 #29 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────

00:00:08 #30 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮

00:00:08 #31 [Verbose] > │ ## emit_expr                                                                 │

00:00:08 #32 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:08 #33 [Verbose] >

00:00:08 #34 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:08 #35 [Verbose] > inl emit_expr forall a t. (args : a) (code : string) : t =

00:00:08 #36 [Verbose] >     real

00:00:08 #37 [Verbose] >         $"Fable.Core.RustInterop.emitRustExpr !args !code" : t

00:00:08 #38 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0903-2813-1324-1c7a22ff0dd2\main.spi

00:00:08 #39 [Verbose] >

00:00:08 #40 [Verbose] > ╭─[ 192.08ms - stdout ]────────────────────────────────────────────────────────╮

00:00:08 #41 [Verbose] > │ ()                                                                           │

00:00:08 #42 [Verbose] > │                                                                              │

00:00:08 #43 [Verbose] > │                                                                              │

00:00:08 #44 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:08 #45 [Verbose] >

00:00:08 #46 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:08 #47 [Verbose] > nominal any = $"std_any_Any"

00:00:08 #48 [Verbose] > nominal ref_cell t = $"std_cell_RefCell<`t>"

00:00:08 #49 [Verbose] > nominal async t = $"Async<`t>"

00:00:08 #50 [Verbose] > nominal base64_decode_error = $"base64_DecodeError"

00:00:08 #51 [Verbose] > nominal borsh_io_error = $"borsh_io_Error"

00:00:08 #52 [Verbose] > nominal utf8_error = $"std_str_Utf8Error"

00:00:08 #53 [Verbose] > nominal rexie = $"rexie_Rexie"

00:00:08 #54 [Verbose] > nominal rexie_store = $"rexie_Store"

00:00:08 #55 [Verbose] > nominal rexie_transaction = $"rexie_Transaction"

00:00:08 #56 [Verbose] > nominal rexie_error = $"rexie_Error"

00:00:08 #57 [Verbose] > nominal json_value = $"serde_json_Value"

00:00:08 #58 [Verbose] > nominal json_error = $"serde_json_Error"

00:00:08 #59 [Verbose] > nominal js_value = $"wasm_bindgen_JsValue"

00:00:08 #60 [Verbose] > nominal closure t = $"wasm_bindgen_closure_Closure<`t>"

00:00:08 #61 [Verbose] > nominal hash_map k v = $"std_collections_HashMap<`k, `v>"

00:00:08 #62 [Verbose] > nominal rc t = $"std_rc_Rc<`t>"

00:00:08 #63 [Verbose] > nominal box t = $"Box<`t>"

00:00:08 #64 [Verbose] > nominal pin t = $"std_pin_Pin<`t>"

00:00:08 #65 [Verbose] > nominal arc t = $"std_sync_Arc<`t>"

00:00:08 #66 [Verbose] > nominal std_string = $"std_string_String"

00:00:08 #67 [Verbose] > nominal js_function = $"js_sys_Function"

00:00:08 #68 [Verbose] > nominal js_string = $"js_sys_JsString"

00:00:08 #69 [Verbose] > nominal window = $"web_sys_Window"

00:00:08 #70 [Verbose] > nominal document = $"web_sys_Document"

00:00:08 #71 [Verbose] > nominal html_element = $"web_sys_HtmlElement"

00:00:08 #72 [Verbose] > nominal storage = $"web_sys_Storage"

00:00:08 #73 [Verbose] > nominal dyn' t = $"Dyn<`t>"

00:00:08 #74 [Verbose] > nominal fn' t = $"Fn<`t>"

00:00:08 #75 [Verbose] > nominal action_fn2 t u = $"ActionFn2<`t, `u>"

00:00:08 #76 [Verbose] > nominal fn_once t = $"FnOnce<`t>"

00:00:08 #77 [Verbose] > nominal fn_unit = $"FnUnit"

00:00:08 #78 [Verbose] > nominal func0 t = $"Func0<`t>"

00:00:08 #79 [Verbose] > nominal func1 t u = $"Func0<`t, `u>"

00:00:08 #80 [Verbose] > nominal impl t = $"Impl<`t>"

00:00:08 #81 [Verbose] > nominal mut' t = $"Mut<`t>"

00:00:08 #82 [Verbose] > nominal ref' t = $"Ref<`t>"

00:00:08 #83 [Verbose] > nominal static_ref' t = $"StaticRef<`t>"

00:00:08 #84 [Verbose] > nominal str = $"Str"

00:00:08 #85 [Verbose] > nominal vec t = $"Vec<`t>"

00:00:09 #86 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0903-2831-3156-3640b6749304\main.spi

00:00:09 #87 [Verbose] >

00:00:09 #88 [Verbose] > ╭─[ 217.35ms - stdout ]────────────────────────────────────────────────────────╮

00:00:09 #89 [Verbose] > │ ()                                                                           │

00:00:09 #90 [Verbose] > │                                                                              │

00:00:09 #91 [Verbose] > │                                                                              │

00:00:09 #92 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:09 #93 [Verbose] >

00:00:09 #94 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:09 #95 [Verbose] > inl types () =

00:00:09 #96 [Verbose] >     global "[[<Fable.Core.Erase; Fable.Core.Emit(\"Func0<$0>\")>]] type

00:00:09 #97 [Verbose] > Func0<'T> = class end"

00:00:09 #98 [Verbose] >     global "[[<Fable.Core.Erase; Fable.Core.Emit(\"Func1<$0, $1>\")>]] type

00:00:09 #99 [Verbose] > Func0<'T, 'U> = class end"

00:00:09 #100 [Verbose] >     global "[[<Fable.Core.Erase; Fable.Core.Emit(\"Box<$0>\")>]] type Box<'T> =

00:00:09 #101 [Verbose] > class end"

00:00:09 #102 [Verbose] >     global "[[<Fable.Core.Erase; Fable.Core.Emit(\"dyn $0\")>]] type Dyn<'T> =

00:00:09 #103 [Verbose] > class end"

00:00:09 #104 [Verbose] >     global "[[<Fable.Core.Erase; Fable.Core.Emit(\"Fn() -> $0\")>]] type Fn<'T>

00:00:09 #105 [Verbose] > = class end"

00:00:09 #106 [Verbose] >     global "[[<Fable.Core.Erase; Fable.Core.Emit(\"Fn()\")>]] type FnUnit =

00:00:09 #107 [Verbose] > class end"

00:00:09 #108 [Verbose] >     global "[[<Fable.Core.Erase; Fable.Core.Emit(\"FnOnce() -> $0\")>]] type

00:00:09 #109 [Verbose] > FnOnce<'T> = class end"

00:00:09 #110 [Verbose] >     global "[[<Fable.Core.Erase; Fable.Core.Emit(\"Fn($0, $1)\")>]] type

00:00:09 #111 [Verbose] > ActionFn2<'T, 'U> = class end"

00:00:09 #112 [Verbose] >     global "[[<Fable.Core.Erase; Fable.Core.Emit(\"impl $0\")>]] type Impl<'T> =

00:00:09 #113 [Verbose] > class end"

00:00:09 #114 [Verbose] >     global "[[<Fable.Core.Erase; Fable.Core.Emit(\"mut $0\")>]] type Mut<'T> =

00:00:09 #115 [Verbose] > class end"

00:00:09 #116 [Verbose] >     global "[[<Fable.Core.Erase; Fable.Core.Emit(\"&$0\")>]] type Ref<'T> =

00:00:09 #117 [Verbose] > class end"

00:00:09 #118 [Verbose] >     global "[[<Fable.Core.Erase; Fable.Core.Emit(\"&'static $0\")>]] type

00:00:09 #119 [Verbose] > StaticRef<'T> = class end"

00:00:09 #120 [Verbose] >     global "[[<Fable.Core.Erase; Fable.Core.Emit(\"str\")>]] type Str = class

00:00:09 #121 [Verbose] > end"

00:00:09 #122 [Verbose] >     global "[[<Fable.Core.Erase; Fable.Core.Emit(\"Vec<$0>\")>]] type Vec<'T> =

00:00:09 #123 [Verbose] > class end"

00:00:09 #124 [Verbose] >     global "[[<Fable.Core.Erase; Fable.Core.Emit(\"base64::DecodeError\")>]]

00:00:09 #125 [Verbose] > type base64_DecodeError = class end"

00:00:09 #126 [Verbose] >     global "[[<Fable.Core.Erase; Fable.Core.Emit(\"borsh::io::Error\")>]] type

00:00:09 #127 [Verbose] > borsh_io_Error = class end"

00:00:09 #128 [Verbose] >     global "[[<Fable.Core.Erase; Fable.Core.Emit(\"chrono::DateTime<$0>\")>]]

00:00:09 #129 [Verbose] > type chrono_DateTime<'T> = class end"

00:00:09 #130 [Verbose] >     global "[[<Fable.Core.Erase; Fable.Core.Emit(\"chrono::Local\")>]] type

00:00:09 #131 [Verbose] > chrono_Local = class end"

00:00:09 #132 [Verbose] >     global "[[<Fable.Core.Erase; Fable.Core.Emit(\"chrono::NaiveDateTime\")>]]

00:00:09 #133 [Verbose] > type chrono_NaiveDateTime = class end"

00:00:09 #134 [Verbose] >     global "[[<Fable.Core.Erase; Fable.Core.Emit(\"chrono::Utc\")>]] type

00:00:09 #135 [Verbose] > chrono_Utc = class end"

00:00:09 #136 [Verbose] >     global "[[<Fable.Core.Erase; Fable.Core.Emit(\"js_sys::Function\")>]] type

00:00:09 #137 [Verbose] > js_sys_Function = class end"

00:00:09 #138 [Verbose] >     global "[[<Fable.Core.Erase; Fable.Core.Emit(\"js_sys::JsString\")>]] type

00:00:09 #139 [Verbose] > js_sys_JsString = class end"

00:00:09 #140 [Verbose] >     global "[[<Fable.Core.Erase; Fable.Core.Emit(\"reqwest_wasm::Response\")>]]

00:00:09 #141 [Verbose] > type reqwest_Response = class end"

00:00:09 #142 [Verbose] >     global "[[<Fable.Core.Erase; Fable.Core.Emit(\"reqwest_wasm::Error\")>]]

00:00:09 #143 [Verbose] > type reqwest_Error = class end"

00:00:09 #144 [Verbose] >     global "[[<Fable.Core.Erase; Fable.Core.Emit(\"rexie::Error\")>]] type

00:00:09 #145 [Verbose] > rexie_Error = class end"

00:00:09 #146 [Verbose] >     global "[[<Fable.Core.Erase; Fable.Core.Emit(\"rexie::Rexie\")>]] type

00:00:09 #147 [Verbose] > rexie_Rexie = class end"

00:00:09 #148 [Verbose] >     global "[[<Fable.Core.Erase; Fable.Core.Emit(\"rexie::Store\")>]] type

00:00:09 #149 [Verbose] > rexie_Store = class end"

00:00:09 #150 [Verbose] >     global "[[<Fable.Core.Erase; Fable.Core.Emit(\"rexie::Transaction\")>]] type

00:00:09 #151 [Verbose] > rexie_Transaction = class end"

00:00:09 #152 [Verbose] >     global "[[<Fable.Core.Erase; Fable.Core.Emit(\"serde_json::Error\")>]] type

00:00:09 #153 [Verbose] > serde_json_Error = class end"

00:00:09 #154 [Verbose] >     global "[[<Fable.Core.Erase; Fable.Core.Emit(\"serde_json::Value\")>]] type

00:00:09 #155 [Verbose] > serde_json_Value = class end"

00:00:09 #156 [Verbose] >     global "[[<Fable.Core.Erase; Fable.Core.Emit(\"std::any::Any\")>]] type

00:00:09 #157 [Verbose] > std_any_Any = class end"

00:00:09 #158 [Verbose] >     global "[[<Fable.Core.Erase; Fable.Core.Emit(\"std::cell::RefCell<$0>\")>]]

00:00:09 #159 [Verbose] > type std_cell_RefCell<'T> = class end"

00:00:09 #160 [Verbose] >     global "[[<Fable.Core.Erase; Fable.Core.Emit(\"std::collections::HashMap<$0,

00:00:09 #161 [Verbose] > $1>\")>]] type std_collections_HashMap<'K, 'V> = class end"

00:00:09 #162 [Verbose] >     global "[[<Fable.Core.Erase; Fable.Core.Emit(\"std::future::Future<Output =

00:00:09 #163 [Verbose] > $0>\")>]] type Future<'T> = class end"

00:00:09 #164 [Verbose] >     global "[[<Fable.Core.Erase; Fable.Core.Emit(\"std::pin::Pin<$0>\")>]] type

00:00:09 #165 [Verbose] > std_pin_Pin<'T> = class end"

00:00:09 #166 [Verbose] >     global "[[<Fable.Core.Erase; Fable.Core.Emit(\"std::rc::Rc<$0>\")>]] type

00:00:09 #167 [Verbose] > std_rc_Rc<'T> = class end"

00:00:09 #168 [Verbose] >     global "[[<Fable.Core.Erase; Fable.Core.Emit(\"std::str::Utf8Error\")>]]

00:00:09 #169 [Verbose] > type std_str_Utf8Error = class end"

00:00:09 #170 [Verbose] >     global "[[<Fable.Core.Erase; Fable.Core.Emit(\"std::string::String\")>]]

00:00:09 #171 [Verbose] > type std_string_String = class end"

00:00:09 #172 [Verbose] >     global "[[<Fable.Core.Erase; Fable.Core.Emit(\"std::sync::Arc<$0>\")>]] type

00:00:09 #173 [Verbose] > std_sync_Arc<'T> = class end"

00:00:09 #174 [Verbose] >     global "[[<Fable.Core.Erase; Fable.Core.Emit(\"wasm_bindgen::JsValue\")>]]

00:00:09 #175 [Verbose] > type wasm_bindgen_JsValue = class end"

00:00:09 #176 [Verbose] >     global "[[<Fable.Core.Erase;

00:00:09 #177 [Verbose] > Fable.Core.Emit(\"wasm_bindgen::closure::Closure<$0>\")>]] type

00:00:09 #178 [Verbose] > wasm_bindgen_closure_Closure<'T> = class end"

00:00:09 #179 [Verbose] >     global "[[<Fable.Core.Erase; Fable.Core.Emit(\"web_sys::Document\")>]] type

00:00:09 #180 [Verbose] > web_sys_Document = class end"

00:00:09 #181 [Verbose] >     global "[[<Fable.Core.Erase; Fable.Core.Emit(\"web_sys::HtmlElement\")>]]

00:00:09 #182 [Verbose] > type web_sys_HtmlElement = class end"

00:00:09 #183 [Verbose] >     global "[[<Fable.Core.Erase; Fable.Core.Emit(\"web_sys::Storage\")>]] type

00:00:09 #184 [Verbose] > web_sys_Storage = class end"

00:00:09 #185 [Verbose] >     global "[[<Fable.Core.Erase; Fable.Core.Emit(\"web_sys::Window\")>]] type

00:00:09 #186 [Verbose] > web_sys_Window = class end"

00:00:09 #187 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0903-2853-5367-5cd1be6c2bec\main.spi

00:00:09 #188 [Verbose] >

00:00:09 #189 [Verbose] > ╭─[ 201.46ms - stdout ]────────────────────────────────────────────────────────╮

00:00:09 #190 [Verbose] > │ ()                                                                           │

00:00:09 #191 [Verbose] > │                                                                              │

00:00:09 #192 [Verbose] > │                                                                              │

00:00:09 #193 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:09 #194 [Verbose] >

00:00:09 #195 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:09 #196 [Verbose] > inl (~!\) forall t. (code : string) : t =

00:00:09 #197 [Verbose] >     emit_expr () code

00:00:09 #198 [Verbose] >

00:00:09 #199 [Verbose] > inl (~!\\) forall t u. ((args : t), (code : string)) : u =

00:00:09 #200 [Verbose] >     emit_expr args code

00:00:09 #201 [Verbose] >

00:00:09 #202 [Verbose] > inl raw_string_literal (s : string) : ref' str =

00:00:09 #203 [Verbose] >     !\($"\"r#\\\"\" + !s + \"\\\"#\"")

00:00:09 #204 [Verbose] >

00:00:09 #205 [Verbose] > inl raw_string_literal_static (s : string) : static_ref' str =

00:00:09 #206 [Verbose] >     !\($"\"r#\\\"\" + !s + \"\\\"#\"")

00:00:09 #207 [Verbose] >

00:00:09 #208 [Verbose] > inl (~#) (s : string) : ref' str =

00:00:09 #209 [Verbose] >     raw_string_literal s

00:00:09 #210 [Verbose] >

00:00:09 #211 [Verbose] > inl (~##) (s : string) : static_ref' str =

00:00:09 #212 [Verbose] >     raw_string_literal_static s

00:00:09 #213 [Verbose] >

00:00:09 #214 [Verbose] > inl new_box forall t. (x : t) : box t =

00:00:09 #215 [Verbose] >     inl x = join x

00:00:09 #216 [Verbose] >     !\($'"Box::new(!x)"')

00:00:09 #217 [Verbose] >

00:00:09 #218 [Verbose] > inl new_rc forall t. (x : t) : rc t =

00:00:09 #219 [Verbose] >     inl x = join x

00:00:09 #220 [Verbose] >     !\($'"std::rc::Rc::new(!x)"')

00:00:09 #221 [Verbose] >

00:00:09 #222 [Verbose] > inl new_arc forall t. (x : t) : arc t =

00:00:09 #223 [Verbose] >     inl x = join x

00:00:09 #224 [Verbose] >     !\($'"std::sync::Arc::new(!x)"')

00:00:09 #225 [Verbose] >

00:00:09 #226 [Verbose] > inl closure_wrap forall t. (x : box t) : closure t =

00:00:09 #227 [Verbose] >     inl x = join x

00:00:09 #228 [Verbose] >     !\($'"wasm_bindgen::closure::Closure::wrap(!x)"')

00:00:09 #229 [Verbose] >

00:00:09 #230 [Verbose] > inl box_fn forall t. (x : () -> ()) : box t =

00:00:09 #231 [Verbose] >     inl x = join x

00:00:09 #232 [Verbose] >     !\($'"Box::new(move || !x())"')

00:00:09 #233 [Verbose] >

00:00:09 #234 [Verbose] > inl closure_forget forall t. (closure : closure t) =

00:00:09 #235 [Verbose] >     !\($'"!closure.forget()"') : ()

00:00:09 #236 [Verbose] >

00:00:09 #237 [Verbose] > inl new_pin forall t. (x : t) : pin (box t) =

00:00:09 #238 [Verbose] >     inl x = join x

00:00:09 #239 [Verbose] >     !\($'"Box::pin(!x)"')

00:00:09 #240 [Verbose] >

00:00:09 #241 [Verbose] > inl closure_as_ref forall t. (closure : closure t) : ref' js_value =

00:00:09 #242 [Verbose] >     !\($'"wasm_bindgen::closure::Closure::as_ref(&!closure)"')

00:00:09 #243 [Verbose] >

00:00:09 #244 [Verbose] > inl unchecked_ref (ref : ref' js_value) : ref' js_function =

00:00:09 #245 [Verbose] >     !\($'"wasm_bindgen::JsCast::unchecked_ref(!ref)"')

00:00:09 #246 [Verbose] >

00:00:09 #247 [Verbose] > inl deref forall t. (ref : ref' t) : t =

00:00:09 #248 [Verbose] >     inl ref = join ref

00:00:09 #249 [Verbose] >     !\($'"*!ref"')

00:00:09 #250 [Verbose] >

00:00:09 #251 [Verbose] > inl func0_get forall t. (x : func0 t) : t =

00:00:09 #252 [Verbose] >     inl x = join x

00:00:09 #253 [Verbose] >     !\($'"!x()"')

00:00:09 #254 [Verbose] >

00:00:09 #255 [Verbose] > inl move forall t. (fn : () -> t) : func0 t =

00:00:09 #256 [Verbose] >     inl fn = join fn

00:00:09 #257 [Verbose] >     !\($'"Func0::new(move || !fn())"')

00:00:09 #258 [Verbose] >

00:00:09 #259 [Verbose] > inl to_static_ref_unbox forall t. (x : ref' t) : static_ref' t =

00:00:09 #260 [Verbose] >     $"!x |> unbox"

00:00:09 #261 [Verbose] >

00:00:09 #262 [Verbose] > inl box_leak forall t. (x : box t) : static_ref' (mut' t) =

00:00:09 #263 [Verbose] >     emit_expr () $"\"Box::leak(!x)\""

00:00:09 #264 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0903-2874-7424-7df132318c09\main.spi

00:00:09 #265 [Verbose] >

00:00:09 #266 [Verbose] > ╭─[ 170.22ms - stdout ]────────────────────────────────────────────────────────╮

00:00:09 #267 [Verbose] > │ ()                                                                           │

00:00:09 #268 [Verbose] > │                                                                              │

00:00:09 #269 [Verbose] > │                                                                              │

00:00:09 #270 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:11 #271 [Verbose] > [NbConvertApp] Converting notebook rust.dib.ipynb to html

00:00:11 #272 [Verbose] > C:\Users\i574n\scoop\apps\python\current\Lib\site-packages\nbformat\__init__.py:93: MissingIDFieldWarning: Code cell is missing an id field, this will become a hard error in future nbformat versions. You may want to use `normalize()` on your notebooks before validations (available since nbformat 5.1.4). Previous versions of nbformat are fixing this issue transparently, and will stop doing so in the future.

00:00:11 #273 [Verbose] >   validate(nb)

00:00:11 #274 [Verbose] > C:\Users\i574n\scoop\apps\python\current\Lib\site-packages\nbconvert\filters\highlight.py:71: UserWarning: IPython3 lexer unavailable, falling back on Python 3

00:00:11 #275 [Verbose] >   return _pygments_highlight(

00:00:12 #276 [Verbose] > [NbConvertApp] Writing 304774 bytes to rust.dib.html

00:00:12 #277 [Debug] executeAsync / exitCode: 0 / output.Length: 12125

00:00:12 #278 [Debug] main / executeCommand / exitCode: 0

00:00:00 #1 [Debug] runWithTimeoutAsync / timeout: 60

00:00:00 #2 [Debug] executeAsync / options: { Command =

   "dotnet "C:\home\git\polyglot\deps\The-Spiral-Language\The Spiral Language 2\artifacts\bin\The Spiral Language 2\release\Spiral.dll" port=13805"

  WorkingDirectory = None

  CancellationToken = Some System.Threading.CancellationToken

  OnLine = Some <fun:main@450-1020> }

00:00:00 #3 [Verbose] > pwd: C:\home\git\polyglot\lib\spiral

00:00:00 #4 [Verbose] > dll_path: C:\home\git\polyglot\deps\The-Spiral-Language\The Spiral Language 2\artifacts\bin\The Spiral Language 2\release

00:00:00 #5 [Debug] runWithTimeoutAsync / timeout: 500

00:00:00 #6 [Verbose] waitForPortAccess / port: 13805 / retry: 0

00:00:01 #7 [Debug] sendJson / port: 13805 / json: {"Ping":true} / result.Length:

00:00:01 #8 [Verbose] awaitCompiler / Ping / result: Some(null) / port: 13805 / retry: 0

00:00:01 #9 [Verbose] > Server bound to: http://localhost:13805

00:00:01 #10 [Debug] executeAsync / options: { Command = "pwsh -c "../../scripts/invoke-dib.ps1 physics.dib""

  WorkingDirectory = None

  CancellationToken = Some System.Threading.CancellationToken

  OnLine = None }

00:00:03 #11 [Verbose] >

00:00:03 #12 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────

00:00:03 #13 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮

00:00:03 #14 [Verbose] > │ # physics                                                                    │

00:00:03 #15 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:03 #16 [Verbose] >

00:00:03 #17 [Verbose] > ── fsharp ──────────────────────────────────────────────────────────────────────

00:00:03 #18 [Verbose] > #!import ../../lib/fsharp/Plotting.dib

00:00:03 #19 [Verbose] >

00:00:03 #20 [Verbose] > ── fsharp - import ─────────────────────────────────────────────────────────────

00:00:03 #21 [Verbose] > #r

00:00:03 #22 [Verbose] > "C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.A

00:00:03 #23 [Verbose] > spNetCore.Html.Abstractions.dll"

00:00:03 #24 [Verbose] > #r

00:00:03 #25 [Verbose] > "C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D

00:00:03 #26 [Verbose] > otNet.Interactive.dll"

00:00:03 #27 [Verbose] > #r

00:00:03 #28 [Verbose] > "C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D

00:00:03 #29 [Verbose] > otNet.Interactive.FSharp.dll"

00:00:03 #30 [Verbose] > #r

00:00:03 #31 [Verbose] > "C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D

00:00:03 #32 [Verbose] > otNet.Interactive.Formatting.dll"

00:00:03 #33 [Verbose] > open System

00:00:03 #34 [Verbose] > open System.IO

00:00:03 #35 [Verbose] > open System.Text

00:00:03 #36 [Verbose] > open Microsoft.DotNet.Interactive.Formatting

00:00:06 #37 [Verbose] >

00:00:06 #38 [Verbose] > ── fsharp - import ─────────────────────────────────────────────────────────────

00:00:06 #39 [Verbose] > #r

00:00:06 #40 [Verbose] > "C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D

00:00:06 #41 [Verbose] > otNet.Interactive.FSharp.dll"

00:00:06 #42 [Verbose] > open Microsoft.DotNet.Interactive.FSharp.FSharpKernelHelpers

00:00:06 #43 [Verbose] > #r

00:00:06 #44 [Verbose] > "C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D

00:00:06 #45 [Verbose] > otNet.Interactive.dll"

00:00:06 #46 [Verbose] > open type Microsoft.DotNet.Interactive.Kernel

00:00:06 #47 [Verbose] >

00:00:06 #48 [Verbose] > ── fsharp - import ─────────────────────────────────────────────────────────────

00:00:06 #49 [Verbose] > //// test

00:00:06 #50 [Verbose] >

00:00:06 #51 [Verbose] > Formatter.ListExpansionLimit <- 100

00:00:07 #52 [Verbose] >

00:00:07 #53 [Verbose] > ── fsharp - import ─────────────────────────────────────────────────────────────

00:00:07 #54 [Verbose] > #r

00:00:07 #55 [Verbose] > @"../../../../../../../.nuget/packages/fsharp.control.asyncseq/3.2.1/lib/netstan

00:00:07 #56 [Verbose] > dard2.1/FSharp.Control.AsyncSeq.dll"

00:00:07 #57 [Verbose] > #r

00:00:07 #58 [Verbose] > @"../../../../../../../.nuget/packages/system.reactive/6.0.1-preview.1/lib/net6.

00:00:07 #59 [Verbose] > 0/System.Reactive.dll"

00:00:07 #60 [Verbose] > #r

00:00:07 #61 [Verbose] > @"../../../../../../../.nuget/packages/system.reactive.linq/6.0.1-preview.1/lib

00:00:07 #62 [Verbose] > netstandard2.0/System.Reactive.Linq.dll"

00:00:07 #63 [Verbose] > #r

00:00:07 #64 [Verbose] > @"../../../../../../../.nuget/packages/argu/6.1.1/lib/netstandard2.0/Argu.dll"

00:00:07 #65 [Verbose] > #r

00:00:07 #66 [Verbose] > @"../../../../../../../.nuget/packages/system.commandline/2.0.0-beta4.22272.1/li

00:00:07 #67 [Verbose] > b/net6.0/System.CommandLine.dll"

00:00:07 #68 [Verbose] > #r

00:00:07 #69 [Verbose] > @"../../../../../../../.nuget/packages/fsharp.json/0.4.1/lib/netstandard2.0/FSha

00:00:07 #70 [Verbose] > rp.Json.dll"

00:00:07 #71 [Verbose] >

00:00:07 #72 [Verbose] > ── fsharp - import ─────────────────────────────────────────────────────────────

00:00:07 #73 [Verbose] > #if !INTERACTIVE

00:00:07 #74 [Verbose] > namespace Polyglot

00:00:07 #75 [Verbose] > #endif

00:00:07 #76 [Verbose] >

00:00:07 #77 [Verbose] > module Common =

00:00:07 #78 [Verbose] >

00:00:07 #79 [Verbose] >     let nl = System.Environment.NewLine

00:00:07 #80 [Verbose] >     let q = @""""

00:00:07 #81 [Verbose] >

00:00:07 #82 [Verbose] >     let inline cons head tail = head :: tail

00:00:07 #83 [Verbose] >

00:00:07 #84 [Verbose] >     module String =

00:00:07 #85 [Verbose] >         let inline contains (value : string) (input : string) =

00:00:07 #86 [Verbose] >             input.Contains value

00:00:07 #87 [Verbose] >

00:00:07 #88 [Verbose] >         let inline endsWith (value : string) (input : string) =

00:00:07 #89 [Verbose] >             input.EndsWith value

00:00:07 #90 [Verbose] >

00:00:07 #91 [Verbose] >         let inline padLeft totalWidth paddingChar (input : string) =

00:00:07 #92 [Verbose] >             input.PadLeft (totalWidth, paddingChar)

00:00:07 #93 [Verbose] >

00:00:07 #94 [Verbose] >         let inline replace (oldValue : string) (newValue : string) (input :

00:00:07 #95 [Verbose] > string) =

00:00:07 #96 [Verbose] >             input.Replace (oldValue, newValue)

00:00:07 #97 [Verbose] >

00:00:07 #98 [Verbose] >         let inline split separator (input : string) =

00:00:07 #99 [Verbose] >             input.Split separator

00:00:07 #100 [Verbose] >

00:00:07 #101 [Verbose] >         let inline spli...

00:00:08 #102 [Verbose] >

00:00:08 #103 [Verbose] > ── fsharp - import ─────────────────────────────────────────────────────────────

00:00:08 #104 [Verbose] > #if !INTERACTIVE

00:00:08 #105 [Verbose] > namespace Polyglot

00:00:08 #106 [Verbose] > #endif

00:00:08 #107 [Verbose] >

00:00:08 #108 [Verbose] > module CommonFSharp =

00:00:08 #109 [Verbose] >

00:00:08 #110 [Verbose] >     open Common

00:00:08 #111 [Verbose] >

00:00:08 #112 [Verbose] >     /// ## getUnionCaseName

00:00:08 #113 [Verbose] >

00:00:08 #114 [Verbose] >     let inline getUnionCaseName<'T> (x: 'T) =

00:00:08 #115 [Verbose] >         match Reflection.FSharpValue.GetUnionFields(x, typeof<'T>) with

00:00:08 #116 [Verbose] >         | case, _ -> case.Name

00:00:08 #117 [Verbose] >

00:00:08 #118 [Verbose] >

00:00:08 #119 [Verbose] > ── fsharp - import ─────────────────────────────────────────────────────────────

00:00:08 #120 [Verbose] > #if !INTERACTIVE

00:00:08 #121 [Verbose] > namespace Polyglot

00:00:08 #122 [Verbose] > #endif

00:00:08 #123 [Verbose] >

00:00:08 #124 [Verbose] > module Crypto =

00:00:08 #125 [Verbose] >

00:00:08 #126 [Verbose] >     open Common

00:00:08 #127 [Verbose] >

00:00:08 #128 [Verbose] >     /// ## hashText

00:00:08 #129 [Verbose] >

00:00:08 #130 [Verbose] >     let hashText (input : string) =

00:00:08 #131 [Verbose] >         use sha256 = System.Security.Cryptography.SHA256.Create ()

00:00:08 #132 [Verbose] >         input

00:00:08 #133 [Verbose] >         |> System.Text.Encoding.UTF8.GetBytes

00:00:08 #134 [Verbose] >         |> sha256.ComputeHash

00:00:08 #135 [Verbose] >         |> Array.map (fun b -> b.ToString "x2")

00:00:08 #136 [Verbose] >         |> String.concat ""

00:00:08 #137 [Verbose] >

00:00:08 #138 [Verbose] >

00:00:08 #139 [Verbose] > ── fsharp - import ─────────────────────────────────────────────────────────────

00:00:08 #140 [Verbose] > #if !INTERACTIVE

00:00:08 #141 [Verbose] > namespace Polyglot

00:00:08 #142 [Verbose] > #endif

00:00:08 #143 [Verbose] >

00:00:08 #144 [Verbose] > module Async =

00:00:08 #145 [Verbose] >

00:00:08 #146 [Verbose] >     open Common

00:00:08 #147 [Verbose] >

00:00:08 #148 [Verbose] >     /// ## choice

00:00:08 #149 [Verbose] >

00:00:08 #150 [Verbose] >     let inline choice asyncs = async {

00:00:08 #151 [Verbose] >         let e = Event<_> ()

00:00:08 #152 [Verbose] >         use cts = new System.Threading.CancellationTokenSource ()

00:00:08 #153 [Verbose] >         let fn =

00:00:08 #154 [Verbose] >             asyncs

00:00:08 #155 [Verbose] >             |> Seq.map (fun a -> async {

00:00:08 #156 [Verbose] >                 let! x = a

00:00:08 #157 [Verbose] >                 e.Trigger x

00:00:08 #158 [Verbose] >             })

00:00:08 #159 [Verbose] >             |> Async.Parallel

00:00:08 #160 [Verbose] >             |> Async.Ignore

00:00:08 #161 [Verbose] >         Async.Start (fn, cts.Token)

00:00:08 #162 [Verbose] >         let! result = Async.AwaitEvent e.Publish

00:00:08 #163 [Verbose] >         cts.Cancel ()

00:00:08 #164 [Verbose] >         return result

00:00:08 #165 [Verbose] >     }

00:00:08 #166 [Verbose] >

00:00:08 #167 [Verbose] >     /// ## map

00:00:08 #168 [Verbose] >

00:00:08 #169 [Verbose] >     let inline map fn a = async {

00:00:08 #170 [Verbose] >         let! x = a

00:00:08 #171 [Verbose] >         return fn x

00:00:08 #172 [Verbose] >     }

00:00:08 #173 [Verbose] >

00:00:08 #174 [Verbose] >     /// ## catch

00:00:08 #175 [Verbose] >

00:00:08 #176 [Verbose] >     let inline catch a =

00:00:08 #177 [Verbose] >         a

00:00:08 #178 [Verbose] >         |> Async.Catch

00:00:08 #179 [Verbose] >         ...

00:00:09 #180 [Verbose] >

00:00:09 #181 [Verbose] > ── fsharp - import ─────────────────────────────────────────────────────────────

00:00:09 #182 [Verbose] > #if !INTERACTIVE

00:00:09 #183 [Verbose] > namespace Polyglot

00:00:09 #184 [Verbose] > #endif

00:00:09 #185 [Verbose] >

00:00:09 #186 [Verbose] > module AsyncSeq =

00:00:09 #187 [Verbose] >

00:00:09 #188 [Verbose] >     open Common

00:00:09 #189 [Verbose] >

00:00:09 #190 [Verbose] >     /// ## subscribeEvent

00:00:09 #191 [Verbose] >

00:00:09 #192 [Verbose] >     let inline subscribeEvent (event: IEvent<'H, 'A>) map =

00:00:09 #193 [Verbose] >         let observable = System.Reactive.Linq.Observable.FromEventPattern<'H,

00:00:09 #194 [Verbose] > 'A>(event.AddHandler, event.RemoveHandler)

00:00:09 #195 [Verbose] >         System.Reactive.Linq.Observable.Select (observable, fun event -> map

00:00:09 #196 [Verbose] > event.EventArgs)

00:00:09 #197 [Verbose] >         |> FSharp.Control.AsyncSeq.ofObservableBuffered

00:00:09 #198 [Verbose] >

00:00:09 #199 [Verbose] >     let subscribeToken (token : System.Threading.CancellationToken) =

00:00:09 #200 [Verbose] >         let tcs = new System.Threading.Tasks.TaskCompletionSource ()

00:00:09 #201 [Verbose] >         System.Action tcs.SetResult |> token.Register |> ignore

00:00:09 #202 [Verbose] >         let start = System.DateTime.Now.Ticks

00:00:09 #203 [Verbose] >         FSharp.Control.AsyncSeq.unfoldAsync

00:00:09 #204 [Verbose] >             (fun (...

00:00:09 #205 [Verbose] >

00:00:09 #206 [Verbose] > ── fsharp - import ─────────────────────────────────────────────────────────────

00:00:09 #207 [Verbose] > #if !INTERACTIVE

00:00:09 #208 [Verbose] > namespace Polyglot

00:00:09 #209 [Verbose] > #endif

00:00:09 #210 [Verbose] >

00:00:09 #211 [Verbose] > module Networking =

00:00:09 #212 [Verbose] >

00:00:09 #213 [Verbose] >     open Common

00:00:09 #214 [Verbose] >

00:00:09 #215 [Verbose] >     /// ## testPortOpen

00:00:09 #216 [Verbose] >

00:00:09 #217 [Verbose] >     let inline testPortOpen port = async {

00:00:09 #218 [Verbose] >         let! ct = Async.CancellationToken

00:00:09 #219 [Verbose] >         use client = new System.Net.Sockets.TcpClient ()

00:00:09 #220 [Verbose] >         try

00:00:09 #221 [Verbose] >             do! client.ConnectAsync ("127.0.0.1", port, ct) |>

00:00:09 #222 [Verbose] > Async.awaitValueTaskUnit

00:00:09 #223 [Verbose] >             return true

00:00:09 #224 [Verbose] >         with ex ->

00:00:09 #225 [Verbose] >             trace Verbose (fun () -> $"testPortOpen / ex: {ex |>

00:00:09 #226 [Verbose] > printException}") getLocals

00:00:09 #227 [Verbose] >             return false

00:00:09 #228 [Verbose] >     }

00:00:09 #229 [Verbose] >

00:00:09 #230 [Verbose] >     let inline testPortOpenTimeout timeout port = async {

00:00:09 #231 [Verbose] >         let! result =

00:00:09 #232 [Verbose] >             testPortOpen port

00:00:09 #233 [Verbose] >             |> Async.runWithTimeoutAsync timeout

00:00:09 #234 [Verbose] >         return

00:00:09 #235 [Verbose] >             match result with

00:00:09 #236 [Verbose] >             | None -> false

00:00:09 #237 [Verbose] >  ...

00:00:09 #238 [Verbose] >

00:00:09 #239 [Verbose] > ── fsharp - import ─────────────────────────────────────────────────────────────

00:00:09 #240 [Verbose] > #if !INTERACTIVE

00:00:09 #241 [Verbose] > namespace Polyglot

00:00:09 #242 [Verbose] > #endif

00:00:09 #243 [Verbose] >

00:00:09 #244 [Verbose] > module Runtime =

00:00:09 #245 [Verbose] >

00:00:09 #246 [Verbose] >     open Common

00:00:09 #247 [Verbose] >

00:00:09 #248 [Verbose] >     /// ## isWindows

00:00:09 #249 [Verbose] >

00:00:09 #250 [Verbose] >     let isWindows =

00:00:09 #251 [Verbose] >         fun () ->

00:00:09 #252 [Verbose] >             System.Runtime.InteropServices.RuntimeInformation.IsOSPlatform

00:00:09 #253 [Verbose] >                 System.Runtime.InteropServices.OSPlatform.Windows

00:00:09 #254 [Verbose] >         |> memoize

00:00:09 #255 [Verbose] >

00:00:09 #256 [Verbose] >     /// ## getExecutableSuffix

00:00:09 #257 [Verbose] >

00:00:09 #258 [Verbose] >     let inline getExecutableSuffix () =

00:00:09 #259 [Verbose] >         if isWindows ()

00:00:09 #260 [Verbose] >         then ".exe"

00:00:09 #261 [Verbose] >         else ""

00:00:09 #262 [Verbose] >

00:00:09 #263 [Verbose] >     /// ## splitCommand

00:00:09 #264 [Verbose] >

00:00:09 #265 [Verbose] >     type private CommandParseStep =

00:00:09 #266 [Verbose] >         | Start

00:00:09 #267 [Verbose] >         | Path of quoted: bool

00:00:09 #268 [Verbose] >         | Arguments

00:00:09 #269 [Verbose] >

00:00:09 #270 [Verbose] >     let splitCommand (command: string) =

00:00:09 #271 [Verbose] >         let rec loop (path, args) chars step =

00:00:09 #272 [Verbose] >             match chars, step with

00:00:09 #273 [Verbose] >             | ('"' | '\'') :: tail, _ when path = "" -> loop (pat...

00:00:10 #274 [Verbose] >

00:00:10 #275 [Verbose] > ── fsharp - import ─────────────────────────────────────────────────────────────

00:00:10 #276 [Verbose] > #if !INTERACTIVE

00:00:10 #277 [Verbose] > namespace Polyglot

00:00:10 #278 [Verbose] > #endif

00:00:10 #279 [Verbose] >

00:00:10 #280 [Verbose] > module FileSystem =

00:00:10 #281 [Verbose] >

00:00:10 #282 [Verbose] >     open Common

00:00:10 #283 [Verbose] >

00:00:10 #284 [Verbose] >     /// ## Operators

00:00:10 #285 [Verbose] >

00:00:10 #286 [Verbose] >     module Operators =

00:00:10 #287 [Verbose] >         let inline (</>) a b =

00:00:10 #288 [Verbose] >             System.IO.Path.Combine (a, b)

00:00:10 #289 [Verbose] >

00:00:10 #290 [Verbose] >     open Operators

00:00:10 #291 [Verbose] >

00:00:10 #292 [Verbose] >     /// ## createTempDirectoryName

00:00:10 #293 [Verbose] >

00:00:10 #294 [Verbose] >     let inline createTempDirectoryName () =

00:00:10 #295 [Verbose] >         let root = System.Reflection.Assembly.GetEntryAssembly().GetName().Name

00:00:10 #296 [Verbose] >

00:00:10 #297 [Verbose] >         System.IO.Path.GetTempPath ()

00:00:10 #298 [Verbose] >         </> $"!{root}"

00:00:10 #299 [Verbose] >         </> string (newGuidFromDateTime System.DateTime.Now)

00:00:10 #300 [Verbose] >

00:00:10 #301 [Verbose] >     /// ## createTempDirectory

00:00:10 #302 [Verbose] >

00:00:10 #303 [Verbose] >     let inline createTempDirectory () =

00:00:10 #304 [Verbose] >         let tempFolder = createTempDirectoryName ()

00:00:10 #305 [Verbose] >         let result = System.IO.Directory.CreateDirectory tempFolder

00:00:10 #306 [Verbose] >

00:00:10 #307 [Verbose] >         if not result.Exists then

00:00:10 #308 [Verbose] >             let ge...

00:00:13 #309 [Verbose] >

00:00:13 #310 [Verbose] > ── fsharp - import ─────────────────────────────────────────────────────────────

00:00:13 #311 [Verbose] > open Common

00:00:13 #312 [Verbose] > open FileSystem.Operators

00:00:13 #313 [Verbose] >

00:00:13 #314 [Verbose] > ── fsharp - import ─────────────────────────────────────────────────────────────

00:00:13 #315 [Verbose] > let tmpSpiralPath = Path.GetTempPath () </> "!dotnet-interactive-spiral"

00:00:13 #316 [Verbose] > let linePlotsDataPath = tmpSpiralPath </> "line-plots-data"

00:00:13 #317 [Verbose] > let linePlotsSvgPath = tmpSpiralPath </> "line-plots-svg"

00:00:13 #318 [Verbose] >

00:00:13 #319 [Verbose] > [[ tmpSpiralPath; linePlotsDataPath; linePlotsSvgPath ]]

00:00:13 #320 [Verbose] > |> List.iter (fun dir -> if Directory.Exists dir |> not then

00:00:13 #321 [Verbose] > Directory.CreateDirectory dir |> ignore)

00:00:13 #322 [Verbose] >

00:00:13 #323 [Verbose] > Formatter.Register<struct (string * string * string * struct (string * float

00:00:13 #324 [Verbose] > array * float array) array)> (

00:00:13 #325 [Verbose] >     (fun struct (caption, x_desc, y_desc, ys) ->

00:00:13 #326 [Verbose] >         let json = (caption, x_desc, y_desc, ys) |> FSharp.Json.Json.serialize

00:00:13 #327 [Verbose] >         async {

00:00:13 #328 [Verbose] >             let hashHex = json |> Crypto.hashText

00:00:13 #329 [Verbose] >             let svgPath = linePlotsSvgPath </> $"{hashHex}.svg"

00:00:13 #330 [Verbose] >

00:00:13 #331 [Verbose] >             if System.IO.File.Exi...

00:00:13 #332 [Verbose] >

00:00:13 #333 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:13 #334 [Verbose] > // // test

00:00:13 #335 [Verbose] >

00:00:13 #336 [Verbose] > open testing

00:00:14 #337 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0903-4684-8445-8915ace27b00\main.spi

00:00:16 #338 [Verbose] >

00:00:16 #339 [Verbose] > ╭─[ 2.70s - stdout ]───────────────────────────────────────────────────────────╮

00:00:16 #340 [Verbose] > │ ()                                                                           │

00:00:16 #341 [Verbose] > │                                                                              │

00:00:16 #342 [Verbose] > │                                                                              │

00:00:16 #343 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:16 #344 [Verbose] >

00:00:16 #345 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:16 #346 [Verbose] > inl (/@) x = listm'.(/@) x

00:00:16 #347 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0903-4901-0132-086911280a6f\main.spi

00:00:16 #348 [Verbose] >

00:00:16 #349 [Verbose] > ╭─[ 193.33ms - stdout ]────────────────────────────────────────────────────────╮

00:00:16 #350 [Verbose] > │ ()                                                                           │

00:00:16 #351 [Verbose] > │                                                                              │

00:00:16 #352 [Verbose] > │                                                                              │

00:00:16 #353 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:16 #354 [Verbose] >

00:00:16 #355 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────

00:00:16 #356 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮

00:00:16 #357 [Verbose] > │ ## init_series                                                               │

00:00:16 #358 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:16 #359 [Verbose] >

00:00:16 #360 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:16 #361 [Verbose] > // // test

00:00:16 #362 [Verbose] >

00:00:16 #363 [Verbose] > inl x : a _ f64 = am'.init_series -3 3 0.01

00:00:16 #364 [Verbose] > inl y = x |> am.map math.square

00:00:16 #365 [Verbose] > "square", "x", "y", ;[[ "square", x, y ]]

00:00:16 #366 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0903-4920-2070-29aaaca75b01\main.spi

00:00:16 #367 [Verbose] >

00:00:16 #368 [Verbose] > ╭─[ 410.89ms - return value ]──────────────────────────────────────────────────╮

00:00:16 #369 [Verbose] > │ <svg width="640" height="480" viewBox="0 0 640 480"                          │

00:00:16 #370 [Verbose] > │ xmlns="http://www.w3.org/2000/svg">                                          │

00:00:16 #371 [Verbose] > │ <rect x="0" y="0" width="640" height="480" opacity="1" fill="#141414"        │

00:00:16 #372 [Verbose] > │ stroke="none"/>                                                              │

00:00:16 #373 [Verbose] > │ <text x="320" y="10" dy="0.76em" text-anchor="middle"                        │

00:00:16 #374 [Verbose] > │ font-family="sans-serif" font-size="9.67741935483871" opacity="1"            │

00:00:16 #375 [Verbose] > │ fill="#FFFFFF">                                                              │

00:00:16 #376 [Verbose] > │ square                                                                       │

00:00:16 #377 [Verbose] > │ </text>                                                                      │

00:00:16 #378 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="61" y1="424" x2="61" │

00:00:16 #379 [Verbose] > │ y2="75"/>                                                                    │

00:00:16 #380 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="69" y1="424" x2="69" │

00:00:16 #381 [Verbose] > │ y2="75"/>                                                                    │

00:00:16 #382 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="78" y1="424" x2="78" │

00:00:16 #383 [Verbose] > │ y2="75"/>                                                                    │

00:00:16 #384 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="86" y1="424" x2="86" │

00:00:16 #385 [Verbose] > │ y2="75"/>                                                                    │

00:00:16 #386 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="94" y1="424" x2="94" │

00:00:16 #387 [Verbose] > │ ...                                                                          │

00:00:16 #388 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:16 #389 [Verbose] >

00:00:16 #390 [Verbose] > ╭─[ 431.91ms - stdout ]────────────────────────────────────────────────────────╮

00:00:16 #391 [Verbose] > │ type Mut0 = {mutable l0 : int32}                                             │

00:00:16 #392 [Verbose] > │ let rec method1 (v0 : Mut0) : bool =                                         │

00:00:16 #393 [Verbose] > │     let v1 : int32 = v0.l0                                                   │

00:00:16 #394 [Verbose] > │     let v2 : bool = v1 < 601                                                 │

00:00:16 #395 [Verbose] > │     v2                                                                       │

00:00:16 #396 [Verbose] > │ and method2 (v0 : int32, v1 : Mut0) : bool =                                 │

00:00:16 #397 [Verbose] > │     let v2 : int32 = v1.l0                                                   │

00:00:16 #398 [Verbose] > │     let v3 : bool = v2 < v0                                                  │

00:00:16 #399 [Verbose] > │     v3                                                                       │

00:00:16 #400 [Verbose] > │ and method3 (v0 : (struct (string * (float []) * (float [])) [])) : (struct  │

00:00:16 #401 [Verbose] > │ (string * (float []) * (float [])) []) =                                     │

00:00:16 #402 [Verbose] > │     v0                                                                       │

00:00:16 #403 [Verbose] > │ and method0 () : struct (string * string * string * (struct (string * (float │

00:00:16 #404 [Verbose] > │ []) * (float [])) [])) =                                                     │

00:00:16 #405 [Verbose] > │     let v0 : (float []) = Array.zeroCreate<float> (601)                      │

00:00:16 #406 [Verbose] > │     let v1 : Mut0 = {l0 = 0} : Mut0                                          │

00:00:16 #407 [Verbose] > │     while method1(v1) do                                                     │

00:00:16 #408 [Verbose] > │         let v3 : int32 = v1.l0                                               │

00:00:16 #409 [Verbose] > │         let v4 : float = float v3                                            │

00:00:16 #410 [Verbose] > │         let v5 : float = 0.01 * v4                                           │

00:00:16 #411 [Verbose] > │         let v6 : float = -3.0 + v5                                           │

00:00:16 #412 [Verbose] > │         v0.[int v3] <- v6                                                    │

00:00:16 #413 [Verbose] > │         let v7 : int32 = v3 + 1                                              │

00:00:16 #414 [Verbose] > │         v1.l0 <- v7                                                          │

00:00:16 #415 [Verbose] > │         ()                                                                   │

00:00:16 #416 [Verbose] > │     let v8 : int32 = v0.Length                                               │

00:00:16 #417 [Verbose] > │     let v9 : (float []) = Array.zeroCreate<float> (v8)                       │

00:00:16 #418 [Verbose] > │     let v10 : Mut0 = {l0 = 0} : Mut0                                         │

00:00:16 #419 [Verbose] > │     while method2(v8, v10) do                                                │

00:00:16 #420 [Verbose] > │         let v12 : int32 = v10.l0                                             │

00:00:16 #421 [Verbose] > │         let v13 : float = v0.[int v12]                                       │

00:00:16 #422 [Verbose] > │         let v14 : float = v13 ** 2.0                                         │

00:00:16 #423 [Verbose] > │         v9.[int v12] <- v14                                                  │

00:00:16 #424 [Verbose] > │         let v15 : int32 = v12 + 1                                            │

00:00:16 #425 [Verbose] > │         v10.l0 <- v15                                                        │

00:00:16 #426 [Verbose] > │         ()                                                                   │

00:00:16 #427 [Verbose] > │     let v16 : string = "square"                                              │

00:00:16 #428 [Verbose] > │     let v17 : (struct (string * (float []) * (float [])) []) = [|struct      │

00:00:16 #429 [Verbose] > │ (v16, v0, v9)|]                                                              │

00:00:16 #430 [Verbose] > │     let v18 : (struct (string * (float []) * (float [])) []) = method3(v17)  │

00:00:16 #431 [Verbose] > │     let v19 : string = "x"                                                   │

00:00:16 #432 [Verbose] > │     let v20 : string = "y"                                                   │

00:00:16 #433 [Verbose] > │     struct (v16, v19, v20, v18)                                              │

00:00:16 #434 [Verbose] > │ method0()                                                                    │

00:00:16 #435 [Verbose] > │                                                                              │

00:00:16 #436 [Verbose] > │                                                                              │

00:00:16 #437 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:16 #438 [Verbose] >

00:00:16 #439 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:16 #440 [Verbose] > // // test

00:00:16 #441 [Verbose] >

00:00:16 #442 [Verbose] > inl x : a _ f64 = am'.init_series -10 10 0.1

00:00:16 #443 [Verbose] > inl y_sin = x |> am.map sin

00:00:16 #444 [Verbose] > inl y_cos = x |> am.map cos

00:00:16 #445 [Verbose] > "sin cos", "x", "y", ;[[ "sin", x, y_sin; "cos", x, y_cos ]]

00:00:16 #446 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0903-4965-6593-6742f950912c\main.spi

00:00:17 #447 [Verbose] >

00:00:17 #448 [Verbose] > ╭─[ 198.31ms - return value ]──────────────────────────────────────────────────╮

00:00:17 #449 [Verbose] > │ <svg width="640" height="480" viewBox="0 0 640 480"                          │

00:00:17 #450 [Verbose] > │ xmlns="http://www.w3.org/2000/svg">                                          │

00:00:17 #451 [Verbose] > │ <rect x="0" y="0" width="640" height="480" opacity="1" fill="#141414"        │

00:00:17 #452 [Verbose] > │ stroke="none"/>                                                              │

00:00:17 #453 [Verbose] > │ <text x="320" y="10" dy="0.76em" text-anchor="middle"                        │

00:00:17 #454 [Verbose] > │ font-family="sans-serif" font-size="9.67741935483871" opacity="1"            │

00:00:17 #455 [Verbose] > │ fill="#FFFFFF">                                                              │

00:00:17 #456 [Verbose] > │ sin cos                                                                      │

00:00:17 #457 [Verbose] > │ </text>                                                                      │

00:00:17 #458 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="57" y1="424" x2="57" │

00:00:17 #459 [Verbose] > │ y2="75"/>                                                                    │

00:00:17 #460 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="69" y1="424" x2="69" │

00:00:17 #461 [Verbose] > │ y2="75"/>                                                                    │

00:00:17 #462 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="82" y1="424" x2="82" │

00:00:17 #463 [Verbose] > │ y2="75"/>                                                                    │

00:00:17 #464 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="94" y1="424" x2="94" │

00:00:17 #465 [Verbose] > │ y2="75"/>                                                                    │

00:00:17 #466 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="107" y1="424"        │

00:00:17 #467 [Verbose] > │ x2="10...                                                                    │

00:00:17 #468 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:17 #469 [Verbose] >

00:00:17 #470 [Verbose] > ╭─[ 208.50ms - stdout ]────────────────────────────────────────────────────────╮

00:00:17 #471 [Verbose] > │ type Mut0 = {mutable l0 : int32}                                             │

00:00:17 #472 [Verbose] > │ let rec method1 (v0 : Mut0) : bool =                                         │

00:00:17 #473 [Verbose] > │     let v1 : int32 = v0.l0                                                   │

00:00:17 #474 [Verbose] > │     let v2 : bool = v1 < 201                                                 │

00:00:17 #475 [Verbose] > │     v2                                                                       │

00:00:17 #476 [Verbose] > │ and method2 (v0 : int32, v1 : Mut0) : bool =                                 │

00:00:17 #477 [Verbose] > │     let v2 : int32 = v1.l0                                                   │

00:00:17 #478 [Verbose] > │     let v3 : bool = v2 < v0                                                  │

00:00:17 #479 [Verbose] > │     v3                                                                       │

00:00:17 #480 [Verbose] > │ and method3 (v0 : (struct (string * (float []) * (float [])) [])) : (struct  │

00:00:17 #481 [Verbose] > │ (string * (float []) * (float [])) []) =                                     │

00:00:17 #482 [Verbose] > │     v0                                                                       │

00:00:17 #483 [Verbose] > │ and method0 () : struct (string * string * string * (struct (string * (float │

00:00:17 #484 [Verbose] > │ []) * (float [])) [])) =                                                     │

00:00:17 #485 [Verbose] > │     let v0 : (float []) = Array.zeroCreate<float> (201)                      │

00:00:17 #486 [Verbose] > │     let v1 : Mut0 = {l0 = 0} : Mut0                                          │

00:00:17 #487 [Verbose] > │     while method1(v1) do                                                     │

00:00:17 #488 [Verbose] > │         let v3 : int32 = v1.l0                                               │

00:00:17 #489 [Verbose] > │         let v4 : float = float v3                                            │

00:00:17 #490 [Verbose] > │         let v5 : float = 0.1 * v4                                            │

00:00:17 #491 [Verbose] > │         let v6 : float = -10.0 + v5                                          │

00:00:17 #492 [Verbose] > │         v0.[int v3] <- v6                                                    │

00:00:17 #493 [Verbose] > │         let v7 : int32 = v3 + 1                                              │

00:00:17 #494 [Verbose] > │         v1.l0 <- v7                                                          │

00:00:17 #495 [Verbose] > │         ()                                                                   │

00:00:17 #496 [Verbose] > │     let v8 : int32 = v0.Length                                               │

00:00:17 #497 [Verbose] > │     let v9 : (float []) = Array.zeroCreate<float> (v8)                       │

00:00:17 #498 [Verbose] > │     let v10 : Mut0 = {l0 = 0} : Mut0                                         │

00:00:17 #499 [Verbose] > │     while method2(v8, v10) do                                                │

00:00:17 #500 [Verbose] > │         let v12 : int32 = v10.l0                                             │

00:00:17 #501 [Verbose] > │         let v13 : float = v0.[int v12]                                       │

00:00:17 #502 [Verbose] > │         let v14 : float = sin v13                                            │

00:00:17 #503 [Verbose] > │         v9.[int v12] <- v14                                                  │

00:00:17 #504 [Verbose] > │         let v15 : int32 = v12 + 1                                            │

00:00:17 #505 [Verbose] > │         v10.l0 <- v15                                                        │

00:00:17 #506 [Verbose] > │         ()                                                                   │

00:00:17 #507 [Verbose] > │     let v16 : (float []) = Array.zeroCreate<float> (v8)                      │

00:00:17 #508 [Verbose] > │     let v17 : Mut0 = {l0 = 0} : Mut0                                         │

00:00:17 #509 [Verbose] > │     while method2(v8, v17) do                                                │

00:00:17 #510 [Verbose] > │         let v19 : int32 = v17.l0                                             │

00:00:17 #511 [Verbose] > │         let v20 : float = v0.[int v19]                                       │

00:00:17 #512 [Verbose] > │         let v21 : float = cos v20                                            │

00:00:17 #513 [Verbose] > │         v16.[int v19] <- v21                                                 │

00:00:17 #514 [Verbose] > │         let v22 : int32 = v19 + 1                                            │

00:00:17 #515 [Verbose] > │         v17.l0 <- v22                                                        │

00:00:17 #516 [Verbose] > │         ()                                                                   │

00:00:17 #517 [Verbose] > │     let v23 : string = "sin"                                                 │

00:00:17 #518 [Verbose] > │     let v24 : string = "cos"                                                 │

00:00:17 #519 [Verbose] > │     let v25 : (struct (string * (float []) * (float [])) []) = [|struct      │

00:00:17 #520 [Verbose] > │ (v23, v0, v9); struct (v24, v0, v16)|]                                       │

00:00:17 #521 [Verbose] > │     let v26 : (struct (string * (float []) * (float [])) []) = method3(v25)  │

00:00:17 #522 [Verbose] > │     let v27 : string = "sin cos"                                             │

00:00:17 #523 [Verbose] > │     let v28 : string = "x"                                                   │

00:00:17 #524 [Verbose] > │     let v29 : string = "y"                                                   │

00:00:17 #525 [Verbose] > │     struct (v27, v28, v29, v26)                                              │

00:00:17 #526 [Verbose] > │ method0()                                                                    │

00:00:17 #527 [Verbose] > │                                                                              │

00:00:17 #528 [Verbose] > │                                                                              │

00:00:17 #529 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:17 #530 [Verbose] >

00:00:17 #531 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:17 #532 [Verbose] > // // test

00:00:17 #533 [Verbose] >

00:00:17 #534 [Verbose] > inl y_pos y0 vy0 ay t =

00:00:17 #535 [Verbose] >     y0 + vy0 * t + ay * (t |> math.square) / 2

00:00:17 #536 [Verbose] >

00:00:17 #537 [Verbose] > inl x : a _ f64 = am'.init_series 0 5 0.01

00:00:17 #538 [Verbose] > inl y = x |> am.map (y_pos 0 20 -9.8)

00:00:17 #539 [Verbose] > "projectile motion", "time (s)", "", ;[[ "height of projectile (m)", x, y ]]

00:00:17 #540 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0903-4989-8931-84b702150a06\main.spi

00:00:17 #541 [Verbose] >

00:00:17 #542 [Verbose] > ╭─[ 243.53ms - return value ]──────────────────────────────────────────────────╮

00:00:17 #543 [Verbose] > │ <svg width="640" height="480" viewBox="0 0 640 480"                          │

00:00:17 #544 [Verbose] > │ xmlns="http://www.w3.org/2000/svg">                                          │

00:00:17 #545 [Verbose] > │ <rect x="0" y="0" width="640" height="480" opacity="1" fill="#141414"        │

00:00:17 #546 [Verbose] > │ stroke="none"/>                                                              │

00:00:17 #547 [Verbose] > │ <text x="320" y="10" dy="0.76em" text-anchor="middle"                        │

00:00:17 #548 [Verbose] > │ font-family="sans-serif" font-size="9.67741935483871" opacity="1"            │

00:00:17 #549 [Verbose] > │ fill="#FFFFFF">                                                              │

00:00:17 #550 [Verbose] > │ projectile motion                                                            │

00:00:17 #551 [Verbose] > │ </text>                                                                      │

00:00:17 #552 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="59" y1="424" x2="59" │

00:00:17 #553 [Verbose] > │ y2="75"/>                                                                    │

00:00:17 #554 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="69" y1="424" x2="69" │

00:00:17 #555 [Verbose] > │ y2="75"/>                                                                    │

00:00:17 #556 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="79" y1="424" x2="79" │

00:00:17 #557 [Verbose] > │ y2="75"/>                                                                    │

00:00:17 #558 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="89" y1="424" x2="89" │

00:00:17 #559 [Verbose] > │ y2="75"/>                                                                    │

00:00:17 #560 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="99" y1="42...        │

00:00:17 #561 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:17 #562 [Verbose] >

00:00:17 #563 [Verbose] > ╭─[ 253.69ms - stdout ]────────────────────────────────────────────────────────╮

00:00:17 #564 [Verbose] > │ type Mut0 = {mutable l0 : int32}                                             │

00:00:17 #565 [Verbose] > │ let rec method1 (v0 : Mut0) : bool =                                         │

00:00:17 #566 [Verbose] > │     let v1 : int32 = v0.l0                                                   │

00:00:17 #567 [Verbose] > │     let v2 : bool = v1 < 501                                                 │

00:00:17 #568 [Verbose] > │     v2                                                                       │

00:00:17 #569 [Verbose] > │ and method2 (v0 : int32, v1 : Mut0) : bool =                                 │

00:00:17 #570 [Verbose] > │     let v2 : int32 = v1.l0                                                   │

00:00:17 #571 [Verbose] > │     let v3 : bool = v2 < v0                                                  │

00:00:17 #572 [Verbose] > │     v3                                                                       │

00:00:17 #573 [Verbose] > │ and method3 (v0 : (struct (string * (float []) * (float [])) [])) : (struct  │

00:00:17 #574 [Verbose] > │ (string * (float []) * (float [])) []) =                                     │

00:00:17 #575 [Verbose] > │     v0                                                                       │

00:00:17 #576 [Verbose] > │ and method0 () : struct (string * string * string * (struct (string * (float │

00:00:17 #577 [Verbose] > │ []) * (float [])) [])) =                                                     │

00:00:17 #578 [Verbose] > │     let v0 : (float []) = Array.zeroCreate<float> (501)                      │

00:00:17 #579 [Verbose] > │     let v1 : Mut0 = {l0 = 0} : Mut0                                          │

00:00:17 #580 [Verbose] > │     while method1(v1) do                                                     │

00:00:17 #581 [Verbose] > │         let v3 : int32 = v1.l0                                               │

00:00:17 #582 [Verbose] > │         let v4 : float = float v3                                            │

00:00:17 #583 [Verbose] > │         let v5 : float = 0.01 * v4                                           │

00:00:17 #584 [Verbose] > │         v0.[int v3] <- v5                                                    │

00:00:17 #585 [Verbose] > │         let v6 : int32 = v3 + 1                                              │

00:00:17 #586 [Verbose] > │         v1.l0 <- v6                                                          │

00:00:17 #587 [Verbose] > │         ()                                                                   │

00:00:17 #588 [Verbose] > │     let v7 : int32 = v0.Length                                               │

00:00:17 #589 [Verbose] > │     let v8 : (float []) = Array.zeroCreate<float> (v7)                       │

00:00:17 #590 [Verbose] > │     let v9 : Mut0 = {l0 = 0} : Mut0                                          │

00:00:17 #591 [Verbose] > │     while method2(v7, v9) do                                                 │

00:00:17 #592 [Verbose] > │         let v11 : int32 = v9.l0                                              │

00:00:17 #593 [Verbose] > │         let v12 : float = v0.[int v11]                                       │

00:00:17 #594 [Verbose] > │         let v13 : float = 20.0 * v12                                         │

00:00:17 #595 [Verbose] > │         let v14 : float = v12 ** 2.0                                         │

00:00:17 #596 [Verbose] > │         let v15 : float = -9.8 * v14                                         │

00:00:17 #597 [Verbose] > │         let v16 : float = v15 / 2.0                                          │

00:00:17 #598 [Verbose] > │         let v17 : float = v13 + v16                                          │

00:00:17 #599 [Verbose] > │         v8.[int v11] <- v17                                                  │

00:00:17 #600 [Verbose] > │         let v18 : int32 = v11 + 1                                            │

00:00:17 #601 [Verbose] > │         v9.l0 <- v18                                                         │

00:00:17 #602 [Verbose] > │         ()                                                                   │

00:00:17 #603 [Verbose] > │     let v19 : string = "height of projectile (m)"                            │

00:00:17 #604 [Verbose] > │     let v20 : (struct (string * (float []) * (float [])) []) = [|struct      │

00:00:17 #605 [Verbose] > │ (v19, v0, v8)|]                                                              │

00:00:17 #606 [Verbose] > │     let v21 : (struct (string * (float []) * (float [])) []) = method3(v20)  │

00:00:17 #607 [Verbose] > │     let v22 : string = "projectile motion"                                   │

00:00:17 #608 [Verbose] > │     let v23 : string = "time (s)"                                            │

00:00:17 #609 [Verbose] > │     let v24 : string = ""                                                    │

00:00:17 #610 [Verbose] > │     struct (v22, v23, v24, v21)                                              │

00:00:17 #611 [Verbose] > │ method0()                                                                    │

00:00:17 #612 [Verbose] > │                                                                              │

00:00:17 #613 [Verbose] > │                                                                              │

00:00:17 #614 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:17 #615 [Verbose] >

00:00:17 #616 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────

00:00:17 #617 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮

00:00:17 #618 [Verbose] > │ ## velocity_cf                                                               │

00:00:17 #619 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:17 #620 [Verbose] >

00:00:17 #621 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:17 #622 [Verbose] > type mass = f64

00:00:17 #623 [Verbose] > type time = f64

00:00:17 #624 [Verbose] > type position = f64

00:00:17 #625 [Verbose] > type velocity = f64

00:00:17 #626 [Verbose] > type force = f64

00:00:17 #627 [Verbose] >

00:00:17 #628 [Verbose] > type velocity_cf = mass -> velocity -> list force -> (time -> velocity)

00:00:17 #629 [Verbose] >

00:00:17 #630 [Verbose] > inl velocity_cf m v0 fs =

00:00:17 #631 [Verbose] >     inl f_net = fs |> listm'.sum

00:00:17 #632 [Verbose] >     inl a0 = f_net / m

00:00:17 #633 [Verbose] >     inl v t = v0 + a0 * t

00:00:17 #634 [Verbose] >     v

00:00:17 #635 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0903-5016-1690-158f2f3b08d5\main.spi

00:00:17 #636 [Verbose] >

00:00:17 #637 [Verbose] > ╭─[ 167.16ms - stdout ]────────────────────────────────────────────────────────╮

00:00:17 #638 [Verbose] > │ ()                                                                           │

00:00:17 #639 [Verbose] > │                                                                              │

00:00:17 #640 [Verbose] > │                                                                              │

00:00:17 #641 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:17 #642 [Verbose] >

00:00:17 #643 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:17 #644 [Verbose] > // // test

00:00:17 #645 [Verbose] >

00:00:17 #646 [Verbose] > velocity_cf 0.1f64 0.6 [[ 0.04; -0.08 ]] 0

00:00:17 #647 [Verbose] > |> _equal 0.6

00:00:17 #648 [Verbose] >

00:00:17 #649 [Verbose] > velocity_cf 0.1f64 0.6 [[ 0.04; -0.08 ]] 1

00:00:17 #650 [Verbose] > |> _equal 0.2

00:00:17 #651 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0903-5033-3387-3aa54627e161\main.spi

00:00:17 #652 [Verbose] >

00:00:17 #653 [Verbose] > ╭─[ 226.76ms - stdout ]────────────────────────────────────────────────────────╮

00:00:17 #654 [Verbose] > │ let rec method0 () : unit =                                                  │

00:00:17 #655 [Verbose] > │     let v0 : string = $"__expect / actual: %A{0.6} / expected: %A{0.6}"      │

00:00:17 #656 [Verbose] > │     let v1 : string = $"__expect / actual: %A{0.2} / expected: %A{0.2}"      │

00:00:17 #657 [Verbose] > │     ()                                                                       │

00:00:17 #658 [Verbose] > │ method0()                                                                    │

00:00:17 #659 [Verbose] > │                                                                              │

00:00:17 #660 [Verbose] > │                                                                              │

00:00:17 #661 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:17 #662 [Verbose] >

00:00:17 #663 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:17 #664 [Verbose] > // // test

00:00:17 #665 [Verbose] >

00:00:17 #666 [Verbose] > inl x = am'.init_series 0 4 0.1

00:00:17 #667 [Verbose] > inl y = x |> am.map (velocity_cf 0.1f64 0.6 [[ 0.04; -0.08 ]])

00:00:17 #668 [Verbose] > "car on an air track", "time (s)", "", ;[[ "velocity of car (m/s)", x, y ]]

00:00:17 #669 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0903-5056-5683-557b1188a81e\main.spi

00:00:17 #670 [Verbose] >

00:00:17 #671 [Verbose] > ╭─[ 204.06ms - return value ]──────────────────────────────────────────────────╮

00:00:17 #672 [Verbose] > │ <svg width="640" height="480" viewBox="0 0 640 480"                          │

00:00:17 #673 [Verbose] > │ xmlns="http://www.w3.org/2000/svg">                                          │

00:00:17 #674 [Verbose] > │ <rect x="0" y="0" width="640" height="480" opacity="1" fill="#141414"        │

00:00:17 #675 [Verbose] > │ stroke="none"/>                                                              │

00:00:17 #676 [Verbose] > │ <text x="320" y="10" dy="0.76em" text-anchor="middle"                        │

00:00:17 #677 [Verbose] > │ font-family="sans-serif" font-size="9.67741935483871" opacity="1"            │

00:00:17 #678 [Verbose] > │ fill="#FFFFFF">                                                              │

00:00:17 #679 [Verbose] > │ car on an air track                                                          │

00:00:17 #680 [Verbose] > │ </text>                                                                      │

00:00:17 #681 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="57" y1="424" x2="57" │

00:00:17 #682 [Verbose] > │ y2="75"/>                                                                    │

00:00:17 #683 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="69" y1="424" x2="69" │

00:00:17 #684 [Verbose] > │ y2="75"/>                                                                    │

00:00:17 #685 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="82" y1="424" x2="82" │

00:00:17 #686 [Verbose] > │ y2="75"/>                                                                    │

00:00:17 #687 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="94" y1="424" x2="94" │

00:00:17 #688 [Verbose] > │ y2="75"/>                                                                    │

00:00:17 #689 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="107" y1=...          │

00:00:17 #690 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:17 #691 [Verbose] >

00:00:17 #692 [Verbose] > ╭─[ 216.56ms - stdout ]────────────────────────────────────────────────────────╮

00:00:17 #693 [Verbose] > │ type Mut0 = {mutable l0 : int32}                                             │

00:00:17 #694 [Verbose] > │ let rec method1 (v0 : Mut0) : bool =                                         │

00:00:17 #695 [Verbose] > │     let v1 : int32 = v0.l0                                                   │

00:00:17 #696 [Verbose] > │     let v2 : bool = v1 < 41                                                  │

00:00:17 #697 [Verbose] > │     v2                                                                       │

00:00:17 #698 [Verbose] > │ and method2 (v0 : int32, v1 : Mut0) : bool =                                 │

00:00:17 #699 [Verbose] > │     let v2 : int32 = v1.l0                                                   │

00:00:17 #700 [Verbose] > │     let v3 : bool = v2 < v0                                                  │

00:00:17 #701 [Verbose] > │     v3                                                                       │

00:00:17 #702 [Verbose] > │ and method3 (v0 : (struct (string * (float []) * (float [])) [])) : (struct  │

00:00:17 #703 [Verbose] > │ (string * (float []) * (float [])) []) =                                     │

00:00:17 #704 [Verbose] > │     v0                                                                       │

00:00:17 #705 [Verbose] > │ and method0 () : struct (string * string * string * (struct (string * (float │

00:00:17 #706 [Verbose] > │ []) * (float [])) [])) =                                                     │

00:00:17 #707 [Verbose] > │     let v0 : (float []) = Array.zeroCreate<float> (41)                       │

00:00:17 #708 [Verbose] > │     let v1 : Mut0 = {l0 = 0} : Mut0                                          │

00:00:17 #709 [Verbose] > │     while method1(v1) do                                                     │

00:00:17 #710 [Verbose] > │         let v3 : int32 = v1.l0                                               │

00:00:17 #711 [Verbose] > │         let v4 : float = float v3                                            │

00:00:17 #712 [Verbose] > │         let v5 : float = 0.1 * v4                                            │

00:00:17 #713 [Verbose] > │         v0.[int v3] <- v5                                                    │

00:00:17 #714 [Verbose] > │         let v6 : int32 = v3 + 1                                              │

00:00:17 #715 [Verbose] > │         v1.l0 <- v6                                                          │

00:00:17 #716 [Verbose] > │         ()                                                                   │

00:00:17 #717 [Verbose] > │     let v7 : int32 = v0.Length                                               │

00:00:17 #718 [Verbose] > │     let v8 : (float []) = Array.zeroCreate<float> (v7)                       │

00:00:17 #719 [Verbose] > │     let v9 : Mut0 = {l0 = 0} : Mut0                                          │

00:00:17 #720 [Verbose] > │     while method2(v7, v9) do                                                 │

00:00:17 #721 [Verbose] > │         let v11 : int32 = v9.l0                                              │

00:00:17 #722 [Verbose] > │         let v12 : float = v0.[int v11]                                       │

00:00:17 #723 [Verbose] > │         let v13 : float = -0.39999999999999997 * v12                         │

00:00:17 #724 [Verbose] > │         let v14 : float = 0.6 + v13                                          │

00:00:17 #725 [Verbose] > │         v8.[int v11] <- v14                                                  │

00:00:17 #726 [Verbose] > │         let v15 : int32 = v11 + 1                                            │

00:00:17 #727 [Verbose] > │         v9.l0 <- v15                                                         │

00:00:17 #728 [Verbose] > │         ()                                                                   │

00:00:17 #729 [Verbose] > │     let v16 : string = "velocity of car (m/s)"                               │

00:00:17 #730 [Verbose] > │     let v17 : (struct (string * (float []) * (float [])) []) = [|struct      │

00:00:17 #731 [Verbose] > │ (v16, v0, v8)|]                                                              │

00:00:17 #732 [Verbose] > │     let v18 : (struct (string * (float []) * (float [])) []) = method3(v17)  │

00:00:17 #733 [Verbose] > │     let v19 : string = "car on an air track"                                 │

00:00:17 #734 [Verbose] > │     let v20 : string = "time (s)"                                            │

00:00:17 #735 [Verbose] > │     let v21 : string = ""                                                    │

00:00:17 #736 [Verbose] > │     struct (v19, v20, v21, v18)                                              │

00:00:17 #737 [Verbose] > │ method0()                                                                    │

00:00:17 #738 [Verbose] > │                                                                              │

00:00:17 #739 [Verbose] > │                                                                              │

00:00:17 #740 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:17 #741 [Verbose] >

00:00:17 #742 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────

00:00:17 #743 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮

00:00:17 #744 [Verbose] > │ ## derivative                                                                │

00:00:17 #745 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:17 #746 [Verbose] >

00:00:17 #747 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:17 #748 [Verbose] > type derivative = (f64 -> f64) -> f64 -> f64

00:00:17 #749 [Verbose] >

00:00:17 #750 [Verbose] > inl derivative dt : derivative =

00:00:17 #751 [Verbose] >     fun x t =>

00:00:17 #752 [Verbose] >         (x (t + dt / 2) - x (t - dt / 2)) / dt

00:00:18 #753 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0903-5081-8141-8186320a88d5\main.spi

00:00:18 #754 [Verbose] >

00:00:18 #755 [Verbose] > ╭─[ 165.72ms - stdout ]────────────────────────────────────────────────────────╮

00:00:18 #756 [Verbose] > │ ()                                                                           │

00:00:18 #757 [Verbose] > │                                                                              │

00:00:18 #758 [Verbose] > │                                                                              │

00:00:18 #759 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:18 #760 [Verbose] >

00:00:18 #761 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:18 #762 [Verbose] > // // test

00:00:18 #763 [Verbose] >

00:00:18 #764 [Verbose] > derivative 1 (fun x => x ** 4 / 4) 1 - 1

00:00:18 #765 [Verbose] > |> _almost_equal 0.25

00:00:18 #766 [Verbose] >

00:00:18 #767 [Verbose] > derivative 0.001 (fun x => x ** 4 / 4) 1 - 1

00:00:18 #768 [Verbose] > |> _almost_equal 0.0000002499998827953931

00:00:18 #769 [Verbose] >

00:00:18 #770 [Verbose] > derivative 0.000001 (fun x => x ** 4 / 4) 1 - 1

00:00:18 #771 [Verbose] > |> _almost_equal 0.000000000001000088900582341

00:00:18 #772 [Verbose] >

00:00:18 #773 [Verbose] > derivative 0.000000001 (fun x => x ** 4 / 4) 1 - 1

00:00:18 #774 [Verbose] > |> _almost_equal 0.00000008274037099909037

00:00:18 #775 [Verbose] >

00:00:18 #776 [Verbose] > derivative 0.000000000001 (fun x => x ** 4 / 4) 1 - 1

00:00:18 #777 [Verbose] > |> _almost_equal 0.00008890058234101161

00:00:18 #778 [Verbose] >

00:00:18 #779 [Verbose] > derivative 0.000000000000001 (fun x => x ** 4 / 4) 1 - 1

00:00:18 #780 [Verbose] > |> _almost_equal -0.0007992778373592246

00:00:18 #781 [Verbose] >

00:00:18 #782 [Verbose] > derivative 0.000000000000000001 (fun x => x ** 4 / 4) 1 - 1

00:00:18 #783 [Verbose] > |> _almost_equal -1

00:00:18 #784 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0903-5098-9825-908156823677\main.spi

00:00:18 #785 [Verbose] >

00:00:18 #786 [Verbose] > ╭─[ 181.09ms - stdout ]────────────────────────────────────────────────────────╮

00:00:18 #787 [Verbose] > │ let rec method0 () : unit =                                                  │

00:00:18 #788 [Verbose] > │     let v0 : string = $"__expect / actual: %A{0.25} / expected: %A{0.25}"    │

00:00:18 #789 [Verbose] > │     let v1 : string = $"__expect / actual: %A{2.499998827953931E-07} /       │

00:00:18 #790 [Verbose] > │ expected: %A{2.499998827953931E-07}"                                         │

00:00:18 #791 [Verbose] > │     let v2 : string = $"__expect / actual: %A{1.000088900582341E-12} /       │

00:00:18 #792 [Verbose] > │ expected: %A{1.000088900582341E-12}"                                         │

00:00:18 #793 [Verbose] > │     let v3 : string = $"__expect / actual: %A{8.274037099909037E-08} /       │

00:00:18 #794 [Verbose] > │ expected: %A{8.274037099909037E-08}"                                         │

00:00:18 #795 [Verbose] > │     let v4 : string = $"__expect / actual: %A{8.890058234101161E-05} /       │

00:00:18 #796 [Verbose] > │ expected: %A{8.890058234101161E-05}"                                         │

00:00:18 #797 [Verbose] > │     let v5 : string = $"__expect / actual: %A{-0.0007992778373592246} /      │

00:00:18 #798 [Verbose] > │ expected: %A{-0.0007992778373592246}"                                        │

00:00:18 #799 [Verbose] > │     let v6 : string = $"__expect / actual: %A{-1.0} / expected: %A{-1.0}"    │

00:00:18 #800 [Verbose] > │     ()                                                                       │

00:00:18 #801 [Verbose] > │ method0()                                                                    │

00:00:18 #802 [Verbose] > │                                                                              │

00:00:18 #803 [Verbose] > │                                                                              │

00:00:18 #804 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:18 #805 [Verbose] >

00:00:18 #806 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────

00:00:18 #807 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮

00:00:18 #808 [Verbose] > │ ## integration                                                               │

00:00:18 #809 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:18 #810 [Verbose] >

00:00:18 #811 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:18 #812 [Verbose] > type integration = (f64 -> f64) -> f64 -> f64 -> f64

00:00:18 #813 [Verbose] >

00:00:18 #814 [Verbose] > inl integral dt : integration =

00:00:18 #815 [Verbose] >     fun f a b =>

00:00:18 #816 [Verbose] >         inl rec loop t y =

00:00:18 #817 [Verbose] >             if t < b

00:00:18 #818 [Verbose] >             then loop (t + dt) (y + f t * dt)

00:00:18 #819 [Verbose] >             else t, y

00:00:18 #820 [Verbose] >         loop (a + dt / 2) 0

00:00:18 #821 [Verbose] >         |> snd

00:00:18 #822 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0903-5117-1735-1cc1c09c5d62\main.spi

00:00:18 #823 [Verbose] >

00:00:18 #824 [Verbose] > ╭─[ 181.62ms - stdout ]────────────────────────────────────────────────────────╮

00:00:18 #825 [Verbose] > │ ()                                                                           │

00:00:18 #826 [Verbose] > │                                                                              │

00:00:18 #827 [Verbose] > │                                                                              │

00:00:18 #828 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:18 #829 [Verbose] >

00:00:18 #830 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:18 #831 [Verbose] > // // test

00:00:18 #832 [Verbose] >

00:00:18 #833 [Verbose] > integral 0.01 math.square 0 1

00:00:18 #834 [Verbose] > |> _almost_equal 0.33332500000000004

00:00:18 #835 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0903-5135-3570-3285e9d91d6a\main.spi

00:00:18 #836 [Verbose] >

00:00:18 #837 [Verbose] > ╭─[ 156.95ms - stdout ]────────────────────────────────────────────────────────╮

00:00:18 #838 [Verbose] > │ let rec method0 () : unit =                                                  │

00:00:18 #839 [Verbose] > │     let v0 : string = $"__expect / actual: %A{0.3333250000000004} /          │

00:00:18 #840 [Verbose] > │ expected: %A{0.33332500000000004}"                                           │

00:00:18 #841 [Verbose] > │     ()                                                                       │

00:00:18 #842 [Verbose] > │ method0()                                                                    │

00:00:18 #843 [Verbose] > │                                                                              │

00:00:18 #844 [Verbose] > │                                                                              │

00:00:18 #845 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:18 #846 [Verbose] >

00:00:18 #847 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:18 #848 [Verbose] > inl integral' dt : integration =

00:00:18 #849 [Verbose] >     fun f a b =>

00:00:18 #850 [Verbose] >         listm'.init_series (a + dt / 2) (b - dt / 2) dt

00:00:18 #851 [Verbose] >         |> listm.map (f >> (*) dt)

00:00:18 #852 [Verbose] >         |> listm'.sum

00:00:18 #853 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0903-5151-5177-57ea598fe2d1\main.spi

00:00:18 #854 [Verbose] >

00:00:18 #855 [Verbose] > ╭─[ 248.62ms - stdout ]────────────────────────────────────────────────────────╮

00:00:18 #856 [Verbose] > │ ()                                                                           │

00:00:18 #857 [Verbose] > │                                                                              │

00:00:18 #858 [Verbose] > │                                                                              │

00:00:18 #859 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:18 #860 [Verbose] >

00:00:18 #861 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:18 #862 [Verbose] > // // test

00:00:18 #863 [Verbose] >

00:00:18 #864 [Verbose] > integral' 0.1 math.square 0 1

00:00:18 #865 [Verbose] > |> _almost_equal (integral 0.1 math.square 0 1)

00:00:19 #866 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0903-5176-7683-7224fcf7b7eb\main.spi

00:00:19 #867 [Verbose] >

00:00:19 #868 [Verbose] > ╭─[ 178.61ms - stdout ]────────────────────────────────────────────────────────╮

00:00:19 #869 [Verbose] > │ let rec method0 () : unit =                                                  │

00:00:19 #870 [Verbose] > │     let v0 : string = $"__expect / actual: %A{0.3325000000000001} /          │

00:00:19 #871 [Verbose] > │ expected: %A{0.33249999999999996}"                                           │

00:00:19 #872 [Verbose] > │     ()                                                                       │

00:00:19 #873 [Verbose] > │ method0()                                                                    │

00:00:19 #874 [Verbose] > │                                                                              │

00:00:19 #875 [Verbose] > │                                                                              │

00:00:19 #876 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:19 #877 [Verbose] >

00:00:19 #878 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:19 #879 [Verbose] > inl integral'' dt : integration =

00:00:19 #880 [Verbose] >     fun f a b =>

00:00:19 #881 [Verbose] >         am'.init_series (a + dt / 2) (b - dt / 2) dt

00:00:19 #882 [Verbose] >         |> am.map (f >> (*) dt)

00:00:19 #883 [Verbose] >         |> am'.sum

00:00:19 #884 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0903-5195-9504-9358aefc25e4\main.spi

00:00:19 #885 [Verbose] >

00:00:19 #886 [Verbose] > ╭─[ 211.82ms - stdout ]────────────────────────────────────────────────────────╮

00:00:19 #887 [Verbose] > │ ()                                                                           │

00:00:19 #888 [Verbose] > │                                                                              │

00:00:19 #889 [Verbose] > │                                                                              │

00:00:19 #890 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:19 #891 [Verbose] >

00:00:19 #892 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:19 #893 [Verbose] > // // test

00:00:19 #894 [Verbose] >

00:00:19 #895 [Verbose] > integral'' 0.01 math.square 0 1

00:00:19 #896 [Verbose] > |> _almost_equal (integral 0.01 math.square 0 1)

00:00:19 #897 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0903-5216-1647-1a05a5901be2\main.spi

00:00:19 #898 [Verbose] >

00:00:19 #899 [Verbose] > ╭─[ 219.48ms - stdout ]────────────────────────────────────────────────────────╮

00:00:19 #900 [Verbose] > │ type Mut0 = {mutable l0 : int32}                                             │

00:00:19 #901 [Verbose] > │ and Mut1 = {mutable l0 : int32; mutable l1 : float}                          │

00:00:19 #902 [Verbose] > │ let rec method1 (v0 : Mut0) : bool =                                         │

00:00:19 #903 [Verbose] > │     let v1 : int32 = v0.l0                                                   │

00:00:19 #904 [Verbose] > │     let v2 : bool = v1 < 100                                                 │

00:00:19 #905 [Verbose] > │     v2                                                                       │

00:00:19 #906 [Verbose] > │ and method2 (v0 : int32, v1 : Mut0) : bool =                                 │

00:00:19 #907 [Verbose] > │     let v2 : int32 = v1.l0                                                   │

00:00:19 #908 [Verbose] > │     let v3 : bool = v2 < v0                                                  │

00:00:19 #909 [Verbose] > │     v3                                                                       │

00:00:19 #910 [Verbose] > │ and method3 (v0 : int32, v1 : Mut1) : bool =                                 │

00:00:19 #911 [Verbose] > │     let v2 : int32 = v1.l0                                                   │

00:00:19 #912 [Verbose] > │     let v3 : bool = v2 < v0                                                  │

00:00:19 #913 [Verbose] > │     v3                                                                       │

00:00:19 #914 [Verbose] > │ and method0 () : unit =                                                      │

00:00:19 #915 [Verbose] > │     let v0 : (float []) = Array.zeroCreate<float> (100)                      │

00:00:19 #916 [Verbose] > │     let v1 : Mut0 = {l0 = 0} : Mut0                                          │

00:00:19 #917 [Verbose] > │     while method1(v1) do                                                     │

00:00:19 #918 [Verbose] > │         let v3 : int32 = v1.l0                                               │

00:00:19 #919 [Verbose] > │         let v4 : float = float v3                                            │

00:00:19 #920 [Verbose] > │         let v5 : float = 0.01 * v4                                           │

00:00:19 #921 [Verbose] > │         let v6 : float = 0.005 + v5                                          │

00:00:19 #922 [Verbose] > │         v0.[int v3] <- v6                                                    │

00:00:19 #923 [Verbose] > │         let v7 : int32 = v3 + 1                                              │

00:00:19 #924 [Verbose] > │         v1.l0 <- v7                                                          │

00:00:19 #925 [Verbose] > │         ()                                                                   │

00:00:19 #926 [Verbose] > │     let v8 : int32 = v0.Length                                               │

00:00:19 #927 [Verbose] > │     let v9 : (float []) = Array.zeroCreate<float> (v8)                       │

00:00:19 #928 [Verbose] > │     let v10 : Mut0 = {l0 = 0} : Mut0                                         │

00:00:19 #929 [Verbose] > │     while method2(v8, v10) do                                                │

00:00:19 #930 [Verbose] > │         let v12 : int32 = v10.l0                                             │

00:00:19 #931 [Verbose] > │         let v13 : float = v0.[int v12]                                       │

00:00:19 #932 [Verbose] > │         let v14 : float = v13 ** 2.0                                         │

00:00:19 #933 [Verbose] > │         let v15 : float = 0.01 * v14                                         │

00:00:19 #934 [Verbose] > │         v9.[int v12] <- v15                                                  │

00:00:19 #935 [Verbose] > │         let v16 : int32 = v12 + 1                                            │

00:00:19 #936 [Verbose] > │         v10.l0 <- v16                                                        │

00:00:19 #937 [Verbose] > │         ()                                                                   │

00:00:19 #938 [Verbose] > │     let v17 : int32 = v9.Length                                              │

00:00:19 #939 [Verbose] > │     let v18 : Mut1 = {l0 = 0; l1 = 0.0} : Mut1                               │

00:00:19 #940 [Verbose] > │     while method3(v17, v18) do                                               │

00:00:19 #941 [Verbose] > │         let v20 : int32 = v18.l0                                             │

00:00:19 #942 [Verbose] > │         let v21 : float = v18.l1                                             │

00:00:19 #943 [Verbose] > │         let v22 : float = v9.[int v20]                                       │

00:00:19 #944 [Verbose] > │         let v23 : float = v21 + v22                                          │

00:00:19 #945 [Verbose] > │         let v24 : int32 = v20 + 1                                            │

00:00:19 #946 [Verbose] > │         v18.l0 <- v24                                                        │

00:00:19 #947 [Verbose] > │         v18.l1 <- v23                                                        │

00:00:19 #948 [Verbose] > │         ()                                                                   │

00:00:19 #949 [Verbose] > │     let v25 : float = v18.l1                                                 │

00:00:19 #950 [Verbose] > │     let v26 : string = $"__expect / actual: %A{v25} / expected:              │

00:00:19 #951 [Verbose] > │ %A{0.3333250000000004}"                                                      │

00:00:19 #952 [Verbose] > │     let v27 : float = 0.3333250000000004 - v25                               │

00:00:19 #953 [Verbose] > │     let v28 : float =  -v27                                                  │

00:00:19 #954 [Verbose] > │     let v29 : bool = v27 >= v28                                              │

00:00:19 #955 [Verbose] > │     let v30 : float =                                                        │

00:00:19 #956 [Verbose] > │         if v29 then                                                          │

00:00:19 #957 [Verbose] > │             v27                                                              │

00:00:19 #958 [Verbose] > │         else                                                                 │

00:00:19 #959 [Verbose] > │             v28                                                              │

00:00:19 #960 [Verbose] > │     let v31 : bool = v30 < 1E-08                                             │

00:00:19 #961 [Verbose] > │     let v32 : bool = v31 = false                                             │

00:00:19 #962 [Verbose] > │     if v32 then                                                              │

00:00:19 #963 [Verbose] > │         failwith<unit> v26                                                   │

00:00:19 #964 [Verbose] > │ method0()                                                                    │

00:00:19 #965 [Verbose] > │                                                                              │

00:00:19 #966 [Verbose] > │                                                                              │

00:00:19 #967 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:19 #968 [Verbose] >

00:00:19 #969 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────

00:00:19 #970 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮

00:00:19 #971 [Verbose] > │ ## anti_derivative                                                           │

00:00:19 #972 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:19 #973 [Verbose] >

00:00:19 #974 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:19 #975 [Verbose] > inl anti_derivative dt v0 a t =

00:00:19 #976 [Verbose] >     v0 + integral' dt a 0 t

00:00:19 #977 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0903-5241-4121-47e9ae60bdeb\main.spi

00:00:19 #978 [Verbose] >

00:00:19 #979 [Verbose] > ╭─[ 144.30ms - stdout ]────────────────────────────────────────────────────────╮

00:00:19 #980 [Verbose] > │ ()                                                                           │

00:00:19 #981 [Verbose] > │                                                                              │

00:00:19 #982 [Verbose] > │                                                                              │

00:00:19 #983 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:19 #984 [Verbose] >

00:00:19 #985 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────

00:00:19 #986 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮

00:00:19 #987 [Verbose] > │ ## velocity_ft                                                               │

00:00:19 #988 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:19 #989 [Verbose] >

00:00:19 #990 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:19 #991 [Verbose] > type velocity_ft = mass -> velocity -> list (time -> force) -> (time ->

00:00:19 #992 [Verbose] > velocity)

00:00:19 #993 [Verbose] >

00:00:19 #994 [Verbose] > inl velocity_ft dt : velocity_ft =

00:00:19 #995 [Verbose] >     fun m v0 fs =>

00:00:19 #996 [Verbose] >         inl f_net t = fs |> listm.map (fun f => f t) |> listm'.sum

00:00:19 #997 [Verbose] >         inl a t = f_net t / m

00:00:19 #998 [Verbose] >         anti_derivative dt v0 a

00:00:19 #999 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0903-5256-5604-5d719f984bd7\main.spi

00:00:19 #1000 [Verbose] >

00:00:19 #1001 [Verbose] > ╭─[ 168.74ms - stdout ]────────────────────────────────────────────────────────╮

00:00:19 #1002 [Verbose] > │ ()                                                                           │

00:00:19 #1003 [Verbose] > │                                                                              │

00:00:19 #1004 [Verbose] > │                                                                              │

00:00:19 #1005 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:19 #1006 [Verbose] >

00:00:19 #1007 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────

00:00:19 #1008 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮

00:00:19 #1009 [Verbose] > │ ## position_ft                                                               │

00:00:19 #1010 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:19 #1011 [Verbose] >

00:00:19 #1012 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:19 #1013 [Verbose] > type position_ft = mass -> position -> velocity -> list (time -> force) -> (time

00:00:19 #1014 [Verbose] > -> position)

00:00:19 #1015 [Verbose] >

00:00:19 #1016 [Verbose] > inl position_ft dt : position_ft =

00:00:19 #1017 [Verbose] >     fun m x0 v0 fs =>

00:00:19 #1018 [Verbose] >         velocity_ft dt m v0 fs

00:00:19 #1019 [Verbose] >         |> anti_derivative dt x0

00:00:19 #1020 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0903-5273-7341-74648d6cdd1c\main.spi

00:00:20 #1021 [Verbose] >

00:00:20 #1022 [Verbose] > ╭─[ 154.56ms - stdout ]────────────────────────────────────────────────────────╮

00:00:20 #1023 [Verbose] > │ ()                                                                           │

00:00:20 #1024 [Verbose] > │                                                                              │

00:00:20 #1025 [Verbose] > │                                                                              │

00:00:20 #1026 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:20 #1027 [Verbose] >

00:00:20 #1028 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:20 #1029 [Verbose] > // // test

00:00:20 #1030 [Verbose] >

00:00:20 #1031 [Verbose] > inl pedal_coast (t : time) : force =

00:00:20 #1032 [Verbose] >     inl t_cycle = 20

00:00:20 #1033 [Verbose] >     inl n_complete : i32 = t / t_cycle |> conv

00:00:20 #1034 [Verbose] >     inl remainder = t - conv n_complete * t_cycle

00:00:20 #1035 [Verbose] >     if remainder > 0 && remainder < 10

00:00:20 #1036 [Verbose] >     then 10

00:00:20 #1037 [Verbose] >     else 0

00:00:20 #1038 [Verbose] >

00:00:20 #1039 [Verbose] > inl x = am'.init_series -5 45 0.1

00:00:20 #1040 [Verbose] > inl y = x |> am.map pedal_coast

00:00:20 #1041 [Verbose] > "child pedaling then coasting", "time (s)", "", ;[[ "force on bike (N)", x, y ]]

00:00:20 #1042 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0903-5289-8910-8e0a6d3f11cb\main.spi

00:00:20 #1043 [Verbose] >

00:00:20 #1044 [Verbose] > ╭─[ 203.87ms - return value ]──────────────────────────────────────────────────╮

00:00:20 #1045 [Verbose] > │ <svg width="640" height="480" viewBox="0 0 640 480"                          │

00:00:20 #1046 [Verbose] > │ xmlns="http://www.w3.org/2000/svg">                                          │

00:00:20 #1047 [Verbose] > │ <rect x="0" y="0" width="640" height="480" opacity="1" fill="#141414"        │

00:00:20 #1048 [Verbose] > │ stroke="none"/>                                                              │

00:00:20 #1049 [Verbose] > │ <text x="320" y="10" dy="0.76em" text-anchor="middle"                        │

00:00:20 #1050 [Verbose] > │ font-family="sans-serif" font-size="9.67741935483871" opacity="1"            │

00:00:20 #1051 [Verbose] > │ fill="#FFFFFF">                                                              │

00:00:20 #1052 [Verbose] > │ child pedaling then coasting                                                 │

00:00:20 #1053 [Verbose] > │ </text>                                                                      │

00:00:20 #1054 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="59" y1="424" x2="59" │

00:00:20 #1055 [Verbose] > │ y2="75"/>                                                                    │

00:00:20 #1056 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="69" y1="424" x2="69" │

00:00:20 #1057 [Verbose] > │ y2="75"/>                                                                    │

00:00:20 #1058 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="79" y1="424" x2="79" │

00:00:20 #1059 [Verbose] > │ y2="75"/>                                                                    │

00:00:20 #1060 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="89" y1="424" x2="89" │

00:00:20 #1061 [Verbose] > │ y2="75"/>                                                                    │

00:00:20 #1062 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1=...                   │

00:00:20 #1063 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:20 #1064 [Verbose] >

00:00:20 #1065 [Verbose] > ╭─[ 212.90ms - stdout ]────────────────────────────────────────────────────────╮

00:00:20 #1066 [Verbose] > │ type Mut0 = {mutable l0 : int32}                                             │

00:00:20 #1067 [Verbose] > │ let rec method1 (v0 : Mut0) : bool =                                         │

00:00:20 #1068 [Verbose] > │     let v1 : int32 = v0.l0                                                   │

00:00:20 #1069 [Verbose] > │     let v2 : bool = v1 < 501                                                 │

00:00:20 #1070 [Verbose] > │     v2                                                                       │

00:00:20 #1071 [Verbose] > │ and method2 (v0 : int32, v1 : Mut0) : bool =                                 │

00:00:20 #1072 [Verbose] > │     let v2 : int32 = v1.l0                                                   │

00:00:20 #1073 [Verbose] > │     let v3 : bool = v2 < v0                                                  │

00:00:20 #1074 [Verbose] > │     v3                                                                       │

00:00:20 #1075 [Verbose] > │ and method3 (v0 : (struct (string * (float []) * (float [])) [])) : (struct  │

00:00:20 #1076 [Verbose] > │ (string * (float []) * (float [])) []) =                                     │

00:00:20 #1077 [Verbose] > │     v0                                                                       │

00:00:20 #1078 [Verbose] > │ and method0 () : struct (string * string * string * (struct (string * (float │

00:00:20 #1079 [Verbose] > │ []) * (float [])) [])) =                                                     │

00:00:20 #1080 [Verbose] > │     let v0 : (float []) = Array.zeroCreate<float> (501)                      │

00:00:20 #1081 [Verbose] > │     let v1 : Mut0 = {l0 = 0} : Mut0                                          │

00:00:20 #1082 [Verbose] > │     while method1(v1) do                                                     │

00:00:20 #1083 [Verbose] > │         let v3 : int32 = v1.l0                                               │

00:00:20 #1084 [Verbose] > │         let v4 : float = float v3                                            │

00:00:20 #1085 [Verbose] > │         let v5 : float = 0.1 * v4                                            │

00:00:20 #1086 [Verbose] > │         let v6 : float = -5.0 + v5                                           │

00:00:20 #1087 [Verbose] > │         v0.[int v3] <- v6                                                    │

00:00:20 #1088 [Verbose] > │         let v7 : int32 = v3 + 1                                              │

00:00:20 #1089 [Verbose] > │         v1.l0 <- v7                                                          │

00:00:20 #1090 [Verbose] > │         ()                                                                   │

00:00:20 #1091 [Verbose] > │     let v8 : int32 = v0.Length                                               │

00:00:20 #1092 [Verbose] > │     let v9 : (float []) = Array.zeroCreate<float> (v8)                       │

00:00:20 #1093 [Verbose] > │     let v10 : Mut0 = {l0 = 0} : Mut0                                         │

00:00:20 #1094 [Verbose] > │     while method2(v8, v10) do                                                │

00:00:20 #1095 [Verbose] > │         let v12 : int32 = v10.l0                                             │

00:00:20 #1096 [Verbose] > │         let v13 : float = v0.[int v12]                                       │

00:00:20 #1097 [Verbose] > │         let v14 : float = v13 / 20.0                                         │

00:00:20 #1098 [Verbose] > │         let v15 : int32 = int32 v14                                          │

00:00:20 #1099 [Verbose] > │         let v16 : float = float v15                                          │

00:00:20 #1100 [Verbose] > │         let v17 : float = v16 * 20.0                                         │

00:00:20 #1101 [Verbose] > │         let v18 : float = v13 - v17                                          │

00:00:20 #1102 [Verbose] > │         let v19 : bool = v18 > 0.0                                           │

00:00:20 #1103 [Verbose] > │         let v21 : bool =                                                     │

00:00:20 #1104 [Verbose] > │             if v19 then                                                      │

00:00:20 #1105 [Verbose] > │                 let v20 : bool = v18 < 10.0                                  │

00:00:20 #1106 [Verbose] > │                 v20                                                          │

00:00:20 #1107 [Verbose] > │             else                                                             │

00:00:20 #1108 [Verbose] > │                 false                                                        │

00:00:20 #1109 [Verbose] > │         let v22 : float =                                                    │

00:00:20 #1110 [Verbose] > │             if v21 then                                                      │

00:00:20 #1111 [Verbose] > │                 10.0                                                         │

00:00:20 #1112 [Verbose] > │             else                                                             │

00:00:20 #1113 [Verbose] > │                 0.0                                                          │

00:00:20 #1114 [Verbose] > │         v9.[int v12] <- v22                                                  │

00:00:20 #1115 [Verbose] > │         let v23 : int32 = v12 + 1                                            │

00:00:20 #1116 [Verbose] > │         v10.l0 <- v23                                                        │

00:00:20 #1117 [Verbose] > │         ()                                                                   │

00:00:20 #1118 [Verbose] > │     let v24 : string = "force on bike (N)"                                   │

00:00:20 #1119 [Verbose] > │     let v25 : (struct (string * (float []) * (float [])) []) = [|struct      │

00:00:20 #1120 [Verbose] > │ (v24, v0, v9)|]                                                              │

00:00:20 #1121 [Verbose] > │     let v26 : (struct (string * (float []) * (float [])) []) = method3(v25)  │

00:00:20 #1122 [Verbose] > │     let v27 : string = "child pedaling then coasting"                        │

00:00:20 #1123 [Verbose] > │     let v28 : string = "time (s)"                                            │

00:00:20 #1124 [Verbose] > │     let v29 : string = ""                                                    │

00:00:20 #1125 [Verbose] > │     struct (v27, v28, v29, v26)                                              │

00:00:20 #1126 [Verbose] > │ method0()                                                                    │

00:00:20 #1127 [Verbose] > │                                                                              │

00:00:20 #1128 [Verbose] > │                                                                              │

00:00:20 #1129 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:20 #1130 [Verbose] >

00:00:20 #1131 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:20 #1132 [Verbose] > // // test

00:00:20 #1133 [Verbose] >

00:00:20 #1134 [Verbose] > inl x = am'.init_series -5 45 1

00:00:20 #1135 [Verbose] > inl y = x |> am.map (position_ft 0.1f64 20 0 0 [[ pedal_coast ]])

00:00:20 #1136 [Verbose] > "child pedaling then coasting", "time (s)", "", ;[[ "position of bike (m)", x, y

00:00:20 #1137 [Verbose] > ]]

00:00:20 #1138 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0903-5312-1245-165c26aa2526\main.spi

00:00:20 #1139 [Verbose] >

00:00:20 #1140 [Verbose] > ╭─[ 418.57ms - return value ]──────────────────────────────────────────────────╮

00:00:20 #1141 [Verbose] > │ <svg width="640" height="480" viewBox="0 0 640 480"                          │

00:00:20 #1142 [Verbose] > │ xmlns="http://www.w3.org/2000/svg">                                          │

00:00:20 #1143 [Verbose] > │ <rect x="0" y="0" width="640" height="480" opacity="1" fill="#141414"        │

00:00:20 #1144 [Verbose] > │ stroke="none"/>                                                              │

00:00:20 #1145 [Verbose] > │ <text x="320" y="10" dy="0.76em" text-anchor="middle"                        │

00:00:20 #1146 [Verbose] > │ font-family="sans-serif" font-size="9.67741935483871" opacity="1"            │

00:00:20 #1147 [Verbose] > │ fill="#FFFFFF">                                                              │

00:00:20 #1148 [Verbose] > │ child pedaling then coasting                                                 │

00:00:20 #1149 [Verbose] > │ </text>                                                                      │

00:00:20 #1150 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="59" y1="424" x2="59" │

00:00:20 #1151 [Verbose] > │ y2="75"/>                                                                    │

00:00:20 #1152 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="69" y1="424" x2="69" │

00:00:20 #1153 [Verbose] > │ y2="75"/>                                                                    │

00:00:20 #1154 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="79" y1="424" x2="79" │

00:00:20 #1155 [Verbose] > │ y2="75"/>                                                                    │

00:00:20 #1156 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="89" y1="424" x2="89" │

00:00:20 #1157 [Verbose] > │ y2="75"/>                                                                    │

00:00:20 #1158 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1=...                   │

00:00:20 #1159 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:20 #1160 [Verbose] >

00:00:20 #1161 [Verbose] > ╭─[ 430.59ms - stdout ]────────────────────────────────────────────────────────╮

00:00:20 #1162 [Verbose] > │ type Mut0 = {mutable l0 : int32}                                             │

00:00:20 #1163 [Verbose] > │ and UH0 =                                                                    │

00:00:20 #1164 [Verbose] > │     | UH0_0 of float * UH0                                                   │

00:00:20 #1165 [Verbose] > │     | UH0_1                                                                  │

00:00:20 #1166 [Verbose] > │ let rec method1 (v0 : Mut0) : bool =                                         │

00:00:20 #1167 [Verbose] > │     let v1 : int32 = v0.l0                                                   │

00:00:20 #1168 [Verbose] > │     let v2 : bool = v1 < 51                                                  │

00:00:20 #1169 [Verbose] > │     v2                                                                       │

00:00:20 #1170 [Verbose] > │ and method2 (v0 : int32, v1 : Mut0) : bool =                                 │

00:00:20 #1171 [Verbose] > │     let v2 : int32 = v1.l0                                                   │

00:00:20 #1172 [Verbose] > │     let v3 : bool = v2 < v0                                                  │

00:00:20 #1173 [Verbose] > │     v3                                                                       │

00:00:20 #1174 [Verbose] > │ and method3 (v0 : float, v1 : float) : UH0 =                                 │

00:00:20 #1175 [Verbose] > │     let v2 : bool = v1 < v0                                                  │

00:00:20 #1176 [Verbose] > │     if v2 then                                                               │

00:00:20 #1177 [Verbose] > │         let v3 : float = 0.1 * v1                                            │

00:00:20 #1178 [Verbose] > │         let v4 : float = 0.05 + v3                                           │

00:00:20 #1179 [Verbose] > │         let v5 : float = v1 + 1.0                                            │

00:00:20 #1180 [Verbose] > │         let v6 : UH0 = method3(v0, v5)                                       │

00:00:20 #1181 [Verbose] > │         UH0_0(v4, v6)                                                        │

00:00:20 #1182 [Verbose] > │     else                                                                     │

00:00:20 #1183 [Verbose] > │         UH0_1                                                                │

00:00:20 #1184 [Verbose] > │ and method5 (v0 : UH0, v1 : UH0) : UH0 =                                     │

00:00:20 #1185 [Verbose] > │     match v0 with                                                            │

00:00:20 #1186 [Verbose] > │     | UH0_0(v2, v3) -> (* Cons *)                                            │

00:00:20 #1187 [Verbose] > │         let v4 : UH0 = method5(v3, v1)                                       │

00:00:20 #1188 [Verbose] > │         let v5 : float = v2 / 20.0                                           │

00:00:20 #1189 [Verbose] > │         let v6 : int32 = int32 v5                                            │

00:00:20 #1190 [Verbose] > │         let v7 : float = float v6                                            │

00:00:20 #1191 [Verbose] > │         let v8 : float = v7 * 20.0                                           │

00:00:20 #1192 [Verbose] > │         let v9 : float = v2 - v8                                             │

00:00:20 #1193 [Verbose] > │         let v10 : bool = v9 > 0.0                                            │

00:00:20 #1194 [Verbose] > │         let v12 : bool =                                                     │

00:00:20 #1195 [Verbose] > │             if v10 then                                                      │

00:00:20 #1196 [Verbose] > │                 let v11 : bool = v9 < 10.0                                   │

00:00:20 #1197 [Verbose] > │                 v11                                                          │

00:00:20 #1198 [Verbose] > │             else                                                             │

00:00:20 #1199 [Verbose] > │                 false                                                        │

00:00:20 #1200 [Verbose] > │         let v13 : float =                                                    │

00:00:20 #1201 [Verbose] > │             if v12 then                                                      │

00:00:20 #1202 [Verbose] > │                 10.0                                                         │

00:00:20 #1203 [Verbose] > │             else                                                             │

00:00:20 #1204 [Verbose] > │                 0.0                                                          │

00:00:20 #1205 [Verbose] > │         let v14 : float = v13 / 20.0                                         │

00:00:20 #1206 [Verbose] > │         let v15 : float = 0.1 * v14                                          │

00:00:20 #1207 [Verbose] > │         UH0_0(v15, v4)                                                       │

00:00:20 #1208 [Verbose] > │     | UH0_1 -> (* Nil *)                                                     │

00:00:20 #1209 [Verbose] > │         v1                                                                   │

00:00:20 #1210 [Verbose] > │ and method6 (v0 : UH0, v1 : float) : float =                                 │

00:00:20 #1211 [Verbose] > │     match v0 with                                                            │

00:00:20 #1212 [Verbose] > │     | UH0_0(v2, v3) -> (* Cons *)                                            │

00:00:20 #1213 [Verbose] > │         let v4 : float = v1 + v2                                             │

00:00:20 #1214 [Verbose] > │         method6(v3, v4)                                                      │

00:00:20 #1215 [Verbose] > │     | UH0_1 -> (* Nil *)                                                     │

00:00:20 #1216 [Verbose] > │         v1                                                                   │

00:00:20 #1217 [Verbose] > │ and method4 (v0 : UH0, v1 : UH0) : UH0 =                                     │

00:00:20 #1218 [Verbose] > │     match v0 with                                                            │

00:00:20 #1219 [Verbose] > │     | UH0_0(v2, v3) -> (* Cons *)                                            │

00:00:20 #1220 [Verbose] > │         let v4 : UH0 = method4(v3, v1)                                       │

00:00:20 #1221 [Verbose] > │         let v5 : float = v2 - 0.05                                           │

00:00:20 #1222 [Verbose] > │         let v6 : float = v5 - 0.05                                           │

00:00:20 #1223 [Verbose] > │         let v7 : float = v6 / 0.1                                            │

00:00:20 #1224 [Verbose] > │         let v8 : float = v7 + 1.0                                            │

00:00:20 #1225 [Verbose] > │         let v9 : float = 0.0                                                 │

00:00:20 #1226 [Verbose] > │         let v10 : UH0 = method3(v8, v9)                                      │

00:00:20 #1227 [Verbose] > │         let v11 : UH0 = UH0_1                                                │

00:00:20 #1228 [Verbose] > │         let v12 : UH0 = method5(v10, v11)                                    │

00:00:20 #1229 [Verbose] > │         let v13 : float = 0.0                                                │

00:00:20 #1230 [Verbose] > │         let v14 : float = method6(v12, v13)                                  │

00:00:20 #1231 [Verbose] > │         let v15 : float = 0.1 * v14                                          │

00:00:20 #1232 [Verbose] > │         UH0_0(v15, v4)                                                       │

00:00:20 #1233 [Verbose] > │     | UH0_1 -> (* Nil *)                                                     │

00:00:20 #1234 [Verbose] > │         v1                                                                   │

00:00:20 #1235 [Verbose] > │ and method7 (v0 : (struct (string * (float []) * (float [])) [])) : (struct  │

00:00:20 #1236 [Verbose] > │ (string * (float []) * (float [])) []) =                                     │

00:00:20 #1237 [Verbose] > │     v0                                                                       │

00:00:20 #1238 [Verbose] > │ and method0 () : struct (string * string * string * (struct (string * (float │

00:00:20 #1239 [Verbose] > │ []) * (float [])) [])) =                                                     │

00:00:20 #1240 [Verbose] > │     let v0 : (float []) = Array.zeroCreate<float> (51)                       │

00:00:20 #1241 [Verbose] > │     let v1 : Mut0 = {l0 = 0} : Mut0                                          │

00:00:20 #1242 [Verbose] > │     while method1(v1) do                                                     │

00:00:20 #1243 [Verbose] > │         let v3 : int32 = v1.l0                                               │

00:00:20 #1244 [Verbose] > │         let v4 : float = float v3                                            │

00:00:20 #1245 [Verbose] > │         let v5 : float = -5.0 + v4                                           │

00:00:20 #1246 [Verbose] > │         v0.[int v3] <- v5                                                    │

00:00:20 #1247 [Verbose] > │         let v6 : int32 = v3 + 1                                              │

00:00:20 #1248 [Verbose] > │         v1.l0 <- v6                                                          │

00:00:20 #1249 [Verbose] > │         ()                                                                   │

00:00:20 #1250 [Verbose] > │     let v7 : int32 = v0.Length                                               │

00:00:20 #1251 [Verbose] > │     let v8 : (float []) = Array.zeroCreate<float> (v7)                       │

00:00:20 #1252 [Verbose] > │     let v9 : Mut0 = {l0 = 0} : Mut0                                          │

00:00:20 #1253 [Verbose] > │     while method2(v7, v9) do                                                 │

00:00:20 #1254 [Verbose] > │         let v11 : int32 = v9.l0                                              │

00:00:20 #1255 [Verbose] > │         let v12 : float = v0.[int v11]                                       │

00:00:20 #1256 [Verbose] > │         let v13 : float = v12 - 0.05                                         │

00:00:20 #1257 [Verbose] > │         let v14 : float = v13 - 0.05                                         │

00:00:20 #1258 [Verbose] > │         let v15 : float = v14 / 0.1                                          │

00:00:20 #1259 [Verbose] > │         let v16 : float = v15 + 1.0                                          │

00:00:20 #1260 [Verbose] > │         let v17 : float = 0.0                                                │

00:00:20 #1261 [Verbose] > │         let v18 : UH0 = method3(v16, v17)                                    │

00:00:20 #1262 [Verbose] > │         let v19 : UH0 = UH0_1                                                │

00:00:20 #1263 [Verbose] > │         let v20 : UH0 = method4(v18, v19)                                    │

00:00:20 #1264 [Verbose] > │         let v21 : float = 0.0                                                │

00:00:20 #1265 [Verbose] > │         let v22 : float = method6(v20, v21)                                  │

00:00:20 #1266 [Verbose] > │         v8.[int v11] <- v22                                                  │

00:00:20 #1267 [Verbose] > │         let v23 : int32 = v11 + 1                                            │

00:00:20 #1268 [Verbose] > │         v9.l0 <- v23                                                         │

00:00:20 #1269 [Verbose] > │         ()                                                                   │

00:00:20 #1270 [Verbose] > │     let v24 : string = "position of bike (m)"                                │

00:00:20 #1271 [Verbose] > │     let v25 : (struct (string * (float []) * (float [])) []) = [|struct      │

00:00:20 #1272 [Verbose] > │ (v24, v0, v8)|]                                                              │

00:00:20 #1273 [Verbose] > │     let v26 : (struct (string * (float []) * (float [])) []) = method7(v25)  │

00:00:20 #1274 [Verbose] > │     let v27 : string = "child pedaling then coasting"                        │

00:00:20 #1275 [Verbose] > │     let v28 : string = "time (s)"                                            │

00:00:20 #1276 [Verbose] > │     let v29 : string = ""                                                    │

00:00:20 #1277 [Verbose] > │     struct (v27, v28, v29, v26)                                              │

00:00:20 #1278 [Verbose] > │ method0()                                                                    │

00:00:20 #1279 [Verbose] > │                                                                              │

00:00:20 #1280 [Verbose] > │                                                                              │

00:00:20 #1281 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:20 #1282 [Verbose] >

00:00:20 #1283 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────

00:00:20 #1284 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮

00:00:20 #1285 [Verbose] > │ ## velocity_fv                                                               │

00:00:20 #1286 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:20 #1287 [Verbose] >

00:00:20 #1288 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:20 #1289 [Verbose] > inl newton_second_v m fs v0 =

00:00:20 #1290 [Verbose] >     fs |> listm.map (fun f => f v0) |> listm'.sum |> fun x => x / m

00:00:20 #1291 [Verbose] >

00:00:20 #1292 [Verbose] > inl update_velocity dt m fs v0 =

00:00:20 #1293 [Verbose] >     v0 + newton_second_v m fs v0 * dt

00:00:20 #1294 [Verbose] >

00:00:20 #1295 [Verbose] > inl velocity_fv dt m v0 fs t =

00:00:20 #1296 [Verbose] >     stream.iterate (update_velocity dt m fs) v0

00:00:20 #1297 [Verbose] >     |> stream.try_item (t / dt |> math.round |> abs)

00:00:20 #1298 [Verbose] >     |> optionm'.default_value 0

00:00:20 #1299 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0903-5360-6016-6336fbd37e17\main.spi

00:00:20 #1300 [Verbose] >

00:00:20 #1301 [Verbose] > ╭─[ 181.25ms - stdout ]────────────────────────────────────────────────────────╮

00:00:20 #1302 [Verbose] > │ ()                                                                           │

00:00:20 #1303 [Verbose] > │                                                                              │

00:00:20 #1304 [Verbose] > │                                                                              │

00:00:20 #1305 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:20 #1306 [Verbose] >

00:00:20 #1307 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:20 #1308 [Verbose] > inl f_air drag rho area v =

00:00:20 #1309 [Verbose] >     -drag * rho * area * abs v * v / 2

00:00:21 #1310 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0903-5378-7845-75511238ef69\main.spi

00:00:21 #1311 [Verbose] >

00:00:21 #1312 [Verbose] > ╭─[ 183.77ms - stdout ]────────────────────────────────────────────────────────╮

00:00:21 #1313 [Verbose] > │ ()                                                                           │

00:00:21 #1314 [Verbose] > │                                                                              │

00:00:21 #1315 [Verbose] > │                                                                              │

00:00:21 #1316 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:21 #1317 [Verbose] >

00:00:21 #1318 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:21 #1319 [Verbose] > // // test

00:00:21 #1320 [Verbose] >

00:00:21 #1321 [Verbose] > inl x = am'.init_series 0 60 0.5

00:00:21 #1322 [Verbose] > inl y = x |> am.map (velocity_fv 1 70 0f64 [[ fun _ => 100; f_air 2 1.225 0.6

00:00:21 #1323 [Verbose] > ]])

00:00:21 #1324 [Verbose] > "bike velocity", "time (s)", "", ;[[ "velocity of bike (m/s)", x, y ]]

00:00:21 #1325 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0903-5396-9698-9c8666550bed\main.spi

00:00:21 #1326 [Verbose] >

00:00:21 #1327 [Verbose] > ╭─[ 536.61ms - return value ]──────────────────────────────────────────────────╮

00:00:21 #1328 [Verbose] > │ <svg width="640" height="480" viewBox="0 0 640 480"                          │

00:00:21 #1329 [Verbose] > │ xmlns="http://www.w3.org/2000/svg">                                          │

00:00:21 #1330 [Verbose] > │ <rect x="0" y="0" width="640" height="480" opacity="1" fill="#141414"        │

00:00:21 #1331 [Verbose] > │ stroke="none"/>                                                              │

00:00:21 #1332 [Verbose] > │ <text x="320" y="10" dy="0.76em" text-anchor="middle"                        │

00:00:21 #1333 [Verbose] > │ font-family="sans-serif" font-size="9.67741935483871" opacity="1"            │

00:00:21 #1334 [Verbose] > │ fill="#FFFFFF">                                                              │

00:00:21 #1335 [Verbose] > │ bike velocity                                                                │

00:00:21 #1336 [Verbose] > │ </text>                                                                      │

00:00:21 #1337 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="61" y1="424" x2="61" │

00:00:21 #1338 [Verbose] > │ y2="75"/>                                                                    │

00:00:21 #1339 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="69" y1="424" x2="69" │

00:00:21 #1340 [Verbose] > │ y2="75"/>                                                                    │

00:00:21 #1341 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="78" y1="424" x2="78" │

00:00:21 #1342 [Verbose] > │ y2="75"/>                                                                    │

00:00:21 #1343 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="86" y1="424" x2="86" │

00:00:21 #1344 [Verbose] > │ y2="75"/>                                                                    │

00:00:21 #1345 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="94" y1="424" x...    │

00:00:21 #1346 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:21 #1347 [Verbose] >

00:00:21 #1348 [Verbose] > ╭─[ 561.72ms - stdout ]────────────────────────────────────────────────────────╮

00:00:21 #1349 [Verbose] > │ type Mut0 = {mutable l0 : int32}                                             │

00:00:21 #1350 [Verbose] > │ and UH0 =                                                                    │

00:00:21 #1351 [Verbose] > │     | UH0_0 of float * (unit -> UH0)                                         │

00:00:21 #1352 [Verbose] > │     | UH0_1                                                                  │

00:00:21 #1353 [Verbose] > │ and [<Struct>] US0 =                                                         │

00:00:21 #1354 [Verbose] > │     | US0_0                                                                  │

00:00:21 #1355 [Verbose] > │     | US0_1 of f1_0 : float                                                  │

00:00:21 #1356 [Verbose] > │ let rec method1 (v0 : Mut0) : bool =                                         │

00:00:21 #1357 [Verbose] > │     let v1 : int32 = v0.l0                                                   │

00:00:21 #1358 [Verbose] > │     let v2 : bool = v1 < 121                                                 │

00:00:21 #1359 [Verbose] > │     v2                                                                       │

00:00:21 #1360 [Verbose] > │ and method2 (v0 : int32, v1 : Mut0) : bool =                                 │

00:00:21 #1361 [Verbose] > │     let v2 : int32 = v1.l0                                                   │

00:00:21 #1362 [Verbose] > │     let v3 : bool = v2 < v0                                                  │

00:00:21 #1363 [Verbose] > │     v3                                                                       │

00:00:21 #1364 [Verbose] > │ and closure129 () () : UH0 =                                                 │

00:00:21 #1365 [Verbose] > │     let v0 : (unit -> UH0) = closure129()                                    │

00:00:21 #1366 [Verbose] > │     UH0_0(11.664236870396083, v0)                                            │

00:00:21 #1367 [Verbose] > │ and closure128 () () : UH0 =                                                 │

00:00:21 #1368 [Verbose] > │     let v0 : (unit -> UH0) = closure129()                                    │

00:00:21 #1369 [Verbose] > │     UH0_0(11.664236870396081, v0)                                            │

00:00:21 #1370 [Verbose] > │ and closure127 () () : UH0 =                                                 │

00:00:21 #1371 [Verbose] > │     let v0 : (unit -> UH0) = closure128()                                    │

00:00:21 #1372 [Verbose] > │     UH0_0(11.66423687039608, v0)                                             │

00:00:21 #1373 [Verbose] > │ and closure126 () () : UH0 =                                                 │

00:00:21 #1374 [Verbose] > │     let v0 : (unit -> UH0) = closure127()                                    │

00:00:21 #1375 [Verbose] > │     UH0_0(11.664236870396078, v0)                                            │

00:00:21 #1376 [Verbose] > │ and closure125 () () : UH0 =                                                 │

00:00:21 #1377 [Verbose] > │     let v0 : (unit -> UH0) = closure126()                                    │

00:00:21 #1378 [Verbose] > │     UH0_0(11.664236870396074, v0)                                            │

00:00:21 #1379 [Verbose] > │ and closure124 () () : UH0 =                                                 │

00:00:21 #1380 [Verbose] > │     let v0 : (unit -> UH0) = closure125()                                    │

00:00:21 #1381 [Verbose] > │     UH0_0(11.66423687039607, v0)                                             │

00:00:21 #1382 [Verbose] > │ and closure123 () () : UH0 =                                                 │

00:00:21 #1383 [Verbose] > │     let v0 : (unit -> UH0) = closure124()                                    │

00:00:21 #1384 [Verbose] > │     UH0_0(11.664236870396065, v0)                                            │

00:00:21 #1385 [Verbose] > │ and closure122 () () : UH0 =                                                 │

00:00:21 #1386 [Verbose] > │     let v0 : (unit -> UH0) = closure123()                                    │

00:00:21 #1387 [Verbose] > │     UH0_0(11.664236870396058, v0)                                            │

00:00:21 #1388 [Verbose] > │ and closure121 () () : UH0 =                                                 │

00:00:21 #1389 [Verbose] > │     let v0 : (unit -> UH0) = closure122()                                    │

00:00:21 #1390 [Verbose] > │     UH0_0(11.66423687039605, v0)                                             │

00:00:21 #1391 [Verbose] > │ and closure120 () () : UH0 =                                                 │

00:00:21 #1392 [Verbose] > │     let v0 : (unit -> UH0) = closure121()                                    │

00:00:21 #1393 [Verbose] > │     UH0_0(11.664236870396037, v0)                                            │

00:00:21 #1394 [Verbose] > │ and closure119 () () : UH0 =                                                 │

00:00:21 #1395 [Verbose] > │     let v0 : (unit -> UH0) = closure120()                                    │

00:00:21 #1396 [Verbose] > │     UH0_0(11.66423687039602, v0)                                             │

00:00:21 #1397 [Verbose] > │ and closure118 () () : UH0 =                                                 │

00:00:21 #1398 [Verbose] > │     let v0 : (unit -> UH0) = closure119()                                    │

00:00:21 #1399 [Verbose] > │     UH0_0(11.664236870396, v0)                                               │

00:00:21 #1400 [Verbose] > │ and closure117 () () : UH0 =                                                 │

00:00:21 #1401 [Verbose] > │     let v0 : (unit -> UH0) = closure118()                                    │

00:00:21 #1402 [Verbose] > │     UH0_0(11.664236870395971, v0)                                            │

00:00:21 #1403 [Verbose] > │ and closure116 () () : UH0 =                                                 │

00:00:21 #1404 [Verbose] > │     let v0 : (unit -> UH0) = closure117()                                    │

00:00:21 #1405 [Verbose] > │     UH0_0(11.664236870395934, v0)                                            │

00:00:21 #1406 [Verbose] > │ and closure115 () () : UH0 =                                                 │

00:00:21 #1407 [Verbose] > │     let v0 : (unit -> UH0) = closure116()                                    │

00:00:21 #1408 [Verbose] > │     UH0_0(11.664236870395884, v0)                                            │

00:00:21 #1409 [Verbose] > │ and closure114 () () : UH0 =                                                 │

00:00:21 #1410 [Verbose] > │     let v0 : (unit -> UH0) = closure115()                                    │

00:00:21 #1411 [Verbose] > │     UH0_0(11.664236870395818, v0)                                            │

00:00:21 #1412 [Verbose] > │ and closure113 () () : UH0 =                                                 │

00:00:21 #1413 [Verbose] > │     let v0 : (unit -> UH0) = closure114()                                    │

00:00:21 #1414 [Verbose] > │     UH0_0(11.664236870395731, v0)                                            │

00:00:21 #1415 [Verbose] > │ and closure112 () () : UH0 =                                                 │

00:00:21 #1416 [Verbose] > │     let v0 : (unit -> UH0) = closure113()                                    │

00:00:21 #1417 [Verbose] > │     UH0_0(11.664236870395616, v0)                                            │

00:00:21 #1418 [Verbose] > │ and closure111 () () : UH0 =                                                 │

00:00:21 #1419 [Verbose] > │     let v0 : (unit -> UH0) = closure112()                                    │

00:00:21 #1420 [Verbose] > │     UH0_0(11.664236870395463, v0)                                            │

00:00:21 #1421 [Verbose] > │ and closure110 () () : UH0 =                                                 │

00:00:21 #1422 [Verbose] > │     let v0 : (unit -> UH0) = closure111()                                    │

00:00:21 #1423 [Verbose] > │     UH0_0(11.66423687039526, v0)                                             │

00:00:21 #1424 [Verbose] > │ and closure109 () () : UH0 =                                                 │

00:00:21 #1425 [Verbose] > │     let v0 : (unit -> UH0) = closure110()                                    │

00:00:21 #1426 [Verbose] > │     UH0_0(11.664236870394992, v0)                                            │

00:00:21 #1427 [Verbose] > │ and closure108 () () : UH0 =                                                 │

00:00:21 #1428 [Verbose] > │     let v0 : (unit -> UH0) = closure109()                                    │

00:00:21 #1429 [Verbose] > │     UH0_0(11.664236870394637, v0)                                            │

00:00:21 #1430 [Verbose] > │ and closure107 () () : UH0 =                                                 │

00:00:21 #1431 [Verbose] > │     let v0 : (unit -> UH0) = closure108()                                    │

00:00:21 #1432 [Verbose] > │     UH0_0(11.664236870394168, v0)                                            │

00:00:21 #1433 [Verbose] > │ and closure106 () () : UH0 =                                                 │

00:00:21 #1434 [Verbose] > │     let v0 : (unit -> UH0) = closure107()                                    │

00:00:21 #1435 [Verbose] > │     UH0_0(11.664236870393546, v0)                                            │

00:00:21 #1436 [Verbose] > │ and closure105 () () : UH0 =                                                 │

00:00:21 #1437 [Verbose] > │     let v0 : (unit -> UH0) = closure106()                                    │

00:00:21 #1438 [Verbose] > │     UH0_0(11.664236870392722, v0)                                            │

00:00:21 #1439 [Verbose] > │ and closure104 () () : UH0 =                                                 │

00:00:21 #1440 [Verbose] > │     let v0 : (unit -> UH0) = closure105()                                    │

00:00:21 #1441 [Verbose] > │     UH0_0(11.664236870391631, v0)                                            │

00:00:21 #1442 [Verbose] > │ and closure103 () () : UH0 =                                                 │

00:00:21 #1443 [Verbose] > │     let v0 : (unit -> UH0) = closure104()                                    │

00:00:21 #1444 [Verbose] > │     UH0_0(11.664236870390187, v0)                                            │

00:00:21 #1445 [Verbose] > │ and closure102 () () : UH0 =                                                 │

00:00:21 #1446 [Verbose] > │     let v0 : (unit -> UH0) = closure103()                                    │

00:00:21 #1447 [Verbose] > │     UH0_0(11.664236870388274, v0)                                            │

00:00:21 #1448 [Verbose] > │ and closure101 () () : UH0 =                                                 │

00:00:21 #1449 [Verbose] > │     let v0 : (unit -> UH0) = closure102()                                    │

00:00:21 #1450 [Verbose] > │     UH0_0(11.66423687038574, v0)                                             │

00:00:21 #1451 [Verbose] > │ and closure100 () () : UH0 =                                                 │

00:00:21 #1452 [Verbose] > │     let v0 : (unit -> UH0) = closure101()                                    │

00:00:21 #1453 [Verbose] > │     UH0_0(11.664236870382384, v0)                                            │

00:00:21 #1454 [Verbose] > │ and closure99 () () : UH0 =                                                  │

00:00:21 #1455 [Verbose] > │     let v0 : (unit -> UH0) = closure100()                                    │

00:00:21 #1456 [Verbose] > │     UH0_0(11.664236870377938, v0)                                            │

00:00:21 #1457 [Verbose] > │ and closure98 () () : UH0 =                                                  │

00:00:21 #1458 [Verbose] > │     let v0 : (unit -> UH0) = closure99()                                     │

00:00:21 #1459 [Verbose] > │     UH0_0(11.66423687037205, v0)                                             │

00:00:21 #1460 [Verbose] > │ and closure97 () () : UH0 =                                                  │

00:00:21 #1461 [Verbose] > │     let v0 : (unit -> UH0) = closure98()                                     │

00:00:21 #1462 [Verbose] > │     UH0_0(11.664236870364254, v0)                                            │

00:00:21 #1463 [Verbose] > │ and closure96 () () : UH0 =                                                  │

00:00:21 #1464 [Verbose] > │     let v0 : (unit -> UH0) = closure97()                                     │

00:00:21 #1465 [Verbose] > │     UH0_0(11.664236870353927, v0)                                            │

00:00:21 #1466 [Verbose] > │ and closure95 () () : UH0 =                                                  │

00:00:21 #1467 [Verbose] > │     let v0 : (unit -> UH0) = closure96()                                     │

00:00:21 #1468 [Verbose] > │     UH0_0(11.664236870340249, v0)                                            │

00:00:21 #1469 [Verbose] > │ and closure94 () () : UH0 =                                                  │

00:00:21 #1470 [Verbose] > │     let v0 : (unit -> UH0) = closure95()                                     │

00:00:21 #1471 [Verbose] > │     UH0_0(11.664236870322135, v0)                                            │

00:00:21 #1472 [Verbose] > │ and closure93 () () : UH0 =                                                  │

00:00:21 #1473 [Verbose] > │     let v0 : (unit -> UH0) = closure94()                                     │

00:00:21 #1474 [Verbose] > │     UH0_0(11.664236870298145, v0)                                            │

00:00:21 #1475 [Verbose] > │ and closure92 () () : UH0 =                                                  │

00:00:21 #1476 [Verbose] > │     let v0 : (unit -> UH0) = closure93()                                     │

00:00:21 #1477 [Verbose] > │     UH0_0(11.664236870266372, v0)                                            │

00:00:21 #1478 [Verbose] > │ and closure91 () () : UH0 =                                                  │

00:00:21 #1479 [Verbose] > │     let v0 : (unit -> UH0) = closure92()                                     │

00:00:21 #1480 [Verbose] > │     UH0_0(11.664236870224292, v0)                                            │

00:00:21 #1481 [Verbose] > │ and closure90 () () : UH0 =                                                  │

00:00:21 #1482 [Verbose] > │     let v0 : (unit -> UH0) = closure91()                                     │

00:00:21 #1483 [Verbose] > │     UH0_0(11.66423687016856, v0)                                             │

00:00:21 #1484 [Verbose] > │ and closure89 () () : UH0 =                                                  │

00:00:21 #1485 [Verbose] > │     let v0 : (unit -> UH0) = closure90()                                     │

00:00:21 #1486 [Verbose] > │     UH0_0(11.664236870094747, v0)                                            │

00:00:21 #1487 [Verbose] > │ and closure88 () () : UH0 =                                                  │

00:00:21 #1488 [Verbose] > │     let v0 : (unit -> UH0) = closure89()                                     │

00:00:21 #1489 [Verbose] > │     UH0_0(11.664236869996989, v0)                                            │

00:00:21 #1490 [Verbose] > │ and closure87 () () : UH0 =                                                  │

00:00:21 #1491 [Verbose] > │     let v0 : (unit -> UH0) = closure88()                                     │

00:00:21 #1492 [Verbose] > │     UH0_0(11.664236869867516, v0)                                            │

00:00:21 #1493 [Verbose] > │ and closure86 () () : UH0 =                                                  │

00:00:21 #1494 [Verbose] > │     let v0 : (unit -> UH0) = closure87()                                     │

00:00:21 #1495 [Verbose] > │     UH0_0(11.66423686969604, v0)                                             │

00:00:21 #1496 [Verbose] > │ and closure85 () () : UH0 =                                                  │

00:00:21 #1497 [Verbose] > │     let v0 : (unit -> UH0) = closure86()                                     │

00:00:21 #1498 [Verbose] > │     UH0_0(11.664236869468937, v0)                                            │

00:00:21 #1499 [Verbose] > │ and closure84 () () : UH0 =                                                  │

00:00:21 #1500 [Verbose] > │     let v0 : (unit -> UH0) = closure85()                                     │

00:00:21 #1501 [Verbose] > │     UH0_0(11.664236869168157, v0)                                            │

00:00:21 #1502 [Verbose] > │ and closure83 () () : UH0 =                                                  │

00:00:21 #1503 [Verbose] > │     let v0 : (unit -> UH0) = closure84()                                     │

00:00:21 #1504 [Verbose] > │     UH0_0(11.6642368687698, v0)                                              │

00:00:21 #1505 [Verbose] > │ and closure82 () () : UH0 =                                                  │

00:00:21 #1506 [Verbose] > │     let v0 : (unit -> UH0) = closure83()                                     │

00:00:21 #1507 [Verbose] > │     UH0_0(11.664236868242211, v0)                                            │

00:00:21 #1508 [Verbose] > │ and closure81 () () : UH0 =                                                  │

00:00:21 #1509 [Verbose] > │     let v0 : (unit -> UH0) = closure82()                                     │

00:00:21 #1510 [Verbose] > │     UH0_0(11.664236867543465, v0)                                            │

00:00:21 #1511 [Verbose] > │ and closure80 () () : UH0 =                                                  │

00:00:21 #1512 [Verbose] > │     let v0 : (unit -> UH0) = closure81()                                     │

00:00:21 #1513 [Verbose] > │     UH0_0(11.664236866618037, v0)                                            │

00:00:21 #1514 [Verbose] > │ and closure79 () () : UH0 =                                                  │

00:00:21 #1515 [Verbose] > │     let v0 : (unit -> UH0) = closure80()                                     │

00:00:21 #1516 [Verbose] > │     UH0_0(11.664236865392386, v0)                                            │

00:00:21 #1517 [Verbose] > │ and closure78 () () : UH0 =                                                  │

00:00:21 #1518 [Verbose] > │     let v0 : (unit -> UH0) = closure79()                                     │

00:00:21 #1519 [Verbose] > │     UH0_0(11.664236863769117, v0)                                            │

00:00:21 #1520 [Verbose] > │ and closure77 () () : UH0 =                                                  │

00:00:21 #1521 [Verbose] > │     let v0 : (unit -> UH0) = closure78()                                     │

00:00:21 #1522 [Verbose] > │     UH0_0(11.664236861619237, v0)                                            │

00:00:21 #1523 [Verbose] > │ and closure76 () () : UH0 =                                                  │

00:00:21 #1524 [Verbose] > │     let v0 : (unit -> UH0) = closure77()                                     │

00:00:21 #1525 [Verbose] > │     UH0_0(11.664236858771906, v0)                                            │

00:00:21 #1526 [Verbose] > │ and closure75 () () : UH0 =                                                  │

00:00:21 #1527 [Verbose] > │     let v0 : (unit -> UH0) = closure76()                                     │

00:00:21 #1528 [Verbose] > │     UH0_0(11.66423685500086, v0)                                             │

00:00:21 #1529 [Verbose] > │ and closure74 () () : UH0 =                                                  │

00:00:21 #1530 [Verbose] > │     let v0 : (unit -> UH0) = closure75()                                     │

00:00:21 #1531 [Verbose] > │     UH0_0(11.664236850006436, v0)                                            │

00:00:21 #1532 [Verbose] > │ and closure73 () () : UH0 =                                                  │

00:00:21 #1533 [Verbose] > │     let v0 : (unit -> UH0) = closure74()                                     │

00:00:21 #1534 [Verbose] > │     UH0_0(11.664236843391752, v0)                                            │

00:00:21 #1535 [Verbose] > │ and closure72 () () : UH0 =                                                  │

00:00:21 #1536 [Verbose] > │     let v0 : (unit -> UH0) = closure73()                                     │

00:00:21 #1537 [Verbose] > │     UH0_0(11.664236834631172, v0)                                            │

00:00:21 #1538 [Verbose] > │ and closure71 () () : UH0 =                                                  │

00:00:21 #1539 [Verbose] > │     let v0 : (unit -> UH0) = closure72()                                     │

00:00:21 #1540 [Verbose] > │     UH0_0(11.66423682302854, v0)                                             │

00:00:21 #1541 [Verbose] > │ and closure70 () () : UH0 =                                                  │

00:00:21 #1542 [Verbose] > │     let v0 : (unit -> UH0) = closure71()                                     │

00:00:21 #1543 [Verbose] > │     UH0_0(11.664236807661855, v0)                                            │

00:00:21 #1544 [Verbose] > │ and closure69 () () : UH0 =                                                  │

00:00:21 #1545 [Verbose] > │     let v0 : (unit -> UH0) = closure70()                                     │

00:00:21 #1546 [Verbose] > │     UH0_0(11.664236787310005, v0)                                            │

00:00:21 #1547 [Verbose] > │ and closure68 () () : UH0 =                                                  │

00:00:21 #1548 [Verbose] > │     let v0 : (unit -> UH0) = closure69()                                     │

00:00:21 #1549 [Verbose] > │     UH0_0(11.664236760355733, v0)                                            │

00:00:21 #1550 [Verbose] > │ and closure67 () () : UH0 =                                                  │

00:00:21 #1551 [Verbose] > │     let v0 : (unit -> UH0) = closure68()                                     │

00:00:21 #1552 [Verbose] > │     UH0_0(11.664236724657123, v0)                                            │

00:00:21 #1553 [Verbose] > │ and closure66 () () : UH0 =                                                  │

00:00:21 #1554 [Verbose] > │     let v0 : (unit -> UH0) = closure67()                                     │

00:00:21 #1555 [Verbose] > │     UH0_0(11.66423667737739, v0)                                             │

00:00:21 #1556 [Verbose] > │ and closure65 () () : UH0 =                                                  │

00:00:21 #1557 [Verbose] > │     let v0 : (unit -> UH0) = closure66()                                     │

00:00:21 #1558 [Verbose] > │     UH0_0(11.664236614759462, v0)                                            │

00:00:21 #1559 [Verbose] > │ and closure64 () () : UH0 =                                                  │

00:00:21 #1560 [Verbose] > │     let v0 : (unit -> UH0) = closure65()                                     │

00:00:21 #1561 [Verbose] > │     UH0_0(11.664236531827415, v0)                                            │

00:00:21 #1562 [Verbose] > │ and closure63 () () : UH0 =                                                  │

00:00:21 #1563 [Verbose] > │     let v0 : (unit -> UH0) = closure64()                                     │

00:00:21 #1564 [Verbose] > │     UH0_0(11.664236421991067, v0)                                            │

00:00:21 #1565 [Verbose] > │ and closure62 () () : UH0 =                                                  │

00:00:21 #1566 [Verbose] > │     let v0 : (unit -> UH0) = closure63()                                     │

00:00:21 #1567 [Verbose] > │     UH0_0(11.664236276522294, v0)                                            │

00:00:21 #1568 [Verbose] > │ and closure61 () () : UH0 =                                                  │

00:00:21 #1569 [Verbose] > │     let v0 : (unit -> UH0) = closure62()                                     │

00:00:21 #1570 [Verbose] > │     UH0_0(11.664236083861448, v0)                                            │

00:00:21 #1571 [Verbose] > │ and closure60 () () : UH0 =                                                  │

00:00:21 #1572 [Verbose] > │     let v0 : (unit -> UH0) = closure61()                                     │

00:00:21 #1573 [Verbose] > │     UH0_0(11.664235828698772, v0)                                            │

00:00:21 #1574 [Verbose] > │ and closure59 () () : UH0 =                                                  │

00:00:21 #1575 [Verbose] > │     let v0 : (unit -> UH0) = closure60()                                     │

00:00:21 #1576 [Verbose] > │     UH0_0(11.664235490757811, v0)                                            │

00:00:21 #1577 [Verbose] > │ and closure58 () () : UH0 =                                                  │

00:00:21 #1578 [Verbose] > │     let v0 : (unit -> UH0) = closure59()                                     │

00:00:21 #1579 [Verbose] > │     UH0_0(11.664235043184158, v0)                                            │

00:00:21 #1580 [Verbose] > │ and closure57 () () : UH0 =                                                  │

00:00:21 #1581 [Verbose] > │     let v0 : (unit -> UH0) = closure58()                                     │

00:00:21 #1582 [Verbose] > │     UH0_0(11.66423445041147, v0)                                             │

00:00:21 #1583 [Verbose] > │ and closure56 () () : UH0 =                                                  │

00:00:21 #1584 [Verbose] > │     let v0 : (unit -> UH0) = closure57()                                     │

00:00:21 #1585 [Verbose] > │     UH0_0(11.664233665335203, v0)                                            │

00:00:21 #1586 [Verbose] > │ and closure55 () () : UH0 =                                                  │

00:00:21 #1587 [Verbose] > │     let v0 : (unit -> UH0) = closure56()                                     │

00:00:21 #1588 [Verbose] > │     UH0_0(11.664232625569467, v0)                                            │

00:00:21 #1589 [Verbose] > │ and closure54 () () : UH0 =                                                  │

00:00:21 #1590 [Verbose] > │     let v0 : (unit -> UH0) = closure55()                                     │

00:00:21 #1591 [Verbose] > │     UH0_0(11.664231248489562, v0)                                            │

00:00:21 #1592 [Verbose] > │ and closure53 () () : UH0 =                                                  │

00:00:21 #1593 [Verbose] > │     let v0 : (unit -> UH0) = closure54()                                     │

00:00:21 #1594 [Verbose] > │     UH0_0(11.664229424666262, v0)                                            │

00:00:21 #1595 [Verbose] > │ and closure52 () () : UH0 =                                                  │

00:00:21 #1596 [Verbose] > │     let v0 : (unit -> UH0) = closure53()                                     │

00:00:21 #1597 [Verbose] > │     UH0_0(11.66422700917009, v0)                                             │

00:00:21 #1598 [Verbose] > │ and closure51 () () : UH0 =                                                  │

00:00:21 #1599 [Verbose] > │     let v0 : (unit -> UH0) = closure52()                                     │

00:00:21 #1600 [Verbose] > │     UH0_0(11.664223810054642, v0)                                            │

00:00:21 #1601 [Verbose] > │ and closure50 () () : UH0 =                                                  │

00:00:21 #1602 [Verbose] > │     let v0 : (unit -> UH0) = closure51()                                     │

00:00:21 #1603 [Verbose] > │     UH0_0(11.664219573103773, v0)                                            │

00:00:21 #1604 [Verbose] > │ and closure49 () () : UH0 =                                                  │

00:00:21 #1605 [Verbose] > │     let v0 : (unit -> UH0) = closure50()                                     │

00:00:21 #1606 [Verbose] > │     UH0_0(11.6642139616307, v0)                                              │

00:00:21 #1607 [Verbose] > │ and closure48 () () : UH0 =                                                  │

00:00:21 #1608 [Verbose] > │     let v0 : (unit -> UH0) = closure49()                                     │

00:00:21 #1609 [Verbose] > │     UH0_0(11.664206529723813, v0)                                            │

00:00:21 #1610 [Verbose] > │ and closure47 () () : UH0 =                                                  │

00:00:21 #1611 [Verbose] > │     let v0 : (unit -> UH0) = closure48()                                     │

00:00:21 #1612 [Verbose] > │     UH0_0(11.664196686813408, v0)                                            │

00:00:21 #1613 [Verbose] > │ and closure46 () () : UH0 =                                                  │

00:00:21 #1614 [Verbose] > │     let v0 : (unit -> UH0) = closure47()                                     │

00:00:21 #1615 [Verbose] > │     UH0_0(11.664183650743945, v0)                                            │

00:00:21 #1616 [Verbose] > │ and closure45 () () : UH0 =                                                  │

00:00:21 #1617 [Verbose] > │     let v0 : (unit -> UH0) = closure46()                                     │

00:00:21 #1618 [Verbose] > │     UH0_0(11.664166385623318, v0)                                            │

00:00:21 #1619 [Verbose] > │ and closure44 () () : UH0 =                                                  │

00:00:21 #1620 [Verbose] > │     let v0 : (unit -> UH0) = closure45()                                     │

00:00:21 #1621 [Verbose] > │     UH0_0(11.664143519511356, v0)                                            │

00:00:21 #1622 [Verbose] > │ and closure43 () () : UH0 =                                                  │

00:00:21 #1623 [Verbose] > │     let v0 : (unit -> UH0) = closure44()                                     │

00:00:21 #1624 [Verbose] > │     UH0_0(11.664113235408447, v0)                                            │

00:00:21 #1625 [Verbose] > │ and closure42 () () : UH0 =                                                  │

00:00:21 #1626 [Verbose] > │     let v0 : (unit -> UH0) = closure43()                                     │

00:00:21 #1627 [Verbose] > │     UH0_0(11.66407312688485, v0)                                             │

00:00:21 #1628 [Verbose] > │ and closure41 () () : UH0 =                                                  │

00:00:21 #1629 [Verbose] > │     let v0 : (unit -> UH0) = closure42()                                     │

00:00:21 #1630 [Verbose] > │     UH0_0(11.664020006883758, v0)                                            │

00:00:21 #1631 [Verbose] > │ and closure40 () () : UH0 =                                                  │

00:00:21 #1632 [Verbose] > │     let v0 : (unit -> UH0) = closure41()                                     │

00:00:21 #1633 [Verbose] > │     UH0_0(11.663949654514292, v0)                                            │

00:00:21 #1634 [Verbose] > │ and closure39 () () : UH0 =                                                  │

00:00:21 #1635 [Verbose] > │     let v0 : (unit -> UH0) = closure40()                                     │

00:00:21 #1636 [Verbose] > │     UH0_0(11.663856479730171, v0)                                            │

00:00:21 #1637 [Verbose] > │ and closure38 () () : UH0 =                                                  │

00:00:21 #1638 [Verbose] > │     let v0 : (unit -> UH0) = closure39()                                     │

00:00:21 #1639 [Verbose] > │     UH0_0(11.663733079277343, v0)                                            │

00:00:21 #1640 [Verbose] > │ and closure37 () () : UH0 =                                                  │

00:00:21 #1641 [Verbose] > │     let v0 : (unit -> UH0) = closure38()                                     │

00:00:21 #1642 [Verbose] > │     UH0_0(11.663569648675777, v0)                                            │

00:00:21 #1643 [Verbose] > │ and closure36 () () : UH0 =                                                  │

00:00:21 #1644 [Verbose] > │     let v0 : (unit -> UH0) = closure37()                                     │

00:00:21 #1645 [Verbose] > │     UH0_0(11.663353203599439, v0)                                            │

00:00:21 #1646 [Verbose] > │ and closure35 () () : UH0 =                                                  │

00:00:21 #1647 [Verbose] > │     let v0 : (unit -> UH0) = closure36()                                     │

00:00:21 #1648 [Verbose] > │     UH0_0(11.663066548940721, v0)                                            │

00:00:21 #1649 [Verbose] > │ and closure34 () () : UH0 =                                                  │

00:00:21 #1650 [Verbose] > │     let v0 : (unit -> UH0) = closure35()                                     │

00:00:21 #1651 [Verbose] > │     UH0_0(11.662686913915445, v0)                                            │

00:00:21 #1652 [Verbose] > │ and closure33 () () : UH0 =                                                  │

00:00:21 #1653 [Verbose] > │     let v0 : (unit -> UH0) = closure34()                                     │

00:00:21 #1654 [Verbose] > │     UH0_0(11.662184145236864, v0)                                            │

00:00:21 #1655 [Verbose] > │ and closure32 () () : UH0 =                                                  │

00:00:21 #1656 [Verbose] > │     let v0 : (unit -> UH0) = closure33()                                     │

00:00:21 #1657 [Verbose] > │     UH0_0(11.661518315638029, v0)                                            │

00:00:21 #1658 [Verbose] > │ and closure31 () () : UH0 =                                                  │

00:00:21 #1659 [Verbose] > │     let v0 : (unit -> UH0) = closure32()                                     │

00:00:21 #1660 [Verbose] > │     UH0_0(11.66063655920926, v0)                                             │

00:00:21 #1661 [Verbose] > │ and closure30 () () : UH0 =                                                  │

00:00:21 #1662 [Verbose] > │     let v0 : (unit -> UH0) = closure31()                                     │

00:00:21 #1663 [Verbose] > │     UH0_0(11.659468884709733, v0)                                            │

00:00:21 #1664 [Verbose] > │ and closure29 () () : UH0 =                                                  │

00:00:21 #1665 [Verbose] > │     let v0 : (unit -> UH0) = closure30()                                     │

00:00:21 #1666 [Verbose] > │     UH0_0(11.657922638782631, v0)                                            │

00:00:21 #1667 [Verbose] > │ and closure28 () () : UH0 =                                                  │

00:00:21 #1668 [Verbose] > │     let v0 : (unit -> UH0) = closure29()                                     │

00:00:21 #1669 [Verbose] > │     UH0_0(11.655875187195818, v0)                                            │

00:00:21 #1670 [Verbose] > │ and closure27 () () : UH0 =                                                  │

00:00:21 #1671 [Verbose] > │     let v0 : (unit -> UH0) = closure28()                                     │

00:00:21 #1672 [Verbose] > │     UH0_0(11.653164246713697, v0)                                            │

00:00:21 #1673 [Verbose] > │ and closure26 () () : UH0 =                                                  │

00:00:21 #1674 [Verbose] > │     let v0 : (unit -> UH0) = closure27()                                     │

00:00:21 #1675 [Verbose] > │     UH0_0(11.64957512416459, v0)                                             │

00:00:21 #1676 [Verbose] > │ and closure25 () () : UH0 =                                                  │

00:00:21 #1677 [Verbose] > │     let v0 : (unit -> UH0) = closure26()                                     │

00:00:21 #1678 [Verbose] > │     UH0_0(11.644823892116417, v0)                                            │

00:00:21 #1679 [Verbose] > │ and closure24 () () : UH0 =                                                  │

00:00:21 #1680 [Verbose] > │     let v0 : (unit -> UH0) = closure25()                                     │

00:00:21 #1681 [Verbose] > │     UH0_0(11.63853524018339, v0)                                             │

00:00:21 #1682 [Verbose] > │ and closure23 () () : UH0 =                                                  │

00:00:21 #1683 [Verbose] > │     let v0 : (unit -> UH0) = closure24()                                     │

00:00:21 #1684 [Verbose] > │     UH0_0(11.630213374558416, v0)                                            │

00:00:21 #1685 [Verbose] > │ and closure22 () () : UH0 =                                                  │

00:00:21 #1686 [Verbose] > │     let v0 : (unit -> UH0) = closure23()                                     │

00:00:21 #1687 [Verbose] > │     UH0_0(11.619203884549703, v0)                                            │

00:00:21 #1688 [Verbose] > │ and closure21 () () : UH0 =                                                  │

00:00:21 #1689 [Verbose] > │     let v0 : (unit -> UH0) = closure22()                                     │

00:00:21 #1690 [Verbose] > │     UH0_0(11.604643948207235, v0)                                            │

00:00:21 #1691 [Verbose] > │ and closure20 () () : UH0 =                                                  │

00:00:21 #1692 [Verbose] > │     let v0 : (unit -> UH0) = closure21()                                     │

00:00:21 #1693 [Verbose] > │     UH0_0(11.585397618384544, v0)                                            │

00:00:21 #1694 [Verbose] > │ and closure19 () () : UH0 =                                                  │

00:00:21 #1695 [Verbose] > │     let v0 : (unit -> UH0) = closure20()                                     │

00:00:21 #1696 [Verbose] > │     UH0_0(11.559972254267073, v0)                                            │

00:00:21 #1697 [Verbose] > │ and closure18 () () : UH0 =                                                  │

00:00:21 #1698 [Verbose] > │     let v0 : (unit -> UH0) = closure19()                                     │

00:00:21 #1699 [Verbose] > │     UH0_0(11.526411536153837, v0)                                            │

00:00:21 #1700 [Verbose] > │ and closure17 () () : UH0 =                                                  │

00:00:21 #1701 [Verbose] > │     let v0 : (unit -> UH0) = closure18()                                     │

00:00:21 #1702 [Verbose] > │     UH0_0(11.48216011776808, v0)                                             │

00:00:21 #1703 [Verbose] > │ and closure16 () () : UH0 =                                                  │

00:00:21 #1704 [Verbose] > │     let v0 : (unit -> UH0) = closure17()                                     │

00:00:21 #1705 [Verbose] > │     UH0_0(11.42389519391233, v0)                                             │

00:00:21 #1706 [Verbose] > │ and closure15 () () : UH0 =                                                  │

00:00:21 #1707 [Verbose] > │     let v0 : (unit -> UH0) = closure16()                                     │

00:00:21 #1708 [Verbose] > │     UH0_0(11.347321723441393, v0)                                            │

00:00:21 #1709 [Verbose] > │ and closure14 () () : UH0 =                                                  │

00:00:21 #1710 [Verbose] > │     let v0 : (unit -> UH0) = closure15()                                     │

00:00:21 #1711 [Verbose] > │     UH0_0(11.246931775734161, v0)                                            │

00:00:21 #1712 [Verbose] > │ and closure13 () () : UH0 =                                                  │

00:00:21 #1713 [Verbose] > │     let v0 : (unit -> UH0) = closure14()                                     │

00:00:21 #1714 [Verbose] > │     UH0_0(11.115736011467376, v0)                                            │

00:00:21 #1715 [Verbose] > │ and closure12 () () : UH0 =                                                  │

00:00:21 #1716 [Verbose] > │     let v0 : (unit -> UH0) = closure13()                                     │

00:00:21 #1717 [Verbose] > │     UH0_0(10.94498876251829, v0)                                             │

00:00:21 #1718 [Verbose] > │ and closure11 () () : UH0 =                                                  │

00:00:21 #1719 [Verbose] > │     let v0 : (unit -> UH0) = closure12()                                     │

00:00:21 #1720 [Verbose] > │     UH0_0(10.72394989903564, v0)                                             │

00:00:21 #1721 [Verbose] > │ and closure10 () () : UH0 =                                                  │

00:00:21 #1722 [Verbose] > │     let v0 : (unit -> UH0) = closure11()                                     │

00:00:21 #1723 [Verbose] > │     UH0_0(10.439758275369812, v0)                                            │

00:00:21 #1724 [Verbose] > │ and closure9 () () : UH0 =                                                   │

00:00:21 #1725 [Verbose] > │     let v0 : (unit -> UH0) = closure10()                                     │

00:00:21 #1726 [Verbose] > │     UH0_0(10.077531599826058, v0)                                            │

00:00:21 #1727 [Verbose] > │ and closure8 () () : UH0 =                                                   │

00:00:21 #1728 [Verbose] > │     let v0 : (unit -> UH0) = closure9()                                      │

00:00:21 #1729 [Verbose] > │     UH0_0(9.62084761372258, v0)                                              │

00:00:21 #1730 [Verbose] > │ and closure7 () () : UH0 =                                                   │

00:00:21 #1731 [Verbose] > │     let v0 : (unit -> UH0) = closure8()                                      │

00:00:21 #1732 [Verbose] > │     UH0_0(9.052781056066443, v0)                                             │

00:00:21 #1733 [Verbose] > │ and closure6 () () : UH0 =                                                   │

00:00:21 #1734 [Verbose] > │     let v0 : (unit -> UH0) = closure7()                                      │

00:00:21 #1735 [Verbose] > │     UH0_0(8.357635347880503, v0)                                             │

00:00:21 #1736 [Verbose] > │ and closure5 () () : UH0 =                                                   │

00:00:21 #1737 [Verbose] > │     let v0 : (unit -> UH0) = closure6()                                      │

00:00:21 #1738 [Verbose] > │     UH0_0(7.523376447621674, v0)                                             │

00:00:21 #1739 [Verbose] > │ and closure4 () () : UH0 =                                                   │

00:00:21 #1740 [Verbose] > │     let v0 : (unit -> UH0) = closure5()                                      │

00:00:21 #1741 [Verbose] > │     UH0_0(6.544529054818572, v0)                                             │

00:00:21 #1742 [Verbose] > │ and closure3 () () : UH0 =                                                   │

00:00:21 #1743 [Verbose] > │     let v0 : (unit -> UH0) = closure4()                                      │

00:00:21 #1744 [Verbose] > │     UH0_0(5.424976512996006, v0)                                             │

00:00:21 #1745 [Verbose] > │ and closure2 () () : UH0 =                                                   │

00:00:21 #1746 [Verbose] > │     let v0 : (unit -> UH0) = closure3()                                      │

00:00:21 #1747 [Verbose] > │     UH0_0(4.179852321428571, v0)                                             │

00:00:21 #1748 [Verbose] > │ and closure1 () () : UH0 =                                                   │

00:00:21 #1749 [Verbose] > │     let v0 : (unit -> UH0) = closure2()                                      │

00:00:21 #1750 [Verbose] > │     UH0_0(2.835714285714286, v0)                                             │

00:00:21 #1751 [Verbose] > │ and closure0 () () : UH0 =                                                   │

00:00:21 #1752 [Verbose] > │     let v0 : (unit -> UH0) = closure1()                                      │

00:00:21 #1753 [Verbose] > │     UH0_0(1.4285714285714286, v0)                                            │

00:00:21 #1754 [Verbose] > │ and method3 (v0 : float, v1 : UH0) : US0 =                                   │

00:00:21 #1755 [Verbose] > │     match v1 with                                                            │

00:00:21 #1756 [Verbose] > │     | UH0_0(v2, v3) -> (* StreamCons *)                                      │

00:00:21 #1757 [Verbose] > │         let v4 : bool = v0 <= 0.0                                            │

00:00:21 #1758 [Verbose] > │         if v4 then                                                           │

00:00:21 #1759 [Verbose] > │             US0_1(v2)                                                        │

00:00:21 #1760 [Verbose] > │         else                                                                 │

00:00:21 #1761 [Verbose] > │             let v6 : float = v0 - 1.0                                        │

00:00:21 #1762 [Verbose] > │             let v7 : UH0 = v3 ()                                             │

00:00:21 #1763 [Verbose] > │             method3(v6, v7)                                                  │

00:00:21 #1764 [Verbose] > │     | UH0_1 -> (* StreamNil *)                                               │

00:00:21 #1765 [Verbose] > │         US0_0                                                                │

00:00:21 #1766 [Verbose] > │ and method4 (v0 : (struct (string * (float []) * (float [])) [])) : (struct  │

00:00:21 #1767 [Verbose] > │ (string * (float []) * (float [])) []) =                                     │

00:00:21 #1768 [Verbose] > │     v0                                                                       │

00:00:21 #1769 [Verbose] > │ and method0 () : struct (string * string * string * (struct (string * (float │

00:00:21 #1770 [Verbose] > │ []) * (float [])) [])) =                                                     │

00:00:21 #1771 [Verbose] > │     let v0 : (float []) = Array.zeroCreate<float> (121)                      │

00:00:21 #1772 [Verbose] > │     let v1 : Mut0 = {l0 = 0} : Mut0                                          │

00:00:21 #1773 [Verbose] > │     while method1(v1) do                                                     │

00:00:21 #1774 [Verbose] > │         let v3 : int32 = v1.l0                                               │

00:00:21 #1775 [Verbose] > │         let v4 : float = float v3                                            │

00:00:21 #1776 [Verbose] > │         let v5 : float = 0.5 * v4                                            │

00:00:21 #1777 [Verbose] > │         v0.[int v3] <- v5                                                    │

00:00:21 #1778 [Verbose] > │         let v6 : int32 = v3 + 1                                              │

00:00:21 #1779 [Verbose] > │         v1.l0 <- v6                                                          │

00:00:21 #1780 [Verbose] > │         ()                                                                   │

00:00:21 #1781 [Verbose] > │     let v7 : int32 = v0.Length                                               │

00:00:21 #1782 [Verbose] > │     let v8 : (float []) = Array.zeroCreate<float> (v7)                       │

00:00:21 #1783 [Verbose] > │     let v9 : Mut0 = {l0 = 0} : Mut0                                          │

00:00:21 #1784 [Verbose] > │     while method2(v7, v9) do                                                 │

00:00:21 #1785 [Verbose] > │         let v11 : int32 = v9.l0                                              │

00:00:21 #1786 [Verbose] > │         let v12 : float = v0.[int v11]                                       │

00:00:21 #1787 [Verbose] > │         let v13 : float = round v12                                          │

00:00:21 #1788 [Verbose] > │         let v14 : float =  -v13                                              │

00:00:21 #1789 [Verbose] > │         let v15 : bool = v13 >= v14                                          │

00:00:21 #1790 [Verbose] > │         let v16 : float =                                                    │

00:00:21 #1791 [Verbose] > │             if v15 then                                                      │

00:00:21 #1792 [Verbose] > │                 v13                                                          │

00:00:21 #1793 [Verbose] > │             else                                                             │

00:00:21 #1794 [Verbose] > │                 v14                                                          │

00:00:21 #1795 [Verbose] > │         let v17 : float = 0.0                                                │

00:00:21 #1796 [Verbose] > │         let v18 : (unit -> UH0) = closure0()                                 │

00:00:21 #1797 [Verbose] > │         let v19 : UH0 = UH0_0(v17, v18)                                      │

00:00:21 #1798 [Verbose] > │         let v20 : US0 = method3(v16, v19)                                    │

00:00:21 #1799 [Verbose] > │         let v23 : float =                                                    │

00:00:21 #1800 [Verbose] > │             match v20 with                                                   │

00:00:21 #1801 [Verbose] > │             | US0_0 -> (* None *)                                            │

00:00:21 #1802 [Verbose] > │                 0.0                                                          │

00:00:21 #1803 [Verbose] > │             | US0_1(v21) -> (* Some *)                                       │

00:00:21 #1804 [Verbose] > │                 v21                                                          │

00:00:21 #1805 [Verbose] > │         v8.[int v11] <- v23                                                  │

00:00:21 #1806 [Verbose] > │         let v24 : int32 = v11 + 1                                            │

00:00:21 #1807 [Verbose] > │         v9.l0 <- v24                                                         │

00:00:21 #1808 [Verbose] > │         ()                                                                   │

00:00:21 #1809 [Verbose] > │     let v25 : string = "velocity of bike (m/s)"                              │

00:00:21 #1810 [Verbose] > │     let v26 : (struct (string * (float []) * (float [])) []) = [|struct      │

00:00:21 #1811 [Verbose] > │ (v25, v0, v8)|]                                                              │

00:00:21 #1812 [Verbose] > │     let v27 : (struct (string * (float []) * (float [])) []) = method4(v26)  │

00:00:21 #1813 [Verbose] > │     let v28 : string = "bike velocity"                                       │

00:00:21 #1814 [Verbose] > │     let v29 : string = "time (s)"                                            │

00:00:21 #1815 [Verbose] > │     let v30 : string = ""                                                    │

00:00:21 #1816 [Verbose] > │     struct (v28, v29, v30, v27)                                              │

00:00:21 #1817 [Verbose] > │ method0()                                                                    │

00:00:21 #1818 [Verbose] > │                                                                              │

00:00:21 #1819 [Verbose] > │                                                                              │

00:00:21 #1820 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:21 #1821 [Verbose] >

00:00:21 #1822 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────

00:00:21 #1823 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮

00:00:21 #1824 [Verbose] > │ ## velocity_ftv                                                              │

00:00:21 #1825 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:21 #1826 [Verbose] >

00:00:21 #1827 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:21 #1828 [Verbose] > inl newton_second_tv m fs (t, v0) =

00:00:21 #1829 [Verbose] >     inl f_net = fs |> listm.map (fun f => f (t, v0)) |> listm'.sum

00:00:21 #1830 [Verbose] >     inl acc = f_net / m

00:00:21 #1831 [Verbose] >     1, acc

00:00:21 #1832 [Verbose] >

00:00:21 #1833 [Verbose] > inl update_tv dt m fs (t, v0) =

00:00:21 #1834 [Verbose] >     inl dtdt, dvdt = newton_second_tv m fs (t, v0)

00:00:21 #1835 [Verbose] >     t + dtdt * dt, v0 + dvdt * dt

00:00:21 #1836 [Verbose] >

00:00:21 #1837 [Verbose] > inl velocity_ftv dt m tv0 fs t =

00:00:21 #1838 [Verbose] >     stream.iterate (join update_tv dt m fs) tv0

00:00:21 #1839 [Verbose] >     |> stream.try_item (t / dt |> math.round |> abs)

00:00:21 #1840 [Verbose] >     |> optionm.map snd

00:00:21 #1841 [Verbose] >     |> optionm'.default_value 0

00:00:22 #1842 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0903-5474-7477-70e08039968e\main.spi

00:00:22 #1843 [Verbose] >

00:00:22 #1844 [Verbose] > ╭─[ 179.14ms - stdout ]────────────────────────────────────────────────────────╮

00:00:22 #1845 [Verbose] > │ ()                                                                           │

00:00:22 #1846 [Verbose] > │                                                                              │

00:00:22 #1847 [Verbose] > │                                                                              │

00:00:22 #1848 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:22 #1849 [Verbose] >

00:00:22 #1850 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:22 #1851 [Verbose] > // // test

00:00:22 #1852 [Verbose] >

00:00:22 #1853 [Verbose] > inl x = am'.init_series 0 100 0.1

00:00:22 #1854 [Verbose] > inl y =

00:00:22 #1855 [Verbose] >     x

00:00:22 #1856 [Verbose] >     |> am.map (

00:00:22 #1857 [Verbose] >         velocity_ftv 0.1 20 (dyn (0, 0)) [[ fun (t, _) => pedal_coast t; fun (_,

00:00:22 #1858 [Verbose] > v) => f_air 2 1.225 0.5 v ]]

00:00:22 #1859 [Verbose] >     )

00:00:22 #1860 [Verbose] > "pedaling and coasting with air", "time (s)", "", ;[[ "velocity of bike (m/s)",

00:00:22 #1861 [Verbose] > x, y ]]

00:00:22 #1862 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0903-5492-9273-968165d5a4d1\main.spi

00:00:22 #1863 [Verbose] >

00:00:22 #1864 [Verbose] > ╭─[ 411.43ms - return value ]──────────────────────────────────────────────────╮

00:00:22 #1865 [Verbose] > │ <svg width="640" height="480" viewBox="0 0 640 480"                          │

00:00:22 #1866 [Verbose] > │ xmlns="http://www.w3.org/2000/svg">                                          │

00:00:22 #1867 [Verbose] > │ <rect x="0" y="0" width="640" height="480" opacity="1" fill="#141414"        │

00:00:22 #1868 [Verbose] > │ stroke="none"/>                                                              │

00:00:22 #1869 [Verbose] > │ <text x="320" y="10" dy="0.76em" text-anchor="middle"                        │

00:00:22 #1870 [Verbose] > │ font-family="sans-serif" font-size="9.67741935483871" opacity="1"            │

00:00:22 #1871 [Verbose] > │ fill="#FFFFFF">                                                              │

00:00:22 #1872 [Verbose] > │ pedaling and coasting with air                                               │

00:00:22 #1873 [Verbose] > │ </text>                                                                      │

00:00:22 #1874 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="59" y1="424" x2="59" │

00:00:22 #1875 [Verbose] > │ y2="75"/>                                                                    │

00:00:22 #1876 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="69" y1="424" x2="69" │

00:00:22 #1877 [Verbose] > │ y2="75"/>                                                                    │

00:00:22 #1878 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="79" y1="424" x2="79" │

00:00:22 #1879 [Verbose] > │ y2="75"/>                                                                    │

00:00:22 #1880 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="89" y1="424" x2="89" │

00:00:22 #1881 [Verbose] > │ y2="75"/>                                                                    │

00:00:22 #1882 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x...                     │

00:00:22 #1883 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:22 #1884 [Verbose] >

00:00:22 #1885 [Verbose] > ╭─[ 422.62ms - stdout ]────────────────────────────────────────────────────────╮

00:00:22 #1886 [Verbose] > │ type Mut0 = {mutable l0 : int32}                                             │

00:00:22 #1887 [Verbose] > │ and UH0 =                                                                    │

00:00:22 #1888 [Verbose] > │     | UH0_0 of float * float * (unit -> UH0)                                 │

00:00:22 #1889 [Verbose] > │     | UH0_1                                                                  │

00:00:22 #1890 [Verbose] > │ and [<Struct>] US0 =                                                         │

00:00:22 #1891 [Verbose] > │     | US0_0                                                                  │

00:00:22 #1892 [Verbose] > │     | US0_1 of f1_0 : float * f1_1 : float                                   │

00:00:22 #1893 [Verbose] > │ and [<Struct>] US1 =                                                         │

00:00:22 #1894 [Verbose] > │     | US1_0                                                                  │

00:00:22 #1895 [Verbose] > │     | US1_1 of f1_0 : float                                                  │

00:00:22 #1896 [Verbose] > │ let rec method1 (v0 : Mut0) : bool =                                         │

00:00:22 #1897 [Verbose] > │     let v1 : int32 = v0.l0                                                   │

00:00:22 #1898 [Verbose] > │     let v2 : bool = v1 < 1001                                                │

00:00:22 #1899 [Verbose] > │     v2                                                                       │

00:00:22 #1900 [Verbose] > │ and method2 (v0 : int32, v1 : Mut0) : bool =                                 │

00:00:22 #1901 [Verbose] > │     let v2 : int32 = v1.l0                                                   │

00:00:22 #1902 [Verbose] > │     let v3 : bool = v2 < v0                                                  │

00:00:22 #1903 [Verbose] > │     v3                                                                       │

00:00:22 #1904 [Verbose] > │ and closure0 () struct (v0 : float, v1 : float) : struct (float * float) =   │

00:00:22 #1905 [Verbose] > │     let v2 : float =  -v1                                                    │

00:00:22 #1906 [Verbose] > │     let v3 : bool = v1 >= v2                                                 │

00:00:22 #1907 [Verbose] > │     let v4 : float =                                                         │

00:00:22 #1908 [Verbose] > │         if v3 then                                                           │

00:00:22 #1909 [Verbose] > │             v1                                                               │

00:00:22 #1910 [Verbose] > │         else                                                                 │

00:00:22 #1911 [Verbose] > │             v2                                                               │

00:00:22 #1912 [Verbose] > │     let v5 : float = -1.225 * v4                                             │

00:00:22 #1913 [Verbose] > │     let v6 : float = v5 * v1                                                 │

00:00:22 #1914 [Verbose] > │     let v7 : float = v6 / 2.0                                                │

00:00:22 #1915 [Verbose] > │     let v8 : float = v0 / 20.0                                               │

00:00:22 #1916 [Verbose] > │     let v9 : int32 = int32 v8                                                │

00:00:22 #1917 [Verbose] > │     let v10 : float = float v9                                               │

00:00:22 #1918 [Verbose] > │     let v11 : float = v10 * 20.0                                             │

00:00:22 #1919 [Verbose] > │     let v12 : float = v0 - v11                                               │

00:00:22 #1920 [Verbose] > │     let v13 : bool = v12 > 0.0                                               │

00:00:22 #1921 [Verbose] > │     let v15 : bool =                                                         │

00:00:22 #1922 [Verbose] > │         if v13 then                                                          │

00:00:22 #1923 [Verbose] > │             let v14 : bool = v12 < 10.0                                      │

00:00:22 #1924 [Verbose] > │             v14                                                              │

00:00:22 #1925 [Verbose] > │         else                                                                 │

00:00:22 #1926 [Verbose] > │             false                                                            │

00:00:22 #1927 [Verbose] > │     let v16 : float =                                                        │

00:00:22 #1928 [Verbose] > │         if v15 then                                                          │

00:00:22 #1929 [Verbose] > │             10.0                                                             │

00:00:22 #1930 [Verbose] > │         else                                                                 │

00:00:22 #1931 [Verbose] > │             0.0                                                              │

00:00:22 #1932 [Verbose] > │     let v17 : float = v16 + v7                                               │

00:00:22 #1933 [Verbose] > │     let v18 : float = v17 / 20.0                                             │

00:00:22 #1934 [Verbose] > │     let v19 : float = v0 + 0.1                                               │

00:00:22 #1935 [Verbose] > │     let v20 : float = v18 * 0.1                                              │

00:00:22 #1936 [Verbose] > │     let v21 : float = v1 + v20                                               │

00:00:22 #1937 [Verbose] > │     struct (v19, v21)                                                        │

00:00:22 #1938 [Verbose] > │ and method3 () : (struct (float * float) -> struct (float * float)) =        │

00:00:22 #1939 [Verbose] > │     closure0()                                                               │

00:00:22 #1940 [Verbose] > │ and closure1 (v0 : (struct (float * float) -> struct (float * float)), v1 :  │

00:00:22 #1941 [Verbose] > │ float, v2 : float, v3 : float, v4 : float) () : UH0 =                        │

00:00:22 #1942 [Verbose] > │     let struct (v5 : float, v6 : float) = v0 struct (v3, v4)                 │

00:00:22 #1943 [Verbose] > │     let v7 : (unit -> UH0) = closure1(v0, v1, v2, v5, v6)                    │

00:00:22 #1944 [Verbose] > │     UH0_0(v3, v4, v7)                                                        │

00:00:22 #1945 [Verbose] > │ and method4 (v0 : float, v1 : UH0) : US0 =                                   │

00:00:22 #1946 [Verbose] > │     match v1 with                                                            │

00:00:22 #1947 [Verbose] > │     | UH0_0(v2, v3, v4) -> (* StreamCons *)                                  │

00:00:22 #1948 [Verbose] > │         let v5 : bool = v0 <= 0.0                                            │

00:00:22 #1949 [Verbose] > │         if v5 then                                                           │

00:00:22 #1950 [Verbose] > │             US0_1(v2, v3)                                                    │

00:00:22 #1951 [Verbose] > │         else                                                                 │

00:00:22 #1952 [Verbose] > │             let v7 : float = v0 - 1.0                                        │

00:00:22 #1953 [Verbose] > │             let v8 : UH0 = v4 ()                                             │

00:00:22 #1954 [Verbose] > │             method4(v7, v8)                                                  │

00:00:22 #1955 [Verbose] > │     | UH0_1 -> (* StreamNil *)                                               │

00:00:22 #1956 [Verbose] > │         US0_0                                                                │

00:00:22 #1957 [Verbose] > │ and method5 (v0 : (struct (string * (float []) * (float [])) [])) : (struct  │

00:00:22 #1958 [Verbose] > │ (string * (float []) * (float [])) []) =                                     │

00:00:22 #1959 [Verbose] > │     v0                                                                       │

00:00:22 #1960 [Verbose] > │ and method0 () : struct (string * string * string * (struct (string * (float │

00:00:22 #1961 [Verbose] > │ []) * (float [])) [])) =                                                     │

00:00:22 #1962 [Verbose] > │     let v0 : (float []) = Array.zeroCreate<float> (1001)                     │

00:00:22 #1963 [Verbose] > │     let v1 : Mut0 = {l0 = 0} : Mut0                                          │

00:00:22 #1964 [Verbose] > │     while method1(v1) do                                                     │

00:00:22 #1965 [Verbose] > │         let v3 : int32 = v1.l0                                               │

00:00:22 #1966 [Verbose] > │         let v4 : float = float v3                                            │

00:00:22 #1967 [Verbose] > │         let v5 : float = 0.1 * v4                                            │

00:00:22 #1968 [Verbose] > │         v0.[int v3] <- v5                                                    │

00:00:22 #1969 [Verbose] > │         let v6 : int32 = v3 + 1                                              │

00:00:22 #1970 [Verbose] > │         v1.l0 <- v6                                                          │

00:00:22 #1971 [Verbose] > │         ()                                                                   │

00:00:22 #1972 [Verbose] > │     let v7 : float = 0.0                                                     │

00:00:22 #1973 [Verbose] > │     let v8 : float = 0.0                                                     │

00:00:22 #1974 [Verbose] > │     let v9 : int32 = v0.Length                                               │

00:00:22 #1975 [Verbose] > │     let v10 : (float []) = Array.zeroCreate<float> (v9)                      │

00:00:22 #1976 [Verbose] > │     let v11 : Mut0 = {l0 = 0} : Mut0                                         │

00:00:22 #1977 [Verbose] > │     while method2(v9, v11) do                                                │

00:00:22 #1978 [Verbose] > │         let v13 : int32 = v11.l0                                             │

00:00:22 #1979 [Verbose] > │         let v14 : float = v0.[int v13]                                       │

00:00:22 #1980 [Verbose] > │         let v15 : (struct (float * float) -> struct (float * float)) =       │

00:00:22 #1981 [Verbose] > │ method3()                                                                    │

00:00:22 #1982 [Verbose] > │         let struct (v16 : float, v17 : float) = v15 struct (v7, v8)          │

00:00:22 #1983 [Verbose] > │         let v18 : float = v14 / 0.1                                          │

00:00:22 #1984 [Verbose] > │         let v19 : float = round v18                                          │

00:00:22 #1985 [Verbose] > │         let v20 : float =  -v19                                              │

00:00:22 #1986 [Verbose] > │         let v21 : bool = v19 >= v20                                          │

00:00:22 #1987 [Verbose] > │         let v22 : float =                                                    │

00:00:22 #1988 [Verbose] > │             if v21 then                                                      │

00:00:22 #1989 [Verbose] > │                 v19                                                          │

00:00:22 #1990 [Verbose] > │             else                                                             │

00:00:22 #1991 [Verbose] > │                 v20                                                          │

00:00:22 #1992 [Verbose] > │         let v23 : (unit -> UH0) = closure1(v15, v7, v8, v16, v17)            │

00:00:22 #1993 [Verbose] > │         let v24 : UH0 = UH0_0(v7, v8, v23)                                   │

00:00:22 #1994 [Verbose] > │         let v25 : US0 = method4(v22, v24)                                    │

00:00:22 #1995 [Verbose] > │         let v31 : US1 =                                                      │

00:00:22 #1996 [Verbose] > │             match v25 with                                                   │

00:00:22 #1997 [Verbose] > │             | US0_0 -> (* None *)                                            │

00:00:22 #1998 [Verbose] > │                 US1_0                                                        │

00:00:22 #1999 [Verbose] > │             | US0_1(v26, v27) -> (* Some *)                                  │

00:00:22 #2000 [Verbose] > │                 US1_1(v27)                                                   │

00:00:22 #2001 [Verbose] > │         let v34 : float =                                                    │

00:00:22 #2002 [Verbose] > │             match v31 with                                                   │

00:00:22 #2003 [Verbose] > │             | US1_0 -> (* None *)                                            │

00:00:22 #2004 [Verbose] > │                 0.0                                                          │

00:00:22 #2005 [Verbose] > │             | US1_1(v32) -> (* Some *)                                       │

00:00:22 #2006 [Verbose] > │                 v32                                                          │

00:00:22 #2007 [Verbose] > │         v10.[int v13] <- v34                                                 │

00:00:22 #2008 [Verbose] > │         let v35 : int32 = v13 + 1                                            │

00:00:22 #2009 [Verbose] > │         v11.l0 <- v35                                                        │

00:00:22 #2010 [Verbose] > │         ()                                                                   │

00:00:22 #2011 [Verbose] > │     let v36 : string = "velocity of bike (m/s)"                              │

00:00:22 #2012 [Verbose] > │     let v37 : (struct (string * (float []) * (float [])) []) = [|struct      │

00:00:22 #2013 [Verbose] > │ (v36, v0, v10)|]                                                             │

00:00:22 #2014 [Verbose] > │     let v38 : (struct (string * (float []) * (float [])) []) = method5(v37)  │

00:00:22 #2015 [Verbose] > │     let v39 : string = "pedaling and coasting with air"                      │

00:00:22 #2016 [Verbose] > │     let v40 : string = "time (s)"                                            │

00:00:22 #2017 [Verbose] > │     let v41 : string = ""                                                    │

00:00:22 #2018 [Verbose] > │     struct (v39, v40, v41, v38)                                              │

00:00:22 #2019 [Verbose] > │ method0()                                                                    │

00:00:22 #2020 [Verbose] > │                                                                              │

00:00:22 #2021 [Verbose] > │                                                                              │

00:00:22 #2022 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:22 #2023 [Verbose] >

00:00:22 #2024 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────

00:00:22 #2025 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮

00:00:22 #2026 [Verbose] > │ ## velocity_ftxv                                                             │

00:00:22 #2027 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:22 #2028 [Verbose] >

00:00:22 #2029 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:22 #2030 [Verbose] > nominal state_1d = time * position * velocity

00:00:22 #2031 [Verbose] > nominal rrr = f64 * f64 * f64

00:00:22 #2032 [Verbose] >

00:00:22 #2033 [Verbose] > inl newton_second_1d m fs (state_1d (t, x0, v0)) =

00:00:22 #2034 [Verbose] >     inl f_net = fs |> listm.map (fun f => f (state_1d (t, x0, v0))) |>

00:00:22 #2035 [Verbose] > listm'.sum

00:00:22 #2036 [Verbose] >     inl acc = f_net / m

00:00:22 #2037 [Verbose] >     rrr (1f64, v0, acc)

00:00:22 #2038 [Verbose] >

00:00:22 #2039 [Verbose] > inl euler_1d dt deriv (state_1d (t0, x0, v0) as t) =

00:00:22 #2040 [Verbose] >     inl (rrr (_, _, dvdt)) = deriv t

00:00:22 #2041 [Verbose] >     inl t1 = t0 + dt

00:00:22 #2042 [Verbose] >     inl x1 = x0 + v0 * dt

00:00:22 #2043 [Verbose] >     inl v1 = v0 + dvdt * dt

00:00:22 #2044 [Verbose] >     state_1d (t1, x1, v1)

00:00:22 #2045 [Verbose] >

00:00:22 #2046 [Verbose] > inl update_txv dt m fs =

00:00:22 #2047 [Verbose] >     newton_second_1d m fs |> euler_1d dt

00:00:22 #2048 [Verbose] >

00:00:22 #2049 [Verbose] > inl states_txv dt m txv0 fs =

00:00:22 #2050 [Verbose] >     seq.iterate_ (update_txv dt m fs) txv0

00:00:22 #2051 [Verbose] >

00:00:22 #2052 [Verbose] > inl velocity_1d sts t =

00:00:22 #2053 [Verbose] >     inl (state_1d (t0, _, _)) = sts 0

00:00:22 #2054 [Verbose] >     inl (state_1d (t1, _, _)) = sts 1

00:00:22 #2055 [Verbose] >     inl dt = t1 - t0

00:00:22 #2056 [Verbose] >     inl num_steps = t / dt |> math.round |> abs

00:00:22 #2057 [Verbose] >     inl (state_1d (_, _, v0)) = sts num_steps

00:00:22 #2058 [Verbose] >     v0

00:00:22 #2059 [Verbose] >

00:00:22 #2060 [Verbose] > inl velocity_ftxv dt m txv0 fs =

00:00:22 #2061 [Verbose] >     states_txv dt m txv0 fs |> velocity_1d

00:00:22 #2062 [Verbose] >

00:00:22 #2063 [Verbose] > inl position_1d sts t =

00:00:22 #2064 [Verbose] >     inl (state_1d (t0, _, _)) = sts 0

00:00:22 #2065 [Verbose] >     inl (state_1d (t1, _, _)) = sts 1

00:00:22 #2066 [Verbose] >     inl dt = t1 - t0

00:00:22 #2067 [Verbose] >     inl num_steps = t / dt |> math.round |> abs

00:00:22 #2068 [Verbose] >     inl (state_1d (_, x0, _)) = sts num_steps

00:00:22 #2069 [Verbose] >     x0

00:00:22 #2070 [Verbose] >

00:00:22 #2071 [Verbose] > inl position_ftxv dt m txv0 fs =

00:00:22 #2072 [Verbose] >     states_txv dt m txv0 fs |> position_1d

00:00:22 #2073 [Verbose] >

00:00:22 #2074 [Verbose] > inl spring_force k (state_1d (_, x0, _)) =

00:00:22 #2075 [Verbose] >     -k * x0

00:00:22 #2076 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0903-5540-4017-434ceb50c147\main.spi

00:00:22 #2077 [Verbose] >

00:00:22 #2078 [Verbose] > ╭─[ 233.58ms - stdout ]────────────────────────────────────────────────────────╮

00:00:22 #2079 [Verbose] > │ ()                                                                           │

00:00:22 #2080 [Verbose] > │                                                                              │

00:00:22 #2081 [Verbose] > │                                                                              │

00:00:22 #2082 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:22 #2083 [Verbose] >

00:00:22 #2084 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:22 #2085 [Verbose] > // // test

00:00:22 #2086 [Verbose] >

00:00:22 #2087 [Verbose] > inl damped_ho_forces () =

00:00:22 #2088 [Verbose] >     [[

00:00:22 #2089 [Verbose] >         spring_force 0.8

00:00:22 #2090 [Verbose] >         fun (state_1d (_, _, v0)) => f_air 2 1.225 (pi * math.square 0.02) v0

00:00:22 #2091 [Verbose] >         fun _ => -0.0027 * 9.80665

00:00:22 #2092 [Verbose] >     ]]

00:00:22 #2093 [Verbose] >

00:00:22 #2094 [Verbose] > inl damped_ho_states () =

00:00:22 #2095 [Verbose] >     states_txv 0.001 0.0027 (state_1d (0, 0.1, 0)) (damped_ho_forces ())

00:00:22 #2096 [Verbose] >

00:00:22 #2097 [Verbose] > inl pingpong_position t =

00:00:22 #2098 [Verbose] >     position_ftxv 0.001 0.0027 (state_1d (0, 0.1, 0)) (damped_ho_forces ()) t

00:00:22 #2099 [Verbose] >

00:00:22 #2100 [Verbose] > inl x : a _ f64 = am'.init_series 0 3 0.01

00:00:22 #2101 [Verbose] > inl y = x |> am.map pingpong_position

00:00:22 #2102 [Verbose] > "ping pong ball on a slinky", "time (s)", "", ;[[ "position (m)", x, y ]]

00:00:22 #2103 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0903-5563-6363-6cf5a841d754\main.spi

00:00:23 #2104 [Verbose] >

00:00:23 #2105 [Verbose] > ╭─[ 287.93ms - return value ]──────────────────────────────────────────────────╮

00:00:23 #2106 [Verbose] > │ <svg width="640" height="480" viewBox="0 0 640 480"                          │

00:00:23 #2107 [Verbose] > │ xmlns="http://www.w3.org/2000/svg">                                          │

00:00:23 #2108 [Verbose] > │ <rect x="0" y="0" width="640" height="480" opacity="1" fill="#141414"        │

00:00:23 #2109 [Verbose] > │ stroke="none"/>                                                              │

00:00:23 #2110 [Verbose] > │ <text x="320" y="10" dy="0.76em" text-anchor="middle"                        │

00:00:23 #2111 [Verbose] > │ font-family="sans-serif" font-size="9.67741935483871" opacity="1"            │

00:00:23 #2112 [Verbose] > │ fill="#FFFFFF">                                                              │

00:00:23 #2113 [Verbose] > │ ping pong ball on a slinky                                                   │

00:00:23 #2114 [Verbose] > │ </text>                                                                      │

00:00:23 #2115 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="61" y1="424" x2="61" │

00:00:23 #2116 [Verbose] > │ y2="75"/>                                                                    │

00:00:23 #2117 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="69" y1="424" x2="69" │

00:00:23 #2118 [Verbose] > │ y2="75"/>                                                                    │

00:00:23 #2119 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="78" y1="424" x2="78" │

00:00:23 #2120 [Verbose] > │ y2="75"/>                                                                    │

00:00:23 #2121 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="86" y1="424" x2="86" │

00:00:23 #2122 [Verbose] > │ y2="75"/>                                                                    │

00:00:23 #2123 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="9...                 │

00:00:23 #2124 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:23 #2125 [Verbose] >

00:00:23 #2126 [Verbose] > ╭─[ 296.31ms - stdout ]────────────────────────────────────────────────────────╮

00:00:23 #2127 [Verbose] > │ type Mut0 = {mutable l0 : int32}                                             │

00:00:23 #2128 [Verbose] > │ let rec method1 (v0 : Mut0) : bool =                                         │

00:00:23 #2129 [Verbose] > │     let v1 : int32 = v0.l0                                                   │

00:00:23 #2130 [Verbose] > │     let v2 : bool = v1 < 301                                                 │

00:00:23 #2131 [Verbose] > │     v2                                                                       │

00:00:23 #2132 [Verbose] > │ and method2 (v0 : int32, v1 : Mut0) : bool =                                 │

00:00:23 #2133 [Verbose] > │     let v2 : int32 = v1.l0                                                   │

00:00:23 #2134 [Verbose] > │     let v3 : bool = v2 < v0                                                  │

00:00:23 #2135 [Verbose] > │     v3                                                                       │

00:00:23 #2136 [Verbose] > │ and method3 (v0 : float, v1 : float, v2 : float, v3 : float) : struct (float │

00:00:23 #2137 [Verbose] > │ * float * float) =                                                           │

00:00:23 #2138 [Verbose] > │     let v4 : bool = v3 <= 0.0                                                │

00:00:23 #2139 [Verbose] > │     if v4 then                                                               │

00:00:23 #2140 [Verbose] > │         struct (v0, v1, v2)                                                  │

00:00:23 #2141 [Verbose] > │     else                                                                     │

00:00:23 #2142 [Verbose] > │         let v5 : float =  -v2                                                │

00:00:23 #2143 [Verbose] > │         let v6 : bool = v2 >= v5                                             │

00:00:23 #2144 [Verbose] > │         let v7 : float =                                                     │

00:00:23 #2145 [Verbose] > │             if v6 then                                                       │

00:00:23 #2146 [Verbose] > │                 v2                                                           │

00:00:23 #2147 [Verbose] > │             else                                                             │

00:00:23 #2148 [Verbose] > │                 v5                                                           │

00:00:23 #2149 [Verbose] > │         let v8 : float = -0.0030787608005179976 * v7                         │

00:00:23 #2150 [Verbose] > │         let v9 : float = v8 * v2                                             │

00:00:23 #2151 [Verbose] > │         let v10 : float = v9 / 2.0                                           │

00:00:23 #2152 [Verbose] > │         let v11 : float = -0.8 * v1                                          │

00:00:23 #2153 [Verbose] > │         let v12 : float = v11 + v10                                          │

00:00:23 #2154 [Verbose] > │         let v13 : float = v12 + -0.026477955                                 │

00:00:23 #2155 [Verbose] > │         let v14 : float = v13 / 0.0027                                       │

00:00:23 #2156 [Verbose] > │         let v15 : float = v0 + 0.001                                         │

00:00:23 #2157 [Verbose] > │         let v16 : float = v2 * 0.001                                         │

00:00:23 #2158 [Verbose] > │         let v17 : float = v1 + v16                                           │

00:00:23 #2159 [Verbose] > │         let v18 : float = v14 * 0.001                                        │

00:00:23 #2160 [Verbose] > │         let v19 : float = v2 + v18                                           │

00:00:23 #2161 [Verbose] > │         let v20 : float = v3 - 1.0                                           │

00:00:23 #2162 [Verbose] > │         method3(v15, v17, v19, v20)                                          │

00:00:23 #2163 [Verbose] > │ and method4 (v0 : (struct (string * (float []) * (float [])) [])) : (struct  │

00:00:23 #2164 [Verbose] > │ (string * (float []) * (float [])) []) =                                     │

00:00:23 #2165 [Verbose] > │     v0                                                                       │

00:00:23 #2166 [Verbose] > │ and method0 () : struct (string * string * string * (struct (string * (float │

00:00:23 #2167 [Verbose] > │ []) * (float [])) [])) =                                                     │

00:00:23 #2168 [Verbose] > │     let v0 : (float []) = Array.zeroCreate<float> (301)                      │

00:00:23 #2169 [Verbose] > │     let v1 : Mut0 = {l0 = 0} : Mut0                                          │

00:00:23 #2170 [Verbose] > │     while method1(v1) do                                                     │

00:00:23 #2171 [Verbose] > │         let v3 : int32 = v1.l0                                               │

00:00:23 #2172 [Verbose] > │         let v4 : float = float v3                                            │

00:00:23 #2173 [Verbose] > │         let v5 : float = 0.01 * v4                                           │

00:00:23 #2174 [Verbose] > │         v0.[int v3] <- v5                                                    │

00:00:23 #2175 [Verbose] > │         let v6 : int32 = v3 + 1                                              │

00:00:23 #2176 [Verbose] > │         v1.l0 <- v6                                                          │

00:00:23 #2177 [Verbose] > │         ()                                                                   │

00:00:23 #2178 [Verbose] > │     let v7 : int32 = v0.Length                                               │

00:00:23 #2179 [Verbose] > │     let v8 : (float []) = Array.zeroCreate<float> (v7)                       │

00:00:23 #2180 [Verbose] > │     let v9 : Mut0 = {l0 = 0} : Mut0                                          │

00:00:23 #2181 [Verbose] > │     while method2(v7, v9) do                                                 │

00:00:23 #2182 [Verbose] > │         let v11 : int32 = v9.l0                                              │

00:00:23 #2183 [Verbose] > │         let v12 : float = v0.[int v11]                                       │

00:00:23 #2184 [Verbose] > │         let v13 : float = 0.0                                                │

00:00:23 #2185 [Verbose] > │         let v14 : float = 0.1                                                │

00:00:23 #2186 [Verbose] > │         let v15 : float = 0.0                                                │

00:00:23 #2187 [Verbose] > │         let v16 : float = 0.0                                                │

00:00:23 #2188 [Verbose] > │         let struct (v17 : float, v18 : float, v19 : float) = method3(v13,    │

00:00:23 #2189 [Verbose] > │ v14, v15, v16)                                                               │

00:00:23 #2190 [Verbose] > │         let v20 : float = 0.0                                                │

00:00:23 #2191 [Verbose] > │         let v21 : float = 0.1                                                │

00:00:23 #2192 [Verbose] > │         let v22 : float = 0.0                                                │

00:00:23 #2193 [Verbose] > │         let v23 : float = 1.0                                                │

00:00:23 #2194 [Verbose] > │         let struct (v24 : float, v25 : float, v26 : float) = method3(v20,    │

00:00:23 #2195 [Verbose] > │ v21, v22, v23)                                                               │

00:00:23 #2196 [Verbose] > │         let v27 : float = v24 - v17                                          │

00:00:23 #2197 [Verbose] > │         let v28 : float = v12 / v27                                          │

00:00:23 #2198 [Verbose] > │         let v29 : float = round v28                                          │

00:00:23 #2199 [Verbose] > │         let v30 : float =  -v29                                              │

00:00:23 #2200 [Verbose] > │         let v31 : bool = v29 >= v30                                          │

00:00:23 #2201 [Verbose] > │         let v32 : float =                                                    │

00:00:23 #2202 [Verbose] > │             if v31 then                                                      │

00:00:23 #2203 [Verbose] > │                 v29                                                          │

00:00:23 #2204 [Verbose] > │             else                                                             │

00:00:23 #2205 [Verbose] > │                 v30                                                          │

00:00:23 #2206 [Verbose] > │         let v33 : float = 0.0                                                │

00:00:23 #2207 [Verbose] > │         let v34 : float = 0.1                                                │

00:00:23 #2208 [Verbose] > │         let v35 : float = 0.0                                                │

00:00:23 #2209 [Verbose] > │         let struct (v36 : float, v37 : float, v38 : float) = method3(v33,    │

00:00:23 #2210 [Verbose] > │ v34, v35, v32)                                                               │

00:00:23 #2211 [Verbose] > │         v8.[int v11] <- v37                                                  │

00:00:23 #2212 [Verbose] > │         let v39 : int32 = v11 + 1                                            │

00:00:23 #2213 [Verbose] > │         v9.l0 <- v39                                                         │

00:00:23 #2214 [Verbose] > │         ()                                                                   │

00:00:23 #2215 [Verbose] > │     let v40 : string = "position (m)"                                        │

00:00:23 #2216 [Verbose] > │     let v41 : (struct (string * (float []) * (float [])) []) = [|struct      │

00:00:23 #2217 [Verbose] > │ (v40, v0, v8)|]                                                              │

00:00:23 #2218 [Verbose] > │     let v42 : (struct (string * (float []) * (float [])) []) = method4(v41)  │

00:00:23 #2219 [Verbose] > │     let v43 : string = "ping pong ball on a slinky"                          │

00:00:23 #2220 [Verbose] > │     let v44 : string = "time (s)"                                            │

00:00:23 #2221 [Verbose] > │     let v45 : string = ""                                                    │

00:00:23 #2222 [Verbose] > │     struct (v43, v44, v45, v42)                                              │

00:00:23 #2223 [Verbose] > │ method0()                                                                    │

00:00:23 #2224 [Verbose] > │                                                                              │

00:00:23 #2225 [Verbose] > │                                                                              │

00:00:23 #2226 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:23 #2227 [Verbose] >

00:00:23 #2228 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:23 #2229 [Verbose] > // // test

00:00:23 #2230 [Verbose] >

00:00:23 #2231 [Verbose] > inl pingpong_velocity t =

00:00:23 #2232 [Verbose] >     velocity_ftxv 0.001 0.0027 (state_1d (0, 0.1, 0)) (damped_ho_forces ()) t

00:00:23 #2233 [Verbose] >

00:00:23 #2234 [Verbose] > inl x = am'.init_series 0 3 0.01

00:00:23 #2235 [Verbose] > inl y = x |> am.map pingpong_velocity

00:00:23 #2236 [Verbose] > "ping pong ball on a slinky", "time (s)", "", ;[[ "velocity (m/s)", x, y ]]

00:00:23 #2237 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0903-5597-9714-9a1e80242646\main.spi

00:00:23 #2238 [Verbose] >

00:00:23 #2239 [Verbose] > ╭─[ 258.91ms - return value ]──────────────────────────────────────────────────╮

00:00:23 #2240 [Verbose] > │ <svg width="640" height="480" viewBox="0 0 640 480"                          │

00:00:23 #2241 [Verbose] > │ xmlns="http://www.w3.org/2000/svg">                                          │

00:00:23 #2242 [Verbose] > │ <rect x="0" y="0" width="640" height="480" opacity="1" fill="#141414"        │

00:00:23 #2243 [Verbose] > │ stroke="none"/>                                                              │

00:00:23 #2244 [Verbose] > │ <text x="320" y="10" dy="0.76em" text-anchor="middle"                        │

00:00:23 #2245 [Verbose] > │ font-family="sans-serif" font-size="9.67741935483871" opacity="1"            │

00:00:23 #2246 [Verbose] > │ fill="#FFFFFF">                                                              │

00:00:23 #2247 [Verbose] > │ ping pong ball on a slinky                                                   │

00:00:23 #2248 [Verbose] > │ </text>                                                                      │

00:00:23 #2249 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="61" y1="424" x2="61" │

00:00:23 #2250 [Verbose] > │ y2="75"/>                                                                    │

00:00:23 #2251 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="69" y1="424" x2="69" │

00:00:23 #2252 [Verbose] > │ y2="75"/>                                                                    │

00:00:23 #2253 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="78" y1="424" x2="78" │

00:00:23 #2254 [Verbose] > │ y2="75"/>                                                                    │

00:00:23 #2255 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="86" y1="424" x2="86" │

00:00:23 #2256 [Verbose] > │ y2="75"/>                                                                    │

00:00:23 #2257 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="9...                 │

00:00:23 #2258 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:23 #2259 [Verbose] >

00:00:23 #2260 [Verbose] > ╭─[ 267.96ms - stdout ]────────────────────────────────────────────────────────╮

00:00:23 #2261 [Verbose] > │ type Mut0 = {mutable l0 : int32}                                             │

00:00:23 #2262 [Verbose] > │ let rec method1 (v0 : Mut0) : bool =                                         │

00:00:23 #2263 [Verbose] > │     let v1 : int32 = v0.l0                                                   │

00:00:23 #2264 [Verbose] > │     let v2 : bool = v1 < 301                                                 │

00:00:23 #2265 [Verbose] > │     v2                                                                       │

00:00:23 #2266 [Verbose] > │ and method2 (v0 : int32, v1 : Mut0) : bool =                                 │

00:00:23 #2267 [Verbose] > │     let v2 : int32 = v1.l0                                                   │

00:00:23 #2268 [Verbose] > │     let v3 : bool = v2 < v0                                                  │

00:00:23 #2269 [Verbose] > │     v3                                                                       │

00:00:23 #2270 [Verbose] > │ and method3 (v0 : float, v1 : float, v2 : float, v3 : float) : struct (float │

00:00:23 #2271 [Verbose] > │ * float * float) =                                                           │

00:00:23 #2272 [Verbose] > │     let v4 : bool = v3 <= 0.0                                                │

00:00:23 #2273 [Verbose] > │     if v4 then                                                               │

00:00:23 #2274 [Verbose] > │         struct (v0, v1, v2)                                                  │

00:00:23 #2275 [Verbose] > │     else                                                                     │

00:00:23 #2276 [Verbose] > │         let v5 : float =  -v2                                                │

00:00:23 #2277 [Verbose] > │         let v6 : bool = v2 >= v5                                             │

00:00:23 #2278 [Verbose] > │         let v7 : float =                                                     │

00:00:23 #2279 [Verbose] > │             if v6 then                                                       │

00:00:23 #2280 [Verbose] > │                 v2                                                           │

00:00:23 #2281 [Verbose] > │             else                                                             │

00:00:23 #2282 [Verbose] > │                 v5                                                           │

00:00:23 #2283 [Verbose] > │         let v8 : float = -0.0030787608005179976 * v7                         │

00:00:23 #2284 [Verbose] > │         let v9 : float = v8 * v2                                             │

00:00:23 #2285 [Verbose] > │         let v10 : float = v9 / 2.0                                           │

00:00:23 #2286 [Verbose] > │         let v11 : float = -0.8 * v1                                          │

00:00:23 #2287 [Verbose] > │         let v12 : float = v11 + v10                                          │

00:00:23 #2288 [Verbose] > │         let v13 : float = v12 + -0.026477955                                 │

00:00:23 #2289 [Verbose] > │         let v14 : float = v13 / 0.0027                                       │

00:00:23 #2290 [Verbose] > │         let v15 : float = v0 + 0.001                                         │

00:00:23 #2291 [Verbose] > │         let v16 : float = v2 * 0.001                                         │

00:00:23 #2292 [Verbose] > │         let v17 : float = v1 + v16                                           │

00:00:23 #2293 [Verbose] > │         let v18 : float = v14 * 0.001                                        │

00:00:23 #2294 [Verbose] > │         let v19 : float = v2 + v18                                           │

00:00:23 #2295 [Verbose] > │         let v20 : float = v3 - 1.0                                           │

00:00:23 #2296 [Verbose] > │         method3(v15, v17, v19, v20)                                          │

00:00:23 #2297 [Verbose] > │ and method4 (v0 : (struct (string * (float []) * (float [])) [])) : (struct  │

00:00:23 #2298 [Verbose] > │ (string * (float []) * (float [])) []) =                                     │

00:00:23 #2299 [Verbose] > │     v0                                                                       │

00:00:23 #2300 [Verbose] > │ and method0 () : struct (string * string * string * (struct (string * (float │

00:00:23 #2301 [Verbose] > │ []) * (float [])) [])) =                                                     │

00:00:23 #2302 [Verbose] > │     let v0 : (float []) = Array.zeroCreate<float> (301)                      │

00:00:23 #2303 [Verbose] > │     let v1 : Mut0 = {l0 = 0} : Mut0                                          │

00:00:23 #2304 [Verbose] > │     while method1(v1) do                                                     │

00:00:23 #2305 [Verbose] > │         let v3 : int32 = v1.l0                                               │

00:00:23 #2306 [Verbose] > │         let v4 : float = float v3                                            │

00:00:23 #2307 [Verbose] > │         let v5 : float = 0.01 * v4                                           │

00:00:23 #2308 [Verbose] > │         v0.[int v3] <- v5                                                    │

00:00:23 #2309 [Verbose] > │         let v6 : int32 = v3 + 1                                              │

00:00:23 #2310 [Verbose] > │         v1.l0 <- v6                                                          │

00:00:23 #2311 [Verbose] > │         ()                                                                   │

00:00:23 #2312 [Verbose] > │     let v7 : int32 = v0.Length                                               │

00:00:23 #2313 [Verbose] > │     let v8 : (float []) = Array.zeroCreate<float> (v7)                       │

00:00:23 #2314 [Verbose] > │     let v9 : Mut0 = {l0 = 0} : Mut0                                          │

00:00:23 #2315 [Verbose] > │     while method2(v7, v9) do                                                 │

00:00:23 #2316 [Verbose] > │         let v11 : int32 = v9.l0                                              │

00:00:23 #2317 [Verbose] > │         let v12 : float = v0.[int v11]                                       │

00:00:23 #2318 [Verbose] > │         let v13 : float = 0.0                                                │

00:00:23 #2319 [Verbose] > │         let v14 : float = 0.1                                                │

00:00:23 #2320 [Verbose] > │         let v15 : float = 0.0                                                │

00:00:23 #2321 [Verbose] > │         let v16 : float = 0.0                                                │

00:00:23 #2322 [Verbose] > │         let struct (v17 : float, v18 : float, v19 : float) = method3(v13,    │

00:00:23 #2323 [Verbose] > │ v14, v15, v16)                                                               │

00:00:23 #2324 [Verbose] > │         let v20 : float = 0.0                                                │

00:00:23 #2325 [Verbose] > │         let v21 : float = 0.1                                                │

00:00:23 #2326 [Verbose] > │         let v22 : float = 0.0                                                │

00:00:23 #2327 [Verbose] > │         let v23 : float = 1.0                                                │

00:00:23 #2328 [Verbose] > │         let struct (v24 : float, v25 : float, v26 : float) = method3(v20,    │

00:00:23 #2329 [Verbose] > │ v21, v22, v23)                                                               │

00:00:23 #2330 [Verbose] > │         let v27 : float = v24 - v17                                          │

00:00:23 #2331 [Verbose] > │         let v28 : float = v12 / v27                                          │

00:00:23 #2332 [Verbose] > │         let v29 : float = round v28                                          │

00:00:23 #2333 [Verbose] > │         let v30 : float =  -v29                                              │

00:00:23 #2334 [Verbose] > │         let v31 : bool = v29 >= v30                                          │

00:00:23 #2335 [Verbose] > │         let v32 : float =                                                    │

00:00:23 #2336 [Verbose] > │             if v31 then                                                      │

00:00:23 #2337 [Verbose] > │                 v29                                                          │

00:00:23 #2338 [Verbose] > │             else                                                             │

00:00:23 #2339 [Verbose] > │                 v30                                                          │

00:00:23 #2340 [Verbose] > │         let v33 : float = 0.0                                                │

00:00:23 #2341 [Verbose] > │         let v34 : float = 0.1                                                │

00:00:23 #2342 [Verbose] > │         let v35 : float = 0.0                                                │

00:00:23 #2343 [Verbose] > │         let struct (v36 : float, v37 : float, v38 : float) = method3(v33,    │

00:00:23 #2344 [Verbose] > │ v34, v35, v32)                                                               │

00:00:23 #2345 [Verbose] > │         v8.[int v11] <- v38                                                  │

00:00:23 #2346 [Verbose] > │         let v39 : int32 = v11 + 1                                            │

00:00:23 #2347 [Verbose] > │         v9.l0 <- v39                                                         │

00:00:23 #2348 [Verbose] > │         ()                                                                   │

00:00:23 #2349 [Verbose] > │     let v40 : string = "velocity (m/s)"                                      │

00:00:23 #2350 [Verbose] > │     let v41 : (struct (string * (float []) * (float [])) []) = [|struct      │

00:00:23 #2351 [Verbose] > │ (v40, v0, v8)|]                                                              │

00:00:23 #2352 [Verbose] > │     let v42 : (struct (string * (float []) * (float [])) []) = method4(v41)  │

00:00:23 #2353 [Verbose] > │     let v43 : string = "ping pong ball on a slinky"                          │

00:00:23 #2354 [Verbose] > │     let v44 : string = "time (s)"                                            │

00:00:23 #2355 [Verbose] > │     let v45 : string = ""                                                    │

00:00:23 #2356 [Verbose] > │     struct (v43, v44, v45, v42)                                              │

00:00:23 #2357 [Verbose] > │ method0()                                                                    │

00:00:23 #2358 [Verbose] > │                                                                              │

00:00:23 #2359 [Verbose] > │                                                                              │

00:00:23 #2360 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:23 #2361 [Verbose] >

00:00:23 #2362 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────

00:00:23 #2363 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮

00:00:23 #2364 [Verbose] > │ ## shift                                                                     │

00:00:23 #2365 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:23 #2366 [Verbose] >

00:00:23 #2367 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:23 #2368 [Verbose] > type update_function s = s -> s

00:00:23 #2369 [Verbose] >

00:00:23 #2370 [Verbose] > type differential_equation s ds = s -> ds

00:00:23 #2371 [Verbose] >

00:00:23 #2372 [Verbose] > type numerical_method s ds = differential_equation s ds -> update_function s

00:00:23 #2373 [Verbose] >

00:00:23 #2374 [Verbose] >

00:00:23 #2375 [Verbose] > inl solver method =

00:00:23 #2376 [Verbose] >     method >> seq.iterate

00:00:23 #2377 [Verbose] > inl solver' method =

00:00:23 #2378 [Verbose] >     method >> seq.iterate'

00:00:23 #2379 [Verbose] > inl solver_ method =

00:00:23 #2380 [Verbose] >     method >> seq.iterate_

00:00:23 #2381 [Verbose] >

00:00:23 #2382 [Verbose] >

00:00:23 #2383 [Verbose] > inl euler_cromer_1d dt deriv (state_1d (t0, x0, v0) as t) =

00:00:23 #2384 [Verbose] >     inl (rrr (_, _, dvdt)) = deriv t

00:00:23 #2385 [Verbose] >     inl t1 = t0 + dt

00:00:23 #2386 [Verbose] >     inl v1 = v0 + dvdt * dt

00:00:23 #2387 [Verbose] >     inl x1 = x0 + v1 * dt

00:00:23 #2388 [Verbose] >     state_1d (t1, x1, v1)

00:00:23 #2389 [Verbose] >

00:00:23 #2390 [Verbose] > inl update_txv_ec dt m fs =

00:00:23 #2391 [Verbose] >     euler_cromer_1d dt (newton_second_1d m fs)

00:00:23 #2392 [Verbose] >

00:00:23 #2393 [Verbose] > prototype (+++) ds : ds -> ds -> ds

00:00:23 #2394 [Verbose] > prototype scale ds : f64 -> ds -> ds

00:00:23 #2395 [Verbose] >

00:00:23 #2396 [Verbose] > instance (+++) rrr = fun (rrr (dtdt0, dxdt0, dvdt0)) (rrr (dtdt1, dxdt1, dvdt1))

00:00:23 #2397 [Verbose] > =>

00:00:23 #2398 [Verbose] >     rrr (dtdt0 + dtdt1, dxdt0 + dxdt1, dvdt0 + dvdt1)

00:00:23 #2399 [Verbose] >

00:00:23 #2400 [Verbose] > instance scale rrr = fun w (rrr (dtdt0, dxdt0, dvdt0)) =>

00:00:23 #2401 [Verbose] >     rrr (w * dtdt0, w * dxdt0, w * dvdt0)

00:00:23 #2402 [Verbose] >

00:00:23 #2403 [Verbose] > prototype shift s : forall ds. f64 -> ds -> s -> s

00:00:23 #2404 [Verbose] >

00:00:23 #2405 [Verbose] > instance shift state_1d = fun dt ds (state_1d (t, x, v)) =>

00:00:23 #2406 [Verbose] >     inl dtdt, dxdt, dvdt =

00:00:23 #2407 [Verbose] >         real

00:00:23 #2408 [Verbose] >             match ds with

00:00:23 #2409 [Verbose] >             | rrr x => x

00:00:23 #2410 [Verbose] >             | state_1d x => x

00:00:23 #2411 [Verbose] >     state_1d (t + dtdt * dt, x + dxdt * dt, v + dvdt * dt)

00:00:23 #2412 [Verbose] >

00:00:23 #2413 [Verbose] > inl euler dt deriv st0 =

00:00:23 #2414 [Verbose] >     shift dt (deriv st0) st0

00:00:23 #2415 [Verbose] >

00:00:23 #2416 [Verbose] > inl runge_kutta_4 dt deriv st0 =

00:00:23 #2417 [Verbose] >     inl m0 = deriv st0

00:00:23 #2418 [Verbose] >     inl m1 = deriv (shift (dt / 2) m0 st0)

00:00:23 #2419 [Verbose] >     inl m2 = deriv (shift (dt / 2) m1 st0)

00:00:23 #2420 [Verbose] >     inl m3 = deriv (shift dt m2 st0)

00:00:23 #2421 [Verbose] >     shift (dt / 6) (m0 +++ m1 +++ m1 +++ m2 +++ m2 +++ m3) st0

00:00:23 #2422 [Verbose] >

00:00:23 #2423 [Verbose] > inl exponential (_, x0, v0) =

00:00:23 #2424 [Verbose] >     1f64, v0, x0

00:00:23 #2425 [Verbose] >

00:00:23 #2426 [Verbose] > inl of_state_1d (state_1d (t, x, v)) =

00:00:23 #2427 [Verbose] >     t, x, v

00:00:23 #2428 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0903-5627-2777-238d7cbffba4\main.spi

00:00:23 #2429 [Verbose] >

00:00:23 #2430 [Verbose] > ╭─[ 218.36ms - stdout ]────────────────────────────────────────────────────────╮

00:00:23 #2431 [Verbose] > │ ()                                                                           │

00:00:23 #2432 [Verbose] > │                                                                              │

00:00:23 #2433 [Verbose] > │                                                                              │

00:00:23 #2434 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:23 #2435 [Verbose] >

00:00:23 #2436 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:23 #2437 [Verbose] > // // test

00:00:23 #2438 [Verbose] >

00:00:23 #2439 [Verbose] > solver (euler 0.01) (of_state_1d >> exponential >> state_1d) (state_1d (0, 1,

00:00:23 #2440 [Verbose] > 1)) 800i32

00:00:23 #2441 [Verbose] > |> _equal (state_1d (7.999999999999874, 2864.8311229272326, 2864.8311229272326))

00:00:23 #2442 [Verbose] >

00:00:23 #2443 [Verbose] > solver (euler_cromer_1d 0.1) (of_state_1d >> exponential >> rrr) (state_1d (0,

00:00:23 #2444 [Verbose] > 1, 1)) 80i32

00:00:23 #2445 [Verbose] > |> _equal (state_1d (7.999999999999988, 3043.379244966009, 2895.0121485099035))

00:00:23 #2446 [Verbose] >

00:00:23 #2447 [Verbose] > solver (runge_kutta_4 1) (of_state_1d >> exponential >> rrr) (state_1d (0, 1,

00:00:23 #2448 [Verbose] > 1)) 8i32

00:00:23 #2449 [Verbose] > |> _equal (state_1d (8.0, 2894.789038540849, 2894.789038540849))

00:00:23 #2450 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0903-5649-4977-4a83385995b5\main.spi

00:00:24 #2451 [Verbose] >

00:00:24 #2452 [Verbose] > ╭─[ 561.67ms - stdout ]────────────────────────────────────────────────────────╮

00:00:24 #2453 [Verbose] > │ let rec method0 () : unit =                                                  │

00:00:24 #2454 [Verbose] > │     let v0 : string = $"__expect / actual: %A{struct (7.999999999999874,     │

00:00:24 #2455 [Verbose] > │ 2864.8311229272326, 2864.8311229272326)} / expected: %A{struct               │

00:00:24 #2456 [Verbose] > │ (7.999999999999874, 2864.8311229272326, 2864.8311229272326)}"                │

00:00:24 #2457 [Verbose] > │     let v1 : string = $"__expect / actual: %A{struct (7.999999999999988,     │

00:00:24 #2458 [Verbose] > │ 3043.379244966009, 2895.0121485099035)} / expected: %A{struct                │

00:00:24 #2459 [Verbose] > │ (7.999999999999988, 3043.379244966009, 2895.0121485099035)}"                 │

00:00:24 #2460 [Verbose] > │     let v2 : string = $"__expect / actual: %A{struct (8.0,                   │

00:00:24 #2461 [Verbose] > │ 2894.789038540849, 2894.789038540849)} / expected: %A{struct (8.0,           │

00:00:24 #2462 [Verbose] > │ 2894.789038540849, 2894.789038540849)}"                                      │

00:00:24 #2463 [Verbose] > │     ()                                                                       │

00:00:24 #2464 [Verbose] > │ method0()                                                                    │

00:00:24 #2465 [Verbose] > │                                                                              │

00:00:24 #2466 [Verbose] > │                                                                              │

00:00:24 #2467 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:24 #2468 [Verbose] >

00:00:24 #2469 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────

00:00:24 #2470 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮

00:00:24 #2471 [Verbose] > │ ## vec                                                                       │

00:00:24 #2472 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:24 #2473 [Verbose] >

00:00:24 #2474 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:24 #2475 [Verbose] > type vec =

00:00:24 #2476 [Verbose] >     {

00:00:24 #2477 [Verbose] >         x : f64

00:00:24 #2478 [Verbose] >         y : f64

00:00:24 #2479 [Verbose] >         z : f64

00:00:24 #2480 [Verbose] >     }

00:00:24 #2481 [Verbose] >

00:00:24 #2482 [Verbose] > inl vec x y z : vec =

00:00:24 #2483 [Verbose] >     { x y z }

00:00:24 #2484 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0903-5706-0672-089c300e60b6\main.spi

00:00:24 #2485 [Verbose] >

00:00:24 #2486 [Verbose] > ╭─[ 197.15ms - stdout ]────────────────────────────────────────────────────────╮

00:00:24 #2487 [Verbose] > │ ()                                                                           │

00:00:24 #2488 [Verbose] > │                                                                              │

00:00:24 #2489 [Verbose] > │                                                                              │

00:00:24 #2490 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:24 #2491 [Verbose] >

00:00:24 #2492 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:24 #2493 [Verbose] > // // test

00:00:24 #2494 [Verbose] >

00:00:24 #2495 [Verbose] > vec 1 2 3 .z

00:00:24 #2496 [Verbose] > |> _equal 3

00:00:24 #2497 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0903-5726-2681-2bc89eaf5d5c\main.spi

00:00:24 #2498 [Verbose] >

00:00:24 #2499 [Verbose] > ╭─[ 172.02ms - stdout ]────────────────────────────────────────────────────────╮

00:00:24 #2500 [Verbose] > │ let rec method0 () : unit =                                                  │

00:00:24 #2501 [Verbose] > │     let v0 : string = $"__expect / actual: %A{3.0} / expected: %A{3.0}"      │

00:00:24 #2502 [Verbose] > │     ()                                                                       │

00:00:24 #2503 [Verbose] > │ method0()                                                                    │

00:00:24 #2504 [Verbose] > │                                                                              │

00:00:24 #2505 [Verbose] > │                                                                              │

00:00:24 #2506 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:24 #2507 [Verbose] >

00:00:24 #2508 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────

00:00:24 #2509 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮

00:00:24 #2510 [Verbose] > │ ### consts                                                                   │

00:00:24 #2511 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:24 #2512 [Verbose] >

00:00:24 #2513 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:24 #2514 [Verbose] > inl i_hat () = vec 1 0 0

00:00:24 #2515 [Verbose] > inl j_hat () = vec 0 1 0

00:00:24 #2516 [Verbose] > inl k_hat () = vec 0 0 1

00:00:24 #2517 [Verbose] > inl zero_vec () = vec 0 0 0

00:00:24 #2518 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0903-5744-4439-4bf2aae92be3\main.spi

00:00:24 #2519 [Verbose] >

00:00:24 #2520 [Verbose] > ╭─[ 181.00ms - stdout ]────────────────────────────────────────────────────────╮

00:00:24 #2521 [Verbose] > │ ()                                                                           │

00:00:24 #2522 [Verbose] > │                                                                              │

00:00:24 #2523 [Verbose] > │                                                                              │

00:00:24 #2524 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:24 #2525 [Verbose] >

00:00:24 #2526 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────

00:00:24 #2527 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮

00:00:24 #2528 [Verbose] > │ ### ^+^                                                                      │

00:00:24 #2529 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:24 #2530 [Verbose] >

00:00:24 #2531 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:24 #2532 [Verbose] > inl (^+^) (a : vec) (b : vec) =

00:00:24 #2533 [Verbose] >     vec (a.x + b.x) (a.y + b.y) (a.z + b.z)

00:00:24 #2534 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0903-5762-6290-61f04f5c9b30\main.spi

00:00:24 #2535 [Verbose] >

00:00:24 #2536 [Verbose] > ╭─[ 151.45ms - stdout ]────────────────────────────────────────────────────────╮

00:00:24 #2537 [Verbose] > │ ()                                                                           │

00:00:24 #2538 [Verbose] > │                                                                              │

00:00:24 #2539 [Verbose] > │                                                                              │

00:00:24 #2540 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:24 #2541 [Verbose] >

00:00:24 #2542 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:24 #2543 [Verbose] > // // test

00:00:24 #2544 [Verbose] >

00:00:24 #2545 [Verbose] > vec 1 2 3 ^+^ vec 4 5 6

00:00:24 #2546 [Verbose] > |> _equal (vec 5 7 9)

00:00:25 #2547 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0903-5778-7826-78827a29e5b6\main.spi

00:00:25 #2548 [Verbose] >

00:00:25 #2549 [Verbose] > ╭─[ 189.79ms - stdout ]────────────────────────────────────────────────────────╮

00:00:25 #2550 [Verbose] > │ let rec method0 () : unit =                                                  │

00:00:25 #2551 [Verbose] > │     let v0 : string = $"__expect / actual: %A{struct (5.0, 7.0, 9.0)} /      │

00:00:25 #2552 [Verbose] > │ expected: %A{struct (5.0, 7.0, 9.0)}"                                        │

00:00:25 #2553 [Verbose] > │     ()                                                                       │

00:00:25 #2554 [Verbose] > │ method0()                                                                    │

00:00:25 #2555 [Verbose] > │                                                                              │

00:00:25 #2556 [Verbose] > │                                                                              │

00:00:25 #2557 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:25 #2558 [Verbose] >

00:00:25 #2559 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────

00:00:25 #2560 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮

00:00:25 #2561 [Verbose] > │ ### sum_vec                                                                  │

00:00:25 #2562 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:25 #2563 [Verbose] >

00:00:25 #2564 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:25 #2565 [Verbose] > inl sum_vec vs =

00:00:25 #2566 [Verbose] >     vs |> listm.fold (^+^) (zero_vec ())

00:00:25 #2567 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0903-5797-9779-9ac9bce44d0d\main.spi

00:00:25 #2568 [Verbose] >

00:00:25 #2569 [Verbose] > ╭─[ 180.20ms - stdout ]────────────────────────────────────────────────────────╮

00:00:25 #2570 [Verbose] > │ ()                                                                           │

00:00:25 #2571 [Verbose] > │                                                                              │

00:00:25 #2572 [Verbose] > │                                                                              │

00:00:25 #2573 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:25 #2574 [Verbose] >

00:00:25 #2575 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:25 #2576 [Verbose] > // // test

00:00:25 #2577 [Verbose] >

00:00:25 #2578 [Verbose] > [[ vec 1 2 3; vec 4 5 6 ]]

00:00:25 #2579 [Verbose] > |> sum_vec

00:00:25 #2580 [Verbose] > |> _equal (vec 5 7 9)

00:00:25 #2581 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0903-5816-1603-1a1332f05dc5\main.spi

00:00:25 #2582 [Verbose] >

00:00:25 #2583 [Verbose] > ╭─[ 157.18ms - stdout ]────────────────────────────────────────────────────────╮

00:00:25 #2584 [Verbose] > │ let rec method0 () : unit =                                                  │

00:00:25 #2585 [Verbose] > │     let v0 : string = $"__expect / actual: %A{struct (5.0, 7.0, 9.0)} /      │

00:00:25 #2586 [Verbose] > │ expected: %A{struct (5.0, 7.0, 9.0)}"                                        │

00:00:25 #2587 [Verbose] > │     ()                                                                       │

00:00:25 #2588 [Verbose] > │ method0()                                                                    │

00:00:25 #2589 [Verbose] > │                                                                              │

00:00:25 #2590 [Verbose] > │                                                                              │

00:00:25 #2591 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:25 #2592 [Verbose] >

00:00:25 #2593 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────

00:00:25 #2594 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮

00:00:25 #2595 [Verbose] > │ ### *^                                                                       │

00:00:25 #2596 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:25 #2597 [Verbose] >

00:00:25 #2598 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:25 #2599 [Verbose] > inl (*^) c { x y z } =

00:00:25 #2600 [Verbose] >     vec (c * x) (c * y) (c * z)

00:00:25 #2601 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0903-5832-3236-301db64b5266\main.spi

00:00:25 #2602 [Verbose] >

00:00:25 #2603 [Verbose] > ╭─[ 163.59ms - stdout ]────────────────────────────────────────────────────────╮

00:00:25 #2604 [Verbose] > │ ()                                                                           │

00:00:25 #2605 [Verbose] > │                                                                              │

00:00:25 #2606 [Verbose] > │                                                                              │

00:00:25 #2607 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:25 #2608 [Verbose] >

00:00:25 #2609 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:25 #2610 [Verbose] > // // test

00:00:25 #2611 [Verbose] >

00:00:25 #2612 [Verbose] > 5 *^ vec 1 2 3

00:00:25 #2613 [Verbose] > |> _equal (vec 5 10 15)

00:00:25 #2614 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0903-5849-4900-45a201d2c264\main.spi

00:00:25 #2615 [Verbose] >

00:00:25 #2616 [Verbose] > ╭─[ 158.98ms - stdout ]────────────────────────────────────────────────────────╮

00:00:25 #2617 [Verbose] > │ let rec method0 () : unit =                                                  │

00:00:25 #2618 [Verbose] > │     let v0 : string = $"__expect / actual: %A{struct (5.0, 10.0, 15.0)} /    │

00:00:25 #2619 [Verbose] > │ expected: %A{struct (5.0, 10.0, 15.0)}"                                      │

00:00:25 #2620 [Verbose] > │     ()                                                                       │

00:00:25 #2621 [Verbose] > │ method0()                                                                    │

00:00:25 #2622 [Verbose] > │                                                                              │

00:00:25 #2623 [Verbose] > │                                                                              │

00:00:25 #2624 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:25 #2625 [Verbose] >

00:00:25 #2626 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:25 #2627 [Verbose] > // // test

00:00:25 #2628 [Verbose] >

00:00:25 #2629 [Verbose] > 3 *^ i_hat () ^+^ 4 *^ k_hat ()

00:00:25 #2630 [Verbose] > |> _equal (vec 3 0 4)

00:00:25 #2631 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0903-5865-6518-6752baefc390\main.spi

00:00:25 #2632 [Verbose] >

00:00:25 #2633 [Verbose] > ╭─[ 168.84ms - stdout ]────────────────────────────────────────────────────────╮

00:00:25 #2634 [Verbose] > │ let rec method0 () : unit =                                                  │

00:00:25 #2635 [Verbose] > │     let v0 : string = $"__expect / actual: %A{struct (3.0, 0.0, 4.0)} /      │

00:00:25 #2636 [Verbose] > │ expected: %A{struct (3.0, 0.0, 4.0)}"                                        │

00:00:25 #2637 [Verbose] > │     ()                                                                       │

00:00:25 #2638 [Verbose] > │ method0()                                                                    │

00:00:25 #2639 [Verbose] > │                                                                              │

00:00:25 #2640 [Verbose] > │                                                                              │

00:00:25 #2641 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:25 #2642 [Verbose] >

00:00:25 #2643 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────

00:00:25 #2644 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮

00:00:25 #2645 [Verbose] > │ ### ^*                                                                       │

00:00:25 #2646 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:25 #2647 [Verbose] >

00:00:25 #2648 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:25 #2649 [Verbose] > inl (^*) v c =

00:00:25 #2650 [Verbose] >     (*^) c v

00:00:26 #2651 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0903-5882-8260-88c42e9a15e7\main.spi

00:00:26 #2652 [Verbose] >

00:00:26 #2653 [Verbose] > ╭─[ 163.96ms - stdout ]────────────────────────────────────────────────────────╮

00:00:26 #2654 [Verbose] > │ ()                                                                           │

00:00:26 #2655 [Verbose] > │                                                                              │

00:00:26 #2656 [Verbose] > │                                                                              │

00:00:26 #2657 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:26 #2658 [Verbose] >

00:00:26 #2659 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:26 #2660 [Verbose] > // // test

00:00:26 #2661 [Verbose] >

00:00:26 #2662 [Verbose] > vec 1 2 3 ^* 5

00:00:26 #2663 [Verbose] > |> _equal (vec 5 10 15)

00:00:26 #2664 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0903-5899-9926-99283adc090f\main.spi

00:00:26 #2665 [Verbose] >

00:00:26 #2666 [Verbose] > ╭─[ 157.55ms - stdout ]────────────────────────────────────────────────────────╮

00:00:26 #2667 [Verbose] > │ let rec method0 () : unit =                                                  │

00:00:26 #2668 [Verbose] > │     let v0 : string = $"__expect / actual: %A{struct (5.0, 10.0, 15.0)} /    │

00:00:26 #2669 [Verbose] > │ expected: %A{struct (5.0, 10.0, 15.0)}"                                      │

00:00:26 #2670 [Verbose] > │     ()                                                                       │

00:00:26 #2671 [Verbose] > │ method0()                                                                    │

00:00:26 #2672 [Verbose] > │                                                                              │

00:00:26 #2673 [Verbose] > │                                                                              │

00:00:26 #2674 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:26 #2675 [Verbose] >

00:00:26 #2676 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────

00:00:26 #2677 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮

00:00:26 #2678 [Verbose] > │ ### ^/                                                                       │

00:00:26 #2679 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:26 #2680 [Verbose] >

00:00:26 #2681 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:26 #2682 [Verbose] > inl (^/) { x y z } c =

00:00:26 #2683 [Verbose] >     vec (x / c) (y / c) (z / c)

00:00:26 #2684 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0903-5915-1559-1fd6335cdd2b\main.spi

00:00:26 #2685 [Verbose] >

00:00:26 #2686 [Verbose] > ╭─[ 164.34ms - stdout ]────────────────────────────────────────────────────────╮

00:00:26 #2687 [Verbose] > │ ()                                                                           │

00:00:26 #2688 [Verbose] > │                                                                              │

00:00:26 #2689 [Verbose] > │                                                                              │

00:00:26 #2690 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:26 #2691 [Verbose] >

00:00:26 #2692 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:26 #2693 [Verbose] > // // test

00:00:26 #2694 [Verbose] >

00:00:26 #2695 [Verbose] > vec 1 2 3 ^/ 5

00:00:26 #2696 [Verbose] > |> _equal (vec 0.2 0.4 0.6)

00:00:26 #2697 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0903-5932-3231-33c27b6fc2c3\main.spi

00:00:26 #2698 [Verbose] >

00:00:26 #2699 [Verbose] > ╭─[ 208.08ms - stdout ]────────────────────────────────────────────────────────╮

00:00:26 #2700 [Verbose] > │ let rec method0 () : unit =                                                  │

00:00:26 #2701 [Verbose] > │     let v0 : string = $"__expect / actual: %A{struct (0.2, 0.4, 0.6)} /      │

00:00:26 #2702 [Verbose] > │ expected: %A{struct (0.2, 0.4, 0.6)}"                                        │

00:00:26 #2703 [Verbose] > │     ()                                                                       │

00:00:26 #2704 [Verbose] > │ method0()                                                                    │

00:00:26 #2705 [Verbose] > │                                                                              │

00:00:26 #2706 [Verbose] > │                                                                              │

00:00:26 #2707 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:26 #2708 [Verbose] >

00:00:26 #2709 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────

00:00:26 #2710 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮

00:00:26 #2711 [Verbose] > │ ### negate_vec                                                               │

00:00:26 #2712 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:26 #2713 [Verbose] >

00:00:26 #2714 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:26 #2715 [Verbose] > inl negate_vec v =

00:00:26 #2716 [Verbose] >     v ^* -1

00:00:26 #2717 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0903-5953-5372-525df1520cf2\main.spi

00:00:26 #2718 [Verbose] >

00:00:26 #2719 [Verbose] > ╭─[ 174.89ms - stdout ]────────────────────────────────────────────────────────╮

00:00:26 #2720 [Verbose] > │ ()                                                                           │

00:00:26 #2721 [Verbose] > │                                                                              │

00:00:26 #2722 [Verbose] > │                                                                              │

00:00:26 #2723 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:26 #2724 [Verbose] >

00:00:26 #2725 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:26 #2726 [Verbose] > // // test

00:00:26 #2727 [Verbose] >

00:00:26 #2728 [Verbose] > vec 1 2 3

00:00:26 #2729 [Verbose] > |> negate_vec

00:00:26 #2730 [Verbose] > |> _equal (vec -1 -2 -3)

00:00:26 #2731 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0903-5971-7134-7dbf47d8424b\main.spi

00:00:27 #2732 [Verbose] >

00:00:27 #2733 [Verbose] > ╭─[ 205.49ms - stdout ]────────────────────────────────────────────────────────╮

00:00:27 #2734 [Verbose] > │ let rec method0 () : unit =                                                  │

00:00:27 #2735 [Verbose] > │     let v0 : string = $"__expect / actual: %A{struct (-1.0, -2.0, -3.0)} /   │

00:00:27 #2736 [Verbose] > │ expected: %A{struct (-1.0, -2.0, -3.0)}"                                     │

00:00:27 #2737 [Verbose] > │     ()                                                                       │

00:00:27 #2738 [Verbose] > │ method0()                                                                    │

00:00:27 #2739 [Verbose] > │                                                                              │

00:00:27 #2740 [Verbose] > │                                                                              │

00:00:27 #2741 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:27 #2742 [Verbose] >

00:00:27 #2743 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────

00:00:27 #2744 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮

00:00:27 #2745 [Verbose] > │ ### ^-^                                                                      │

00:00:27 #2746 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:27 #2747 [Verbose] >

00:00:27 #2748 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:27 #2749 [Verbose] > inl (^-^) a b =

00:00:27 #2750 [Verbose] >     a ^+^ (negate_vec b)

00:00:27 #2751 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0903-5992-9249-9d4c67e48cff\main.spi

00:00:27 #2752 [Verbose] >

00:00:27 #2753 [Verbose] > ╭─[ 389.73ms - stdout ]────────────────────────────────────────────────────────╮

00:00:27 #2754 [Verbose] > │ ()                                                                           │

00:00:27 #2755 [Verbose] > │                                                                              │

00:00:27 #2756 [Verbose] > │                                                                              │

00:00:27 #2757 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:27 #2758 [Verbose] >

00:00:27 #2759 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:27 #2760 [Verbose] > // // test

00:00:27 #2761 [Verbose] >

00:00:27 #2762 [Verbose] > vec 1 2 3 ^-^ vec 4 5 6

00:00:27 #2763 [Verbose] > |> _equal (vec -3 -3 -3)

00:00:27 #2764 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0904-0031-3173-3453f49b96b5\main.spi

00:00:27 #2765 [Verbose] >

00:00:27 #2766 [Verbose] > ╭─[ 168.09ms - stdout ]────────────────────────────────────────────────────────╮

00:00:27 #2767 [Verbose] > │ let rec method0 () : unit =                                                  │

00:00:27 #2768 [Verbose] > │     let v0 : string = $"__expect / actual: %A{struct (-3.0, -3.0, -3.0)} /   │

00:00:27 #2769 [Verbose] > │ expected: %A{struct (-3.0, -3.0, -3.0)}"                                     │

00:00:27 #2770 [Verbose] > │     ()                                                                       │

00:00:27 #2771 [Verbose] > │ method0()                                                                    │

00:00:27 #2772 [Verbose] > │                                                                              │

00:00:27 #2773 [Verbose] > │                                                                              │

00:00:27 #2774 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:27 #2775 [Verbose] >

00:00:27 #2776 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────

00:00:27 #2777 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮

00:00:27 #2778 [Verbose] > │ ### <.>                                                                      │

00:00:27 #2779 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:27 #2780 [Verbose] >

00:00:27 #2781 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:27 #2782 [Verbose] > inl (<.>) { x = ax y = ay z = az } { x = bx y = by z = bz } =

00:00:27 #2783 [Verbose] >     ax * bx + ay * by + az * bz

00:00:27 #2784 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0904-0049-4922-462fc6609b23\main.spi

00:00:27 #2785 [Verbose] >

00:00:27 #2786 [Verbose] > ╭─[ 163.78ms - stdout ]────────────────────────────────────────────────────────╮

00:00:27 #2787 [Verbose] > │ ()                                                                           │

00:00:27 #2788 [Verbose] > │                                                                              │

00:00:27 #2789 [Verbose] > │                                                                              │

00:00:27 #2790 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:27 #2791 [Verbose] >

00:00:27 #2792 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:27 #2793 [Verbose] > // // test

00:00:27 #2794 [Verbose] >

00:00:27 #2795 [Verbose] > vec 1 2 3 <.> vec 4 5 6

00:00:27 #2796 [Verbose] > |> _equal 32

00:00:27 #2797 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0904-0065-6577-67952dce0d81\main.spi

00:00:28 #2798 [Verbose] >

00:00:28 #2799 [Verbose] > ╭─[ 201.71ms - stdout ]────────────────────────────────────────────────────────╮

00:00:28 #2800 [Verbose] > │ let rec method0 () : unit =                                                  │

00:00:28 #2801 [Verbose] > │     let v0 : string = $"__expect / actual: %A{32.0} / expected: %A{32.0}"    │

00:00:28 #2802 [Verbose] > │     ()                                                                       │

00:00:28 #2803 [Verbose] > │ method0()                                                                    │

00:00:28 #2804 [Verbose] > │                                                                              │

00:00:28 #2805 [Verbose] > │                                                                              │

00:00:28 #2806 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:28 #2807 [Verbose] >

00:00:28 #2808 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────

00:00:28 #2809 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮

00:00:28 #2810 [Verbose] > │ ### \>\<                                                                     │

00:00:28 #2811 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:28 #2812 [Verbose] >

00:00:28 #2813 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:28 #2814 [Verbose] > inl (><) (a : vec) (b : vec) =

00:00:28 #2815 [Verbose] >     vec

00:00:28 #2816 [Verbose] >         (a.y * b.z - a.z * b.y)

00:00:28 #2817 [Verbose] >         (a.z * b.x - a.x * b.z)

00:00:28 #2818 [Verbose] >         (a.x * b.y - a.y * b.x)

00:00:28 #2819 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0904-0086-8684-8ef7166fc59b\main.spi

00:00:28 #2820 [Verbose] >

00:00:28 #2821 [Verbose] > ╭─[ 166.22ms - stdout ]────────────────────────────────────────────────────────╮

00:00:28 #2822 [Verbose] > │ ()                                                                           │

00:00:28 #2823 [Verbose] > │                                                                              │

00:00:28 #2824 [Verbose] > │                                                                              │

00:00:28 #2825 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:28 #2826 [Verbose] >

00:00:28 #2827 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:28 #2828 [Verbose] > // // test

00:00:28 #2829 [Verbose] >

00:00:28 #2830 [Verbose] > vec 1 2 3 >< vec 4 5 6

00:00:28 #2831 [Verbose] > |> _equal (vec -3 6 -3)

00:00:28 #2832 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0904-0103-0325-039c5b85115c\main.spi

00:00:28 #2833 [Verbose] >

00:00:28 #2834 [Verbose] > ╭─[ 157.49ms - stdout ]────────────────────────────────────────────────────────╮

00:00:28 #2835 [Verbose] > │ let rec method0 () : unit =                                                  │

00:00:28 #2836 [Verbose] > │     let v0 : string = $"__expect / actual: %A{struct (-3.0, 6.0, -3.0)} /    │

00:00:28 #2837 [Verbose] > │ expected: %A{struct (-3.0, 6.0, -3.0)}"                                      │

00:00:28 #2838 [Verbose] > │     ()                                                                       │

00:00:28 #2839 [Verbose] > │ method0()                                                                    │

00:00:28 #2840 [Verbose] > │                                                                              │

00:00:28 #2841 [Verbose] > │                                                                              │

00:00:28 #2842 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:28 #2843 [Verbose] >

00:00:28 #2844 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────

00:00:28 #2845 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮

00:00:28 #2846 [Verbose] > │ ### magnitude                                                                │

00:00:28 #2847 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:28 #2848 [Verbose] >

00:00:28 #2849 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:28 #2850 [Verbose] > inl magnitude v =

00:00:28 #2851 [Verbose] >     v <.> v |> sqrt

00:00:28 #2852 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0904-0119-1957-1863113e9d49\main.spi

00:00:28 #2853 [Verbose] >

00:00:28 #2854 [Verbose] > ╭─[ 179.48ms - stdout ]────────────────────────────────────────────────────────╮

00:00:28 #2855 [Verbose] > │ ()                                                                           │

00:00:28 #2856 [Verbose] > │                                                                              │

00:00:28 #2857 [Verbose] > │                                                                              │

00:00:28 #2858 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:28 #2859 [Verbose] >

00:00:28 #2860 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:28 #2861 [Verbose] > // // test

00:00:28 #2862 [Verbose] >

00:00:28 #2863 [Verbose] > vec 1 2 3

00:00:28 #2864 [Verbose] > |> magnitude

00:00:28 #2865 [Verbose] > |> _almost_equal 3.7416573867739413

00:00:28 #2866 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0904-0137-3774-350258a87048\main.spi

00:00:28 #2867 [Verbose] >

00:00:28 #2868 [Verbose] > ╭─[ 173.31ms - stdout ]────────────────────────────────────────────────────────╮

00:00:28 #2869 [Verbose] > │ let rec method0 () : unit =                                                  │

00:00:28 #2870 [Verbose] > │     let v0 : string = $"__expect / actual: %A{3.7416573867739413} /          │

00:00:28 #2871 [Verbose] > │ expected: %A{3.7416573867739413}"                                            │

00:00:28 #2872 [Verbose] > │     ()                                                                       │

00:00:28 #2873 [Verbose] > │ method0()                                                                    │

00:00:28 #2874 [Verbose] > │                                                                              │

00:00:28 #2875 [Verbose] > │                                                                              │

00:00:28 #2876 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:28 #2877 [Verbose] >

00:00:28 #2878 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────

00:00:28 #2879 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮

00:00:28 #2880 [Verbose] > │ ### v1                                                                       │

00:00:28 #2881 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:28 #2882 [Verbose] >

00:00:28 #2883 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:28 #2884 [Verbose] > inl v1 t =

00:00:28 #2885 [Verbose] >     2 *^ (t ** 2 *^ i_hat () ^+^ 3 *^ (t ** 3 *^ j_hat () ^+^ t ** 4 *^ k_hat

00:00:28 #2886 [Verbose] > ()))

00:00:28 #2887 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0904-0155-5580-5455fa302cac\main.spi

00:00:28 #2888 [Verbose] >

00:00:28 #2889 [Verbose] > ╭─[ 148.82ms - stdout ]────────────────────────────────────────────────────────╮

00:00:28 #2890 [Verbose] > │ ()                                                                           │

00:00:28 #2891 [Verbose] > │                                                                              │

00:00:28 #2892 [Verbose] > │                                                                              │

00:00:28 #2893 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:28 #2894 [Verbose] >

00:00:28 #2895 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:28 #2896 [Verbose] > // // test

00:00:28 #2897 [Verbose] >

00:00:28 #2898 [Verbose] > v1 1

00:00:28 #2899 [Verbose] > |> _equal (vec 2 6 6)

00:00:28 #2900 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0904-0170-7082-79777b93e2fc\main.spi

00:00:29 #2901 [Verbose] >

00:00:29 #2902 [Verbose] > ╭─[ 173.20ms - stdout ]────────────────────────────────────────────────────────╮

00:00:29 #2903 [Verbose] > │ let rec method0 () : unit =                                                  │

00:00:29 #2904 [Verbose] > │     let v0 : string = $"__expect / actual: %A{struct (2.0, 6.0, 6.0)} /      │

00:00:29 #2905 [Verbose] > │ expected: %A{struct (2.0, 6.0, 6.0)}"                                        │

00:00:29 #2906 [Verbose] > │     ()                                                                       │

00:00:29 #2907 [Verbose] > │ method0()                                                                    │

00:00:29 #2908 [Verbose] > │                                                                              │

00:00:29 #2909 [Verbose] > │                                                                              │

00:00:29 #2910 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:29 #2911 [Verbose] >

00:00:29 #2912 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────

00:00:29 #2913 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮

00:00:29 #2914 [Verbose] > │ ### vec_derivative                                                           │

00:00:29 #2915 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:29 #2916 [Verbose] >

00:00:29 #2917 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:29 #2918 [Verbose] > type vec_derivative = (f64 -> vec) -> f64 -> vec

00:00:29 #2919 [Verbose] >

00:00:29 #2920 [Verbose] > inl vec_derivative dt : vec_derivative =

00:00:29 #2921 [Verbose] >     fun v t =>

00:00:29 #2922 [Verbose] >         (v (t + dt / 2) ^-^ v (t - dt / 2)) ^/ dt

00:00:29 #2923 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0904-0188-8868-82ddf95ba4a9\main.spi

00:00:29 #2924 [Verbose] >

00:00:29 #2925 [Verbose] > ╭─[ 188.40ms - stdout ]────────────────────────────────────────────────────────╮

00:00:29 #2926 [Verbose] > │ ()                                                                           │

00:00:29 #2927 [Verbose] > │                                                                              │

00:00:29 #2928 [Verbose] > │                                                                              │

00:00:29 #2929 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:29 #2930 [Verbose] >

00:00:29 #2931 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:29 #2932 [Verbose] > // // test

00:00:29 #2933 [Verbose] >

00:00:29 #2934 [Verbose] > vec_derivative 0.01 v1 3 .x

00:00:29 #2935 [Verbose] > |> _almost_equal (derivative 0.01 (v1 >> fun v => v.x) 3)

00:00:29 #2936 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0904-0207-0785-0e8470d30abf\main.spi

00:00:29 #2937 [Verbose] >

00:00:29 #2938 [Verbose] > ╭─[ 172.43ms - stdout ]────────────────────────────────────────────────────────╮

00:00:29 #2939 [Verbose] > │ let rec method0 () : unit =                                                  │

00:00:29 #2940 [Verbose] > │     let v0 : string = $"__expect / actual: %A{11.999999999999744} /          │

00:00:29 #2941 [Verbose] > │ expected: %A{11.999999999999744}"                                            │

00:00:29 #2942 [Verbose] > │     ()                                                                       │

00:00:29 #2943 [Verbose] > │ method0()                                                                    │

00:00:29 #2944 [Verbose] > │                                                                              │

00:00:29 #2945 [Verbose] > │                                                                              │

00:00:29 #2946 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:29 #2947 [Verbose] >

00:00:29 #2948 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────

00:00:29 #2949 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮

00:00:29 #2950 [Verbose] > │ ## states_ps                                                                 │

00:00:29 #2951 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:29 #2952 [Verbose] >

00:00:29 #2953 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:29 #2954 [Verbose] > nominal particle_state =

00:00:29 #2955 [Verbose] >     {

00:00:29 #2956 [Verbose] >         mass : f64

00:00:29 #2957 [Verbose] >         charge : f64

00:00:29 #2958 [Verbose] >         time : f64

00:00:29 #2959 [Verbose] >         pos_vec : vec

00:00:29 #2960 [Verbose] >         velocity : vec

00:00:29 #2961 [Verbose] >     }

00:00:29 #2962 [Verbose] >

00:00:29 #2963 [Verbose] > inl default_particle_state () : particle_state =

00:00:29 #2964 [Verbose] >     particle_state {

00:00:29 #2965 [Verbose] >         mass = 1

00:00:29 #2966 [Verbose] >         charge = 0

00:00:29 #2967 [Verbose] >         time = 0

00:00:29 #2968 [Verbose] >         pos_vec = zero_vec ()

00:00:29 #2969 [Verbose] >         velocity = zero_vec ()

00:00:29 #2970 [Verbose] >     }

00:00:29 #2971 [Verbose] >

00:00:29 #2972 [Verbose] > type one_body_force = particle_state -> vec

00:00:29 #2973 [Verbose] >

00:00:29 #2974 [Verbose] > nominal d_particle_state =

00:00:29 #2975 [Verbose] >     {

00:00:29 #2976 [Verbose] >         dmdt : f64

00:00:29 #2977 [Verbose] >         dqdt : f64

00:00:29 #2978 [Verbose] >         dtdt : f64

00:00:29 #2979 [Verbose] >         drdt : vec

00:00:29 #2980 [Verbose] >         dvdt : vec

00:00:29 #2981 [Verbose] >     }

00:00:29 #2982 [Verbose] >

00:00:29 #2983 [Verbose] > inl newton_second_ps (fs : list one_body_force) (st : particle_state) :

00:00:29 #2984 [Verbose] > d_particle_state =

00:00:29 #2985 [Verbose] >     inl f_net = fs |> listm.map (fun f => f st) |> sum_vec

00:00:29 #2986 [Verbose] >     d_particle_state {

00:00:29 #2987 [Verbose] >         dmdt = 0

00:00:29 #2988 [Verbose] >         dqdt = 0

00:00:29 #2989 [Verbose] >         dtdt = 1

00:00:29 #2990 [Verbose] >         drdt = st.velocity

00:00:29 #2991 [Verbose] >         dvdt = f_net ^/ st.mass

00:00:29 #2992 [Verbose] >     }

00:00:29 #2993 [Verbose] >

00:00:29 #2994 [Verbose] > inl earth_surface_gravity (st : particle_state) =

00:00:29 #2995 [Verbose] >     inl g = 9.80665

00:00:29 #2996 [Verbose] >     -st.mass * g *^ k_hat ()

00:00:29 #2997 [Verbose] >

00:00:29 #2998 [Verbose] > inl air_resistance drag rho area (st : particle_state) =

00:00:29 #2999 [Verbose] >     -0.5 * drag * rho * area * magnitude st.velocity *^ st.velocity

00:00:29 #3000 [Verbose] >

00:00:29 #3001 [Verbose] > inl euler_cromer_ps dt (deriv : particle_state -> d_particle_state)

00:00:29 #3002 [Verbose] > (particle_state st) =

00:00:29 #3003 [Verbose] >     inl dst : d_particle_state = deriv (particle_state st)

00:00:29 #3004 [Verbose] >     inl v' = st.velocity ^+^ dst.dvdt ^* dt

00:00:29 #3005 [Verbose] >     particle_state { st with

00:00:29 #3006 [Verbose] >         time = st.time + dt

00:00:29 #3007 [Verbose] >         pos_vec = st.pos_vec ^+^ v' ^* dt

00:00:29 #3008 [Verbose] >         velocity = st.velocity ^+^ dst.dvdt ^* dt

00:00:29 #3009 [Verbose] >     }

00:00:29 #3010 [Verbose] >

00:00:29 #3011 [Verbose] > instance (+++) d_particle_state = fun (dps : d_particle_state) (dps' :

00:00:29 #3012 [Verbose] > d_particle_state) =>

00:00:29 #3013 [Verbose] >     d_particle_state {

00:00:29 #3014 [Verbose] >         dmdt = dps.dmdt + dps'.dmdt

00:00:29 #3015 [Verbose] >         dqdt = dps.dqdt + dps'.dqdt

00:00:29 #3016 [Verbose] >         dtdt = dps.dtdt + dps'.dtdt

00:00:29 #3017 [Verbose] >         drdt = dps.drdt ^+^ dps'.drdt

00:00:29 #3018 [Verbose] >         dvdt = dps.dvdt ^+^ dps'.dvdt

00:00:29 #3019 [Verbose] >     }

00:00:29 #3020 [Verbose] >

00:00:29 #3021 [Verbose] > instance scale d_particle_state = fun w (dps : d_particle_state) =>

00:00:29 #3022 [Verbose] >     d_particle_state {

00:00:29 #3023 [Verbose] >         dmdt = w * dps.dmdt

00:00:29 #3024 [Verbose] >         dqdt = w * dps.dqdt

00:00:29 #3025 [Verbose] >         dtdt = w * dps.dtdt

00:00:29 #3026 [Verbose] >         drdt = w *^ dps.drdt

00:00:29 #3027 [Verbose] >         dvdt = w *^ dps.dvdt

00:00:29 #3028 [Verbose] >     }

00:00:29 #3029 [Verbose] >

00:00:29 #3030 [Verbose] > instance shift particle_state = fun dt dps (particle_state st) =>

00:00:29 #3031 [Verbose] >     inl (d_particle_state dps) =

00:00:29 #3032 [Verbose] >         real

00:00:29 #3033 [Verbose] >             match dps with

00:00:29 #3034 [Verbose] >             | d_particle_state _ => dps

00:00:29 #3035 [Verbose] >     particle_state { st with

00:00:29 #3036 [Verbose] >         time = st.time + dps.dtdt * dt

00:00:29 #3037 [Verbose] >         pos_vec = st.pos_vec ^+^ dps.drdt ^* dt

00:00:29 #3038 [Verbose] >         velocity = st.velocity ^+^ dps.dvdt ^* dt

00:00:29 #3039 [Verbose] >     }

00:00:29 #3040 [Verbose] >

00:00:29 #3041 [Verbose] > inl states_ps (method : numerical_method particle_state d_particle_state) : _ ->

00:00:29 #3042 [Verbose] > _ -> i32 -> particle_state =

00:00:29 #3043 [Verbose] >     newton_second_ps >> method >> seq.iterate_

00:00:29 #3044 [Verbose] >

00:00:29 #3045 [Verbose] > inl z_ge0 sts =

00:00:29 #3046 [Verbose] >     sts

00:00:29 #3047 [Verbose] >     |> seq.take_while_ (fun (particle_state st) _ => st.pos_vec.z >= 0)

00:00:29 #3048 [Verbose] >

00:00:29 #3049 [Verbose] > inl trajectory sts =

00:00:29 #3050 [Verbose] >     sts |> listm.map (fun (particle_state st) => st.pos_vec.y, st.pos_vec.z)

00:00:29 #3051 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0904-0225-2557-24a9e7291173\main.spi

00:00:29 #3052 [Verbose] >

00:00:29 #3053 [Verbose] > ╭─[ 165.29ms - stdout ]────────────────────────────────────────────────────────╮

00:00:29 #3054 [Verbose] > │ ()                                                                           │

00:00:29 #3055 [Verbose] > │                                                                              │

00:00:29 #3056 [Verbose] > │                                                                              │

00:00:29 #3057 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:29 #3058 [Verbose] >

00:00:29 #3059 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:29 #3060 [Verbose] > // // test

00:00:29 #3061 [Verbose] >

00:00:29 #3062 [Verbose] > inl update_ps (method : numerical_method particle_state d_particle_state) =

00:00:29 #3063 [Verbose] >     newton_second_ps >> method

00:00:29 #3064 [Verbose] >

00:00:29 #3065 [Verbose] > inl position_ps (method : numerical_method particle_state d_particle_state) fs

00:00:29 #3066 [Verbose] > st t =

00:00:29 #3067 [Verbose] >     inl states : i32 -> particle_state = states_ps method fs st

00:00:29 #3068 [Verbose] >     inl dt = (states 1).time - (states 0).time

00:00:29 #3069 [Verbose] >     inl num_steps = t / dt |> math.round |> abs

00:00:29 #3070 [Verbose] >     inl st1 = solver' method (newton_second_ps fs) st num_steps

00:00:29 #3071 [Verbose] >     st1.pos_vec

00:00:29 #3072 [Verbose] >

00:00:29 #3073 [Verbose] > inl sun_gravity (st : particle_state) : vec =

00:00:29 #3074 [Verbose] >     inl big_g = 0.0000000000667408

00:00:29 #3075 [Verbose] >     inl sun_mass = 1988480000000000000000000000000

00:00:29 #3076 [Verbose] >     -big_g * sun_mass * st.mass *^ st.pos_vec ^/ magnitude st.pos_vec ** 3

00:00:29 #3077 [Verbose] >

00:00:29 #3078 [Verbose] > inl wind_force v_wind drag rho area (st : particle_state) =

00:00:29 #3079 [Verbose] >     inl v_rel = st.velocity ^-^ v_wind

00:00:29 #3080 [Verbose] >     -0.5 * drag * rho * area * magnitude v_rel *^ v_rel

00:00:29 #3081 [Verbose] >

00:00:29 #3082 [Verbose] > inl rock_state () =

00:00:29 #3083 [Verbose] >     inl (particle_state default_particle_state') = default_particle_state ()

00:00:29 #3084 [Verbose] >     particle_state { default_particle_state' with

00:00:29 #3085 [Verbose] >         mass = 2

00:00:29 #3086 [Verbose] >         velocity = vec 3 0 4

00:00:29 #3087 [Verbose] >     }

00:00:29 #3088 [Verbose] >

00:00:29 #3089 [Verbose] > inl halley_update dt =

00:00:29 #3090 [Verbose] >     update_ps (euler_cromer_ps dt) [[ sun_gravity ]]

00:00:29 #3091 [Verbose] >

00:00:29 #3092 [Verbose] > inl halley_initial () =

00:00:29 #3093 [Verbose] >     inl (particle_state default_particle_state') = default_particle_state ()

00:00:29 #3094 [Verbose] >     particle_state { default_particle_state' with

00:00:29 #3095 [Verbose] >         mass = 220000000000000

00:00:29 #3096 [Verbose] >         pos_vec = 87660000000 *^ i_hat ()

00:00:29 #3097 [Verbose] >         velocity = 54569 *^ j_hat ()

00:00:29 #3098 [Verbose] >     }

00:00:29 #3099 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0904-0242-4231-4c21b7684224\main.spi

00:00:29 #3100 [Verbose] >

00:00:29 #3101 [Verbose] > ╭─[ 186.27ms - stdout ]────────────────────────────────────────────────────────╮

00:00:29 #3102 [Verbose] > │ ()                                                                           │

00:00:29 #3103 [Verbose] > │                                                                              │

00:00:29 #3104 [Verbose] > │                                                                              │

00:00:29 #3105 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:29 #3106 [Verbose] >

00:00:29 #3107 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:29 #3108 [Verbose] > // // test

00:00:29 #3109 [Verbose] >

00:00:29 #3110 [Verbose] > inl baseball_forces () =

00:00:29 #3111 [Verbose] >     inl area = pi * (0.074 / 2) ** 2

00:00:29 #3112 [Verbose] >     [[

00:00:29 #3113 [Verbose] >         earth_surface_gravity

00:00:29 #3114 [Verbose] >         air_resistance 0.3 1.225 area

00:00:29 #3115 [Verbose] >     ]]

00:00:29 #3116 [Verbose] >

00:00:29 #3117 [Verbose] > inl baseball_trajectory dt v0 theta_deg =

00:00:29 #3118 [Verbose] >     inl theta_rad = theta_deg * pi / 180

00:00:29 #3119 [Verbose] >     inl vy0 = v0 * cos theta_rad

00:00:29 #3120 [Verbose] >     inl vz0 = v0 * sin theta_rad

00:00:29 #3121 [Verbose] >     inl initial_state =

00:00:29 #3122 [Verbose] >         particle_state {

00:00:29 #3123 [Verbose] >             mass = 0.145

00:00:29 #3124 [Verbose] >             charge = 0

00:00:29 #3125 [Verbose] >             time = 0

00:00:29 #3126 [Verbose] >             pos_vec = zero_vec ()

00:00:29 #3127 [Verbose] >             velocity = vec 0 vy0 vz0

00:00:29 #3128 [Verbose] >         }

00:00:29 #3129 [Verbose] >     states_ps (euler_cromer_ps dt) (baseball_forces ()) initial_state

00:00:29 #3130 [Verbose] >     >> Some

00:00:29 #3131 [Verbose] >     |> z_ge0

00:00:29 #3132 [Verbose] >     |> trajectory

00:00:29 #3133 [Verbose] >

00:00:29 #3134 [Verbose] > inl baseball_range dt v0 theta_deg =

00:00:29 #3135 [Verbose] >     baseball_trajectory dt v0 theta_deg

00:00:29 #3136 [Verbose] >     |> listm.fold (fun _ (y, _) => y) 0

00:00:29 #3137 [Verbose] >

00:00:29 #3138 [Verbose] > inl x : a _ f64 = am'.init_series 10 80 1

00:00:29 #3139 [Verbose] > inl y = x |> am.map (baseball_range 0.01 45)

00:00:29 #3140 [Verbose] > "range for a baseball hit at 45 m/s",

00:00:29 #3141 [Verbose] > "angle above horizontal (degrees)",

00:00:29 #3142 [Verbose] > "",

00:00:29 #3143 [Verbose] > ;[[ "horizontal range (m)", x, y ]]

00:00:29 #3144 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0904-0261-6115-69739f8feae4\main.spi

00:00:30 #3145 [Verbose] >

00:00:30 #3146 [Verbose] > ╭─[ 872.24ms - return value ]──────────────────────────────────────────────────╮

00:00:30 #3147 [Verbose] > │ <svg width="640" height="480" viewBox="0 0 640 480"                          │

00:00:30 #3148 [Verbose] > │ xmlns="http://www.w3.org/2000/svg">                                          │

00:00:30 #3149 [Verbose] > │ <rect x="0" y="0" width="640" height="480" opacity="1" fill="#141414"        │

00:00:30 #3150 [Verbose] > │ stroke="none"/>                                                              │

00:00:30 #3151 [Verbose] > │ <text x="320" y="10" dy="0.76em" text-anchor="middle"                        │

00:00:30 #3152 [Verbose] > │ font-family="sans-serif" font-size="9.67741935483871" opacity="1"            │

00:00:30 #3153 [Verbose] > │ fill="#FFFFFF">                                                              │

00:00:30 #3154 [Verbose] > │ range for a baseball hit at 45 m/s                                           │

00:00:30 #3155 [Verbose] > │ </text>                                                                      │

00:00:30 #3156 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="55" y1="424" x2="55" │

00:00:30 #3157 [Verbose] > │ y2="75"/>                                                                    │

00:00:30 #3158 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="62" y1="424" x2="62" │

00:00:30 #3159 [Verbose] > │ y2="75"/>                                                                    │

00:00:30 #3160 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="69" y1="424" x2="69" │

00:00:30 #3161 [Verbose] > │ y2="75"/>                                                                    │

00:00:30 #3162 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="77" y1="424" x2="77" │

00:00:30 #3163 [Verbose] > │ y2="75"/>                                                                    │

00:00:30 #3164 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="...                         │

00:00:30 #3165 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:30 #3166 [Verbose] >

00:00:30 #3167 [Verbose] > ╭─[ 881.76ms - stdout ]────────────────────────────────────────────────────────╮

00:00:30 #3168 [Verbose] > │ type Mut0 = {mutable l0 : int32}                                             │

00:00:30 #3169 [Verbose] > │ and UH0 =                                                                    │

00:00:30 #3170 [Verbose] > │     | UH0_0 of float * float * float * float * float * float * float * float │

00:00:30 #3171 [Verbose] > │ * float * UH0                                                                │

00:00:30 #3172 [Verbose] > │     | UH0_1                                                                  │

00:00:30 #3173 [Verbose] > │ and UH1 =                                                                    │

00:00:30 #3174 [Verbose] > │     | UH1_0 of float * float * UH1                                           │

00:00:30 #3175 [Verbose] > │     | UH1_1                                                                  │

00:00:30 #3176 [Verbose] > │ let rec method1 (v0 : Mut0) : bool =                                         │

00:00:30 #3177 [Verbose] > │     let v1 : int32 = v0.l0                                                   │

00:00:30 #3178 [Verbose] > │     let v2 : bool = v1 < 71                                                  │

00:00:30 #3179 [Verbose] > │     v2                                                                       │

00:00:30 #3180 [Verbose] > │ and method2 (v0 : int32, v1 : Mut0) : bool =                                 │

00:00:30 #3181 [Verbose] > │     let v2 : int32 = v1.l0                                                   │

00:00:30 #3182 [Verbose] > │     let v3 : bool = v2 < v0                                                  │

00:00:30 #3183 [Verbose] > │     v3                                                                       │

00:00:30 #3184 [Verbose] > │ and method4 (v0 : float, v1 : float, v2 : float, v3 : float, v4 : float, v5  │

00:00:30 #3185 [Verbose] > │ : float, v6 : float, v7 : float, v8 : float, v9 : int32) : struct (float *   │

00:00:30 #3186 [Verbose] > │ float * float * float * float * float * float * float * float) =             │

00:00:30 #3187 [Verbose] > │     let v10 : bool = v9 <= 0                                                 │

00:00:30 #3188 [Verbose] > │     if v10 then                                                              │

00:00:30 #3189 [Verbose] > │         struct (v0, v1, v2, v3, v4, v5, v6, v7, v8)                          │

00:00:30 #3190 [Verbose] > │     else                                                                     │

00:00:30 #3191 [Verbose] > │         let v11 : float = v6 * v6                                            │

00:00:30 #3192 [Verbose] > │         let v12 : float = v7 * v7                                            │

00:00:30 #3193 [Verbose] > │         let v13 : float = v11 + v12                                          │

00:00:30 #3194 [Verbose] > │         let v14 : float = v8 * v8                                            │

00:00:30 #3195 [Verbose] > │         let v15 : float = v13 + v14                                          │

00:00:30 #3196 [Verbose] > │         let v16 : float = sqrt v15                                           │

00:00:30 #3197 [Verbose] > │         let v17 : float = -0.0007902794129829633 * v16                       │

00:00:30 #3198 [Verbose] > │         let v18 : float = v17 * v6                                           │

00:00:30 #3199 [Verbose] > │         let v19 : float = v17 * v7                                           │

00:00:30 #3200 [Verbose] > │         let v20 : float = v17 * v8                                           │

00:00:30 #3201 [Verbose] > │         let v21 : float =  -v1                                               │

00:00:30 #3202 [Verbose] > │         let v22 : float = v21 * 9.80665                                      │

00:00:30 #3203 [Verbose] > │         let v23 : float = v22 * 0.0                                          │

00:00:30 #3204 [Verbose] > │         let v24 : float = v23 + v18                                          │

00:00:30 #3205 [Verbose] > │         let v25 : float = v23 + v19                                          │

00:00:30 #3206 [Verbose] > │         let v26 : float = v22 + v20                                          │

00:00:30 #3207 [Verbose] > │         let v27 : float = v24 / v1                                           │

00:00:30 #3208 [Verbose] > │         let v28 : float = v25 / v1                                           │

00:00:30 #3209 [Verbose] > │         let v29 : float = v26 / v1                                           │

00:00:30 #3210 [Verbose] > │         let v30 : float = 0.01 * v27                                         │

00:00:30 #3211 [Verbose] > │         let v31 : float = 0.01 * v28                                         │

00:00:30 #3212 [Verbose] > │         let v32 : float = 0.01 * v29                                         │

00:00:30 #3213 [Verbose] > │         let v33 : float = v6 + v30                                           │

00:00:30 #3214 [Verbose] > │         let v34 : float = v7 + v31                                           │

00:00:30 #3215 [Verbose] > │         let v35 : float = v8 + v32                                           │

00:00:30 #3216 [Verbose] > │         let v36 : float = v5 + 0.01                                          │

00:00:30 #3217 [Verbose] > │         let v37 : float = 0.01 * v33                                         │

00:00:30 #3218 [Verbose] > │         let v38 : float = 0.01 * v34                                         │

00:00:30 #3219 [Verbose] > │         let v39 : float = 0.01 * v35                                         │

00:00:30 #3220 [Verbose] > │         let v40 : float = v2 + v37                                           │

00:00:30 #3221 [Verbose] > │         let v41 : float = v3 + v38                                           │

00:00:30 #3222 [Verbose] > │         let v42 : float = v4 + v39                                           │

00:00:30 #3223 [Verbose] > │         let v43 : int32 = v9 - 1                                             │

00:00:30 #3224 [Verbose] > │         method4(v0, v1, v40, v41, v42, v36, v33, v34, v35, v43)              │

00:00:30 #3225 [Verbose] > │ and method5 (v0 : UH0, v1 : UH0) : UH0 =                                     │

00:00:30 #3226 [Verbose] > │     match v0 with                                                            │

00:00:30 #3227 [Verbose] > │     | UH0_0(v2, v3, v4, v5, v6, v7, v8, v9, v10, v11) -> (* Cons *)          │

00:00:30 #3228 [Verbose] > │         let v12 : UH0 = UH0_0(v2, v3, v4, v5, v6, v7, v8, v9, v10, v1)       │

00:00:30 #3229 [Verbose] > │         method5(v11, v12)                                                    │

00:00:30 #3230 [Verbose] > │     | UH0_1 -> (* Nil *)                                                     │

00:00:30 #3231 [Verbose] > │         v1                                                                   │

00:00:30 #3232 [Verbose] > │ and method3 (v0 : float, v1 : float, v2 : UH0, v3 : int32) : UH0 =           │

00:00:30 #3233 [Verbose] > │     let v4 : float = 0.0                                                     │

00:00:30 #3234 [Verbose] > │     let v5 : float = 0.145                                                   │

00:00:30 #3235 [Verbose] > │     let v6 : float = 0.0                                                     │

00:00:30 #3236 [Verbose] > │     let v7 : float = 0.0                                                     │

00:00:30 #3237 [Verbose] > │     let v8 : float = 0.0                                                     │

00:00:30 #3238 [Verbose] > │     let v9 : float = 0.0                                                     │

00:00:30 #3239 [Verbose] > │     let v10 : float = 0.0                                                    │

00:00:30 #3240 [Verbose] > │     let struct (v11 : float, v12 : float, v13 : float, v14 : float, v15 :    │

00:00:30 #3241 [Verbose] > │ float, v16 : float, v17 : float, v18 : float, v19 : float) = method4(v4, v5, │

00:00:30 #3242 [Verbose] > │ v6, v7, v8, v9, v10, v0, v1, v3)                                             │

00:00:30 #3243 [Verbose] > │     let v20 : bool = v15 >= 0.0                                              │

00:00:30 #3244 [Verbose] > │     if v20 then                                                              │

00:00:30 #3245 [Verbose] > │         let v21 : UH0 = UH0_0(v11, v12, v13, v14, v15, v16, v17, v18, v19,   │

00:00:30 #3246 [Verbose] > │ v2)                                                                          │

00:00:30 #3247 [Verbose] > │         let v22 : int32 = v3 + 1                                             │

00:00:30 #3248 [Verbose] > │         method3(v0, v1, v21, v22)                                            │

00:00:30 #3249 [Verbose] > │     else                                                                     │

00:00:30 #3250 [Verbose] > │         let v24 : UH0 = UH0_1                                                │

00:00:30 #3251 [Verbose] > │         method5(v2, v24)                                                     │

00:00:30 #3252 [Verbose] > │ and method6 (v0 : UH0, v1 : UH1) : UH1 =                                     │

00:00:30 #3253 [Verbose] > │     match v0 with                                                            │

00:00:30 #3254 [Verbose] > │     | UH0_0(v2, v3, v4, v5, v6, v7, v8, v9, v10, v11) -> (* Cons *)          │

00:00:30 #3255 [Verbose] > │         let v12 : UH1 = method6(v11, v1)                                     │

00:00:30 #3256 [Verbose] > │         UH1_0(v5, v6, v12)                                                   │

00:00:30 #3257 [Verbose] > │     | UH0_1 -> (* Nil *)                                                     │

00:00:30 #3258 [Verbose] > │         v1                                                                   │

00:00:30 #3259 [Verbose] > │ and method7 (v0 : UH1, v1 : float) : float =                                 │

00:00:30 #3260 [Verbose] > │     match v0 with                                                            │

00:00:30 #3261 [Verbose] > │     | UH1_0(v2, v3, v4) -> (* Cons *)                                        │

00:00:30 #3262 [Verbose] > │         method7(v4, v2)                                                      │

00:00:30 #3263 [Verbose] > │     | UH1_1 -> (* Nil *)                                                     │

00:00:30 #3264 [Verbose] > │         v1                                                                   │

00:00:30 #3265 [Verbose] > │ and method8 (v0 : (struct (string * (float []) * (float [])) [])) : (struct  │

00:00:30 #3266 [Verbose] > │ (string * (float []) * (float [])) []) =                                     │

00:00:30 #3267 [Verbose] > │     v0                                                                       │

00:00:30 #3268 [Verbose] > │ and method0 () : struct (string * string * string * (struct (string * (float │

00:00:30 #3269 [Verbose] > │ []) * (float [])) [])) =                                                     │

00:00:30 #3270 [Verbose] > │     let v0 : (float []) = Array.zeroCreate<float> (71)                       │

00:00:30 #3271 [Verbose] > │     let v1 : Mut0 = {l0 = 0} : Mut0                                          │

00:00:30 #3272 [Verbose] > │     while method1(v1) do                                                     │

00:00:30 #3273 [Verbose] > │         let v3 : int32 = v1.l0                                               │

00:00:30 #3274 [Verbose] > │         let v4 : float = float v3                                            │

00:00:30 #3275 [Verbose] > │         let v5 : float = 10.0 + v4                                           │

00:00:30 #3276 [Verbose] > │         v0.[int v3] <- v5                                                    │

00:00:30 #3277 [Verbose] > │         let v6 : int32 = v3 + 1                                              │

00:00:30 #3278 [Verbose] > │         v1.l0 <- v6                                                          │

00:00:30 #3279 [Verbose] > │         ()                                                                   │

00:00:30 #3280 [Verbose] > │     let v7 : int32 = v0.Length                                               │

00:00:30 #3281 [Verbose] > │     let v8 : (float []) = Array.zeroCreate<float> (v7)                       │

00:00:30 #3282 [Verbose] > │     let v9 : Mut0 = {l0 = 0} : Mut0                                          │

00:00:30 #3283 [Verbose] > │     while method2(v7, v9) do                                                 │

00:00:30 #3284 [Verbose] > │         let v11 : int32 = v9.l0                                              │

00:00:30 #3285 [Verbose] > │         let v12 : float = v0.[int v11]                                       │

00:00:30 #3286 [Verbose] > │         let v13 : float = v12 * 3.141592653589793                            │

00:00:30 #3287 [Verbose] > │         let v14 : float = v13 / 180.0                                        │

00:00:30 #3288 [Verbose] > │         let v15 : float = cos v14                                            │

00:00:30 #3289 [Verbose] > │         let v16 : float = 45.0 * v15                                         │

00:00:30 #3290 [Verbose] > │         let v17 : float = sin v14                                            │

00:00:30 #3291 [Verbose] > │         let v18 : float = 45.0 * v17                                         │

00:00:30 #3292 [Verbose] > │         let v19 : UH0 = UH0_1                                                │

00:00:30 #3293 [Verbose] > │         let v20 : int32 = 0                                                  │

00:00:30 #3294 [Verbose] > │         let v21 : UH0 = method3(v16, v18, v19, v20)                          │

00:00:30 #3295 [Verbose] > │         let v22 : UH1 = UH1_1                                                │

00:00:30 #3296 [Verbose] > │         let v23 : UH1 = method6(v21, v22)                                    │

00:00:30 #3297 [Verbose] > │         let v24 : float = 0.0                                                │

00:00:30 #3298 [Verbose] > │         let v25 : float = method7(v23, v24)                                  │

00:00:30 #3299 [Verbose] > │         v8.[int v11] <- v25                                                  │

00:00:30 #3300 [Verbose] > │         let v26 : int32 = v11 + 1                                            │

00:00:30 #3301 [Verbose] > │         v9.l0 <- v26                                                         │

00:00:30 #3302 [Verbose] > │         ()                                                                   │

00:00:30 #3303 [Verbose] > │     let v27 : string = "horizontal range (m)"                                │

00:00:30 #3304 [Verbose] > │     let v28 : (struct (string * (float []) * (float [])) []) = [|struct      │

00:00:30 #3305 [Verbose] > │ (v27, v0, v8)|]                                                              │

00:00:30 #3306 [Verbose] > │     let v29 : (struct (string * (float []) * (float [])) []) = method8(v28)  │

00:00:30 #3307 [Verbose] > │     let v30 : string = "range for a baseball hit at 45 m/s"                  │

00:00:30 #3308 [Verbose] > │     let v31 : string = "angle above horizontal (degrees)"                    │

00:00:30 #3309 [Verbose] > │     let v32 : string = ""                                                    │

00:00:30 #3310 [Verbose] > │     struct (v30, v31, v32, v29)                                              │

00:00:30 #3311 [Verbose] > │ method0()                                                                    │

00:00:30 #3312 [Verbose] > │                                                                              │

00:00:30 #3313 [Verbose] > │                                                                              │

00:00:30 #3314 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:30 #3315 [Verbose] >

00:00:30 #3316 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:30 #3317 [Verbose] > // // test

00:00:30 #3318 [Verbose] >

00:00:30 #3319 [Verbose] > inl best_angle (min, max) =

00:00:30 #3320 [Verbose] >     let rec loop theta_deg (best_range, best_theta_deg) =

00:00:30 #3321 [Verbose] >         if theta_deg > max

00:00:30 #3322 [Verbose] >         then best_range, best_theta_deg

00:00:30 #3323 [Verbose] >         else

00:00:30 #3324 [Verbose] >             inl range = baseball_range 0.01 45 theta_deg

00:00:30 #3325 [Verbose] >             loop

00:00:30 #3326 [Verbose] >                 (theta_deg + 1)

00:00:30 #3327 [Verbose] >                 (if range > best_range

00:00:30 #3328 [Verbose] >                     then range, theta_deg

00:00:30 #3329 [Verbose] >                     else best_range, best_theta_deg)

00:00:30 #3330 [Verbose] >     loop min (0f64, min)

00:00:30 #3331 [Verbose] >

00:00:30 #3332 [Verbose] > best_angle (30f64, 60f64)

00:00:30 #3333 [Verbose] > |> _equal (116.77499158246208, 41)

00:00:30 #3334 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0904-0354-5469-5afe16124a78\main.spi

00:00:31 #3335 [Verbose] >

00:00:31 #3336 [Verbose] > ╭─[ 557.50ms - stdout ]────────────────────────────────────────────────────────╮

00:00:31 #3337 [Verbose] > │ type UH0 =                                                                   │

00:00:31 #3338 [Verbose] > │     | UH0_0 of float * float * float * float * float * float * float * float │

00:00:31 #3339 [Verbose] > │ * float * UH0                                                                │

00:00:31 #3340 [Verbose] > │     | UH0_1                                                                  │

00:00:31 #3341 [Verbose] > │ and UH1 =                                                                    │

00:00:31 #3342 [Verbose] > │     | UH1_0 of float * float * UH1                                           │

00:00:31 #3343 [Verbose] > │     | UH1_1                                                                  │

00:00:31 #3344 [Verbose] > │ let rec method3 (v0 : float, v1 : float, v2 : float, v3 : float, v4 : float, │

00:00:31 #3345 [Verbose] > │ v5 : float, v6 : float, v7 : float, v8 : float, v9 : int32) : struct (float  │

00:00:31 #3346 [Verbose] > │ * float * float * float * float * float * float * float * float) =           │

00:00:31 #3347 [Verbose] > │     let v10 : bool = v9 <= 0                                                 │

00:00:31 #3348 [Verbose] > │     if v10 then                                                              │

00:00:31 #3349 [Verbose] > │         struct (v0, v1, v2, v3, v4, v5, v6, v7, v8)                          │

00:00:31 #3350 [Verbose] > │     else                                                                     │

00:00:31 #3351 [Verbose] > │         let v11 : float = v6 * v6                                            │

00:00:31 #3352 [Verbose] > │         let v12 : float = v7 * v7                                            │

00:00:31 #3353 [Verbose] > │         let v13 : float = v11 + v12                                          │

00:00:31 #3354 [Verbose] > │         let v14 : float = v8 * v8                                            │

00:00:31 #3355 [Verbose] > │         let v15 : float = v13 + v14                                          │

00:00:31 #3356 [Verbose] > │         let v16 : float = sqrt v15                                           │

00:00:31 #3357 [Verbose] > │         let v17 : float = -0.0007902794129829633 * v16                       │

00:00:31 #3358 [Verbose] > │         let v18 : float = v17 * v6                                           │

00:00:31 #3359 [Verbose] > │         let v19 : float = v17 * v7                                           │

00:00:31 #3360 [Verbose] > │         let v20 : float = v17 * v8                                           │

00:00:31 #3361 [Verbose] > │         let v21 : float =  -v1                                               │

00:00:31 #3362 [Verbose] > │         let v22 : float = v21 * 9.80665                                      │

00:00:31 #3363 [Verbose] > │         let v23 : float = v22 * 0.0                                          │

00:00:31 #3364 [Verbose] > │         let v24 : float = v23 + v18                                          │

00:00:31 #3365 [Verbose] > │         let v25 : float = v23 + v19                                          │

00:00:31 #3366 [Verbose] > │         let v26 : float = v22 + v20                                          │

00:00:31 #3367 [Verbose] > │         let v27 : float = v24 / v1                                           │

00:00:31 #3368 [Verbose] > │         let v28 : float = v25 / v1                                           │

00:00:31 #3369 [Verbose] > │         let v29 : float = v26 / v1                                           │

00:00:31 #3370 [Verbose] > │         let v30 : float = 0.01 * v27                                         │

00:00:31 #3371 [Verbose] > │         let v31 : float = 0.01 * v28                                         │

00:00:31 #3372 [Verbose] > │         let v32 : float = 0.01 * v29                                         │

00:00:31 #3373 [Verbose] > │         let v33 : float = v6 + v30                                           │

00:00:31 #3374 [Verbose] > │         let v34 : float = v7 + v31                                           │

00:00:31 #3375 [Verbose] > │         let v35 : float = v8 + v32                                           │

00:00:31 #3376 [Verbose] > │         let v36 : float = v5 + 0.01                                          │

00:00:31 #3377 [Verbose] > │         let v37 : float = 0.01 * v33                                         │

00:00:31 #3378 [Verbose] > │         let v38 : float = 0.01 * v34                                         │

00:00:31 #3379 [Verbose] > │         let v39 : float = 0.01 * v35                                         │

00:00:31 #3380 [Verbose] > │         let v40 : float = v2 + v37                                           │

00:00:31 #3381 [Verbose] > │         let v41 : float = v3 + v38                                           │

00:00:31 #3382 [Verbose] > │         let v42 : float = v4 + v39                                           │

00:00:31 #3383 [Verbose] > │         let v43 : int32 = v9 - 1                                             │

00:00:31 #3384 [Verbose] > │         method3(v0, v1, v40, v41, v42, v36, v33, v34, v35, v43)              │

00:00:31 #3385 [Verbose] > │ and method4 (v0 : UH0, v1 : UH0) : UH0 =                                     │

00:00:31 #3386 [Verbose] > │     match v0 with                                                            │

00:00:31 #3387 [Verbose] > │     | UH0_0(v2, v3, v4, v5, v6, v7, v8, v9, v10, v11) -> (* Cons *)          │

00:00:31 #3388 [Verbose] > │         let v12 : UH0 = UH0_0(v2, v3, v4, v5, v6, v7, v8, v9, v10, v1)       │

00:00:31 #3389 [Verbose] > │         method4(v11, v12)                                                    │

00:00:31 #3390 [Verbose] > │     | UH0_1 -> (* Nil *)                                                     │

00:00:31 #3391 [Verbose] > │         v1                                                                   │

00:00:31 #3392 [Verbose] > │ and method2 (v0 : float, v1 : float, v2 : UH0, v3 : int32) : UH0 =           │

00:00:31 #3393 [Verbose] > │     let v4 : float = 0.0                                                     │

00:00:31 #3394 [Verbose] > │     let v5 : float = 0.145                                                   │

00:00:31 #3395 [Verbose] > │     let v6 : float = 0.0                                                     │

00:00:31 #3396 [Verbose] > │     let v7 : float = 0.0                                                     │

00:00:31 #3397 [Verbose] > │     let v8 : float = 0.0                                                     │

00:00:31 #3398 [Verbose] > │     let v9 : float = 0.0                                                     │

00:00:31 #3399 [Verbose] > │     let v10 : float = 0.0                                                    │

00:00:31 #3400 [Verbose] > │     let struct (v11 : float, v12 : float, v13 : float, v14 : float, v15 :    │

00:00:31 #3401 [Verbose] > │ float, v16 : float, v17 : float, v18 : float, v19 : float) = method3(v4, v5, │

00:00:31 #3402 [Verbose] > │ v6, v7, v8, v9, v10, v0, v1, v3)                                             │

00:00:31 #3403 [Verbose] > │     let v20 : bool = v15 >= 0.0                                              │

00:00:31 #3404 [Verbose] > │     if v20 then                                                              │

00:00:31 #3405 [Verbose] > │         let v21 : UH0 = UH0_0(v11, v12, v13, v14, v15, v16, v17, v18, v19,   │

00:00:31 #3406 [Verbose] > │ v2)                                                                          │

00:00:31 #3407 [Verbose] > │         let v22 : int32 = v3 + 1                                             │

00:00:31 #3408 [Verbose] > │         method2(v0, v1, v21, v22)                                            │

00:00:31 #3409 [Verbose] > │     else                                                                     │

00:00:31 #3410 [Verbose] > │         let v24 : UH0 = UH0_1                                                │

00:00:31 #3411 [Verbose] > │         method4(v2, v24)                                                     │

00:00:31 #3412 [Verbose] > │ and method5 (v0 : UH0, v1 : UH1) : UH1 =                                     │

00:00:31 #3413 [Verbose] > │     match v0 with                                                            │

00:00:31 #3414 [Verbose] > │     | UH0_0(v2, v3, v4, v5, v6, v7, v8, v9, v10, v11) -> (* Cons *)          │

00:00:31 #3415 [Verbose] > │         let v12 : UH1 = method5(v11, v1)                                     │

00:00:31 #3416 [Verbose] > │         UH1_0(v5, v6, v12)                                                   │

00:00:31 #3417 [Verbose] > │     | UH0_1 -> (* Nil *)                                                     │

00:00:31 #3418 [Verbose] > │         v1                                                                   │

00:00:31 #3419 [Verbose] > │ and method6 (v0 : UH1, v1 : float) : float =                                 │

00:00:31 #3420 [Verbose] > │     match v0 with                                                            │

00:00:31 #3421 [Verbose] > │     | UH1_0(v2, v3, v4) -> (* Cons *)                                        │

00:00:31 #3422 [Verbose] > │         method6(v4, v2)                                                      │

00:00:31 #3423 [Verbose] > │     | UH1_1 -> (* Nil *)                                                     │

00:00:31 #3424 [Verbose] > │         v1                                                                   │

00:00:31 #3425 [Verbose] > │ and method1 (v0 : float, v1 : float, v2 : float) : struct (float * float) =  │

00:00:31 #3426 [Verbose] > │     let v3 : bool = v0 > 60.0                                                │

00:00:31 #3427 [Verbose] > │     if v3 then                                                               │

00:00:31 #3428 [Verbose] > │         struct (v2, v1)                                                      │

00:00:31 #3429 [Verbose] > │     else                                                                     │

00:00:31 #3430 [Verbose] > │         let v4 : float = v0 * 3.141592653589793                              │

00:00:31 #3431 [Verbose] > │         let v5 : float = v4 / 180.0                                          │

00:00:31 #3432 [Verbose] > │         let v6 : float = cos v5                                              │

00:00:31 #3433 [Verbose] > │         let v7 : float = 45.0 * v6                                           │

00:00:31 #3434 [Verbose] > │         let v8 : float = sin v5                                              │

00:00:31 #3435 [Verbose] > │         let v9 : float = 45.0 * v8                                           │

00:00:31 #3436 [Verbose] > │         let v10 : UH0 = UH0_1                                                │

00:00:31 #3437 [Verbose] > │         let v11 : int32 = 0                                                  │

00:00:31 #3438 [Verbose] > │         let v12 : UH0 = method2(v7, v9, v10, v11)                            │

00:00:31 #3439 [Verbose] > │         let v13 : UH1 = UH1_1                                                │

00:00:31 #3440 [Verbose] > │         let v14 : UH1 = method5(v12, v13)                                    │

00:00:31 #3441 [Verbose] > │         let v15 : float = 0.0                                                │

00:00:31 #3442 [Verbose] > │         let v16 : float = method6(v14, v15)                                  │

00:00:31 #3443 [Verbose] > │         let v17 : float = v0 + 1.0                                           │

00:00:31 #3444 [Verbose] > │         let v18 : bool = v16 > v2                                            │

00:00:31 #3445 [Verbose] > │         let struct (v19 : float, v20 : float) =                              │

00:00:31 #3446 [Verbose] > │             if v18 then                                                      │

00:00:31 #3447 [Verbose] > │                 struct (v16, v0)                                             │

00:00:31 #3448 [Verbose] > │             else                                                             │

00:00:31 #3449 [Verbose] > │                 struct (v2, v1)                                              │

00:00:31 #3450 [Verbose] > │         method1(v17, v20, v19)                                               │

00:00:31 #3451 [Verbose] > │ and method0 () : unit =                                                      │

00:00:31 #3452 [Verbose] > │     let v0 : float = 30.0                                                    │

00:00:31 #3453 [Verbose] > │     let v1 : float = 0.0                                                     │

00:00:31 #3454 [Verbose] > │     let v2 : float = 30.0                                                    │

00:00:31 #3455 [Verbose] > │     let struct (v3 : float, v4 : float) = method1(v0, v2, v1)                │

00:00:31 #3456 [Verbose] > │     let v5 : string = $"__expect / actual: %A{struct (v3, v4)} / expected:   │

00:00:31 #3457 [Verbose] > │ %A{struct (116.77499158246208, 41.0)}"                                       │

00:00:31 #3458 [Verbose] > │     let v6 : bool = v3 = 116.77499158246208                                  │

00:00:31 #3459 [Verbose] > │     let v8 : bool =                                                          │

00:00:31 #3460 [Verbose] > │         if v6 then                                                           │

00:00:31 #3461 [Verbose] > │             let v7 : bool = v4 = 41.0                                        │

00:00:31 #3462 [Verbose] > │             v7                                                               │

00:00:31 #3463 [Verbose] > │         else                                                                 │

00:00:31 #3464 [Verbose] > │             false                                                            │

00:00:31 #3465 [Verbose] > │     let v9 : bool = v8 = false                                               │

00:00:31 #3466 [Verbose] > │     if v9 then                                                               │

00:00:31 #3467 [Verbose] > │         failwith<unit> v5                                                    │

00:00:31 #3468 [Verbose] > │ method0()                                                                    │

00:00:31 #3469 [Verbose] > │                                                                              │

00:00:31 #3470 [Verbose] > │                                                                              │

00:00:31 #3471 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:31 #3472 [Verbose] >

00:00:31 #3473 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────

00:00:31 #3474 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮

00:00:31 #3475 [Verbose] > │ ## relativity_ps                                                             │

00:00:31 #3476 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:31 #3477 [Verbose] >

00:00:31 #3478 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:31 #3479 [Verbose] > inl relativity_ps fs (st : particle_state) =

00:00:31 #3480 [Verbose] >     inl f_net = fs |> listm.map (fun f => f st) |> sum_vec

00:00:31 #3481 [Verbose] >     inl c = 299792458

00:00:31 #3482 [Verbose] >     inl u = st.velocity ^/ c

00:00:31 #3483 [Verbose] >     inl acc = sqrt (1 - (u <.> u)) *^ (f_net ^-^ (f_net <.> u) *^ u) ^/ st.mass

00:00:31 #3484 [Verbose] >     d_particle_state {

00:00:31 #3485 [Verbose] >         dmdt = 0

00:00:31 #3486 [Verbose] >         dqdt = 0

00:00:31 #3487 [Verbose] >         dtdt = 1

00:00:31 #3488 [Verbose] >         drdt = st.velocity

00:00:31 #3489 [Verbose] >         dvdt = acc

00:00:31 #3490 [Verbose] >     }

00:00:31 #3491 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0904-0415-1513-10843bdd3182\main.spi

00:00:31 #3492 [Verbose] >

00:00:31 #3493 [Verbose] > ╭─[ 171.01ms - stdout ]────────────────────────────────────────────────────────╮

00:00:31 #3494 [Verbose] > │ ()                                                                           │

00:00:31 #3495 [Verbose] > │                                                                              │

00:00:31 #3496 [Verbose] > │                                                                              │

00:00:31 #3497 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:31 #3498 [Verbose] >

00:00:31 #3499 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:31 #3500 [Verbose] > // // test

00:00:31 #3501 [Verbose] >

00:00:31 #3502 [Verbose] > inl year = 365.25 * 24 * 60 * 60

00:00:31 #3503 [Verbose] > inl c = 299792458

00:00:31 #3504 [Verbose] > inl ~method = runge_kutta_4 100000

00:00:31 #3505 [Verbose] > inl forces = [[ fun _ => 10 *^ i_hat () ]]

00:00:31 #3506 [Verbose] > inl (particle_state default_particle_state') = default_particle_state ()

00:00:31 #3507 [Verbose] > inl initial_state =

00:00:31 #3508 [Verbose] >     particle_state { default_particle_state' with

00:00:31 #3509 [Verbose] >         mass = 1

00:00:31 #3510 [Verbose] >     }

00:00:31 #3511 [Verbose] >

00:00:31 #3512 [Verbose] > inl newton_states = solver_ method (newton_second_ps forces) initial_state

00:00:31 #3513 [Verbose] > inl relativity_states = solver_ method (relativity_ps forces) initial_state

00:00:31 #3514 [Verbose] >

00:00:31 #3515 [Verbose] > inl newton_x, newton_y =

00:00:31 #3516 [Verbose] >     newton_states

00:00:31 #3517 [Verbose] >     >> Some

00:00:31 #3518 [Verbose] >     |> seq.take_while_ (fun (particle_state st) (_ : i32) => st.time <= year)

00:00:31 #3519 [Verbose] >     |> listm.map (fun (particle_state st) => st.time / year, st.velocity.x / c)

00:00:31 #3520 [Verbose] >     |> listm'.unzip

00:00:31 #3521 [Verbose] >

00:00:31 #3522 [Verbose] > inl _, relativity_y =

00:00:31 #3523 [Verbose] >     relativity_states

00:00:31 #3524 [Verbose] >     >> Some

00:00:31 #3525 [Verbose] >     |> seq.take_while_ (fun (particle_state st) (_ : i32) => st.time <= year)

00:00:31 #3526 [Verbose] >     |> listm.map (fun (particle_state st) => st.time / year, st.velocity.x / c)

00:00:31 #3527 [Verbose] >     |> listm'.unzip

00:00:31 #3528 [Verbose] >

00:00:31 #3529 [Verbose] > inl newton_x : a i32 _ = newton_x |> listm.toArray

00:00:31 #3530 [Verbose] > inl newton_y : a i32 _ = newton_y |> listm.toArray

00:00:31 #3531 [Verbose] > inl relativity_y : a i32 _ = relativity_y |> listm.toArray

00:00:31 #3532 [Verbose] >

00:00:31 #3533 [Verbose] > "response to a constant force",

00:00:31 #3534 [Verbose] > "time (years)",

00:00:31 #3535 [Verbose] > "velocity (multiples of c)",

00:00:31 #3536 [Verbose] > ;[[

00:00:31 #3537 [Verbose] >     "newtonian", newton_x, newton_y

00:00:31 #3538 [Verbose] >     "relativistic", newton_x, relativity_y

00:00:31 #3539 [Verbose] > ]]

00:00:31 #3540 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0904-0432-3232-32f33464c562\main.spi

00:00:31 #3541 [Verbose] >

00:00:32 #3542 [Verbose] > ╭─[ 521.06ms - return value ]──────────────────────────────────────────────────╮

00:00:32 #3543 [Verbose] > │ <svg width="640" height="480" viewBox="0 0 640 480"                          │

00:00:32 #3544 [Verbose] > │ xmlns="http://www.w3.org/2000/svg">                                          │

00:00:32 #3545 [Verbose] > │ <rect x="0" y="0" width="640" height="480" opacity="1" fill="#141414"        │

00:00:32 #3546 [Verbose] > │ stroke="none"/>                                                              │

00:00:32 #3547 [Verbose] > │ <text x="320" y="10" dy="0.76em" text-anchor="middle"                        │

00:00:32 #3548 [Verbose] > │ font-family="sans-serif" font-size="9.67741935483871" opacity="1"            │

00:00:32 #3549 [Verbose] > │ fill="#FFFFFF">                                                              │

00:00:32 #3550 [Verbose] > │ response to a constant force                                                 │

00:00:32 #3551 [Verbose] > │ </text>                                                                      │

00:00:32 #3552 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="59" y1="424" x2="59" │

00:00:32 #3553 [Verbose] > │ y2="75"/>                                                                    │

00:00:32 #3554 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="69" y1="424" x2="69" │

00:00:32 #3555 [Verbose] > │ y2="75"/>                                                                    │

00:00:32 #3556 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="79" y1="424" x2="79" │

00:00:32 #3557 [Verbose] > │ y2="75"/>                                                                    │

00:00:32 #3558 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="89" y1="424" x2="89" │

00:00:32 #3559 [Verbose] > │ y2="75"/>                                                                    │

00:00:32 #3560 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1=...                   │

00:00:32 #3561 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:32 #3562 [Verbose] >

00:00:32 #3563 [Verbose] > ╭─[ 535.86ms - stdout ]────────────────────────────────────────────────────────╮

00:00:32 #3564 [Verbose] > │ type UH0 =                                                                   │

00:00:32 #3565 [Verbose] > │     | UH0_0 of float * float * float * float * float * float * float * float │

00:00:32 #3566 [Verbose] > │ * float * UH0                                                                │

00:00:32 #3567 [Verbose] > │     | UH0_1                                                                  │

00:00:32 #3568 [Verbose] > │ and UH1 =                                                                    │

00:00:32 #3569 [Verbose] > │     | UH1_0 of float * float * UH1                                           │

00:00:32 #3570 [Verbose] > │     | UH1_1                                                                  │

00:00:32 #3571 [Verbose] > │ and UH2 =                                                                    │

00:00:32 #3572 [Verbose] > │     | UH2_0 of float * UH2                                                   │

00:00:32 #3573 [Verbose] > │     | UH2_1                                                                  │

00:00:32 #3574 [Verbose] > │ let rec closure1 (v0 : (struct (float * float * float * float * float *      │

00:00:32 #3575 [Verbose] > │ float * float * float * float) -> struct (float * float * float * float *    │

00:00:32 #3576 [Verbose] > │ float * float * float * float * float))) struct (v1 : float, v2 : float, v3  │

00:00:32 #3577 [Verbose] > │ : float, v4 : float, v5 : float, v6 : float, v7 : float, v8 : float, v9 :    │

00:00:32 #3578 [Verbose] > │ float) : struct (float * float * float * float * float * float * float *     │

00:00:32 #3579 [Verbose] > │ float * float) =                                                             │

00:00:32 #3580 [Verbose] > │     let struct (v10 : float, v11 : float, v12 : float, v13 : float, v14 :    │

00:00:32 #3581 [Verbose] > │ float, v15 : float, v16 : float, v17 : float, v18 : float) = v0 struct (v1,  │

00:00:32 #3582 [Verbose] > │ v2, v3, v4, v5, v6, v7, v8, v9)                                              │

00:00:32 #3583 [Verbose] > │     let v19 : float = v15 * 50000.0                                          │

00:00:32 #3584 [Verbose] > │     let v20 : float = v6 + v19                                               │

00:00:32 #3585 [Verbose] > │     let v21 : float = 50000.0 * v12                                          │

00:00:32 #3586 [Verbose] > │     let v22 : float = 50000.0 * v13                                          │

00:00:32 #3587 [Verbose] > │     let v23 : float = 50000.0 * v14                                          │

00:00:32 #3588 [Verbose] > │     let v24 : float = v3 + v21                                               │

00:00:32 #3589 [Verbose] > │     let v25 : float = v4 + v22                                               │

00:00:32 #3590 [Verbose] > │     let v26 : float = v5 + v23                                               │

00:00:32 #3591 [Verbose] > │     let v27 : float = 50000.0 * v16                                          │

00:00:32 #3592 [Verbose] > │     let v28 : float = 50000.0 * v17                                          │

00:00:32 #3593 [Verbose] > │     let v29 : float = 50000.0 * v18                                          │

00:00:32 #3594 [Verbose] > │     let v30 : float = v7 + v27                                               │

00:00:32 #3595 [Verbose] > │     let v31 : float = v8 + v28                                               │

00:00:32 #3596 [Verbose] > │     let v32 : float = v9 + v29                                               │

00:00:32 #3597 [Verbose] > │     let struct (v33 : float, v34 : float, v35 : float, v36 : float, v37 :    │

00:00:32 #3598 [Verbose] > │ float, v38 : float, v39 : float, v40 : float, v41 : float) = v0 struct (v1,  │

00:00:32 #3599 [Verbose] > │ v2, v24, v25, v26, v20, v30, v31, v32)                                       │

00:00:32 #3600 [Verbose] > │     let v42 : float = v38 * 50000.0                                          │

00:00:32 #3601 [Verbose] > │     let v43 : float = v6 + v42                                               │

00:00:32 #3602 [Verbose] > │     let v44 : float = 50000.0 * v35                                          │

00:00:32 #3603 [Verbose] > │     let v45 : float = 50000.0 * v36                                          │

00:00:32 #3604 [Verbose] > │     let v46 : float = 50000.0 * v37                                          │

00:00:32 #3605 [Verbose] > │     let v47 : float = v3 + v44                                               │

00:00:32 #3606 [Verbose] > │     let v48 : float = v4 + v45                                               │

00:00:32 #3607 [Verbose] > │     let v49 : float = v5 + v46                                               │

00:00:32 #3608 [Verbose] > │     let v50 : float = 50000.0 * v39                                          │

00:00:32 #3609 [Verbose] > │     let v51 : float = 50000.0 * v40                                          │

00:00:32 #3610 [Verbose] > │     let v52 : float = 50000.0 * v41                                          │

00:00:32 #3611 [Verbose] > │     let v53 : float = v7 + v50                                               │

00:00:32 #3612 [Verbose] > │     let v54 : float = v8 + v51                                               │

00:00:32 #3613 [Verbose] > │     let v55 : float = v9 + v52                                               │

00:00:32 #3614 [Verbose] > │     let struct (v56 : float, v57 : float, v58 : float, v59 : float, v60 :    │

00:00:32 #3615 [Verbose] > │ float, v61 : float, v62 : float, v63 : float, v64 : float) = v0 struct (v1,  │

00:00:32 #3616 [Verbose] > │ v2, v47, v48, v49, v43, v53, v54, v55)                                       │

00:00:32 #3617 [Verbose] > │     let v65 : float = v61 * 100000.0                                         │

00:00:32 #3618 [Verbose] > │     let v66 : float = v6 + v65                                               │

00:00:32 #3619 [Verbose] > │     let v67 : float = 100000.0 * v58                                         │

00:00:32 #3620 [Verbose] > │     let v68 : float = 100000.0 * v59                                         │

00:00:32 #3621 [Verbose] > │     let v69 : float = 100000.0 * v60                                         │

00:00:32 #3622 [Verbose] > │     let v70 : float = v3 + v67                                               │

00:00:32 #3623 [Verbose] > │     let v71 : float = v4 + v68                                               │

00:00:32 #3624 [Verbose] > │     let v72 : float = v5 + v69                                               │

00:00:32 #3625 [Verbose] > │     let v73 : float = 100000.0 * v62                                         │

00:00:32 #3626 [Verbose] > │     let v74 : float = 100000.0 * v63                                         │

00:00:32 #3627 [Verbose] > │     let v75 : float = 100000.0 * v64                                         │

00:00:32 #3628 [Verbose] > │     let v76 : float = v7 + v73                                               │

00:00:32 #3629 [Verbose] > │     let v77 : float = v8 + v74                                               │

00:00:32 #3630 [Verbose] > │     let v78 : float = v9 + v75                                               │

00:00:32 #3631 [Verbose] > │     let struct (v79 : float, v80 : float, v81 : float, v82 : float, v83 :    │

00:00:32 #3632 [Verbose] > │ float, v84 : float, v85 : float, v86 : float, v87 : float) = v0 struct (v1,  │

00:00:32 #3633 [Verbose] > │ v2, v70, v71, v72, v66, v76, v77, v78)                                       │

00:00:32 #3634 [Verbose] > │     let v88 : float = v10 + v33                                              │

00:00:32 #3635 [Verbose] > │     let v89 : float = v11 + v34                                              │

00:00:32 #3636 [Verbose] > │     let v90 : float = v15 + v38                                              │

00:00:32 #3637 [Verbose] > │     let v91 : float = v12 + v35                                              │

00:00:32 #3638 [Verbose] > │     let v92 : float = v13 + v36                                              │

00:00:32 #3639 [Verbose] > │     let v93 : float = v14 + v37                                              │

00:00:32 #3640 [Verbose] > │     let v94 : float = v16 + v39                                              │

00:00:32 #3641 [Verbose] > │     let v95 : float = v17 + v40                                              │

00:00:32 #3642 [Verbose] > │     let v96 : float = v18 + v41                                              │

00:00:32 #3643 [Verbose] > │     let v97 : float = v88 + v33                                              │

00:00:32 #3644 [Verbose] > │     let v98 : float = v89 + v34                                              │

00:00:32 #3645 [Verbose] > │     let v99 : float = v90 + v38                                              │

00:00:32 #3646 [Verbose] > │     let v100 : float = v91 + v35                                             │

00:00:32 #3647 [Verbose] > │     let v101 : float = v92 + v36                                             │

00:00:32 #3648 [Verbose] > │     let v102 : float = v93 + v37                                             │

00:00:32 #3649 [Verbose] > │     let v103 : float = v94 + v39                                             │

00:00:32 #3650 [Verbose] > │     let v104 : float = v95 + v40                                             │

00:00:32 #3651 [Verbose] > │     let v105 : float = v96 + v41                                             │

00:00:32 #3652 [Verbose] > │     let v106 : float = v97 + v56                                             │

00:00:32 #3653 [Verbose] > │     let v107 : float = v98 + v57                                             │

00:00:32 #3654 [Verbose] > │     let v108 : float = v99 + v61                                             │

00:00:32 #3655 [Verbose] > │     let v109 : float = v100 + v58                                            │

00:00:32 #3656 [Verbose] > │     let v110 : float = v101 + v59                                            │

00:00:32 #3657 [Verbose] > │     let v111 : float = v102 + v60                                            │

00:00:32 #3658 [Verbose] > │     let v112 : float = v103 + v62                                            │

00:00:32 #3659 [Verbose] > │     let v113 : float = v104 + v63                                            │

00:00:32 #3660 [Verbose] > │     let v114 : float = v105 + v64                                            │

00:00:32 #3661 [Verbose] > │     let v115 : float = v106 + v56                                            │

00:00:32 #3662 [Verbose] > │     let v116 : float = v107 + v57                                            │

00:00:32 #3663 [Verbose] > │     let v117 : float = v108 + v61                                            │

00:00:32 #3664 [Verbose] > │     let v118 : float = v109 + v58                                            │

00:00:32 #3665 [Verbose] > │     let v119 : float = v110 + v59                                            │

00:00:32 #3666 [Verbose] > │     let v120 : float = v111 + v60                                            │

00:00:32 #3667 [Verbose] > │     let v121 : float = v112 + v62                                            │

00:00:32 #3668 [Verbose] > │     let v122 : float = v113 + v63                                            │

00:00:32 #3669 [Verbose] > │     let v123 : float = v114 + v64                                            │

00:00:32 #3670 [Verbose] > │     let v124 : float = v115 + v79                                            │

00:00:32 #3671 [Verbose] > │     let v125 : float = v116 + v80                                            │

00:00:32 #3672 [Verbose] > │     let v126 : float = v117 + v84                                            │

00:00:32 #3673 [Verbose] > │     let v127 : float = v118 + v81                                            │

00:00:32 #3674 [Verbose] > │     let v128 : float = v119 + v82                                            │

00:00:32 #3675 [Verbose] > │     let v129 : float = v120 + v83                                            │

00:00:32 #3676 [Verbose] > │     let v130 : float = v121 + v85                                            │

00:00:32 #3677 [Verbose] > │     let v131 : float = v122 + v86                                            │

00:00:32 #3678 [Verbose] > │     let v132 : float = v123 + v87                                            │

00:00:32 #3679 [Verbose] > │     let v133 : float = v126 * 16666.666666666668                             │

00:00:32 #3680 [Verbose] > │     let v134 : float = v6 + v133                                             │

00:00:32 #3681 [Verbose] > │     let v135 : float = 16666.666666666668 * v127                             │

00:00:32 #3682 [Verbose] > │     let v136 : float = 16666.666666666668 * v128                             │

00:00:32 #3683 [Verbose] > │     let v137 : float = 16666.666666666668 * v129                             │

00:00:32 #3684 [Verbose] > │     let v138 : float = v3 + v135                                             │

00:00:32 #3685 [Verbose] > │     let v139 : float = v4 + v136                                             │

00:00:32 #3686 [Verbose] > │     let v140 : float = v5 + v137                                             │

00:00:32 #3687 [Verbose] > │     let v141 : float = 16666.666666666668 * v130                             │

00:00:32 #3688 [Verbose] > │     let v142 : float = 16666.666666666668 * v131                             │

00:00:32 #3689 [Verbose] > │     let v143 : float = 16666.666666666668 * v132                             │

00:00:32 #3690 [Verbose] > │     let v144 : float = v7 + v141                                             │

00:00:32 #3691 [Verbose] > │     let v145 : float = v8 + v142                                             │

00:00:32 #3692 [Verbose] > │     let v146 : float = v9 + v143                                             │

00:00:32 #3693 [Verbose] > │     struct (v1, v2, v138, v139, v140, v134, v144, v145, v146)                │

00:00:32 #3694 [Verbose] > │ and closure0 () (v0 : (struct (float * float * float * float * float * float │

00:00:32 #3695 [Verbose] > │ * float * float * float) -> struct (float * float * float * float * float *  │

00:00:32 #3696 [Verbose] > │ float * float * float * float))) : (struct (float * float * float * float *  │

00:00:32 #3697 [Verbose] > │ float * float * float * float * float) -> struct (float * float * float *    │

00:00:32 #3698 [Verbose] > │ float * float * float * float * float * float)) =                            │

00:00:32 #3699 [Verbose] > │     closure1(v0)                                                             │

00:00:32 #3700 [Verbose] > │ and closure2 () struct (v0 : float, v1 : float, v2 : float, v3 : float, v4 : │

00:00:32 #3701 [Verbose] > │ float, v5 : float, v6 : float, v7 : float, v8 : float) : struct (float *     │

00:00:32 #3702 [Verbose] > │ float * float * float * float * float * float * float * float) =             │

00:00:32 #3703 [Verbose] > │     let v9 : float = 10.0 / v1                                               │

00:00:32 #3704 [Verbose] > │     let v10 : float = 0.0 / v1                                               │

00:00:32 #3705 [Verbose] > │     struct (0.0, 0.0, v6, v7, v8, 1.0, v9, v10, v10)                         │

00:00:32 #3706 [Verbose] > │ and closure3 () struct (v0 : float, v1 : float, v2 : float, v3 : float, v4 : │

00:00:32 #3707 [Verbose] > │ float, v5 : float, v6 : float, v7 : float, v8 : float) : struct (float *     │

00:00:32 #3708 [Verbose] > │ float * float * float * float * float * float * float * float) =             │

00:00:32 #3709 [Verbose] > │     let v9 : float = v6 / 299792458.0                                        │

00:00:32 #3710 [Verbose] > │     let v10 : float = v7 / 299792458.0                                       │

00:00:32 #3711 [Verbose] > │     let v11 : float = v8 / 299792458.0                                       │

00:00:32 #3712 [Verbose] > │     let v12 : float = v9 * v9                                                │

00:00:32 #3713 [Verbose] > │     let v13 : float = v10 * v10                                              │

00:00:32 #3714 [Verbose] > │     let v14 : float = v12 + v13                                              │

00:00:32 #3715 [Verbose] > │     let v15 : float = v11 * v11                                              │

00:00:32 #3716 [Verbose] > │     let v16 : float = v14 + v15                                              │

00:00:32 #3717 [Verbose] > │     let v17 : float = 1.0 - v16                                              │

00:00:32 #3718 [Verbose] > │     let v18 : float = sqrt v17                                               │

00:00:32 #3719 [Verbose] > │     let v19 : float = 10.0 * v9                                              │

00:00:32 #3720 [Verbose] > │     let v20 : float = 0.0 * v10                                              │

00:00:32 #3721 [Verbose] > │     let v21 : float = v19 + v20                                              │

00:00:32 #3722 [Verbose] > │     let v22 : float = 0.0 * v11                                              │

00:00:32 #3723 [Verbose] > │     let v23 : float = v21 + v22                                              │

00:00:32 #3724 [Verbose] > │     let v24 : float = v23 * v9                                               │

00:00:32 #3725 [Verbose] > │     let v25 : float = v23 * v10                                              │

00:00:32 #3726 [Verbose] > │     let v26 : float = v23 * v11                                              │

00:00:32 #3727 [Verbose] > │     let v27 : float = -1.0 * v24                                             │

00:00:32 #3728 [Verbose] > │     let v28 : float = -1.0 * v25                                             │

00:00:32 #3729 [Verbose] > │     let v29 : float = -1.0 * v26                                             │

00:00:32 #3730 [Verbose] > │     let v30 : float = 10.0 + v27                                             │

00:00:32 #3731 [Verbose] > │     let v31 : float = v18 * v30                                              │

00:00:32 #3732 [Verbose] > │     let v32 : float = v18 * v28                                              │

00:00:32 #3733 [Verbose] > │     let v33 : float = v18 * v29                                              │

00:00:32 #3734 [Verbose] > │     let v34 : float = v31 / v1                                               │

00:00:32 #3735 [Verbose] > │     let v35 : float = v32 / v1                                               │

00:00:32 #3736 [Verbose] > │     let v36 : float = v33 / v1                                               │

00:00:32 #3737 [Verbose] > │     struct (0.0, 0.0, v6, v7, v8, 1.0, v34, v35, v36)                        │

00:00:32 #3738 [Verbose] > │ and method2 (v0 : (struct (float * float * float * float * float * float *   │

00:00:32 #3739 [Verbose] > │ float * float * float) -> struct (float * float * float * float * float *    │

00:00:32 #3740 [Verbose] > │ float * float * float * float)), v1 : float, v2 : float, v3 : float, v4 :    │

00:00:32 #3741 [Verbose] > │ float, v5 : float, v6 : float, v7 : float, v8 : float, v9 : float, v10 :     │

00:00:32 #3742 [Verbose] > │ int32) : struct (float * float * float * float * float * float * float *     │

00:00:32 #3743 [Verbose] > │ float * float) =                                                             │

00:00:32 #3744 [Verbose] > │     let v11 : bool = v10 <= 0                                                │

00:00:32 #3745 [Verbose] > │     if v11 then                                                              │

00:00:32 #3746 [Verbose] > │         struct (v1, v2, v3, v4, v5, v6, v7, v8, v9)                          │

00:00:32 #3747 [Verbose] > │     else                                                                     │

00:00:32 #3748 [Verbose] > │         let struct (v12 : float, v13 : float, v14 : float, v15 : float, v16  │

00:00:32 #3749 [Verbose] > │ : float, v17 : float, v18 : float, v19 : float, v20 : float) = v0 struct     │

00:00:32 #3750 [Verbose] > │ (v1, v2, v3, v4, v5, v6, v7, v8, v9)                                         │

00:00:32 #3751 [Verbose] > │         let v21 : int32 = v10 - 1                                            │

00:00:32 #3752 [Verbose] > │         method2(v0, v12, v13, v14, v15, v16, v17, v18, v19, v20, v21)        │

00:00:32 #3753 [Verbose] > │ and method3 (v0 : UH0, v1 : UH0) : UH0 =                                     │

00:00:32 #3754 [Verbose] > │     match v0 with                                                            │

00:00:32 #3755 [Verbose] > │     | UH0_0(v2, v3, v4, v5, v6, v7, v8, v9, v10, v11) -> (* Cons *)          │

00:00:32 #3756 [Verbose] > │         let v12 : UH0 = UH0_0(v2, v3, v4, v5, v6, v7, v8, v9, v10, v1)       │

00:00:32 #3757 [Verbose] > │         method3(v11, v12)                                                    │

00:00:32 #3758 [Verbose] > │     | UH0_1 -> (* Nil *)                                                     │

00:00:32 #3759 [Verbose] > │         v1                                                                   │

00:00:32 #3760 [Verbose] > │ and method1 (v0 : (struct (float * float * float * float * float * float *   │

00:00:32 #3761 [Verbose] > │ float * float * float) -> struct (float * float * float * float * float *    │

00:00:32 #3762 [Verbose] > │ float * float * float * float)), v1 : UH0, v2 : int32) : UH0 =               │

00:00:32 #3763 [Verbose] > │     let v3 : float = 0.0                                                     │

00:00:32 #3764 [Verbose] > │     let v4 : float = 1.0                                                     │

00:00:32 #3765 [Verbose] > │     let v5 : float = 0.0                                                     │

00:00:32 #3766 [Verbose] > │     let v6 : float = 0.0                                                     │

00:00:32 #3767 [Verbose] > │     let v7 : float = 0.0                                                     │

00:00:32 #3768 [Verbose] > │     let v8 : float = 0.0                                                     │

00:00:32 #3769 [Verbose] > │     let v9 : float = 0.0                                                     │

00:00:32 #3770 [Verbose] > │     let v10 : float = 0.0                                                    │

00:00:32 #3771 [Verbose] > │     let v11 : float = 0.0                                                    │

00:00:32 #3772 [Verbose] > │     let struct (v12 : float, v13 : float, v14 : float, v15 : float, v16 :    │

00:00:32 #3773 [Verbose] > │ float, v17 : float, v18 : float, v19 : float, v20 : float) = method2(v0, v3, │

00:00:32 #3774 [Verbose] > │ v4, v5, v6, v7, v8, v9, v10, v11, v2)                                        │

00:00:32 #3775 [Verbose] > │     let v21 : bool = v17 <= 31557600.0                                       │

00:00:32 #3776 [Verbose] > │     if v21 then                                                              │

00:00:32 #3777 [Verbose] > │         let v22 : UH0 = UH0_0(v12, v13, v14, v15, v16, v17, v18, v19, v20,   │

00:00:32 #3778 [Verbose] > │ v1)                                                                          │

00:00:32 #3779 [Verbose] > │         let v23 : int32 = v2 + 1                                             │

00:00:32 #3780 [Verbose] > │         method1(v0, v22, v23)                                                │

00:00:32 #3781 [Verbose] > │     else                                                                     │

00:00:32 #3782 [Verbose] > │         let v25 : UH0 = UH0_1                                                │

00:00:32 #3783 [Verbose] > │         method3(v1, v25)                                                     │

00:00:32 #3784 [Verbose] > │ and method4 (v0 : UH0, v1 : UH1) : UH1 =                                     │

00:00:32 #3785 [Verbose] > │     match v0 with                                                            │

00:00:32 #3786 [Verbose] > │     | UH0_0(v2, v3, v4, v5, v6, v7, v8, v9, v10, v11) -> (* Cons *)          │

00:00:32 #3787 [Verbose] > │         let v12 : UH1 = method4(v11, v1)                                     │

00:00:32 #3788 [Verbose] > │         let v13 : float = v7 / 31557600.0                                    │

00:00:32 #3789 [Verbose] > │         let v14 : float = v8 / 299792458.0                                   │

00:00:32 #3790 [Verbose] > │         UH1_0(v13, v14, v12)                                                 │

00:00:32 #3791 [Verbose] > │     | UH0_1 -> (* Nil *)                                                     │

00:00:32 #3792 [Verbose] > │         v1                                                                   │

00:00:32 #3793 [Verbose] > │ and method5 (v0 : UH1, v1 : UH2, v2 : UH2) : struct (UH2 * UH2) =            │

00:00:32 #3794 [Verbose] > │     match v0 with                                                            │

00:00:32 #3795 [Verbose] > │     | UH1_0(v3, v4, v5) -> (* Cons *)                                        │

00:00:32 #3796 [Verbose] > │         let v6 : UH2 = UH2_0(v3, v1)                                         │

00:00:32 #3797 [Verbose] > │         let v7 : UH2 = UH2_0(v4, v2)                                         │

00:00:32 #3798 [Verbose] > │         method5(v5, v6, v7)                                                  │

00:00:32 #3799 [Verbose] > │     | UH1_1 -> (* Nil *)                                                     │

00:00:32 #3800 [Verbose] > │         struct (v1, v2)                                                      │

00:00:32 #3801 [Verbose] > │ and method6 (v0 : UH2, v1 : UH2) : UH2 =                                     │

00:00:32 #3802 [Verbose] > │     match v0 with                                                            │

00:00:32 #3803 [Verbose] > │     | UH2_0(v2, v3) -> (* Cons *)                                            │

00:00:32 #3804 [Verbose] > │         let v4 : UH2 = UH2_0(v2, v1)                                         │

00:00:32 #3805 [Verbose] > │         method6(v3, v4)                                                      │

00:00:32 #3806 [Verbose] > │     | UH2_1 -> (* Nil *)                                                     │

00:00:32 #3807 [Verbose] > │         v1                                                                   │

00:00:32 #3808 [Verbose] > │ and method7 (v0 : (struct (float * float * float * float * float * float *   │

00:00:32 #3809 [Verbose] > │ float * float * float) -> struct (float * float * float * float * float *    │

00:00:32 #3810 [Verbose] > │ float * float * float * float)), v1 : UH0, v2 : int32) : UH0 =               │

00:00:32 #3811 [Verbose] > │     let v3 : float = 0.0                                                     │

00:00:32 #3812 [Verbose] > │     let v4 : float = 1.0                                                     │

00:00:32 #3813 [Verbose] > │     let v5 : float = 0.0                                                     │

00:00:32 #3814 [Verbose] > │     let v6 : float = 0.0                                                     │

00:00:32 #3815 [Verbose] > │     let v7 : float = 0.0                                                     │

00:00:32 #3816 [Verbose] > │     let v8 : float = 0.0                                                     │

00:00:32 #3817 [Verbose] > │     let v9 : float = 0.0                                                     │

00:00:32 #3818 [Verbose] > │     let v10 : float = 0.0                                                    │

00:00:32 #3819 [Verbose] > │     let v11 : float = 0.0                                                    │

00:00:32 #3820 [Verbose] > │     let struct (v12 : float, v13 : float, v14 : float, v15 : float, v16 :    │

00:00:32 #3821 [Verbose] > │ float, v17 : float, v18 : float, v19 : float, v20 : float) = method2(v0, v3, │

00:00:32 #3822 [Verbose] > │ v4, v5, v6, v7, v8, v9, v10, v11, v2)                                        │

00:00:32 #3823 [Verbose] > │     let v21 : bool = v17 <= 31557600.0                                       │

00:00:32 #3824 [Verbose] > │     if v21 then                                                              │

00:00:32 #3825 [Verbose] > │         let v22 : UH0 = UH0_0(v12, v13, v14, v15, v16, v17, v18, v19, v20,   │

00:00:32 #3826 [Verbose] > │ v1)                                                                          │

00:00:32 #3827 [Verbose] > │         let v23 : int32 = v2 + 1                                             │

00:00:32 #3828 [Verbose] > │         method7(v0, v22, v23)                                                │

00:00:32 #3829 [Verbose] > │     else                                                                     │

00:00:32 #3830 [Verbose] > │         let v25 : UH0 = UH0_1                                                │

00:00:32 #3831 [Verbose] > │         method3(v1, v25)                                                     │

00:00:32 #3832 [Verbose] > │ and method8 (v0 : UH0, v1 : UH1) : UH1 =                                     │

00:00:32 #3833 [Verbose] > │     match v0 with                                                            │

00:00:32 #3834 [Verbose] > │     | UH0_0(v2, v3, v4, v5, v6, v7, v8, v9, v10, v11) -> (* Cons *)          │

00:00:32 #3835 [Verbose] > │         let v12 : UH1 = method8(v11, v1)                                     │

00:00:32 #3836 [Verbose] > │         let v13 : float = v7 / 31557600.0                                    │

00:00:32 #3837 [Verbose] > │         let v14 : float = v8 / 299792458.0                                   │

00:00:32 #3838 [Verbose] > │         UH1_0(v13, v14, v12)                                                 │

00:00:32 #3839 [Verbose] > │     | UH0_1 -> (* Nil *)                                                     │

00:00:32 #3840 [Verbose] > │         v1                                                                   │

00:00:32 #3841 [Verbose] > │ and method10 (v0 : UH2, v1 : int32) : int32 =                                │

00:00:32 #3842 [Verbose] > │     match v0 with                                                            │

00:00:32 #3843 [Verbose] > │     | UH2_0(v2, v3) -> (* Cons *)                                            │

00:00:32 #3844 [Verbose] > │         let v4 : int32 = v1 + 1                                              │

00:00:32 #3845 [Verbose] > │         method10(v3, v4)                                                     │

00:00:32 #3846 [Verbose] > │     | UH2_1 -> (* Nil *)                                                     │

00:00:32 #3847 [Verbose] > │         v1                                                                   │

00:00:32 #3848 [Verbose] > │ and method11 (v0 : (float []), v1 : UH2, v2 : int32) : int32 =               │

00:00:32 #3849 [Verbose] > │     match v1 with                                                            │

00:00:32 #3850 [Verbose] > │     | UH2_0(v3, v4) -> (* Cons *)                                            │

00:00:32 #3851 [Verbose] > │         v0.[int v2] <- v3                                                    │

00:00:32 #3852 [Verbose] > │         let v5 : int32 = v2 + 1                                              │

00:00:32 #3853 [Verbose] > │         method11(v0, v4, v5)                                                 │

00:00:32 #3854 [Verbose] > │     | UH2_1 -> (* Nil *)                                                     │

00:00:32 #3855 [Verbose] > │         v2                                                                   │

00:00:32 #3856 [Verbose] > │ and method9 (v0 : UH2) : (float []) =                                        │

00:00:32 #3857 [Verbose] > │     let v1 : int32 = 0                                                       │

00:00:32 #3858 [Verbose] > │     let v2 : int32 = method10(v0, v1)                                        │

00:00:32 #3859 [Verbose] > │     let v3 : (float []) = Array.zeroCreate<float> (v2)                       │

00:00:32 #3860 [Verbose] > │     let v4 : int32 = 0                                                       │

00:00:32 #3861 [Verbose] > │     let v5 : int32 = method11(v3, v0, v4)                                    │

00:00:32 #3862 [Verbose] > │     v3                                                                       │

00:00:32 #3863 [Verbose] > │ and method12 (v0 : (struct (string * (float []) * (float [])) [])) : (struct │

00:00:32 #3864 [Verbose] > │ (string * (float []) * (float [])) []) =                                     │

00:00:32 #3865 [Verbose] > │     v0                                                                       │

00:00:32 #3866 [Verbose] > │ and method0 () : struct (string * string * string * (struct (string * (float │

00:00:32 #3867 [Verbose] > │ []) * (float [])) [])) =                                                     │

00:00:32 #3868 [Verbose] > │     let v0 : ((struct (float * float * float * float * float * float * float │

00:00:32 #3869 [Verbose] > │ * float * float) -> struct (float * float * float * float * float * float *  │

00:00:32 #3870 [Verbose] > │ float * float * float)) -> (struct (float * float * float * float * float *  │

00:00:32 #3871 [Verbose] > │ float * float * float * float) -> struct (float * float * float * float *    │

00:00:32 #3872 [Verbose] > │ float * float * float * float * float))) = closure0()                        │

00:00:32 #3873 [Verbose] > │     let v1 : (struct (float * float * float * float * float * float * float  │

00:00:32 #3874 [Verbose] > │ * float * float) -> struct (float * float * float * float * float * float *  │

00:00:32 #3875 [Verbose] > │ float * float * float)) = closure2()                                         │

00:00:32 #3876 [Verbose] > │     let v2 : (struct (float * float * float * float * float * float * float  │

00:00:32 #3877 [Verbose] > │ * float * float) -> struct (float * float * float * float * float * float *  │

00:00:32 #3878 [Verbose] > │ float * float * float)) = v0 v1                                              │

00:00:32 #3879 [Verbose] > │     let v3 : (struct (float * float * float * float * float * float * float  │

00:00:32 #3880 [Verbose] > │ * float * float) -> struct (float * float * float * float * float * float *  │

00:00:32 #3881 [Verbose] > │ float * float * float)) = closure3()                                         │

00:00:32 #3882 [Verbose] > │     let v4 : (struct (float * float * float * float * float * float * float  │

00:00:32 #3883 [Verbose] > │ * float * float) -> struct (float * float * float * float * float * float *  │

00:00:32 #3884 [Verbose] > │ float * float * float)) = v0 v3                                              │

00:00:32 #3885 [Verbose] > │     let v5 : UH0 = UH0_1                                                     │

00:00:32 #3886 [Verbose] > │     let v6 : int32 = 0                                                       │

00:00:32 #3887 [Verbose] > │     let v7 : UH0 = method1(v2, v5, v6)                                       │

00:00:32 #3888 [Verbose] > │     let v8 : UH1 = UH1_1                                                     │

00:00:32 #3889 [Verbose] > │     let v9 : UH1 = method4(v7, v8)                                           │

00:00:32 #3890 [Verbose] > │     let v10 : UH2 = UH2_1                                                    │

00:00:32 #3891 [Verbose] > │     let v11 : UH2 = UH2_1                                                    │

00:00:32 #3892 [Verbose] > │     let struct (v12 : UH2, v13 : UH2) = method5(v9, v10, v11)                │

00:00:32 #3893 [Verbose] > │     let v14 : UH2 = UH2_1                                                    │

00:00:32 #3894 [Verbose] > │     let v15 : UH2 = method6(v12, v14)                                        │

00:00:32 #3895 [Verbose] > │     let v16 : UH2 = UH2_1                                                    │

00:00:32 #3896 [Verbose] > │     let v17 : UH2 = method6(v13, v16)                                        │

00:00:32 #3897 [Verbose] > │     let v18 : UH0 = UH0_1                                                    │

00:00:32 #3898 [Verbose] > │     let v19 : int32 = 0                                                      │

00:00:32 #3899 [Verbose] > │     let v20 : UH0 = method7(v4, v18, v19)                                    │

00:00:32 #3900 [Verbose] > │     let v21 : UH1 = UH1_1                                                    │

00:00:32 #3901 [Verbose] > │     let v22 : UH1 = method8(v20, v21)                                        │

00:00:32 #3902 [Verbose] > │     let v23 : UH2 = UH2_1                                                    │

00:00:32 #3903 [Verbose] > │     let v24 : UH2 = UH2_1                                                    │

00:00:32 #3904 [Verbose] > │     let struct (v25 : UH2, v26 : UH2) = method5(v22, v23, v24)               │

00:00:32 #3905 [Verbose] > │     let v27 : UH2 = UH2_1                                                    │

00:00:32 #3906 [Verbose] > │     let v28 : UH2 = method6(v25, v27)                                        │

00:00:32 #3907 [Verbose] > │     let v29 : UH2 = UH2_1                                                    │

00:00:32 #3908 [Verbose] > │     let v30 : UH2 = method6(v26, v29)                                        │

00:00:32 #3909 [Verbose] > │     let v31 : (float []) = method9(v15)                                      │

00:00:32 #3910 [Verbose] > │     let v32 : (float []) = method9(v17)                                      │

00:00:32 #3911 [Verbose] > │     let v33 : (float []) = method9(v30)                                      │

00:00:32 #3912 [Verbose] > │     let v34 : string = "newtonian"                                           │

00:00:32 #3913 [Verbose] > │     let v35 : string = "relativistic"                                        │

00:00:32 #3914 [Verbose] > │     let v36 : (struct (string * (float []) * (float [])) []) = [|struct      │

00:00:32 #3915 [Verbose] > │ (v34, v31, v32); struct (v35, v31, v33)|]                                    │

00:00:32 #3916 [Verbose] > │     let v37 : (struct (string * (float []) * (float [])) []) = method12(v36) │

00:00:32 #3917 [Verbose] > │     let v38 : string = "response to a constant force"                        │

00:00:32 #3918 [Verbose] > │     let v39 : string = "time (years)"                                        │

00:00:32 #3919 [Verbose] > │     let v40 : string = "velocity (multiples of c)"                           │

00:00:32 #3920 [Verbose] > │     struct (v38, v39, v40, v37)                                              │

00:00:32 #3921 [Verbose] > │ method0()                                                                    │

00:00:32 #3922 [Verbose] > │                                                                              │

00:00:32 #3923 [Verbose] > │                                                                              │

00:00:32 #3924 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:32 #3925 [Verbose] >

00:00:32 #3926 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:32 #3927 [Verbose] > inl uniform_lorentz_force v_e v_b (st : particle_state) =

00:00:32 #3928 [Verbose] >     st.charge *^ (v_e ^+^ st.velocity >< v_b)

00:00:32 #3929 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0904-0498-9823-90639d6a3159\main.spi

00:00:32 #3930 [Verbose] >

00:00:32 #3931 [Verbose] > ╭─[ 235.71ms - stdout ]────────────────────────────────────────────────────────╮

00:00:32 #3932 [Verbose] > │ ()                                                                           │

00:00:32 #3933 [Verbose] > │                                                                              │

00:00:32 #3934 [Verbose] > │                                                                              │

00:00:32 #3935 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:32 #3936 [Verbose] >

00:00:32 #3937 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:32 #3938 [Verbose] > // // test

00:00:32 #3939 [Verbose] >

00:00:32 #3940 [Verbose] > inl c : f64 = 299792458

00:00:32 #3941 [Verbose] > inl ~method = runge_kutta_4 0.000000001

00:00:32 #3942 [Verbose] > inl forces = [[ uniform_lorentz_force (zero_vec ()) (k_hat ()) ]]

00:00:32 #3943 [Verbose] > inl (particle_state default_particle_state') = default_particle_state ()

00:00:32 #3944 [Verbose] > inl initial_state =

00:00:32 #3945 [Verbose] >     particle_state { default_particle_state' with

00:00:32 #3946 [Verbose] >         mass = 0.000000000000000000000000001672621898

00:00:32 #3947 [Verbose] >         charge = 0.0000000000000000001602176621

00:00:32 #3948 [Verbose] >         velocity = 0.8 *^ (c *^ j_hat ())

00:00:32 #3949 [Verbose] >     }

00:00:32 #3950 [Verbose] >

00:00:32 #3951 [Verbose] > inl newton_states = solver_ method (newton_second_ps forces) initial_state

00:00:32 #3952 [Verbose] > inl relativity_states = solver_ method (relativity_ps forces) initial_state

00:00:32 #3953 [Verbose] >

00:00:32 #3954 [Verbose] > inl newton_x, newton_y =

00:00:32 #3955 [Verbose] >     newton_states

00:00:32 #3956 [Verbose] >     >> Some

00:00:32 #3957 [Verbose] >     |> seq.take_while_ (fun (particle_state st) i => i < 100i32)

00:00:32 #3958 [Verbose] >     |> listm.map (fun (particle_state st) => st.pos_vec.x, st.pos_vec.y)

00:00:32 #3959 [Verbose] >     |> listm'.unzip

00:00:32 #3960 [Verbose] >

00:00:32 #3961 [Verbose] > inl relativity_x, relativity_y =

00:00:32 #3962 [Verbose] >     relativity_states

00:00:32 #3963 [Verbose] >     >> Some

00:00:32 #3964 [Verbose] >     |> seq.take_while_ (fun (particle_state st) i => i < 165i32)

00:00:32 #3965 [Verbose] >     |> listm.map (fun (particle_state st) => st.pos_vec.x, st.pos_vec.y)

00:00:32 #3966 [Verbose] >     |> listm'.unzip

00:00:32 #3967 [Verbose] >

00:00:32 #3968 [Verbose] > inl newton_x : a i32 _ = newton_x |> listm.toArray

00:00:32 #3969 [Verbose] > inl newton_y : a i32 _ = newton_y |> listm.toArray

00:00:32 #3970 [Verbose] >

00:00:32 #3971 [Verbose] > inl relativity_x : a i32 _ = relativity_x |> listm.toArray

00:00:32 #3972 [Verbose] > inl relativity_y : a i32 _ = relativity_y |> listm.toArray

00:00:32 #3973 [Verbose] >

00:00:32 #3974 [Verbose] > "proton in a 1-t magnetic field",

00:00:32 #3975 [Verbose] > "x (m)",

00:00:32 #3976 [Verbose] > "y (m)",

00:00:32 #3977 [Verbose] > ;[[

00:00:32 #3978 [Verbose] >     "newtonian", newton_x, newton_y

00:00:32 #3979 [Verbose] >     "relativistic", relativity_x, relativity_y

00:00:32 #3980 [Verbose] > ]]

00:00:32 #3981 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0904-0521-2190-2862ef606d2b\main.spi

00:00:33 #3982 [Verbose] >

00:00:33 #3983 [Verbose] > ╭─[ 717.45ms - return value ]──────────────────────────────────────────────────╮

00:00:33 #3984 [Verbose] > │ <svg width="640" height="480" viewBox="0 0 640 480"                          │

00:00:33 #3985 [Verbose] > │ xmlns="http://www.w3.org/2000/svg">                                          │

00:00:33 #3986 [Verbose] > │ <rect x="0" y="0" width="640" height="480" opacity="1" fill="#141414"        │

00:00:33 #3987 [Verbose] > │ stroke="none"/>                                                              │

00:00:33 #3988 [Verbose] > │ <text x="320" y="10" dy="0.76em" text-anchor="middle"                        │

00:00:33 #3989 [Verbose] > │ font-family="sans-serif" font-size="9.67741935483871" opacity="1"            │

00:00:33 #3990 [Verbose] > │ fill="#FFFFFF">                                                              │

00:00:33 #3991 [Verbose] > │ proton in a 1-t magnetic field                                               │

00:00:33 #3992 [Verbose] > │ </text>                                                                      │

00:00:33 #3993 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="58" y1="424" x2="58" │

00:00:33 #3994 [Verbose] > │ y2="75"/>                                                                    │

00:00:33 #3995 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="69" y1="424" x2="69" │

00:00:33 #3996 [Verbose] > │ y2="75"/>                                                                    │

00:00:33 #3997 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="81" y1="424" x2="81" │

00:00:33 #3998 [Verbose] > │ y2="75"/>                                                                    │

00:00:33 #3999 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="93" y1="424" x2="93" │

00:00:33 #4000 [Verbose] > │ y2="75"/>                                                                    │

00:00:33 #4001 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x...                     │

00:00:33 #4002 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:33 #4003 [Verbose] >

00:00:33 #4004 [Verbose] > ╭─[ 731.87ms - stdout ]────────────────────────────────────────────────────────╮

00:00:33 #4005 [Verbose] > │ type UH0 =                                                                   │

00:00:33 #4006 [Verbose] > │     | UH0_0 of float * float * float * float * float * float * float * float │

00:00:33 #4007 [Verbose] > │ * float * UH0                                                                │

00:00:33 #4008 [Verbose] > │     | UH0_1                                                                  │

00:00:33 #4009 [Verbose] > │ and UH1 =                                                                    │

00:00:33 #4010 [Verbose] > │     | UH1_0 of float * float * UH1                                           │

00:00:33 #4011 [Verbose] > │     | UH1_1                                                                  │

00:00:33 #4012 [Verbose] > │ and UH2 =                                                                    │

00:00:33 #4013 [Verbose] > │     | UH2_0 of float * UH2                                                   │

00:00:33 #4014 [Verbose] > │     | UH2_1                                                                  │

00:00:33 #4015 [Verbose] > │ let rec closure1 (v0 : (struct (float * float * float * float * float *      │

00:00:33 #4016 [Verbose] > │ float * float * float * float) -> struct (float * float * float * float *    │

00:00:33 #4017 [Verbose] > │ float * float * float * float * float))) struct (v1 : float, v2 : float, v3  │

00:00:33 #4018 [Verbose] > │ : float, v4 : float, v5 : float, v6 : float, v7 : float, v8 : float, v9 :    │

00:00:33 #4019 [Verbose] > │ float) : struct (float * float * float * float * float * float * float *     │

00:00:33 #4020 [Verbose] > │ float * float) =                                                             │

00:00:33 #4021 [Verbose] > │     let struct (v10 : float, v11 : float, v12 : float, v13 : float, v14 :    │

00:00:33 #4022 [Verbose] > │ float, v15 : float, v16 : float, v17 : float, v18 : float) = v0 struct (v1,  │

00:00:33 #4023 [Verbose] > │ v2, v3, v4, v5, v6, v7, v8, v9)                                              │

00:00:33 #4024 [Verbose] > │     let v19 : float = v15 * 5E-10                                            │

00:00:33 #4025 [Verbose] > │     let v20 : float = v6 + v19                                               │

00:00:33 #4026 [Verbose] > │     let v21 : float = 5E-10 * v12                                            │

00:00:33 #4027 [Verbose] > │     let v22 : float = 5E-10 * v13                                            │

00:00:33 #4028 [Verbose] > │     let v23 : float = 5E-10 * v14                                            │

00:00:33 #4029 [Verbose] > │     let v24 : float = v3 + v21                                               │

00:00:33 #4030 [Verbose] > │     let v25 : float = v4 + v22                                               │

00:00:33 #4031 [Verbose] > │     let v26 : float = v5 + v23                                               │

00:00:33 #4032 [Verbose] > │     let v27 : float = 5E-10 * v16                                            │

00:00:33 #4033 [Verbose] > │     let v28 : float = 5E-10 * v17                                            │

00:00:33 #4034 [Verbose] > │     let v29 : float = 5E-10 * v18                                            │

00:00:33 #4035 [Verbose] > │     let v30 : float = v7 + v27                                               │

00:00:33 #4036 [Verbose] > │     let v31 : float = v8 + v28                                               │

00:00:33 #4037 [Verbose] > │     let v32 : float = v9 + v29                                               │

00:00:33 #4038 [Verbose] > │     let struct (v33 : float, v34 : float, v35 : float, v36 : float, v37 :    │

00:00:33 #4039 [Verbose] > │ float, v38 : float, v39 : float, v40 : float, v41 : float) = v0 struct (v1,  │

00:00:33 #4040 [Verbose] > │ v2, v24, v25, v26, v20, v30, v31, v32)                                       │

00:00:33 #4041 [Verbose] > │     let v42 : float = v38 * 5E-10                                            │

00:00:33 #4042 [Verbose] > │     let v43 : float = v6 + v42                                               │

00:00:33 #4043 [Verbose] > │     let v44 : float = 5E-10 * v35                                            │

00:00:33 #4044 [Verbose] > │     let v45 : float = 5E-10 * v36                                            │

00:00:33 #4045 [Verbose] > │     let v46 : float = 5E-10 * v37                                            │

00:00:33 #4046 [Verbose] > │     let v47 : float = v3 + v44                                               │

00:00:33 #4047 [Verbose] > │     let v48 : float = v4 + v45                                               │

00:00:33 #4048 [Verbose] > │     let v49 : float = v5 + v46                                               │

00:00:33 #4049 [Verbose] > │     let v50 : float = 5E-10 * v39                                            │

00:00:33 #4050 [Verbose] > │     let v51 : float = 5E-10 * v40                                            │

00:00:33 #4051 [Verbose] > │     let v52 : float = 5E-10 * v41                                            │

00:00:33 #4052 [Verbose] > │     let v53 : float = v7 + v50                                               │

00:00:33 #4053 [Verbose] > │     let v54 : float = v8 + v51                                               │

00:00:33 #4054 [Verbose] > │     let v55 : float = v9 + v52                                               │

00:00:33 #4055 [Verbose] > │     let struct (v56 : float, v57 : float, v58 : float, v59 : float, v60 :    │

00:00:33 #4056 [Verbose] > │ float, v61 : float, v62 : float, v63 : float, v64 : float) = v0 struct (v1,  │

00:00:33 #4057 [Verbose] > │ v2, v47, v48, v49, v43, v53, v54, v55)                                       │

00:00:33 #4058 [Verbose] > │     let v65 : float = v61 * 1E-09                                            │

00:00:33 #4059 [Verbose] > │     let v66 : float = v6 + v65                                               │

00:00:33 #4060 [Verbose] > │     let v67 : float = 1E-09 * v58                                            │

00:00:33 #4061 [Verbose] > │     let v68 : float = 1E-09 * v59                                            │

00:00:33 #4062 [Verbose] > │     let v69 : float = 1E-09 * v60                                            │

00:00:33 #4063 [Verbose] > │     let v70 : float = v3 + v67                                               │

00:00:33 #4064 [Verbose] > │     let v71 : float = v4 + v68                                               │

00:00:33 #4065 [Verbose] > │     let v72 : float = v5 + v69                                               │

00:00:33 #4066 [Verbose] > │     let v73 : float = 1E-09 * v62                                            │

00:00:33 #4067 [Verbose] > │     let v74 : float = 1E-09 * v63                                            │

00:00:33 #4068 [Verbose] > │     let v75 : float = 1E-09 * v64                                            │

00:00:33 #4069 [Verbose] > │     let v76 : float = v7 + v73                                               │

00:00:33 #4070 [Verbose] > │     let v77 : float = v8 + v74                                               │

00:00:33 #4071 [Verbose] > │     let v78 : float = v9 + v75                                               │

00:00:33 #4072 [Verbose] > │     let struct (v79 : float, v80 : float, v81 : float, v82 : float, v83 :    │

00:00:33 #4073 [Verbose] > │ float, v84 : float, v85 : float, v86 : float, v87 : float) = v0 struct (v1,  │

00:00:33 #4074 [Verbose] > │ v2, v70, v71, v72, v66, v76, v77, v78)                                       │

00:00:33 #4075 [Verbose] > │     let v88 : float = v10 + v33                                              │

00:00:33 #4076 [Verbose] > │     let v89 : float = v11 + v34                                              │

00:00:33 #4077 [Verbose] > │     let v90 : float = v15 + v38                                              │

00:00:33 #4078 [Verbose] > │     let v91 : float = v12 + v35                                              │

00:00:33 #4079 [Verbose] > │     let v92 : float = v13 + v36                                              │

00:00:33 #4080 [Verbose] > │     let v93 : float = v14 + v37                                              │

00:00:33 #4081 [Verbose] > │     let v94 : float = v16 + v39                                              │

00:00:33 #4082 [Verbose] > │     let v95 : float = v17 + v40                                              │

00:00:33 #4083 [Verbose] > │     let v96 : float = v18 + v41                                              │

00:00:33 #4084 [Verbose] > │     let v97 : float = v88 + v33                                              │

00:00:33 #4085 [Verbose] > │     let v98 : float = v89 + v34                                              │

00:00:33 #4086 [Verbose] > │     let v99 : float = v90 + v38                                              │

00:00:33 #4087 [Verbose] > │     let v100 : float = v91 + v35                                             │

00:00:33 #4088 [Verbose] > │     let v101 : float = v92 + v36                                             │

00:00:33 #4089 [Verbose] > │     let v102 : float = v93 + v37                                             │

00:00:33 #4090 [Verbose] > │     let v103 : float = v94 + v39                                             │

00:00:33 #4091 [Verbose] > │     let v104 : float = v95 + v40                                             │

00:00:33 #4092 [Verbose] > │     let v105 : float = v96 + v41                                             │

00:00:33 #4093 [Verbose] > │     let v106 : float = v97 + v56                                             │

00:00:33 #4094 [Verbose] > │     let v107 : float = v98 + v57                                             │

00:00:33 #4095 [Verbose] > │     let v108 : float = v99 + v61                                             │

00:00:33 #4096 [Verbose] > │     let v109 : float = v100 + v58                                            │

00:00:33 #4097 [Verbose] > │     let v110 : float = v101 + v59                                            │

00:00:33 #4098 [Verbose] > │     let v111 : float = v102 + v60                                            │

00:00:33 #4099 [Verbose] > │     let v112 : float = v103 + v62                                            │

00:00:33 #4100 [Verbose] > │     let v113 : float = v104 + v63                                            │

00:00:33 #4101 [Verbose] > │     let v114 : float = v105 + v64                                            │

00:00:33 #4102 [Verbose] > │     let v115 : float = v106 + v56                                            │

00:00:33 #4103 [Verbose] > │     let v116 : float = v107 + v57                                            │

00:00:33 #4104 [Verbose] > │     let v117 : float = v108 + v61                                            │

00:00:33 #4105 [Verbose] > │     let v118 : float = v109 + v58                                            │

00:00:33 #4106 [Verbose] > │     let v119 : float = v110 + v59                                            │

00:00:33 #4107 [Verbose] > │     let v120 : float = v111 + v60                                            │

00:00:33 #4108 [Verbose] > │     let v121 : float = v112 + v62                                            │

00:00:33 #4109 [Verbose] > │     let v122 : float = v113 + v63                                            │

00:00:33 #4110 [Verbose] > │     let v123 : float = v114 + v64                                            │

00:00:33 #4111 [Verbose] > │     let v124 : float = v115 + v79                                            │

00:00:33 #4112 [Verbose] > │     let v125 : float = v116 + v80                                            │

00:00:33 #4113 [Verbose] > │     let v126 : float = v117 + v84                                            │

00:00:33 #4114 [Verbose] > │     let v127 : float = v118 + v81                                            │

00:00:33 #4115 [Verbose] > │     let v128 : float = v119 + v82                                            │

00:00:33 #4116 [Verbose] > │     let v129 : float = v120 + v83                                            │

00:00:33 #4117 [Verbose] > │     let v130 : float = v121 + v85                                            │

00:00:33 #4118 [Verbose] > │     let v131 : float = v122 + v86                                            │

00:00:33 #4119 [Verbose] > │     let v132 : float = v123 + v87                                            │

00:00:33 #4120 [Verbose] > │     let v133 : float = v126 * 1.6666666666666669E-10                         │

00:00:33 #4121 [Verbose] > │     let v134 : float = v6 + v133                                             │

00:00:33 #4122 [Verbose] > │     let v135 : float = 1.6666666666666669E-10 * v127                         │

00:00:33 #4123 [Verbose] > │     let v136 : float = 1.6666666666666669E-10 * v128                         │

00:00:33 #4124 [Verbose] > │     let v137 : float = 1.6666666666666669E-10 * v129                         │

00:00:33 #4125 [Verbose] > │     let v138 : float = v3 + v135                                             │

00:00:33 #4126 [Verbose] > │     let v139 : float = v4 + v136                                             │

00:00:33 #4127 [Verbose] > │     let v140 : float = v5 + v137                                             │

00:00:33 #4128 [Verbose] > │     let v141 : float = 1.6666666666666669E-10 * v130                         │

00:00:33 #4129 [Verbose] > │     let v142 : float = 1.6666666666666669E-10 * v131                         │

00:00:33 #4130 [Verbose] > │     let v143 : float = 1.6666666666666669E-10 * v132                         │

00:00:33 #4131 [Verbose] > │     let v144 : float = v7 + v141                                             │

00:00:33 #4132 [Verbose] > │     let v145 : float = v8 + v142                                             │

00:00:33 #4133 [Verbose] > │     let v146 : float = v9 + v143                                             │

00:00:33 #4134 [Verbose] > │     struct (v1, v2, v138, v139, v140, v134, v144, v145, v146)                │

00:00:33 #4135 [Verbose] > │ and closure0 () (v0 : (struct (float * float * float * float * float * float │

00:00:33 #4136 [Verbose] > │ * float * float * float) -> struct (float * float * float * float * float *  │

00:00:33 #4137 [Verbose] > │ float * float * float * float))) : (struct (float * float * float * float *  │

00:00:33 #4138 [Verbose] > │ float * float * float * float * float) -> struct (float * float * float *    │

00:00:33 #4139 [Verbose] > │ float * float * float * float * float * float)) =                            │

00:00:33 #4140 [Verbose] > │     closure1(v0)                                                             │

00:00:33 #4141 [Verbose] > │ and closure2 () struct (v0 : float, v1 : float, v2 : float, v3 : float, v4 : │

00:00:33 #4142 [Verbose] > │ float, v5 : float, v6 : float, v7 : float, v8 : float) : struct (float *     │

00:00:33 #4143 [Verbose] > │ float * float * float * float * float * float * float * float) =             │

00:00:33 #4144 [Verbose] > │     let v9 : float = v8 * 0.0                                                │

00:00:33 #4145 [Verbose] > │     let v10 : float = v7 - v9                                                │

00:00:33 #4146 [Verbose] > │     let v11 : float = v9 - v6                                                │

00:00:33 #4147 [Verbose] > │     let v12 : float = v6 * 0.0                                               │

00:00:33 #4148 [Verbose] > │     let v13 : float = v7 * 0.0                                               │

00:00:33 #4149 [Verbose] > │     let v14 : float = v12 - v13                                              │

00:00:33 #4150 [Verbose] > │     let v15 : float = v0 * v10                                               │

00:00:33 #4151 [Verbose] > │     let v16 : float = v0 * v11                                               │

00:00:33 #4152 [Verbose] > │     let v17 : float = v0 * v14                                               │

00:00:33 #4153 [Verbose] > │     let v18 : float = v15 / v1                                               │

00:00:33 #4154 [Verbose] > │     let v19 : float = v16 / v1                                               │

00:00:33 #4155 [Verbose] > │     let v20 : float = v17 / v1                                               │

00:00:33 #4156 [Verbose] > │     struct (0.0, 0.0, v6, v7, v8, 1.0, v18, v19, v20)                        │

00:00:33 #4157 [Verbose] > │ and closure3 () struct (v0 : float, v1 : float, v2 : float, v3 : float, v4 : │

00:00:33 #4158 [Verbose] > │ float, v5 : float, v6 : float, v7 : float, v8 : float) : struct (float *     │

00:00:33 #4159 [Verbose] > │ float * float * float * float * float * float * float * float) =             │

00:00:33 #4160 [Verbose] > │     let v9 : float = v8 * 0.0                                                │

00:00:33 #4161 [Verbose] > │     let v10 : float = v7 - v9                                                │

00:00:33 #4162 [Verbose] > │     let v11 : float = v9 - v6                                                │

00:00:33 #4163 [Verbose] > │     let v12 : float = v6 * 0.0                                               │

00:00:33 #4164 [Verbose] > │     let v13 : float = v7 * 0.0                                               │

00:00:33 #4165 [Verbose] > │     let v14 : float = v12 - v13                                              │

00:00:33 #4166 [Verbose] > │     let v15 : float = v0 * v10                                               │

00:00:33 #4167 [Verbose] > │     let v16 : float = v0 * v11                                               │

00:00:33 #4168 [Verbose] > │     let v17 : float = v0 * v14                                               │

00:00:33 #4169 [Verbose] > │     let v18 : float = v6 / 299792458.0                                       │

00:00:33 #4170 [Verbose] > │     let v19 : float = v7 / 299792458.0                                       │

00:00:33 #4171 [Verbose] > │     let v20 : float = v8 / 299792458.0                                       │

00:00:33 #4172 [Verbose] > │     let v21 : float = v18 * v18                                              │

00:00:33 #4173 [Verbose] > │     let v22 : float = v19 * v19                                              │

00:00:33 #4174 [Verbose] > │     let v23 : float = v21 + v22                                              │

00:00:33 #4175 [Verbose] > │     let v24 : float = v20 * v20                                              │

00:00:33 #4176 [Verbose] > │     let v25 : float = v23 + v24                                              │

00:00:33 #4177 [Verbose] > │     let v26 : float = 1.0 - v25                                              │

00:00:33 #4178 [Verbose] > │     let v27 : float = sqrt v26                                               │

00:00:33 #4179 [Verbose] > │     let v28 : float = v15 * v18                                              │

00:00:33 #4180 [Verbose] > │     let v29 : float = v16 * v19                                              │

00:00:33 #4181 [Verbose] > │     let v30 : float = v28 + v29                                              │

00:00:33 #4182 [Verbose] > │     let v31 : float = v17 * v20                                              │

00:00:33 #4183 [Verbose] > │     let v32 : float = v30 + v31                                              │

00:00:33 #4184 [Verbose] > │     let v33 : float = v32 * v18                                              │

00:00:33 #4185 [Verbose] > │     let v34 : float = v32 * v19                                              │

00:00:33 #4186 [Verbose] > │     let v35 : float = v32 * v20                                              │

00:00:33 #4187 [Verbose] > │     let v36 : float = -1.0 * v33                                             │

00:00:33 #4188 [Verbose] > │     let v37 : float = -1.0 * v34                                             │

00:00:33 #4189 [Verbose] > │     let v38 : float = -1.0 * v35                                             │

00:00:33 #4190 [Verbose] > │     let v39 : float = v15 + v36                                              │

00:00:33 #4191 [Verbose] > │     let v40 : float = v16 + v37                                              │

00:00:33 #4192 [Verbose] > │     let v41 : float = v17 + v38                                              │

00:00:33 #4193 [Verbose] > │     let v42 : float = v27 * v39                                              │

00:00:33 #4194 [Verbose] > │     let v43 : float = v27 * v40                                              │

00:00:33 #4195 [Verbose] > │     let v44 : float = v27 * v41                                              │

00:00:33 #4196 [Verbose] > │     let v45 : float = v42 / v1                                               │

00:00:33 #4197 [Verbose] > │     let v46 : float = v43 / v1                                               │

00:00:33 #4198 [Verbose] > │     let v47 : float = v44 / v1                                               │

00:00:33 #4199 [Verbose] > │     struct (0.0, 0.0, v6, v7, v8, 1.0, v45, v46, v47)                        │

00:00:33 #4200 [Verbose] > │ and method2 (v0 : (struct (float * float * float * float * float * float *   │

00:00:33 #4201 [Verbose] > │ float * float * float) -> struct (float * float * float * float * float *    │

00:00:33 #4202 [Verbose] > │ float * float * float * float)), v1 : float, v2 : float, v3 : float, v4 :    │

00:00:33 #4203 [Verbose] > │ float, v5 : float, v6 : float, v7 : float, v8 : float, v9 : float, v10 :     │

00:00:33 #4204 [Verbose] > │ int32) : struct (float * float * float * float * float * float * float *     │

00:00:33 #4205 [Verbose] > │ float * float) =                                                             │

00:00:33 #4206 [Verbose] > │     let v11 : bool = v10 <= 0                                                │

00:00:33 #4207 [Verbose] > │     if v11 then                                                              │

00:00:33 #4208 [Verbose] > │         struct (v1, v2, v3, v4, v5, v6, v7, v8, v9)                          │

00:00:33 #4209 [Verbose] > │     else                                                                     │

00:00:33 #4210 [Verbose] > │         let struct (v12 : float, v13 : float, v14 : float, v15 : float, v16  │

00:00:33 #4211 [Verbose] > │ : float, v17 : float, v18 : float, v19 : float, v20 : float) = v0 struct     │

00:00:33 #4212 [Verbose] > │ (v1, v2, v3, v4, v5, v6, v7, v8, v9)                                         │

00:00:33 #4213 [Verbose] > │         let v21 : int32 = v10 - 1                                            │

00:00:33 #4214 [Verbose] > │         method2(v0, v12, v13, v14, v15, v16, v17, v18, v19, v20, v21)        │

00:00:33 #4215 [Verbose] > │ and method3 (v0 : UH0, v1 : UH0) : UH0 =                                     │

00:00:33 #4216 [Verbose] > │     match v0 with                                                            │

00:00:33 #4217 [Verbose] > │     | UH0_0(v2, v3, v4, v5, v6, v7, v8, v9, v10, v11) -> (* Cons *)          │

00:00:33 #4218 [Verbose] > │         let v12 : UH0 = UH0_0(v2, v3, v4, v5, v6, v7, v8, v9, v10, v1)       │

00:00:33 #4219 [Verbose] > │         method3(v11, v12)                                                    │

00:00:33 #4220 [Verbose] > │     | UH0_1 -> (* Nil *)                                                     │

00:00:33 #4221 [Verbose] > │         v1                                                                   │

00:00:33 #4222 [Verbose] > │ and method1 (v0 : (struct (float * float * float * float * float * float *   │

00:00:33 #4223 [Verbose] > │ float * float * float) -> struct (float * float * float * float * float *    │

00:00:33 #4224 [Verbose] > │ float * float * float * float)), v1 : UH0, v2 : int32) : UH0 =               │

00:00:33 #4225 [Verbose] > │     let v3 : float = 1.602176621E-19                                         │

00:00:33 #4226 [Verbose] > │     let v4 : float = 1.672621898E-27                                         │

00:00:33 #4227 [Verbose] > │     let v5 : float = 0.0                                                     │

00:00:33 #4228 [Verbose] > │     let v6 : float = 0.0                                                     │

00:00:33 #4229 [Verbose] > │     let v7 : float = 0.0                                                     │

00:00:33 #4230 [Verbose] > │     let v8 : float = 0.0                                                     │

00:00:33 #4231 [Verbose] > │     let v9 : float = 0.0                                                     │

00:00:33 #4232 [Verbose] > │     let v10 : float = 239833966.4                                            │

00:00:33 #4233 [Verbose] > │     let v11 : float = 0.0                                                    │

00:00:33 #4234 [Verbose] > │     let struct (v12 : float, v13 : float, v14 : float, v15 : float, v16 :    │

00:00:33 #4235 [Verbose] > │ float, v17 : float, v18 : float, v19 : float, v20 : float) = method2(v0, v3, │

00:00:33 #4236 [Verbose] > │ v4, v5, v6, v7, v8, v9, v10, v11, v2)                                        │

00:00:33 #4237 [Verbose] > │     let v21 : bool = v2 < 100                                                │

00:00:33 #4238 [Verbose] > │     if v21 then                                                              │

00:00:33 #4239 [Verbose] > │         let v22 : UH0 = UH0_0(v12, v13, v14, v15, v16, v17, v18, v19, v20,   │

00:00:33 #4240 [Verbose] > │ v1)                                                                          │

00:00:33 #4241 [Verbose] > │         let v23 : int32 = v2 + 1                                             │

00:00:33 #4242 [Verbose] > │         method1(v0, v22, v23)                                                │

00:00:33 #4243 [Verbose] > │     else                                                                     │

00:00:33 #4244 [Verbose] > │         let v25 : UH0 = UH0_1                                                │

00:00:33 #4245 [Verbose] > │         method3(v1, v25)                                                     │

00:00:33 #4246 [Verbose] > │ and method4 (v0 : UH0, v1 : UH1) : UH1 =                                     │

00:00:33 #4247 [Verbose] > │     match v0 with                                                            │

00:00:33 #4248 [Verbose] > │     | UH0_0(v2, v3, v4, v5, v6, v7, v8, v9, v10, v11) -> (* Cons *)          │

00:00:33 #4249 [Verbose] > │         let v12 : UH1 = method4(v11, v1)                                     │

00:00:33 #4250 [Verbose] > │         UH1_0(v4, v5, v12)                                                   │

00:00:33 #4251 [Verbose] > │     | UH0_1 -> (* Nil *)                                                     │

00:00:33 #4252 [Verbose] > │         v1                                                                   │

00:00:33 #4253 [Verbose] > │ and method5 (v0 : UH1, v1 : UH2, v2 : UH2) : struct (UH2 * UH2) =            │

00:00:33 #4254 [Verbose] > │     match v0 with                                                            │

00:00:33 #4255 [Verbose] > │     | UH1_0(v3, v4, v5) -> (* Cons *)                                        │

00:00:33 #4256 [Verbose] > │         let v6 : UH2 = UH2_0(v3, v1)                                         │

00:00:33 #4257 [Verbose] > │         let v7 : UH2 = UH2_0(v4, v2)                                         │

00:00:33 #4258 [Verbose] > │         method5(v5, v6, v7)                                                  │

00:00:33 #4259 [Verbose] > │     | UH1_1 -> (* Nil *)                                                     │

00:00:33 #4260 [Verbose] > │         struct (v1, v2)                                                      │

00:00:33 #4261 [Verbose] > │ and method6 (v0 : UH2, v1 : UH2) : UH2 =                                     │

00:00:33 #4262 [Verbose] > │     match v0 with                                                            │

00:00:33 #4263 [Verbose] > │     | UH2_0(v2, v3) -> (* Cons *)                                            │

00:00:33 #4264 [Verbose] > │         let v4 : UH2 = UH2_0(v2, v1)                                         │

00:00:33 #4265 [Verbose] > │         method6(v3, v4)                                                      │

00:00:33 #4266 [Verbose] > │     | UH2_1 -> (* Nil *)                                                     │

00:00:33 #4267 [Verbose] > │         v1                                                                   │

00:00:33 #4268 [Verbose] > │ and method7 (v0 : (struct (float * float * float * float * float * float *   │

00:00:33 #4269 [Verbose] > │ float * float * float) -> struct (float * float * float * float * float *    │

00:00:33 #4270 [Verbose] > │ float * float * float * float)), v1 : UH0, v2 : int32) : UH0 =               │

00:00:33 #4271 [Verbose] > │     let v3 : float = 1.602176621E-19                                         │

00:00:33 #4272 [Verbose] > │     let v4 : float = 1.672621898E-27                                         │

00:00:33 #4273 [Verbose] > │     let v5 : float = 0.0                                                     │

00:00:33 #4274 [Verbose] > │     let v6 : float = 0.0                                                     │

00:00:33 #4275 [Verbose] > │     let v7 : float = 0.0                                                     │

00:00:33 #4276 [Verbose] > │     let v8 : float = 0.0                                                     │

00:00:33 #4277 [Verbose] > │     let v9 : float = 0.0                                                     │

00:00:33 #4278 [Verbose] > │     let v10 : float = 239833966.4                                            │

00:00:33 #4279 [Verbose] > │     let v11 : float = 0.0                                                    │

00:00:33 #4280 [Verbose] > │     let struct (v12 : float, v13 : float, v14 : float, v15 : float, v16 :    │

00:00:33 #4281 [Verbose] > │ float, v17 : float, v18 : float, v19 : float, v20 : float) = method2(v0, v3, │

00:00:33 #4282 [Verbose] > │ v4, v5, v6, v7, v8, v9, v10, v11, v2)                                        │

00:00:33 #4283 [Verbose] > │     let v21 : bool = v2 < 165                                                │

00:00:33 #4284 [Verbose] > │     if v21 then                                                              │

00:00:33 #4285 [Verbose] > │         let v22 : UH0 = UH0_0(v12, v13, v14, v15, v16, v17, v18, v19, v20,   │

00:00:33 #4286 [Verbose] > │ v1)                                                                          │

00:00:33 #4287 [Verbose] > │         let v23 : int32 = v2 + 1                                             │

00:00:33 #4288 [Verbose] > │         method7(v0, v22, v23)                                                │

00:00:33 #4289 [Verbose] > │     else                                                                     │

00:00:33 #4290 [Verbose] > │         let v25 : UH0 = UH0_1                                                │

00:00:33 #4291 [Verbose] > │         method3(v1, v25)                                                     │

00:00:33 #4292 [Verbose] > │ and method8 (v0 : UH0, v1 : UH1) : UH1 =                                     │

00:00:33 #4293 [Verbose] > │     match v0 with                                                            │

00:00:33 #4294 [Verbose] > │     | UH0_0(v2, v3, v4, v5, v6, v7, v8, v9, v10, v11) -> (* Cons *)          │

00:00:33 #4295 [Verbose] > │         let v12 : UH1 = method8(v11, v1)                                     │

00:00:33 #4296 [Verbose] > │         UH1_0(v4, v5, v12)                                                   │

00:00:33 #4297 [Verbose] > │     | UH0_1 -> (* Nil *)                                                     │

00:00:33 #4298 [Verbose] > │         v1                                                                   │

00:00:33 #4299 [Verbose] > │ and method10 (v0 : UH2, v1 : int32) : int32 =                                │

00:00:33 #4300 [Verbose] > │     match v0 with                                                            │

00:00:33 #4301 [Verbose] > │     | UH2_0(v2, v3) -> (* Cons *)                                            │

00:00:33 #4302 [Verbose] > │         let v4 : int32 = v1 + 1                                              │

00:00:33 #4303 [Verbose] > │         method10(v3, v4)                                                     │

00:00:33 #4304 [Verbose] > │     | UH2_1 -> (* Nil *)                                                     │

00:00:33 #4305 [Verbose] > │         v1                                                                   │

00:00:33 #4306 [Verbose] > │ and method11 (v0 : (float []), v1 : UH2, v2 : int32) : int32 =               │

00:00:33 #4307 [Verbose] > │     match v1 with                                                            │

00:00:33 #4308 [Verbose] > │     | UH2_0(v3, v4) -> (* Cons *)                                            │

00:00:33 #4309 [Verbose] > │         v0.[int v2] <- v3                                                    │

00:00:33 #4310 [Verbose] > │         let v5 : int32 = v2 + 1                                              │

00:00:33 #4311 [Verbose] > │         method11(v0, v4, v5)                                                 │

00:00:33 #4312 [Verbose] > │     | UH2_1 -> (* Nil *)                                                     │

00:00:33 #4313 [Verbose] > │         v2                                                                   │

00:00:33 #4314 [Verbose] > │ and method9 (v0 : UH2) : (float []) =                                        │

00:00:33 #4315 [Verbose] > │     let v1 : int32 = 0                                                       │

00:00:33 #4316 [Verbose] > │     let v2 : int32 = method10(v0, v1)                                        │

00:00:33 #4317 [Verbose] > │     let v3 : (float []) = Array.zeroCreate<float> (v2)                       │

00:00:33 #4318 [Verbose] > │     let v4 : int32 = 0                                                       │

00:00:33 #4319 [Verbose] > │     let v5 : int32 = method11(v3, v0, v4)                                    │

00:00:33 #4320 [Verbose] > │     v3                                                                       │

00:00:33 #4321 [Verbose] > │ and method12 (v0 : (struct (string * (float []) * (float [])) [])) : (struct │

00:00:33 #4322 [Verbose] > │ (string * (float []) * (float [])) []) =                                     │

00:00:33 #4323 [Verbose] > │     v0                                                                       │

00:00:33 #4324 [Verbose] > │ and method0 () : struct (string * string * string * (struct (string * (float │

00:00:33 #4325 [Verbose] > │ []) * (float [])) [])) =                                                     │

00:00:33 #4326 [Verbose] > │     let v0 : ((struct (float * float * float * float * float * float * float │

00:00:33 #4327 [Verbose] > │ * float * float) -> struct (float * float * float * float * float * float *  │

00:00:33 #4328 [Verbose] > │ float * float * float)) -> (struct (float * float * float * float * float *  │

00:00:33 #4329 [Verbose] > │ float * float * float * float) -> struct (float * float * float * float *    │

00:00:33 #4330 [Verbose] > │ float * float * float * float * float))) = closure0()                        │

00:00:33 #4331 [Verbose] > │     let v1 : (struct (float * float * float * float * float * float * float  │

00:00:33 #4332 [Verbose] > │ * float * float) -> struct (float * float * float * float * float * float *  │

00:00:33 #4333 [Verbose] > │ float * float * float)) = closure2()                                         │

00:00:33 #4334 [Verbose] > │     let v2 : (struct (float * float * float * float * float * float * float  │

00:00:33 #4335 [Verbose] > │ * float * float) -> struct (float * float * float * float * float * float *  │

00:00:33 #4336 [Verbose] > │ float * float * float)) = v0 v1                                              │

00:00:33 #4337 [Verbose] > │     let v3 : (struct (float * float * float * float * float * float * float  │

00:00:33 #4338 [Verbose] > │ * float * float) -> struct (float * float * float * float * float * float *  │

00:00:33 #4339 [Verbose] > │ float * float * float)) = closure3()                                         │

00:00:33 #4340 [Verbose] > │     let v4 : (struct (float * float * float * float * float * float * float  │

00:00:33 #4341 [Verbose] > │ * float * float) -> struct (float * float * float * float * float * float *  │

00:00:33 #4342 [Verbose] > │ float * float * float)) = v0 v3                                              │

00:00:33 #4343 [Verbose] > │     let v5 : UH0 = UH0_1                                                     │

00:00:33 #4344 [Verbose] > │     let v6 : int32 = 0                                                       │

00:00:33 #4345 [Verbose] > │     let v7 : UH0 = method1(v2, v5, v6)                                       │

00:00:33 #4346 [Verbose] > │     let v8 : UH1 = UH1_1                                                     │

00:00:33 #4347 [Verbose] > │     let v9 : UH1 = method4(v7, v8)                                           │

00:00:33 #4348 [Verbose] > │     let v10 : UH2 = UH2_1                                                    │

00:00:33 #4349 [Verbose] > │     let v11 : UH2 = UH2_1                                                    │

00:00:33 #4350 [Verbose] > │     let struct (v12 : UH2, v13 : UH2) = method5(v9, v10, v11)                │

00:00:33 #4351 [Verbose] > │     let v14 : UH2 = UH2_1                                                    │

00:00:33 #4352 [Verbose] > │     let v15 : UH2 = method6(v12, v14)                                        │

00:00:33 #4353 [Verbose] > │     let v16 : UH2 = UH2_1                                                    │

00:00:33 #4354 [Verbose] > │     let v17 : UH2 = method6(v13, v16)                                        │

00:00:33 #4355 [Verbose] > │     let v18 : UH0 = UH0_1                                                    │

00:00:33 #4356 [Verbose] > │     let v19 : int32 = 0                                                      │

00:00:33 #4357 [Verbose] > │     let v20 : UH0 = method7(v4, v18, v19)                                    │

00:00:33 #4358 [Verbose] > │     let v21 : UH1 = UH1_1                                                    │

00:00:33 #4359 [Verbose] > │     let v22 : UH1 = method8(v20, v21)                                        │

00:00:33 #4360 [Verbose] > │     let v23 : UH2 = UH2_1                                                    │

00:00:33 #4361 [Verbose] > │     let v24 : UH2 = UH2_1                                                    │

00:00:33 #4362 [Verbose] > │     let struct (v25 : UH2, v26 : UH2) = method5(v22, v23, v24)               │

00:00:33 #4363 [Verbose] > │     let v27 : UH2 = UH2_1                                                    │

00:00:33 #4364 [Verbose] > │     let v28 : UH2 = method6(v25, v27)                                        │

00:00:33 #4365 [Verbose] > │     let v29 : UH2 = UH2_1                                                    │

00:00:33 #4366 [Verbose] > │     let v30 : UH2 = method6(v26, v29)                                        │

00:00:33 #4367 [Verbose] > │     let v31 : (float []) = method9(v15)                                      │

00:00:33 #4368 [Verbose] > │     let v32 : (float []) = method9(v17)                                      │

00:00:33 #4369 [Verbose] > │     let v33 : (float []) = method9(v28)                                      │

00:00:33 #4370 [Verbose] > │     let v34 : (float []) = method9(v30)                                      │

00:00:33 #4371 [Verbose] > │     let v35 : string = "newtonian"                                           │

00:00:33 #4372 [Verbose] > │     let v36 : string = "relativistic"                                        │

00:00:33 #4373 [Verbose] > │     let v37 : (struct (string * (float []) * (float [])) []) = [|struct      │

00:00:33 #4374 [Verbose] > │ (v35, v31, v32); struct (v36, v33, v34)|]                                    │

00:00:33 #4375 [Verbose] > │     let v38 : (struct (string * (float []) * (float [])) []) = method12(v37) │

00:00:33 #4376 [Verbose] > │     let v39 : string = "proton in a 1-t magnetic field"                      │

00:00:33 #4377 [Verbose] > │     let v40 : string = "x (m)"                                               │

00:00:33 #4378 [Verbose] > │     let v41 : string = "y (m)"                                               │

00:00:33 #4379 [Verbose] > │     struct (v39, v40, v41, v38)                                              │

00:00:33 #4380 [Verbose] > │ method0()                                                                    │

00:00:33 #4381 [Verbose] > │                                                                              │

00:00:33 #4382 [Verbose] > │                                                                              │

00:00:33 #4383 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:33 #4384 [Verbose] >

00:00:33 #4385 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────

00:00:33 #4386 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮

00:00:33 #4387 [Verbose] > │ ### system kinetic energy versus time 1                                      │

00:00:33 #4388 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:33 #4389 [Verbose] >

00:00:33 #4390 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:33 #4391 [Verbose] > // // test

00:00:33 #4392 [Verbose] >

00:00:33 #4393 [Verbose] > inl central_force f (particle_state st1) (particle_state st2) =

00:00:33 #4394 [Verbose] >     inl r1 = st1.pos_vec

00:00:33 #4395 [Verbose] >     inl r2 = st2.pos_vec

00:00:33 #4396 [Verbose] >     inl r21 = r2 ^-^ r1

00:00:33 #4397 [Verbose] >     inl r21mag = magnitude r21

00:00:33 #4398 [Verbose] >     f r21mag *^ r21 ^/ r21mag

00:00:33 #4399 [Verbose] >

00:00:33 #4400 [Verbose] > inl billiard_force k re =

00:00:33 #4401 [Verbose] >     inl f r =

00:00:33 #4402 [Verbose] >         if r >= re

00:00:33 #4403 [Verbose] >         then 0

00:00:33 #4404 [Verbose] >         else -k * (r - re)

00:00:33 #4405 [Verbose] >     central_force f

00:00:33 #4406 [Verbose] >

00:00:33 #4407 [Verbose] > type force_vector = vec

00:00:33 #4408 [Verbose] > type two_body_force = particle_state -> particle_state -> force_vector

00:00:33 #4409 [Verbose] >

00:00:33 #4410 [Verbose] > union force =

00:00:33 #4411 [Verbose] >     | ExternalForce : i32 * one_body_force

00:00:33 #4412 [Verbose] >     | InternalForce : i32 * i32 * two_body_force

00:00:33 #4413 [Verbose] >

00:00:33 #4414 [Verbose] > nominal multi_particle_state = list particle_state

00:00:33 #4415 [Verbose] >

00:00:33 #4416 [Verbose] > nominal d_multi_particle_state = list d_particle_state

00:00:33 #4417 [Verbose] >

00:00:33 #4418 [Verbose] > inl force_on n sts force =

00:00:33 #4419 [Verbose] >     match force with

00:00:33 #4420 [Verbose] >     | ExternalForce (n0, f_one_body) =>

00:00:33 #4421 [Verbose] >         if n = n0

00:00:33 #4422 [Verbose] >         then f_one_body

00:00:33 #4423 [Verbose] >         else fun _ => zero_vec ()

00:00:33 #4424 [Verbose] >     | InternalForce (n0, n1, f_two_body) =>

00:00:33 #4425 [Verbose] >         if n = n0

00:00:33 #4426 [Verbose] >         then f_two_body (sts |> listm'.item n1)

00:00:33 #4427 [Verbose] >         elif n = n1

00:00:33 #4428 [Verbose] >         then f_two_body (sts |> listm'.item n0)

00:00:33 #4429 [Verbose] >         else fun _ => zero_vec ()

00:00:33 #4430 [Verbose] >

00:00:33 #4431 [Verbose] > inl forces_on n (multi_particle_state sts) fs =

00:00:33 #4432 [Verbose] >     fs |> listm.map (force_on n sts)

00:00:33 #4433 [Verbose] >

00:00:33 #4434 [Verbose] > inl newton_second_mps fs (multi_particle_state sts) : d_multi_particle_state =

00:00:33 #4435 [Verbose] >     inl deriv (n, st) =

00:00:33 #4436 [Verbose] >         newton_second_ps (forces_on n (multi_particle_state sts) fs) st

00:00:33 #4437 [Verbose] >     sts |> listm'.indexed |> listm.map deriv |> d_multi_particle_state

00:00:33 #4438 [Verbose] >

00:00:33 #4439 [Verbose] > instance (+++) d_multi_particle_state = fun (d_multi_particle_state dsts1)

00:00:33 #4440 [Verbose] > (d_multi_particle_state dsts2) =>

00:00:33 #4441 [Verbose] >     d_multi_particle_state (listm'.zip_with_ (+++) dsts1 dsts2)

00:00:33 #4442 [Verbose] >

00:00:33 #4443 [Verbose] > instance scale d_multi_particle_state = fun w (d_multi_particle_state dsts) =>

00:00:33 #4444 [Verbose] >     d_multi_particle_state (dsts |> listm.map (scale w))

00:00:33 #4445 [Verbose] >

00:00:33 #4446 [Verbose] > instance shift multi_particle_state = fun dt dsts (multi_particle_state sts) =>

00:00:33 #4447 [Verbose] >     inl (d_multi_particle_state dsts) =

00:00:33 #4448 [Verbose] >         real

00:00:33 #4449 [Verbose] >             match dsts with

00:00:33 #4450 [Verbose] >             | d_multi_particle_state _ => dsts

00:00:33 #4451 [Verbose] >     listm'.zip_with_ (shift dt) dsts sts |> multi_particle_state

00:00:33 #4452 [Verbose] >

00:00:33 #4453 [Verbose] > inl euler_cromer_mps dt : numerical_method multi_particle_state

00:00:33 #4454 [Verbose] > d_multi_particle_state =

00:00:33 #4455 [Verbose] >     fun deriv mpst0 =>

00:00:33 #4456 [Verbose] >         inl mpst1 = euler dt deriv mpst0

00:00:33 #4457 [Verbose] >         inl (multi_particle_state sts0) = mpst0

00:00:33 #4458 [Verbose] >         inl (multi_particle_state sts1) = mpst1

00:00:33 #4459 [Verbose] >         sts1

00:00:33 #4460 [Verbose] >         |> listm'.zip_ sts0

00:00:33 #4461 [Verbose] >         |> listm.map (fun ((particle_state st0), (particle_state st1)) =>

00:00:33 #4462 [Verbose] >             particle_state {

00:00:33 #4463 [Verbose] >                 st1 with

00:00:33 #4464 [Verbose] >                     pos_vec = st0.pos_vec ^+^ st1.velocity ^* dt

00:00:33 #4465 [Verbose] >             }

00:00:33 #4466 [Verbose] >         )

00:00:33 #4467 [Verbose] >         |> multi_particle_state

00:00:33 #4468 [Verbose] >

00:00:33 #4469 [Verbose] > inl update_mps (method : numerical_method multi_particle_state

00:00:33 #4470 [Verbose] > d_multi_particle_state) =

00:00:33 #4471 [Verbose] >     newton_second_mps >> method

00:00:33 #4472 [Verbose] >

00:00:33 #4473 [Verbose] > inl states_mps (method : numerical_method multi_particle_state

00:00:33 #4474 [Verbose] > d_multi_particle_state) =

00:00:33 #4475 [Verbose] >     newton_second_mps >> method >> seq.iterate_

00:00:33 #4476 [Verbose] >

00:00:33 #4477 [Verbose] >

00:00:33 #4478 [Verbose] > inl kinetic_energy (particle_state st) =

00:00:33 #4479 [Verbose] >     inl m = st.mass

00:00:33 #4480 [Verbose] >     inl v = magnitude st.velocity

00:00:33 #4481 [Verbose] >     0.5 * m * v ** 2

00:00:33 #4482 [Verbose] >

00:00:33 #4483 [Verbose] > inl system_ke (multi_particle_state sts) =

00:00:33 #4484 [Verbose] >     sts |> listm.map kinetic_energy |> listm'.sum

00:00:33 #4485 [Verbose] >

00:00:33 #4486 [Verbose] > inl linear_spring_pe k re (particle_state st1) (particle_state st2) =

00:00:33 #4487 [Verbose] >     inl r1 = st1.pos_vec

00:00:33 #4488 [Verbose] >     inl r2 = st2.pos_vec

00:00:33 #4489 [Verbose] >     inl r21 = r2 ^-^ r1

00:00:33 #4490 [Verbose] >     inl r21mag = magnitude r21

00:00:33 #4491 [Verbose] >     k * (r21mag - re) ** 2 / 2

00:00:33 #4492 [Verbose] >

00:00:33 #4493 [Verbose] > inl earth_surface_gravity_pe (particle_state st) =

00:00:33 #4494 [Verbose] >     inl g = 9.80665

00:00:33 #4495 [Verbose] >     inl m = st.mass

00:00:33 #4496 [Verbose] >     inl z = st.pos_vec.z

00:00:33 #4497 [Verbose] >     m * g * z

00:00:33 #4498 [Verbose] >

00:00:33 #4499 [Verbose] > inl two_springs_pe (multi_particle_state sts) =

00:00:33 #4500 [Verbose] >     inl st0 = sts |> listm'.item 0i32

00:00:33 #4501 [Verbose] >     inl st1 = sts |> listm'.item 1i32

00:00:33 #4502 [Verbose] >     linear_spring_pe 100 0.5 (default_particle_state ()) st0

00:00:33 #4503 [Verbose] >     + linear_spring_pe 100 0.5 st0 st1

00:00:33 #4504 [Verbose] >     + earth_surface_gravity_pe st0

00:00:33 #4505 [Verbose] >     + earth_surface_gravity_pe st1

00:00:33 #4506 [Verbose] >

00:00:33 #4507 [Verbose] > inl two_springs_me mpst =

00:00:33 #4508 [Verbose] >     system_ke mpst + two_springs_pe mpst

00:00:33 #4509 [Verbose] >

00:00:33 #4510 [Verbose] > inl ball_radius () = 0.03

00:00:33 #4511 [Verbose] >

00:00:33 #4512 [Verbose] > inl billiard_forces k =

00:00:33 #4513 [Verbose] >     [[ InternalForce (0, 1, billiard_force k (2 * ball_radius ())) ]]

00:00:33 #4514 [Verbose] >

00:00:33 #4515 [Verbose] > inl billiard_update n_method k dt =

00:00:33 #4516 [Verbose] >     update_mps (n_method dt) (billiard_forces k)

00:00:33 #4517 [Verbose] >

00:00:33 #4518 [Verbose] > inl billiard_initial () =

00:00:33 #4519 [Verbose] >     inl ball_mass = 0.160

00:00:33 #4520 [Verbose] >     inl (particle_state default_particle_state') = default_particle_state ()

00:00:33 #4521 [Verbose] >     multi_particle_state [[

00:00:33 #4522 [Verbose] >         particle_state {

00:00:33 #4523 [Verbose] >             default_particle_state' with

00:00:33 #4524 [Verbose] >                 mass = ball_mass

00:00:33 #4525 [Verbose] >                 pos_vec = zero_vec ()

00:00:33 #4526 [Verbose] >                 velocity = 0.2 *^ i_hat ()

00:00:33 #4527 [Verbose] >         }

00:00:33 #4528 [Verbose] >         particle_state {

00:00:33 #4529 [Verbose] >             default_particle_state' with

00:00:33 #4530 [Verbose] >                 mass = ball_mass

00:00:33 #4531 [Verbose] >                 pos_vec = i_hat () ^+^ 0.02 *^ j_hat ()

00:00:33 #4532 [Verbose] >                 velocity = zero_vec ()

00:00:33 #4533 [Verbose] >         }

00:00:33 #4534 [Verbose] >     ]]

00:00:33 #4535 [Verbose] >

00:00:33 #4536 [Verbose] > inl billiard_states ~n_method k dt =

00:00:33 #4537 [Verbose] >     states_mps (n_method dt) (billiard_forces k) (billiard_initial ())

00:00:33 #4538 [Verbose] >

00:00:33 #4539 [Verbose] > inl billiard_states_finite n_method k dt =

00:00:33 #4540 [Verbose] >     billiard_states n_method k dt

00:00:33 #4541 [Verbose] >     >> Some

00:00:33 #4542 [Verbose] >     |> seq.take_while_ (fun (multi_particle_state mpst) (_ : i32) =>

00:00:33 #4543 [Verbose] >         (mpst |> listm'.item 0i32).time <= 10

00:00:33 #4544 [Verbose] >     )

00:00:33 #4545 [Verbose] >

00:00:33 #4546 [Verbose] > inl momentum (particle_state st) =

00:00:33 #4547 [Verbose] >     inl m = st.mass

00:00:33 #4548 [Verbose] >     inl v = st.velocity

00:00:33 #4549 [Verbose] >     m *^ v

00:00:33 #4550 [Verbose] >

00:00:33 #4551 [Verbose] > inl system_p (multi_particle_state sts) =

00:00:33 #4552 [Verbose] >     sts |> listm.map momentum |> sum_vec

00:00:33 #4553 [Verbose] >

00:00:33 #4554 [Verbose] >

00:00:33 #4555 [Verbose] > inl time_ke_ec_x, time_ke_ec_y =

00:00:33 #4556 [Verbose] >     billiard_states_finite euler_cromer_mps 30 0.03

00:00:33 #4557 [Verbose] >     |> listm.map (fun (multi_particle_state mpst) =>

00:00:33 #4558 [Verbose] >         (mpst |> listm'.item 0i32).time, system_ke (multi_particle_state mpst)

00:00:33 #4559 [Verbose] >     )

00:00:33 #4560 [Verbose] >     |> listm'.unzip

00:00:33 #4561 [Verbose] >

00:00:33 #4562 [Verbose] > inl time_ke_rk4_x, time_ke_rk4_y =

00:00:33 #4563 [Verbose] >     billiard_states_finite runge_kutta_4 30 0.03

00:00:33 #4564 [Verbose] >     |> listm.map (fun (multi_particle_state mpst) =>

00:00:33 #4565 [Verbose] >         (mpst |> listm'.item 0i32).time, system_ke (multi_particle_state mpst)

00:00:33 #4566 [Verbose] >     )

00:00:33 #4567 [Verbose] >     |> listm'.unzip

00:00:33 #4568 [Verbose] >

00:00:33 #4569 [Verbose] > inl time_ke_ec_x : a i32 _ = time_ke_ec_x |> listm.toArray

00:00:33 #4570 [Verbose] > inl time_ke_ec_y : a i32 _ = time_ke_ec_y |> listm.toArray

00:00:33 #4571 [Verbose] >

00:00:33 #4572 [Verbose] > inl time_ke_rk4_x : a i32 _ = time_ke_rk4_x |> listm.toArray

00:00:33 #4573 [Verbose] > inl time_ke_rk4_y : a i32 _ = time_ke_rk4_y |> listm.toArray

00:00:33 #4574 [Verbose] >

00:00:33 #4575 [Verbose] > "system kinetic energy versus time",

00:00:33 #4576 [Verbose] > "time (s)",

00:00:33 #4577 [Verbose] > "system kinetic energy (j)",

00:00:33 #4578 [Verbose] > ;[[

00:00:33 #4579 [Verbose] >     "euler-cromer", time_ke_ec_x, time_ke_ec_y

00:00:33 #4580 [Verbose] >     "runge-kutta 4", time_ke_rk4_x, time_ke_rk4_y

00:00:33 #4581 [Verbose] > ]]

00:00:33 #4582 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0904-0608-0845-0a4a990113e5\main.spi

00:00:34 #4583 [Verbose] >

00:00:34 #4584 [Verbose] > ╭─[ 1.26s - return value ]─────────────────────────────────────────────────────╮

00:00:34 #4585 [Verbose] > │ <svg width="640" height="480" viewBox="0 0 640 480"                          │

00:00:34 #4586 [Verbose] > │ xmlns="http://www.w3.org/2000/svg">                                          │

00:00:34 #4587 [Verbose] > │ <rect x="0" y="0" width="640" height="480" opacity="1" fill="#141414"        │

00:00:34 #4588 [Verbose] > │ stroke="none"/>                                                              │

00:00:34 #4589 [Verbose] > │ <text x="320" y="10" dy="0.76em" text-anchor="middle"                        │

00:00:34 #4590 [Verbose] > │ font-family="sans-serif" font-size="9.67741935483871" opacity="1"            │

00:00:34 #4591 [Verbose] > │ fill="#FFFFFF">                                                              │

00:00:34 #4592 [Verbose] > │ system kinetic energy versus time                                            │

00:00:34 #4593 [Verbose] > │ </text>                                                                      │

00:00:34 #4594 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="59" y1="424" x2="59" │

00:00:34 #4595 [Verbose] > │ y2="75"/>                                                                    │

00:00:34 #4596 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="69" y1="424" x2="69" │

00:00:34 #4597 [Verbose] > │ y2="75"/>                                                                    │

00:00:34 #4598 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="79" y1="424" x2="79" │

00:00:34 #4599 [Verbose] > │ y2="75"/>                                                                    │

00:00:34 #4600 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="89" y1="424" x2="89" │

00:00:34 #4601 [Verbose] > │ y2="75"/>                                                                    │

00:00:34 #4602 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1...                        │

00:00:34 #4603 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:34 #4604 [Verbose] >

00:00:34 #4605 [Verbose] > ╭─[ 1.27s - stdout ]───────────────────────────────────────────────────────────╮

00:00:34 #4606 [Verbose] > │ type UH0 =                                                                   │

00:00:34 #4607 [Verbose] > │     | UH0_0 of float * float * float * float * float * float * float * float │

00:00:34 #4608 [Verbose] > │ * float * UH0                                                                │

00:00:34 #4609 [Verbose] > │     | UH0_1                                                                  │

00:00:34 #4610 [Verbose] > │ and UH1 =                                                                    │

00:00:34 #4611 [Verbose] > │     | UH1_0 of float * float * float * float * float * float * float * float │

00:00:34 #4612 [Verbose] > │ * float * UH1                                                                │

00:00:34 #4613 [Verbose] > │     | UH1_1                                                                  │

00:00:34 #4614 [Verbose] > │ and UH2 =                                                                    │

00:00:34 #4615 [Verbose] > │     | UH2_0 of float * float * float * float * float * float * float * float │

00:00:34 #4616 [Verbose] > │ * float * float * float * float * float * float * float * float * float *    │

00:00:34 #4617 [Verbose] > │ float * UH2                                                                  │

00:00:34 #4618 [Verbose] > │     | UH2_1                                                                  │

00:00:34 #4619 [Verbose] > │ and UH3 =                                                                    │

00:00:34 #4620 [Verbose] > │     | UH3_0 of int32 * float * float * float * float * float * float * float │

00:00:34 #4621 [Verbose] > │ * float * float * UH3                                                        │

00:00:34 #4622 [Verbose] > │     | UH3_1                                                                  │

00:00:34 #4623 [Verbose] > │ and [<Struct>] US0 =                                                         │

00:00:34 #4624 [Verbose] > │     | US0_0                                                                  │

00:00:34 #4625 [Verbose] > │     | US0_1 of f1_0 : float * f1_1 : float * f1_2 : float * f1_3 : float *   │

00:00:34 #4626 [Verbose] > │ f1_4 : float * f1_5 : float * f1_6 : float * f1_7 : float * f1_8 : float     │

00:00:34 #4627 [Verbose] > │ and UH4 =                                                                    │

00:00:34 #4628 [Verbose] > │     | UH4_0 of UH0 * UH4                                                     │

00:00:34 #4629 [Verbose] > │     | UH4_1                                                                  │

00:00:34 #4630 [Verbose] > │ and UH5 =                                                                    │

00:00:34 #4631 [Verbose] > │     | UH5_0 of float * float * UH5                                           │

00:00:34 #4632 [Verbose] > │     | UH5_1                                                                  │

00:00:34 #4633 [Verbose] > │ and UH6 =                                                                    │

00:00:34 #4634 [Verbose] > │     | UH6_0 of float * UH6                                                   │

00:00:34 #4635 [Verbose] > │     | UH6_1                                                                  │

00:00:34 #4636 [Verbose] > │ let rec method2 (v0 : UH0, v1 : UH0) : UH0 =                                 │

00:00:34 #4637 [Verbose] > │     match v0 with                                                            │

00:00:34 #4638 [Verbose] > │     | UH0_0(v2, v3, v4, v5, v6, v7, v8, v9, v10, v11) -> (* Cons *)          │

00:00:34 #4639 [Verbose] > │         let v12 : UH0 = UH0_0(v2, v3, v4, v5, v6, v7, v8, v9, v10, v1)       │

00:00:34 #4640 [Verbose] > │         method2(v11, v12)                                                    │

00:00:34 #4641 [Verbose] > │     | UH0_1 -> (* Nil *)                                                     │

00:00:34 #4642 [Verbose] > │         v1                                                                   │

00:00:34 #4643 [Verbose] > │ and method1 (v0 : float, v1 : UH0, v2 : UH1, v3 : UH0) : UH0 =               │

00:00:34 #4644 [Verbose] > │     match v2 with                                                            │

00:00:34 #4645 [Verbose] > │     | UH1_0(v4, v5, v6, v7, v8, v9, v10, v11, v12, v13) -> (* Cons *)        │

00:00:34 #4646 [Verbose] > │         match v3 with                                                        │

00:00:34 #4647 [Verbose] > │         | UH0_0(v14, v15, v16, v17, v18, v19, v20, v21, v22, v23) -> (* Cons │

00:00:34 #4648 [Verbose] > │ *)                                                                           │

00:00:34 #4649 [Verbose] > │             let v24 : float = v9 * v0                                        │

00:00:34 #4650 [Verbose] > │             let v25 : float = v19 + v24                                      │

00:00:34 #4651 [Verbose] > │             let v26 : float = v0 * v6                                        │

00:00:34 #4652 [Verbose] > │             let v27 : float = v0 * v7                                        │

00:00:34 #4653 [Verbose] > │             let v28 : float = v0 * v8                                        │

00:00:34 #4654 [Verbose] > │             let v29 : float = v16 + v26                                      │

00:00:34 #4655 [Verbose] > │             let v30 : float = v17 + v27                                      │

00:00:34 #4656 [Verbose] > │             let v31 : float = v18 + v28                                      │

00:00:34 #4657 [Verbose] > │             let v32 : float = v0 * v10                                       │

00:00:34 #4658 [Verbose] > │             let v33 : float = v0 * v11                                       │

00:00:34 #4659 [Verbose] > │             let v34 : float = v0 * v12                                       │

00:00:34 #4660 [Verbose] > │             let v35 : float = v20 + v32                                      │

00:00:34 #4661 [Verbose] > │             let v36 : float = v21 + v33                                      │

00:00:34 #4662 [Verbose] > │             let v37 : float = v22 + v34                                      │

00:00:34 #4663 [Verbose] > │             let v38 : UH0 = UH0_0(v14, v15, v29, v30, v31, v25, v35, v36,    │

00:00:34 #4664 [Verbose] > │ v37, v1)                                                                     │

00:00:34 #4665 [Verbose] > │             method1(v0, v38, v13, v23)                                       │

00:00:34 #4666 [Verbose] > │         | _ ->                                                               │

00:00:34 #4667 [Verbose] > │             let v40 : UH0 = UH0_1                                            │

00:00:34 #4668 [Verbose] > │             method2(v1, v40)                                                 │

00:00:34 #4669 [Verbose] > │     | _ ->                                                                   │

00:00:34 #4670 [Verbose] > │         let v43 : UH0 = UH0_1                                                │

00:00:34 #4671 [Verbose] > │         method2(v1, v43)                                                     │

00:00:34 #4672 [Verbose] > │ and method4 (v0 : UH2, v1 : UH2) : UH2 =                                     │

00:00:34 #4673 [Verbose] > │     match v0 with                                                            │

00:00:34 #4674 [Verbose] > │     | UH2_0(v2, v3, v4, v5, v6, v7, v8, v9, v10, v11, v12, v13, v14, v15,    │

00:00:34 #4675 [Verbose] > │ v16, v17, v18, v19, v20) -> (* Cons *)                                       │

00:00:34 #4676 [Verbose] > │         let v21 : UH2 = UH2_0(v2, v3, v4, v5, v6, v7, v8, v9, v10, v11, v12, │

00:00:34 #4677 [Verbose] > │ v13, v14, v15, v16, v17, v18, v19, v1)                                       │

00:00:34 #4678 [Verbose] > │         method4(v20, v21)                                                    │

00:00:34 #4679 [Verbose] > │     | UH2_1 -> (* Nil *)                                                     │

00:00:34 #4680 [Verbose] > │         v1                                                                   │

00:00:34 #4681 [Verbose] > │ and method3 (v0 : UH2, v1 : UH0, v2 : UH0) : UH2 =                           │

00:00:34 #4682 [Verbose] > │     match v1 with                                                            │

00:00:34 #4683 [Verbose] > │     | UH0_0(v3, v4, v5, v6, v7, v8, v9, v10, v11, v12) -> (* Cons *)         │

00:00:34 #4684 [Verbose] > │         match v2 with                                                        │

00:00:34 #4685 [Verbose] > │         | UH0_0(v13, v14, v15, v16, v17, v18, v19, v20, v21, v22) -> (* Cons │

00:00:34 #4686 [Verbose] > │ *)                                                                           │

00:00:34 #4687 [Verbose] > │             let v23 : UH2 = UH2_0(v3, v4, v5, v6, v7, v8, v9, v10, v11, v13, │

00:00:34 #4688 [Verbose] > │ v14, v15, v16, v17, v18, v19, v20, v21, v0)                                  │

00:00:34 #4689 [Verbose] > │             method3(v23, v12, v22)                                           │

00:00:34 #4690 [Verbose] > │         | _ ->                                                               │

00:00:34 #4691 [Verbose] > │             let v25 : UH2 = UH2_1                                            │

00:00:34 #4692 [Verbose] > │             method4(v0, v25)                                                 │

00:00:34 #4693 [Verbose] > │     | _ ->                                                                   │

00:00:34 #4694 [Verbose] > │         let v28 : UH2 = UH2_1                                                │

00:00:34 #4695 [Verbose] > │         method4(v0, v28)                                                     │

00:00:34 #4696 [Verbose] > │ and method5 (v0 : float, v1 : UH2, v2 : UH0) : UH0 =                         │

00:00:34 #4697 [Verbose] > │     match v1 with                                                            │

00:00:34 #4698 [Verbose] > │     | UH2_0(v3, v4, v5, v6, v7, v8, v9, v10, v11, v12, v13, v14, v15, v16,   │

00:00:34 #4699 [Verbose] > │ v17, v18, v19, v20, v21) -> (* Cons *)                                       │

00:00:34 #4700 [Verbose] > │         let v22 : UH0 = method5(v0, v21, v2)                                 │

00:00:34 #4701 [Verbose] > │         let v23 : float = v0 * v18                                           │

00:00:34 #4702 [Verbose] > │         let v24 : float = v0 * v19                                           │

00:00:34 #4703 [Verbose] > │         let v25 : float = v0 * v20                                           │

00:00:34 #4704 [Verbose] > │         let v26 : float = v5 + v23                                           │

00:00:34 #4705 [Verbose] > │         let v27 : float = v6 + v24                                           │

00:00:34 #4706 [Verbose] > │         let v28 : float = v7 + v25                                           │

00:00:34 #4707 [Verbose] > │         UH0_0(v12, v13, v26, v27, v28, v17, v18, v19, v20, v22)              │

00:00:34 #4708 [Verbose] > │     | UH2_1 -> (* Nil *)                                                     │

00:00:34 #4709 [Verbose] > │         v2                                                                   │

00:00:34 #4710 [Verbose] > │ and closure2 (v0 : float, v1 : (UH0 -> UH1)) (v2 : UH0) : UH0 =              │

00:00:34 #4711 [Verbose] > │     let v3 : UH1 = v1 v2                                                     │

00:00:34 #4712 [Verbose] > │     let v4 : UH0 = UH0_1                                                     │

00:00:34 #4713 [Verbose] > │     let v5 : UH0 = method1(v0, v4, v3, v2)                                   │

00:00:34 #4714 [Verbose] > │     let v6 : UH2 = UH2_1                                                     │

00:00:34 #4715 [Verbose] > │     let v7 : UH2 = method3(v6, v2, v5)                                       │

00:00:34 #4716 [Verbose] > │     let v8 : UH0 = UH0_1                                                     │

00:00:34 #4717 [Verbose] > │     let v9 : UH0 = method5(v0, v7, v8)                                       │

00:00:34 #4718 [Verbose] > │     v9                                                                       │

00:00:34 #4719 [Verbose] > │ and closure1 (v0 : float) (v1 : (UH0 -> UH1)) : (UH0 -> UH0) =               │

00:00:34 #4720 [Verbose] > │     closure2(v0, v1)                                                         │

00:00:34 #4721 [Verbose] > │ and closure0 () (v0 : float) : ((UH0 -> UH1) -> (UH0 -> UH0)) =              │

00:00:34 #4722 [Verbose] > │     closure1(v0)                                                             │

00:00:34 #4723 [Verbose] > │ and method6 (v0 : UH0, v1 : UH3, v2 : int32) : struct (UH3 * int32) =        │

00:00:34 #4724 [Verbose] > │     match v0 with                                                            │

00:00:34 #4725 [Verbose] > │     | UH0_0(v3, v4, v5, v6, v7, v8, v9, v10, v11, v12) -> (* Cons *)         │

00:00:34 #4726 [Verbose] > │         let v13 : int32 = v2 + 1                                             │

00:00:34 #4727 [Verbose] > │         let v14 : UH3 = UH3_0(v2, v3, v4, v5, v6, v7, v8, v9, v10, v11, v1)  │

00:00:34 #4728 [Verbose] > │         method6(v12, v14, v13)                                               │

00:00:34 #4729 [Verbose] > │     | UH0_1 -> (* Nil *)                                                     │

00:00:34 #4730 [Verbose] > │         struct (v1, v2)                                                      │

00:00:34 #4731 [Verbose] > │ and method7 (v0 : UH3, v1 : UH3) : UH3 =                                     │

00:00:34 #4732 [Verbose] > │     match v0 with                                                            │

00:00:34 #4733 [Verbose] > │     | UH3_0(v2, v3, v4, v5, v6, v7, v8, v9, v10, v11, v12) -> (* Cons *)     │

00:00:34 #4734 [Verbose] > │         let v13 : UH3 = UH3_0(v2, v3, v4, v5, v6, v7, v8, v9, v10, v11, v1)  │

00:00:34 #4735 [Verbose] > │         method7(v12, v13)                                                    │

00:00:34 #4736 [Verbose] > │     | UH3_1 -> (* Nil *)                                                     │

00:00:34 #4737 [Verbose] > │         v1                                                                   │

00:00:34 #4738 [Verbose] > │ and closure4 (v0 : float, v1 : float, v2 : float, v3 : float, v4 : float, v5 │

00:00:34 #4739 [Verbose] > │ : float, v6 : float, v7 : float, v8 : float) struct (v9 : float, v10 :       │

00:00:34 #4740 [Verbose] > │ float, v11 : float, v12 : float, v13 : float, v14 : float, v15 : float, v16  │

00:00:34 #4741 [Verbose] > │ : float, v17 : float) : struct (float * float * float) =                     │

00:00:34 #4742 [Verbose] > │     let v18 : float = -1.0 * v2                                              │

00:00:34 #4743 [Verbose] > │     let v19 : float = -1.0 * v3                                              │

00:00:34 #4744 [Verbose] > │     let v20 : float = -1.0 * v4                                              │

00:00:34 #4745 [Verbose] > │     let v21 : float = v11 + v18                                              │

00:00:34 #4746 [Verbose] > │     let v22 : float = v12 + v19                                              │

00:00:34 #4747 [Verbose] > │     let v23 : float = v13 + v20                                              │

00:00:34 #4748 [Verbose] > │     let v24 : float = v21 * v21                                              │

00:00:34 #4749 [Verbose] > │     let v25 : float = v22 * v22                                              │

00:00:34 #4750 [Verbose] > │     let v26 : float = v24 + v25                                              │

00:00:34 #4751 [Verbose] > │     let v27 : float = v23 * v23                                              │

00:00:34 #4752 [Verbose] > │     let v28 : float = v26 + v27                                              │

00:00:34 #4753 [Verbose] > │     let v29 : float = sqrt v28                                               │

00:00:34 #4754 [Verbose] > │     let v30 : bool = v29 >= 0.06                                             │

00:00:34 #4755 [Verbose] > │     let v33 : float =                                                        │

00:00:34 #4756 [Verbose] > │         if v30 then                                                          │

00:00:34 #4757 [Verbose] > │             0.0                                                              │

00:00:34 #4758 [Verbose] > │         else                                                                 │

00:00:34 #4759 [Verbose] > │             let v31 : float = v29 - 0.06                                     │

00:00:34 #4760 [Verbose] > │             let v32 : float = -30.0 * v31                                    │

00:00:34 #4761 [Verbose] > │             v32                                                              │

00:00:34 #4762 [Verbose] > │     let v34 : float = v33 * v21                                              │

00:00:34 #4763 [Verbose] > │     let v35 : float = v33 * v22                                              │

00:00:34 #4764 [Verbose] > │     let v36 : float = v33 * v23                                              │

00:00:34 #4765 [Verbose] > │     let v37 : float = v34 / v29                                              │

00:00:34 #4766 [Verbose] > │     let v38 : float = v35 / v29                                              │

00:00:34 #4767 [Verbose] > │     let v39 : float = v36 / v29                                              │

00:00:34 #4768 [Verbose] > │     struct (v37, v38, v39)                                                   │

00:00:34 #4769 [Verbose] > │ and closure5 () struct (v0 : float, v1 : float, v2 : float, v3 : float, v4 : │

00:00:34 #4770 [Verbose] > │ float, v5 : float, v6 : float, v7 : float, v8 : float) : struct (float *     │

00:00:34 #4771 [Verbose] > │ float * float) =                                                             │

00:00:34 #4772 [Verbose] > │     struct (0.0, 0.0, 0.0)                                                   │

00:00:34 #4773 [Verbose] > │ and method8 (v0 : UH0, v1 : UH3, v2 : UH1) : UH1 =                           │

00:00:34 #4774 [Verbose] > │     match v1 with                                                            │

00:00:34 #4775 [Verbose] > │     | UH3_0(v3, v4, v5, v6, v7, v8, v9, v10, v11, v12, v13) -> (* Cons *)    │

00:00:34 #4776 [Verbose] > │         let v14 : UH1 = method8(v0, v13, v2)                                 │

00:00:34 #4777 [Verbose] > │         let v15 : bool = v3 = 0                                              │

00:00:34 #4778 [Verbose] > │         let v134 : (struct (float * float * float * float * float * float *  │

00:00:34 #4779 [Verbose] > │ float * float * float) -> struct (float * float * float)) =                  │

00:00:34 #4780 [Verbose] > │             if v15 then                                                      │

00:00:34 #4781 [Verbose] > │                 let v42 : US0 =                                              │

00:00:34 #4782 [Verbose] > │                     match v0 with                                            │

00:00:34 #4783 [Verbose] > │                     | UH0_0(v16, v17, v18, v19, v20, v21, v22, v23, v24,     │

00:00:34 #4784 [Verbose] > │ v25) -> (* Cons *)                                                           │

00:00:34 #4785 [Verbose] > │                         match v25 with                                       │

00:00:34 #4786 [Verbose] > │                         | UH0_0(v26, v27, v28, v29, v30, v31, v32, v33, v34, │

00:00:34 #4787 [Verbose] > │ v35) -> (* Cons *)                                                           │

00:00:34 #4788 [Verbose] > │                             US0_1(v26, v27, v28, v29, v30, v31, v32, v33,    │

00:00:34 #4789 [Verbose] > │ v34)                                                                         │

00:00:34 #4790 [Verbose] > │                         | UH0_1 -> (* Nil *)                                 │

00:00:34 #4791 [Verbose] > │                             US0_0                                            │

00:00:34 #4792 [Verbose] > │                     | UH0_1 -> (* Nil *)                                     │

00:00:34 #4793 [Verbose] > │                         US0_0                                                │

00:00:34 #4794 [Verbose] > │                 let struct (v70 : float, v71 : float, v72 : float, v73 :     │

00:00:34 #4795 [Verbose] > │ float, v74 : float, v75 : float, v76 : float, v77 : float, v78 : float) =    │

00:00:34 #4796 [Verbose] > │                     match v42 with                                           │

00:00:34 #4797 [Verbose] > │                     | US0_0 -> (* None *)                                    │

00:00:34 #4798 [Verbose] > │                         failwith<struct (float * float * float * float *     │

00:00:34 #4799 [Verbose] > │ float * float * float * float * float)> "Option does not have a value."      │

00:00:34 #4800 [Verbose] > │                     | US0_1(v43, v44, v45, v46, v47, v48, v49, v50, v51) ->  │

00:00:34 #4801 [Verbose] > │ (* Some *)                                                                   │

00:00:34 #4802 [Verbose] > │                         struct (v43, v44, v45, v46, v47, v48, v49, v50, v51) │

00:00:34 #4803 [Verbose] > │                 closure4(v70, v71, v72, v73, v74, v75, v76, v77, v78)        │

00:00:34 #4804 [Verbose] > │             else                                                             │

00:00:34 #4805 [Verbose] > │                 let v80 : bool = v3 = 1                                      │

00:00:34 #4806 [Verbose] > │                 if v80 then                                                  │

00:00:34 #4807 [Verbose] > │                     let v94 : US0 =                                          │

00:00:34 #4808 [Verbose] > │                         match v0 with                                        │

00:00:34 #4809 [Verbose] > │                         | UH0_0(v81, v82, v83, v84, v85, v86, v87, v88, v89, │

00:00:34 #4810 [Verbose] > │ v90) -> (* Cons *)                                                           │

00:00:34 #4811 [Verbose] > │                             US0_1(v81, v82, v83, v84, v85, v86, v87, v88,    │

00:00:34 #4812 [Verbose] > │ v89)                                                                         │

00:00:34 #4813 [Verbose] > │                         | UH0_1 -> (* Nil *)                                 │

00:00:34 #4814 [Verbose] > │                             US0_0                                            │

00:00:34 #4815 [Verbose] > │                     let struct (v122 : float, v123 : float, v124 : float,    │

00:00:34 #4816 [Verbose] > │ v125 : float, v126 : float, v127 : float, v128 : float, v129 : float, v130 : │

00:00:34 #4817 [Verbose] > │ float) =                                                                     │

00:00:34 #4818 [Verbose] > │                         match v94 with                                       │

00:00:34 #4819 [Verbose] > │                         | US0_0 -> (* None *)                                │

00:00:34 #4820 [Verbose] > │                             failwith<struct (float * float * float * float * │

00:00:34 #4821 [Verbose] > │ float * float * float * float * float)> "Option does not have a value."      │

00:00:34 #4822 [Verbose] > │                         | US0_1(v95, v96, v97, v98, v99, v100, v101, v102,   │

00:00:34 #4823 [Verbose] > │ v103) -> (* Some *)                                                          │

00:00:34 #4824 [Verbose] > │                             struct (v95, v96, v97, v98, v99, v100, v101,     │

00:00:34 #4825 [Verbose] > │ v102, v103)                                                                  │

00:00:34 #4826 [Verbose] > │                     closure4(v122, v123, v124, v125, v126, v127, v128, v129, │

00:00:34 #4827 [Verbose] > │ v130)                                                                        │

00:00:34 #4828 [Verbose] > │                 else                                                         │

00:00:34 #4829 [Verbose] > │                     closure5()                                               │

00:00:34 #4830 [Verbose] > │         let struct (v135 : float, v136 : float, v137 : float) = v134 struct  │

00:00:34 #4831 [Verbose] > │ (v4, v5, v6, v7, v8, v9, v10, v11, v12)                                      │

00:00:34 #4832 [Verbose] > │         let v138 : float = v135 / v5                                         │

00:00:34 #4833 [Verbose] > │         let v139 : float = v136 / v5                                         │

00:00:34 #4834 [Verbose] > │         let v140 : float = v137 / v5                                         │

00:00:34 #4835 [Verbose] > │         UH1_0(0.0, 0.0, v10, v11, v12, 1.0, v138, v139, v140, v14)           │

00:00:34 #4836 [Verbose] > │     | UH3_1 -> (* Nil *)                                                     │

00:00:34 #4837 [Verbose] > │         v2                                                                   │

00:00:34 #4838 [Verbose] > │ and closure3 () (v0 : UH0) : UH1 =                                           │

00:00:34 #4839 [Verbose] > │     let v1 : UH3 = UH3_1                                                     │

00:00:34 #4840 [Verbose] > │     let v2 : int32 = 0                                                       │

00:00:34 #4841 [Verbose] > │     let struct (v3 : UH3, v4 : int32) = method6(v0, v1, v2)                  │

00:00:34 #4842 [Verbose] > │     let v5 : UH3 = UH3_1                                                     │

00:00:34 #4843 [Verbose] > │     let v6 : UH3 = method7(v3, v5)                                           │

00:00:34 #4844 [Verbose] > │     let v7 : UH1 = UH1_1                                                     │

00:00:34 #4845 [Verbose] > │     let v8 : UH1 = method8(v0, v6, v7)                                       │

00:00:34 #4846 [Verbose] > │     v8                                                                       │

00:00:34 #4847 [Verbose] > │ and method10 (v0 : (UH0 -> UH0), v1 : UH0, v2 : int32) : UH0 =               │

00:00:34 #4848 [Verbose] > │     let v3 : bool = v2 <= 0                                                  │

00:00:34 #4849 [Verbose] > │     if v3 then                                                               │

00:00:34 #4850 [Verbose] > │         v1                                                                   │

00:00:34 #4851 [Verbose] > │     else                                                                     │

00:00:34 #4852 [Verbose] > │         let v4 : UH0 = v0 v1                                                 │

00:00:34 #4853 [Verbose] > │         let v5 : int32 = v2 - 1                                              │

00:00:34 #4854 [Verbose] > │         method10(v0, v4, v5)                                                 │

00:00:34 #4855 [Verbose] > │ and method11 (v0 : UH4, v1 : UH4) : UH4 =                                    │

00:00:34 #4856 [Verbose] > │     match v0 with                                                            │

00:00:34 #4857 [Verbose] > │     | UH4_0(v2, v3) -> (* Cons *)                                            │

00:00:34 #4858 [Verbose] > │         let v4 : UH4 = UH4_0(v2, v1)                                         │

00:00:34 #4859 [Verbose] > │         method11(v3, v4)                                                     │

00:00:34 #4860 [Verbose] > │     | UH4_1 -> (* Nil *)                                                     │

00:00:34 #4861 [Verbose] > │         v1                                                                   │

00:00:34 #4862 [Verbose] > │ and method9 (v0 : (UH0 -> UH0), v1 : UH4, v2 : int32) : UH4 =                │

00:00:34 #4863 [Verbose] > │     let v3 : float = 0.0                                                     │

00:00:34 #4864 [Verbose] > │     let v4 : float = 0.16                                                    │

00:00:34 #4865 [Verbose] > │     let v5 : float = 0.0                                                     │

00:00:34 #4866 [Verbose] > │     let v6 : float = 0.0                                                     │

00:00:34 #4867 [Verbose] > │     let v7 : float = 0.0                                                     │

00:00:34 #4868 [Verbose] > │     let v8 : float = 0.0                                                     │

00:00:34 #4869 [Verbose] > │     let v9 : float = 0.2                                                     │

00:00:34 #4870 [Verbose] > │     let v10 : float = 0.0                                                    │

00:00:34 #4871 [Verbose] > │     let v11 : float = 0.0                                                    │

00:00:34 #4872 [Verbose] > │     let v12 : float = 1.0                                                    │

00:00:34 #4873 [Verbose] > │     let v13 : float = 0.02                                                   │

00:00:34 #4874 [Verbose] > │     let v14 : float = 0.0                                                    │

00:00:34 #4875 [Verbose] > │     let v15 : float = 0.0                                                    │

00:00:34 #4876 [Verbose] > │     let v16 : float = 0.0                                                    │

00:00:34 #4877 [Verbose] > │     let v17 : float = 0.0                                                    │

00:00:34 #4878 [Verbose] > │     let v18 : UH0 = UH0_1                                                    │

00:00:34 #4879 [Verbose] > │     let v19 : UH0 = UH0_0(v3, v4, v12, v13, v14, v8, v15, v16, v17, v18)     │

00:00:34 #4880 [Verbose] > │     let v20 : UH0 = UH0_0(v3, v4, v5, v6, v7, v8, v9, v10, v11, v19)         │

00:00:34 #4881 [Verbose] > │     let v21 : UH0 = method10(v0, v20, v2)                                    │

00:00:34 #4882 [Verbose] > │     let v35 : US0 =                                                          │

00:00:34 #4883 [Verbose] > │         match v21 with                                                       │

00:00:34 #4884 [Verbose] > │         | UH0_0(v22, v23, v24, v25, v26, v27, v28, v29, v30, v31) -> (* Cons │

00:00:34 #4885 [Verbose] > │ *)                                                                           │

00:00:34 #4886 [Verbose] > │             US0_1(v22, v23, v24, v25, v26, v27, v28, v29, v30)               │

00:00:34 #4887 [Verbose] > │         | UH0_1 -> (* Nil *)                                                 │

00:00:34 #4888 [Verbose] > │             US0_0                                                            │

00:00:34 #4889 [Verbose] > │     let struct (v63 : float, v64 : float, v65 : float, v66 : float, v67 :    │

00:00:34 #4890 [Verbose] > │ float, v68 : float, v69 : float, v70 : float, v71 : float) =                 │

00:00:34 #4891 [Verbose] > │         match v35 with                                                       │

00:00:34 #4892 [Verbose] > │         | US0_0 -> (* None *)                                                │

00:00:34 #4893 [Verbose] > │             failwith<struct (float * float * float * float * float * float * │

00:00:34 #4894 [Verbose] > │ float * float * float)> "Option does not have a value."                      │

00:00:34 #4895 [Verbose] > │         | US0_1(v36, v37, v38, v39, v40, v41, v42, v43, v44) -> (* Some *)   │

00:00:34 #4896 [Verbose] > │             struct (v36, v37, v38, v39, v40, v41, v42, v43, v44)             │

00:00:34 #4897 [Verbose] > │     let v72 : bool = v68 <= 10.0                                             │

00:00:34 #4898 [Verbose] > │     if v72 then                                                              │

00:00:34 #4899 [Verbose] > │         let v73 : UH4 = UH4_0(v21, v1)                                       │

00:00:34 #4900 [Verbose] > │         let v74 : int32 = v2 + 1                                             │

00:00:34 #4901 [Verbose] > │         method9(v0, v73, v74)                                                │

00:00:34 #4902 [Verbose] > │     else                                                                     │

00:00:34 #4903 [Verbose] > │         let v76 : UH4 = UH4_1                                                │

00:00:34 #4904 [Verbose] > │         method11(v1, v76)                                                    │

00:00:34 #4905 [Verbose] > │ and method13 (v0 : UH0, v1 : UH6) : UH6 =                                    │

00:00:34 #4906 [Verbose] > │     match v0 with                                                            │

00:00:34 #4907 [Verbose] > │     | UH0_0(v2, v3, v4, v5, v6, v7, v8, v9, v10, v11) -> (* Cons *)          │

00:00:34 #4908 [Verbose] > │         let v12 : UH6 = method13(v11, v1)                                    │

00:00:34 #4909 [Verbose] > │         let v13 : float = v8 * v8                                            │

00:00:34 #4910 [Verbose] > │         let v14 : float = v9 * v9                                            │

00:00:34 #4911 [Verbose] > │         let v15 : float = v13 + v14                                          │

00:00:34 #4912 [Verbose] > │         let v16 : float = v10 * v10                                          │

00:00:34 #4913 [Verbose] > │         let v17 : float = v15 + v16                                          │

00:00:34 #4914 [Verbose] > │         let v18 : float = sqrt v17                                           │

00:00:34 #4915 [Verbose] > │         let v19 : float = 0.5 * v3                                           │

00:00:34 #4916 [Verbose] > │         let v20 : float = v18 ** 2.0                                         │

00:00:34 #4917 [Verbose] > │         let v21 : float = v19 * v20                                          │

00:00:34 #4918 [Verbose] > │         UH6_0(v21, v12)                                                      │

00:00:34 #4919 [Verbose] > │     | UH0_1 -> (* Nil *)                                                     │

00:00:34 #4920 [Verbose] > │         v1                                                                   │

00:00:34 #4921 [Verbose] > │ and method14 (v0 : UH6, v1 : float) : float =                                │

00:00:34 #4922 [Verbose] > │     match v0 with                                                            │

00:00:34 #4923 [Verbose] > │     | UH6_0(v2, v3) -> (* Cons *)                                            │

00:00:34 #4924 [Verbose] > │         let v4 : float = v1 + v2                                             │

00:00:34 #4925 [Verbose] > │         method14(v3, v4)                                                     │

00:00:34 #4926 [Verbose] > │     | UH6_1 -> (* Nil *)                                                     │

00:00:34 #4927 [Verbose] > │         v1                                                                   │

00:00:34 #4928 [Verbose] > │ and method12 (v0 : UH4, v1 : UH5) : UH5 =                                    │

00:00:34 #4929 [Verbose] > │     match v0 with                                                            │

00:00:34 #4930 [Verbose] > │     | UH4_0(v2, v3) -> (* Cons *)                                            │

00:00:34 #4931 [Verbose] > │         let v4 : UH5 = method12(v3, v1)                                      │

00:00:34 #4932 [Verbose] > │         let v18 : US0 =                                                      │

00:00:34 #4933 [Verbose] > │             match v2 with                                                    │

00:00:34 #4934 [Verbose] > │             | UH0_0(v5, v6, v7, v8, v9, v10, v11, v12, v13, v14) -> (* Cons  │

00:00:34 #4935 [Verbose] > │ *)                                                                           │

00:00:34 #4936 [Verbose] > │                 US0_1(v5, v6, v7, v8, v9, v10, v11, v12, v13)                │

00:00:34 #4937 [Verbose] > │             | UH0_1 -> (* Nil *)                                             │

00:00:34 #4938 [Verbose] > │                 US0_0                                                        │

00:00:34 #4939 [Verbose] > │         let struct (v46 : float, v47 : float, v48 : float, v49 : float, v50  │

00:00:34 #4940 [Verbose] > │ : float, v51 : float, v52 : float, v53 : float, v54 : float) =               │

00:00:34 #4941 [Verbose] > │             match v18 with                                                   │

00:00:34 #4942 [Verbose] > │             | US0_0 -> (* None *)                                            │

00:00:34 #4943 [Verbose] > │                 failwith<struct (float * float * float * float * float *     │

00:00:34 #4944 [Verbose] > │ float * float * float * float)> "Option does not have a value."              │

00:00:34 #4945 [Verbose] > │             | US0_1(v19, v20, v21, v22, v23, v24, v25, v26, v27) -> (* Some  │

00:00:34 #4946 [Verbose] > │ *)                                                                           │

00:00:34 #4947 [Verbose] > │                 struct (v19, v20, v21, v22, v23, v24, v25, v26, v27)         │

00:00:34 #4948 [Verbose] > │         let v55 : UH6 = UH6_1                                                │

00:00:34 #4949 [Verbose] > │         let v56 : UH6 = method13(v2, v55)                                    │

00:00:34 #4950 [Verbose] > │         let v57 : float = 0.0                                                │

00:00:34 #4951 [Verbose] > │         let v58 : float = method14(v56, v57)                                 │

00:00:34 #4952 [Verbose] > │         UH5_0(v51, v58, v4)                                                  │

00:00:34 #4953 [Verbose] > │     | UH4_1 -> (* Nil *)                                                     │

00:00:34 #4954 [Verbose] > │         v1                                                                   │

00:00:34 #4955 [Verbose] > │ and method15 (v0 : UH5, v1 : UH6, v2 : UH6) : struct (UH6 * UH6) =           │

00:00:34 #4956 [Verbose] > │     match v0 with                                                            │

00:00:34 #4957 [Verbose] > │     | UH5_0(v3, v4, v5) -> (* Cons *)                                        │

00:00:34 #4958 [Verbose] > │         let v6 : UH6 = UH6_0(v3, v1)                                         │

00:00:34 #4959 [Verbose] > │         let v7 : UH6 = UH6_0(v4, v2)                                         │

00:00:34 #4960 [Verbose] > │         method15(v5, v6, v7)                                                 │

00:00:34 #4961 [Verbose] > │     | UH5_1 -> (* Nil *)                                                     │

00:00:34 #4962 [Verbose] > │         struct (v1, v2)                                                      │

00:00:34 #4963 [Verbose] > │ and method16 (v0 : UH6, v1 : UH6) : UH6 =                                    │

00:00:34 #4964 [Verbose] > │     match v0 with                                                            │

00:00:34 #4965 [Verbose] > │     | UH6_0(v2, v3) -> (* Cons *)                                            │

00:00:34 #4966 [Verbose] > │         let v4 : UH6 = UH6_0(v2, v1)                                         │

00:00:34 #4967 [Verbose] > │         method16(v3, v4)                                                     │

00:00:34 #4968 [Verbose] > │     | UH6_1 -> (* Nil *)                                                     │

00:00:34 #4969 [Verbose] > │         v1                                                                   │

00:00:34 #4970 [Verbose] > │ and method18 (v0 : UH1, v1 : UH1) : UH1 =                                    │

00:00:34 #4971 [Verbose] > │     match v0 with                                                            │

00:00:34 #4972 [Verbose] > │     | UH1_0(v2, v3, v4, v5, v6, v7, v8, v9, v10, v11) -> (* Cons *)          │

00:00:34 #4973 [Verbose] > │         let v12 : UH1 = UH1_0(v2, v3, v4, v5, v6, v7, v8, v9, v10, v1)       │

00:00:34 #4974 [Verbose] > │         method18(v11, v12)                                                   │

00:00:34 #4975 [Verbose] > │     | UH1_1 -> (* Nil *)                                                     │

00:00:34 #4976 [Verbose] > │         v1                                                                   │

00:00:34 #4977 [Verbose] > │ and method17 (v0 : UH1, v1 : UH1, v2 : UH1) : UH1 =                          │

00:00:34 #4978 [Verbose] > │     match v1 with                                                            │

00:00:34 #4979 [Verbose] > │     | UH1_0(v3, v4, v5, v6, v7, v8, v9, v10, v11, v12) -> (* Cons *)         │

00:00:34 #4980 [Verbose] > │         match v2 with                                                        │

00:00:34 #4981 [Verbose] > │         | UH1_0(v13, v14, v15, v16, v17, v18, v19, v20, v21, v22) -> (* Cons │

00:00:34 #4982 [Verbose] > │ *)                                                                           │

00:00:34 #4983 [Verbose] > │             let v23 : float = v3 + v13                                       │

00:00:34 #4984 [Verbose] > │             let v24 : float = v4 + v14                                       │

00:00:34 #4985 [Verbose] > │             let v25 : float = v8 + v18                                       │

00:00:34 #4986 [Verbose] > │             let v26 : float = v5 + v15                                       │

00:00:34 #4987 [Verbose] > │             let v27 : float = v6 + v16                                       │

00:00:34 #4988 [Verbose] > │             let v28 : float = v7 + v17                                       │

00:00:34 #4989 [Verbose] > │             let v29 : float = v9 + v19                                       │

00:00:34 #4990 [Verbose] > │             let v30 : float = v10 + v20                                      │

00:00:34 #4991 [Verbose] > │             let v31 : float = v11 + v21                                      │

00:00:34 #4992 [Verbose] > │             let v32 : UH1 = UH1_0(v23, v24, v26, v27, v28, v25, v29, v30,    │

00:00:34 #4993 [Verbose] > │ v31, v0)                                                                     │

00:00:34 #4994 [Verbose] > │             method17(v32, v12, v22)                                          │

00:00:34 #4995 [Verbose] > │         | _ ->                                                               │

00:00:34 #4996 [Verbose] > │             let v34 : UH1 = UH1_1                                            │

00:00:34 #4997 [Verbose] > │             method18(v0, v34)                                                │

00:00:34 #4998 [Verbose] > │     | _ ->                                                                   │

00:00:34 #4999 [Verbose] > │         let v37 : UH1 = UH1_1                                                │

00:00:34 #5000 [Verbose] > │         method18(v0, v37)                                                    │

00:00:34 #5001 [Verbose] > │ and closure8 (v0 : float, v1 : (UH0 -> UH1)) (v2 : UH0) : UH0 =              │

00:00:34 #5002 [Verbose] > │     let v3 : UH1 = v1 v2                                                     │

00:00:34 #5003 [Verbose] > │     let v4 : float = v0 / 2.0                                                │

00:00:34 #5004 [Verbose] > │     let v5 : UH0 = UH0_1                                                     │

00:00:34 #5005 [Verbose] > │     let v6 : UH0 = method1(v4, v5, v3, v2)                                   │

00:00:34 #5006 [Verbose] > │     let v7 : UH1 = v1 v6                                                     │

00:00:34 #5007 [Verbose] > │     let v8 : UH0 = UH0_1                                                     │

00:00:34 #5008 [Verbose] > │     let v9 : UH0 = method1(v4, v8, v7, v2)                                   │

00:00:34 #5009 [Verbose] > │     let v10 : UH1 = v1 v9                                                    │

00:00:34 #5010 [Verbose] > │     let v11 : UH0 = UH0_1                                                    │

00:00:34 #5011 [Verbose] > │     let v12 : UH0 = method1(v0, v11, v10, v2)                                │

00:00:34 #5012 [Verbose] > │     let v13 : UH1 = v1 v12                                                   │

00:00:34 #5013 [Verbose] > │     let v14 : float = v0 / 6.0                                               │

00:00:34 #5014 [Verbose] > │     let v15 : UH1 = UH1_1                                                    │

00:00:34 #5015 [Verbose] > │     let v16 : UH1 = method17(v15, v3, v7)                                    │

00:00:34 #5016 [Verbose] > │     let v17 : UH1 = UH1_1                                                    │

00:00:34 #5017 [Verbose] > │     let v18 : UH1 = method17(v17, v16, v7)                                   │

00:00:34 #5018 [Verbose] > │     let v19 : UH1 = UH1_1                                                    │

00:00:34 #5019 [Verbose] > │     let v20 : UH1 = method17(v19, v18, v10)                                  │

00:00:34 #5020 [Verbose] > │     let v21 : UH1 = UH1_1                                                    │

00:00:34 #5021 [Verbose] > │     let v22 : UH1 = method17(v21, v20, v10)                                  │

00:00:34 #5022 [Verbose] > │     let v23 : UH1 = UH1_1                                                    │

00:00:34 #5023 [Verbose] > │     let v24 : UH1 = method17(v23, v22, v13)                                  │

00:00:34 #5024 [Verbose] > │     let v25 : UH0 = UH0_1                                                    │

00:00:34 #5025 [Verbose] > │     let v26 : UH0 = method1(v14, v25, v24, v2)                               │

00:00:34 #5026 [Verbose] > │     v26                                                                      │

00:00:34 #5027 [Verbose] > │ and closure7 (v0 : float) (v1 : (UH0 -> UH1)) : (UH0 -> UH0) =               │

00:00:34 #5028 [Verbose] > │     closure8(v0, v1)                                                         │

00:00:34 #5029 [Verbose] > │ and closure6 () (v0 : float) : ((UH0 -> UH1) -> (UH0 -> UH0)) =              │

00:00:34 #5030 [Verbose] > │     closure7(v0)                                                             │

00:00:34 #5031 [Verbose] > │ and method19 (v0 : UH4, v1 : UH5) : UH5 =                                    │

00:00:34 #5032 [Verbose] > │     match v0 with                                                            │

00:00:34 #5033 [Verbose] > │     | UH4_0(v2, v3) -> (* Cons *)                                            │

00:00:34 #5034 [Verbose] > │         let v4 : UH5 = method19(v3, v1)                                      │

00:00:34 #5035 [Verbose] > │         let v18 : US0 =                                                      │

00:00:34 #5036 [Verbose] > │             match v2 with                                                    │

00:00:34 #5037 [Verbose] > │             | UH0_0(v5, v6, v7, v8, v9, v10, v11, v12, v13, v14) -> (* Cons  │

00:00:34 #5038 [Verbose] > │ *)                                                                           │

00:00:34 #5039 [Verbose] > │                 US0_1(v5, v6, v7, v8, v9, v10, v11, v12, v13)                │

00:00:34 #5040 [Verbose] > │             | UH0_1 -> (* Nil *)                                             │

00:00:34 #5041 [Verbose] > │                 US0_0                                                        │

00:00:34 #5042 [Verbose] > │         let struct (v46 : float, v47 : float, v48 : float, v49 : float, v50  │

00:00:34 #5043 [Verbose] > │ : float, v51 : float, v52 : float, v53 : float, v54 : float) =               │

00:00:34 #5044 [Verbose] > │             match v18 with                                                   │

00:00:34 #5045 [Verbose] > │             | US0_0 -> (* None *)                                            │

00:00:34 #5046 [Verbose] > │                 failwith<struct (float * float * float * float * float *     │

00:00:34 #5047 [Verbose] > │ float * float * float * float)> "Option does not have a value."              │

00:00:34 #5048 [Verbose] > │             | US0_1(v19, v20, v21, v22, v23, v24, v25, v26, v27) -> (* Some  │

00:00:34 #5049 [Verbose] > │ *)                                                                           │

00:00:34 #5050 [Verbose] > │                 struct (v19, v20, v21, v22, v23, v24, v25, v26, v27)         │

00:00:34 #5051 [Verbose] > │         let v55 : UH6 = UH6_1                                                │

00:00:34 #5052 [Verbose] > │         let v56 : UH6 = method13(v2, v55)                                    │

00:00:34 #5053 [Verbose] > │         let v57 : float = 0.0                                                │

00:00:34 #5054 [Verbose] > │         let v58 : float = method14(v56, v57)                                 │

00:00:34 #5055 [Verbose] > │         UH5_0(v51, v58, v4)                                                  │

00:00:34 #5056 [Verbose] > │     | UH4_1 -> (* Nil *)                                                     │

00:00:34 #5057 [Verbose] > │         v1                                                                   │

00:00:34 #5058 [Verbose] > │ and method21 (v0 : UH6, v1 : int32) : int32 =                                │

00:00:34 #5059 [Verbose] > │     match v0 with                                                            │

00:00:34 #5060 [Verbose] > │     | UH6_0(v2, v3) -> (* Cons *)                                            │

00:00:34 #5061 [Verbose] > │         let v4 : int32 = v1 + 1                                              │

00:00:34 #5062 [Verbose] > │         method21(v3, v4)                                                     │

00:00:34 #5063 [Verbose] > │     | UH6_1 -> (* Nil *)                                                     │

00:00:34 #5064 [Verbose] > │         v1                                                                   │

00:00:34 #5065 [Verbose] > │ and method22 (v0 : (float []), v1 : UH6, v2 : int32) : int32 =               │

00:00:34 #5066 [Verbose] > │     match v1 with                                                            │

00:00:34 #5067 [Verbose] > │     | UH6_0(v3, v4) -> (* Cons *)                                            │

00:00:34 #5068 [Verbose] > │         v0.[int v2] <- v3                                                    │

00:00:34 #5069 [Verbose] > │         let v5 : int32 = v2 + 1                                              │

00:00:34 #5070 [Verbose] > │         method22(v0, v4, v5)                                                 │

00:00:34 #5071 [Verbose] > │     | UH6_1 -> (* Nil *)                                                     │

00:00:34 #5072 [Verbose] > │         v2                                                                   │

00:00:34 #5073 [Verbose] > │ and method20 (v0 : UH6) : (float []) =                                       │

00:00:34 #5074 [Verbose] > │     let v1 : int32 = 0                                                       │

00:00:34 #5075 [Verbose] > │     let v2 : int32 = method21(v0, v1)                                        │

00:00:34 #5076 [Verbose] > │     let v3 : (float []) = Array.zeroCreate<float> (v2)                       │

00:00:34 #5077 [Verbose] > │     let v4 : int32 = 0                                                       │

00:00:34 #5078 [Verbose] > │     let v5 : int32 = method22(v3, v0, v4)                                    │

00:00:34 #5079 [Verbose] > │     v3                                                                       │

00:00:34 #5080 [Verbose] > │ and method23 (v0 : (struct (string * (float []) * (float [])) [])) : (struct │

00:00:34 #5081 [Verbose] > │ (string * (float []) * (float [])) []) =                                     │

00:00:34 #5082 [Verbose] > │     v0                                                                       │

00:00:34 #5083 [Verbose] > │ and method0 () : struct (string * string * string * (struct (string * (float │

00:00:34 #5084 [Verbose] > │ []) * (float [])) [])) =                                                     │

00:00:34 #5085 [Verbose] > │     let v0 : (float -> ((UH0 -> UH1) -> (UH0 -> UH0))) = closure0()          │

00:00:34 #5086 [Verbose] > │     let v1 : ((UH0 -> UH1) -> (UH0 -> UH0)) = v0 0.03                        │

00:00:34 #5087 [Verbose] > │     let v2 : (UH0 -> UH1) = closure3()                                       │

00:00:34 #5088 [Verbose] > │     let v3 : (UH0 -> UH0) = v1 v2                                            │

00:00:34 #5089 [Verbose] > │     let v4 : UH4 = UH4_1                                                     │

00:00:34 #5090 [Verbose] > │     let v5 : int32 = 0                                                       │

00:00:34 #5091 [Verbose] > │     let v6 : UH4 = method9(v3, v4, v5)                                       │

00:00:34 #5092 [Verbose] > │     let v7 : UH5 = UH5_1                                                     │

00:00:34 #5093 [Verbose] > │     let v8 : UH5 = method12(v6, v7)                                          │

00:00:34 #5094 [Verbose] > │     let v9 : UH6 = UH6_1                                                     │

00:00:34 #5095 [Verbose] > │     let v10 : UH6 = UH6_1                                                    │

00:00:34 #5096 [Verbose] > │     let struct (v11 : UH6, v12 : UH6) = method15(v8, v9, v10)                │

00:00:34 #5097 [Verbose] > │     let v13 : UH6 = UH6_1                                                    │

00:00:34 #5098 [Verbose] > │     let v14 : UH6 = method16(v11, v13)                                       │

00:00:34 #5099 [Verbose] > │     let v15 : UH6 = UH6_1                                                    │

00:00:34 #5100 [Verbose] > │     let v16 : UH6 = method16(v12, v15)                                       │

00:00:34 #5101 [Verbose] > │     let v17 : (float -> ((UH0 -> UH1) -> (UH0 -> UH0))) = closure6()         │

00:00:34 #5102 [Verbose] > │     let v18 : ((UH0 -> UH1) -> (UH0 -> UH0)) = v17 0.03                      │

00:00:34 #5103 [Verbose] > │     let v19 : (UH0 -> UH0) = v18 v2                                          │

00:00:34 #5104 [Verbose] > │     let v20 : UH4 = UH4_1                                                    │

00:00:34 #5105 [Verbose] > │     let v21 : int32 = 0                                                      │

00:00:34 #5106 [Verbose] > │     let v22 : UH4 = method9(v19, v20, v21)                                   │

00:00:34 #5107 [Verbose] > │     let v23 : UH5 = UH5_1                                                    │

00:00:34 #5108 [Verbose] > │     let v24 : UH5 = method19(v22, v23)                                       │

00:00:34 #5109 [Verbose] > │     let v25 : UH6 = UH6_1                                                    │

00:00:34 #5110 [Verbose] > │     let v26 : UH6 = UH6_1                                                    │

00:00:34 #5111 [Verbose] > │     let struct (v27 : UH6, v28 : UH6) = method15(v24, v25, v26)              │

00:00:34 #5112 [Verbose] > │     let v29 : UH6 = UH6_1                                                    │

00:00:34 #5113 [Verbose] > │     let v30 : UH6 = method16(v27, v29)                                       │

00:00:34 #5114 [Verbose] > │     let v31 : UH6 = UH6_1                                                    │

00:00:34 #5115 [Verbose] > │     let v32 : UH6 = method16(v28, v31)                                       │

00:00:34 #5116 [Verbose] > │     let v33 : (float []) = method20(v14)                                     │

00:00:34 #5117 [Verbose] > │     let v34 : (float []) = method20(v16)                                     │

00:00:34 #5118 [Verbose] > │     let v35 : (float []) = method20(v30)                                     │

00:00:34 #5119 [Verbose] > │     let v36 : (float []) = method20(v32)                                     │

00:00:34 #5120 [Verbose] > │     let v37 : string = "euler-cromer"                                        │

00:00:34 #5121 [Verbose] > │     let v38 : string = "runge-kutta 4"                                       │

00:00:34 #5122 [Verbose] > │     let v39 : (struct (string * (float []) * (float [])) []) = [|struct      │

00:00:34 #5123 [Verbose] > │ (v37, v33, v34); struct (v38, v35, v36)|]                                    │

00:00:34 #5124 [Verbose] > │     let v40 : (struct (string * (float []) * (float [])) []) = method23(v39) │

00:00:34 #5125 [Verbose] > │     let v41 : string = "system kinetic energy versus time"                   │

00:00:34 #5126 [Verbose] > │     let v42 : string = "time (s)"                                            │

00:00:34 #5127 [Verbose] > │     let v43 : string = "system kinetic energy (j)"                           │

00:00:34 #5128 [Verbose] > │     struct (v41, v42, v43, v40)                                              │

00:00:34 #5129 [Verbose] > │ method0()                                                                    │

00:00:34 #5130 [Verbose] > │                                                                              │

00:00:34 #5131 [Verbose] > │                                                                              │

00:00:34 #5132 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:34 #5133 [Verbose] >

00:00:34 #5134 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────

00:00:34 #5135 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮

00:00:34 #5136 [Verbose] > │ ### wave 1                                                                   │

00:00:34 #5137 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:34 #5138 [Verbose] >

00:00:34 #5139 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:34 #5140 [Verbose] > // // test

00:00:34 #5141 [Verbose] >

00:00:34 #5142 [Verbose] > inl linear_spring k re (particle_state st1) (particle_state st2) =

00:00:34 #5143 [Verbose] >     inl r1 = st1.pos_vec

00:00:34 #5144 [Verbose] >     inl r2 = st2.pos_vec

00:00:34 #5145 [Verbose] >     inl r21 = r2 ^-^ r1

00:00:34 #5146 [Verbose] >     inl r21mag = magnitude r21

00:00:34 #5147 [Verbose] >     -k * (r21mag - re) *^ r21 ^/ r21mag

00:00:34 #5148 [Verbose] >

00:00:34 #5149 [Verbose] > inl fixed_linear_spring k re r1 =

00:00:34 #5150 [Verbose] >     inl (particle_state default_particle_state') = default_particle_state ()

00:00:34 #5151 [Verbose] >     linear_spring k re (particle_state { default_particle_state' with pos_vec =

00:00:34 #5152 [Verbose] > r1 })

00:00:34 #5153 [Verbose] >

00:00:34 #5154 [Verbose] > inl forces_string () =

00:00:34 #5155 [Verbose] >     [[

00:00:34 #5156 [Verbose] >         ExternalForce (0, fixed_linear_spring 5384 0 (zero_vec ()))

00:00:34 #5157 [Verbose] >         ExternalForce (63, fixed_linear_spring 5384 0 (0.65 *^ i_hat ()))

00:00:34 #5158 [Verbose] >     ]] /@ (

00:00:34 #5159 [Verbose] >         listm'.init_series 0 59 1

00:00:34 #5160 [Verbose] >         |> listm.map (fun n => InternalForce (n, n + 1, linear_spring 5384 0))

00:00:34 #5161 [Verbose] >     )

00:00:34 #5162 [Verbose] >

00:00:34 #5163 [Verbose] > inl string_update dt =

00:00:34 #5164 [Verbose] >     update_mps (runge_kutta_4 dt) (forces_string ())

00:00:34 #5165 [Verbose] >

00:00:34 #5166 [Verbose] > inl string_initial_overtone n =

00:00:34 #5167 [Verbose] >     inl ball_mass = 0.0008293 * 0.65 / 64

00:00:34 #5168 [Verbose] >     inl (particle_state default_particle_state') = default_particle_state ()

00:00:34 #5169 [Verbose] >     listm'.init_series 0.01 0.64 0.01

00:00:34 #5170 [Verbose] >     |> listm.map (fun x =>

00:00:34 #5171 [Verbose] >         inl y = 0.005 * sin (conv n * pi * x / 0.65)

00:00:34 #5172 [Verbose] >         particle_state {

00:00:34 #5173 [Verbose] >             default_particle_state' with

00:00:34 #5174 [Verbose] >                 mass = ball_mass

00:00:34 #5175 [Verbose] >                 pos_vec = x *^ i_hat () ^+^ y *^ j_hat ()

00:00:34 #5176 [Verbose] >                 velocity = zero_vec ()

00:00:34 #5177 [Verbose] >         }

00:00:34 #5178 [Verbose] >     )

00:00:34 #5179 [Verbose] >     |> multi_particle_state

00:00:34 #5180 [Verbose] >

00:00:34 #5181 [Verbose] > inl string_initial_pluck () =

00:00:34 #5182 [Verbose] >     inl ball_mass = 0.0008293 * 0.65 / 64

00:00:34 #5183 [Verbose] >     inl (particle_state default_particle_state') = default_particle_state ()

00:00:34 #5184 [Verbose] >     listm'.init_series 0.01 0.64 0.01

00:00:34 #5185 [Verbose] >     |> listm.map (fun x =>

00:00:34 #5186 [Verbose] >         inl y =

00:00:34 #5187 [Verbose] >             inl n = if x <= 0.51 then 0 else 0.65

00:00:34 #5188 [Verbose] >             0.005 / (0.51 - n) * (x - n)

00:00:34 #5189 [Verbose] >         particle_state {

00:00:34 #5190 [Verbose] >             default_particle_state' with

00:00:34 #5191 [Verbose] >                 mass = ball_mass

00:00:34 #5192 [Verbose] >                 pos_vec = x *^ i_hat () ^+^ y *^ j_hat ()

00:00:34 #5193 [Verbose] >                 velocity = zero_vec ()

00:00:34 #5194 [Verbose] >         }

00:00:34 #5195 [Verbose] >     )

00:00:34 #5196 [Verbose] >     |> multi_particle_state

00:00:34 #5197 [Verbose] >

00:00:34 #5198 [Verbose] > let main () =

00:00:34 #5199 [Verbose] >     inl ~frames = listm'.init_series 0 9 1f64

00:00:34 #5200 [Verbose] >     inl initial_state = string_initial_overtone 3i32

00:00:34 #5201 [Verbose] >     inl frames =

00:00:34 #5202 [Verbose] >         frames

00:00:34 #5203 [Verbose] >         |> listm.map (fun n =>

00:00:34 #5204 [Verbose] >             inl (multi_particle_state sts) =

00:00:34 #5205 [Verbose] >                 seq.iterate' (string_update 0.000025) initial_state |> fun f =>

00:00:34 #5206 [Verbose] > f 0f64

00:00:34 #5207 [Verbose] >             inl rs =

00:00:34 #5208 [Verbose] >                 [[ zero_vec () ]]

00:00:34 #5209 [Verbose] >                 /@ (sts |> listm.map (fun (particle_state st) => st.pos_vec))

00:00:34 #5210 [Verbose] >                 /@ [[ 0.65 *^ i_hat () ]]

00:00:34 #5211 [Verbose] >             inl x, y =

00:00:34 #5212 [Verbose] >                 rs

00:00:34 #5213 [Verbose] >                 |> listm.map (fun r => r.x, r.y)

00:00:34 #5214 [Verbose] >                 |> listm'.unzip

00:00:34 #5215 [Verbose] >             inl x : a i32 _ = x |> listm.toArray

00:00:34 #5216 [Verbose] >             inl y : a i32 _ = y |> listm.toArray

00:00:34 #5217 [Verbose] >             x, y

00:00:34 #5218 [Verbose] >         )

00:00:34 #5219 [Verbose] >         |> listm.toArray : a i32 _

00:00:34 #5220 [Verbose] >

00:00:34 #5221 [Verbose] >     inl n = 0i32

00:00:34 #5222 [Verbose] >

00:00:34 #5223 [Verbose] >     inl x, y = index frames n

00:00:34 #5224 [Verbose] >

00:00:34 #5225 [Verbose] >     "wave",

00:00:34 #5226 [Verbose] >     "position (m)",

00:00:34 #5227 [Verbose] >     "displacement (m)",

00:00:34 #5228 [Verbose] >     ;[[

00:00:34 #5229 [Verbose] >         ($"$\"{!n}\"" : string), x, y

00:00:34 #5230 [Verbose] >     ]]

00:00:34 #5231 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0904-0753-5332-59c3b5cae653\main.spi

00:00:34 #5232 [Verbose] > Stack overflow.

00:00:34 #5233 [Verbose] > Repeat 4 times:

00:00:34 #5234 [Verbose] > --------------------------------

00:00:34 #5235 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)

00:00:34 #5236 [Verbose] > --------------------------------

00:00:34 #5237 [Verbose] >    at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)

00:00:34 #5238 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)

00:00:34 #5239 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)

00:00:34 #5240 [Verbose] >    at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)

00:00:34 #5241 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)

00:00:34 #5242 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)

00:00:34 #5243 [Verbose] >    at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)

00:00:34 #5244 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)

00:00:34 #5245 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)

00:00:34 #5246 [Verbose] >    at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)

00:00:34 #5247 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)

00:00:34 #5248 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)

00:00:34 #5249 [Verbose] >    at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)

00:00:34 #5250 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)

00:00:34 #5251 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)

00:00:34 #5252 [Verbose] >    at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)

00:00:34 #5253 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)

00:00:34 #5254 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)

00:00:34 #5255 [Verbose] >    at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)

00:00:34 #5256 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)

00:00:34 #5257 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)

00:00:34 #5258 [Verbose] >    at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)

00:00:34 #5259 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)

00:00:34 #5260 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)

00:00:34 #5261 [Verbose] >    at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)

00:00:34 #5262 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)

00:00:34 #5263 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)

00:00:34 #5264 [Verbose] >    at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)

00:00:34 #5265 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)

00:00:34 #5266 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)

00:00:34 #5267 [Verbose] >    at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)

00:00:34 #5268 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)

00:00:34 #5269 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)

00:00:34 #5270 [Verbose] >    at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)

00:00:34 #5271 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)

00:00:34 #5272 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)

00:00:34 #5273 [Verbose] >    at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)

00:00:34 #5274 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)

00:00:34 #5275 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)

00:00:34 #5276 [Verbose] >    at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)

00:00:34 #5277 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)

00:00:34 #5278 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)

00:00:34 #5279 [Verbose] >    at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)

00:00:34 #5280 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)

00:00:34 #5281 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)

00:00:34 #5282 [Verbose] >    at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)

00:00:34 #5283 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)

00:00:34 #5284 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)

00:00:34 #5285 [Verbose] >    at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)

00:00:34 #5286 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)

00:00:34 #5287 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)

00:00:34 #5288 [Verbose] >    at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)

00:00:34 #5289 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)

00:00:34 #5290 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)

00:00:34 #5291 [Verbose] >    at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)

00:00:34 #5292 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)

00:00:34 #5293 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)

00:00:34 #5294 [Verbose] >    at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)

00:00:34 #5295 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)

00:00:34 #5296 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)

00:00:34 #5297 [Verbose] >    at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)

00:00:34 #5298 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)

00:00:34 #5299 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)

00:00:34 #5300 [Verbose] >    at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)

00:00:34 #5301 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)

00:00:34 #5302 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)

00:00:34 #5303 [Verbose] >    at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)

00:00:34 #5304 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)

00:00:34 #5305 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)

00:00:34 #5306 [Verbose] >    at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)

00:00:34 #5307 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)

00:00:34 #5308 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)

00:00:34 #5309 [Verbose] >    at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)

00:00:34 #5310 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)

00:00:34 #5311 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)

00:00:34 #5312 [Verbose] >    at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)

00:00:34 #5313 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)

00:00:34 #5314 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)

00:00:34 #5315 [Verbose] >    at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)

00:00:34 #5316 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)

00:00:34 #5317 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)

00:00:34 #5318 [Verbose] >    at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)

00:00:34 #5319 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)

00:00:34 #5320 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)

00:00:34 #5321 [Verbose] >    at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)

00:00:34 #5322 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)

00:00:34 #5323 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)

00:00:34 #5324 [Verbose] >    at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)

00:00:34 #5325 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)

00:00:34 #5326 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)

00:00:34 #5327 [Verbose] >    at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)

00:00:34 #5328 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)

00:00:34 #5329 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)

00:00:34 #5330 [Verbose] >    at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)

00:00:34 #5331 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)

00:00:34 #5332 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)

00:00:34 #5333 [Verbose] >    at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)

00:00:34 #5334 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)

00:00:34 #5335 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)

00:00:34 #5336 [Verbose] >    at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)

00:00:34 #5337 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)

00:00:34 #5338 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)

00:00:34 #5339 [Verbose] >    at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)

00:00:34 #5340 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)

00:00:34 #5341 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)

00:00:34 #5342 [Verbose] >    at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)

00:00:34 #5343 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)

00:00:34 #5344 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)

00:00:34 #5345 [Verbose] >    at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)

00:00:34 #5346 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)

00:00:34 #5347 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)

00:00:34 #5348 [Verbose] >    at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)

00:00:34 #5349 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)

00:00:34 #5350 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)

00:00:34 #5351 [Verbose] >    at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)

00:00:34 #5352 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)

00:00:34 #5353 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)

00:00:34 #5354 [Verbose] >    at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)

00:00:34 #5355 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)

00:00:34 #5356 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)

00:00:34 #5357 [Verbose] >    at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)

00:00:34 #5358 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)

00:00:34 #5359 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)

00:00:34 #5360 [Verbose] >    at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)

00:00:34 #5361 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)

00:00:34 #5362 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)

00:00:34 #5363 [Verbose] >    at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)

00:00:34 #5364 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)

00:00:34 #5365 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)

00:00:34 #5366 [Verbose] >    at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)

00:00:34 #5367 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)

00:00:34 #5368 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)

00:00:34 #5369 [Verbose] >    at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)

00:00:34 #5370 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)

00:00:34 #5371 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)

00:00:34 #5372 [Verbose] >    at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)

00:00:34 #5373 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)

00:00:34 #5374 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)

00:00:34 #5375 [Verbose] >    at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)

00:00:34 #5376 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)

00:00:34 #5377 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)

00:00:34 #5378 [Verbose] >    at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)

00:00:34 #5379 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)

00:00:34 #5380 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)

00:00:34 #5381 [Verbose] >    at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)

00:00:34 #5382 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)

00:00:34 #5383 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)

00:00:34 #5384 [Verbose] >    at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)

00:00:34 #5385 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)

00:00:34 #5386 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)

00:00:34 #5387 [Verbose] >    at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)

00:00:34 #5388 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)

00:00:34 #5389 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)

00:00:34 #5390 [Verbose] >    at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)

00:00:34 #5391 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)

00:00:34 #5392 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)

00:00:34 #5393 [Verbose] >    at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)

00:00:34 #5394 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)

00:00:34 #5395 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)

00:00:34 #5396 [Verbose] >    at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)

00:00:34 #5397 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)

00:00:34 #5398 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)

00:00:34 #5399 [Verbose] >    at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)

00:00:34 #5400 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)

00:00:34 #5401 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)

00:00:34 #5402 [Verbose] >    at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)

00:00:34 #5403 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)

00:00:34 #5404 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)

00:00:34 #5405 [Verbose] >    at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)

00:00:34 #5406 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)

00:00:34 #5407 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)

00:00:34 #5408 [Verbose] >    at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)

00:00:34 #5409 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)

00:00:34 #5410 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)

00:00:34 #5411 [Verbose] >    at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)

00:00:34 #5412 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)

00:00:34 #5413 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)

00:00:34 #5414 [Verbose] >    at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)

00:00:34 #5415 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)

00:00:34 #5416 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)

00:00:34 #5417 [Verbose] >    at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)

00:00:34 #5418 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)

00:00:34 #5419 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)

00:00:34 #5420 [Verbose] >    at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)

00:00:34 #5421 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)

00:00:34 #5422 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)

00:00:34 #5423 [Verbose] >    at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)

00:00:34 #5424 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)

00:00:34 #5425 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)

00:00:34 #5426 [Verbose] >    at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)

00:00:34 #5427 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)

00:00:34 #5428 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)

00:00:34 #5429 [Verbose] >    at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)

00:00:34 #5430 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)

00:00:34 #5431 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)

00:00:34 #5432 [Verbose] >    at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)

00:00:34 #5433 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)

00:00:34 #5434 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)

00:00:34 #5435 [Verbose] >    at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)

00:00:34 #5436 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)

00:00:34 #5437 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)

00:00:34 #5438 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)

00:00:34 #5439 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)

00:00:34 #5440 [Verbose] >    at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)

00:00:34 #5441 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)

00:00:34 #5442 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)

00:00:34 #5443 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)

00:00:34 #5444 [Verbose] >    at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)

00:00:34 #5445 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)

00:00:34 #5446 [Verbose] >    at Spiral.PartEval.Main.body@1060-29(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, Microsoft.FSharp.Core.FSharpFunc`2<Boolean,Microsoft.FSharp.Core.FSharpFunc`2<LangEnv,Microsoft.FSharp.Core.FSharpFunc`2<Data,Data>>>, E, E, System.String, Int32, LangEnv, L`2<Int32,Ty>, H`1<<>f__AnonymousType3599534058`5<Microsoft.FSharp.Collections.FSharpMap`2<System.String,Ty>,Boolean,UnionLayout,System.Tuple`2<System.String,Ty>[],System.Collections.Generic.Dictionary`2<System.String,Int32>>>, Microsoft.FSharp.Collections.FSharpSet`1<System.String>)

00:00:34 #5447 [Verbose] >    at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)

00:00:34 #5448 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)

00:00:34 #5449 [Verbose] >    at Spiral.PartEval.Main.term_scope''@574(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)

00:00:34 #5450 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)

00:00:34 #5451 [Verbose] >    at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)

00:00:34 #5452 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)

00:00:34 #5453 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)

00:00:34 #5454 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)

00:00:34 #5455 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)

00:00:34 #5456 [Verbose] >    at Spiral.PartEval.Main.term_scope''@574(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)

00:00:34 #5457 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)

00:00:34 #5458 [Verbose] >    at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)

00:00:34 #5459 [Verbose] >    at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)

00:00:34 #5460 [Verbose] >    at Spiral.PartEval.Main.term_scope''@574(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)

00:00:34 #5461 [Verbose] >    at Spiral.PartEval.Main.term_scope@579(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)

00:00:34 #5462 [Verbose] >    at Spiral.PartEval.Main.peval(TopEnv, E)

00:00:34 #5463 [Verbose] >    at Spiral.Supervisor.file_build$cont@383(System.String, SupervisorState, PrepassTopEnv, Microsoft.FSharp.Core.FSharpOption`1<E>, Microsoft.FSharp.Core.Unit)

00:00:34 #5464 [Verbose] >    at Spiral.Supervisor.x2yJ@1-28(SupervisorErrorSources, System.String, System.String, SupervisorState, PrepassTopEnv)

00:00:34 #5465 [Verbose] >    at Spiral.Supervisor+x2yJ@380-41.Do(PrepassTopEnv)

00:00:34 #5466 [Verbose] >    at Hopac.Core.ContBind`2[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].DoCont(Hopac.Core.Worker ByRef, System.__Canon)

00:00:34 #5467 [Verbose] >    at Hopac.Job+result@1000-1[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)

00:00:34 #5468 [Verbose] >    at Hopac.Job+result@1000-1[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)

00:00:34 #5469 [Verbose] >    at Hopac.Promise`1[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)

00:00:34 #5470 [Verbose] >    at Hopac.Core.Job.Do[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]](Hopac.Job`1<System.__Canon>, Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)

00:00:34 #5471 [Verbose] >    at Hopac.Promise`1[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)

00:00:34 #5472 [Verbose] >    at Hopac.Core.ContMap`2[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].DoCont(Hopac.Core.Worker ByRef, System.__Canon)

00:00:34 #5473 [Verbose] >    at Hopac.Core.JobThunk`1[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)

00:00:34 #5474 [Verbose] >    at Hopac.Core.Job.Do[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]](Hopac.Job`1<System.__Canon>, Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)

00:00:34 #5475 [Verbose] >    at Hopac.Promise`1[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)

00:00:34 #5476 [Verbose] >    at Hopac.Promise`1[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)

00:00:34 #5477 [Verbose] >    at Hopac.Core.Job.Do[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]](Hopac.Job`1<System.__Canon>, Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)

00:00:34 #5478 [Verbose] >    at Hopac.Promise`1[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)

00:00:34 #5479 [Verbose] >    at Hopac.Core.ContMap`2[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].DoCont(Hopac.Core.Worker ByRef, System.__Canon)

00:00:34 #5480 [Verbose] >    at Hopac.Core.JobThunk`1[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)

00:00:34 #5481 [Verbose] >    at Hopac.Core.Job.Do[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]](Hopac.Job`1<System.__Canon>, Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)

00:00:34 #5482 [Verbose] >    at Hopac.Promise`1[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)

00:00:34 #5483 [Verbose] >    at Hopac.Promise`1[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)

00:00:34 #5484 [Verbose] >    at Hopac.Core.Job.Do[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]](Hopac.Job`1<System.__Canon>, Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)

00:00:34 #5485 [Verbose] >    at Hopac.Promise`1[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)

00:00:34 #5486 [Verbose] >    at Hopac.Core.ContMap`2[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].DoCont(Hopac.Core.Worker ByRef, System.__Canon)

00:00:34 #5487 [Verbose] >    at Hopac.Core.JobThunk`1[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)

00:00:34 #5488 [Verbose] >    at Hopac.Core.Job.Do[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]](Hopac.Job`1<System.__Canon>, Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)

00:00:34 #5489 [Verbose] >    at Hopac.Promise`1[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)

00:00:34 #5490 [Verbose] >    at Hopac.Promise`1[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)

00:00:34 #5491 [Verbose] >    at Hopac.Core.Job.Do[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]](Hopac.Job`1<System.__Canon>, Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)

00:00:34 #5492 [Verbose] >    at Hopac.Promise`1[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)

00:00:34 #5493 [Verbose] >    at Hopac.Core.ContMap`2[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].DoCont(Hopac.Core.Worker ByRef, System.__Canon)

00:00:34 #5494 [Verbose] >    at Hopac.Core.JobThunk`1[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)

00:00:34 #5495 [Verbose] >    at Hopac.Core.Job.Do[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]](Hopac.Job`1<System.__Canon>, Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)

00:00:34 #5496 [Verbose] >    at Hopac.Promise`1[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)

00:00:34 #5497 [Verbose] >    at Hopac.Promise`1[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)

00:00:34 #5498 [Verbose] >    at Hopac.Core.Job.Do[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]](Hopac.Job`1<System.__Canon>, Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)

00:00:34 #5499 [Verbose] >    at Hopac.Promise`1[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)

00:00:34 #5500 [Verbose] >    at Hopac.Core.ContMap`2[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].DoCont(Hopac.Core.Worker ByRef, System.__Canon)

00:00:34 #5501 [Verbose] >    at Hopac.Core.JobThunk`1[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)

00:00:34 #5502 [Verbose] >    at Hopac.Core.Job.Do[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]](Hopac.Job`1<System.__Canon>, Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)

00:00:34 #5503 [Verbose] >    at Hopac.Promise`1[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)

00:00:34 #5504 [Verbose] >    at Hopac.Promise`1[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)

00:00:34 #5505 [Verbose] >    at Hopac.Core.Job.Do[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]](Hopac.Job`1<System.__Canon>, Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)

00:00:34 #5506 [Verbose] >    at Hopac.Promise`1[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)

00:00:34 #5507 [Verbose] >    at Hopac.Core.ContMap`2[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].DoCont(Hopac.Core.Worker ByRef, System.__Canon)

00:00:34 #5508 [Verbose] >    at Hopac.Core.JobThunk`1[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)

00:00:34 #5509 [Verbose] >    at Hopac.Core.Job.Do[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]](Hopac.Job`1<System.__Canon>, Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)

00:00:34 #5510 [Verbose] >    at Hopac.Promise`1[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)

00:00:34 #5511 [Verbose] >    at Hopac.Promise`1[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)

00:00:34 #5512 [Verbose] >    at Hopac.Core.Job.Do[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]](Hopac.Job`1<System.__Canon>, Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)

00:00:34 #5513 [Verbose] >    at Hopac.Promise`1[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)

00:00:34 #5514 [Verbose] >    at Hopac.Core.ContMap`2[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].DoCont(Hopac.Core.Worker ByRef, System.__Canon)

00:00:34 #5515 [Verbose] >    at Hopac.Core.JobThunk`1[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)

00:00:34 #5516 [Verbose] >    at Hopac.Core.Job.Do[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]](Hopac.Job`1<System.__Canon>, Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)

00:00:34 #5517 [Verbose] >    at Hopac.Promise`1[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)

00:00:34 #5518 [Verbose] >    at Hopac.Promise`1[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)

00:00:34 #5519 [Verbose] >    at Hopac.Core.Job.Do[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]](Hopac.Job`1<System.__Canon>, Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)

00:00:34 #5520 [Verbose] >    at Hopac.Promise`1[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)

00:00:34 #5521 [Verbose] >    at Hopac.Core.ContMap`2[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].DoCont(Hopac.Core.Worker ByRef, System.__Canon)

00:00:34 #5522 [Verbose] >    at Hopac.Core.JobThunk`1[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)

00:00:34 #5523 [Verbose] >    at Hopac.Core.Job.Do[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]](Hopac.Job`1<System.__Canon>, Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)

00:00:34 #5524 [Verbose] >    at Hopac.Promise`1[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)

00:00:34 #5525 [Verbose] >    at Hopac.Promise`1[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)

00:00:34 #5526 [Verbose] >    at Hopac.Core.Job.Do[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]](Hopac.Job`1<System.__Canon>, Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)

00:00:34 #5527 [Verbose] >    at Hopac.Promise`1[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)

00:00:34 #5528 [Verbose] >    at Hopac.Core.ContMap`2[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].DoCont(Hopac.Core.Worker ByRef, System.__Canon)

00:00:34 #5529 [Verbose] >    at Hopac.Core.JobThunk`1[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)

00:00:34 #5530 [Verbose] >    at Hopac.Core.Job.Do[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]](Hopac.Job`1<System.__Canon>, Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)

00:00:34 #5531 [Verbose] >    at Hopac.Promise`1[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)

00:00:34 #5532 [Verbose] >    at Hopac.Promise`1[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)

00:00:34 #5533 [Verbose] >    at Hopac.Core.Job.Do[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]](Hopac.Job`1<System.__Canon>, Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)

00:00:34 #5534 [Verbose] >    at Hopac.Promise`1[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)

00:00:34 #5535 [Verbose] >    at Hopac.Core.ContMap`2[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].DoCont(Hopac.Core.Worker ByRef, System.__Canon)

00:00:34 #5536 [Verbose] >    at Hopac.Core.JobThunk`1[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)

00:00:34 #5537 [Verbose] >    at Hopac.Core.Job.Do[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]](Hopac.Job`1<System.__Canon>, Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)

00:00:34 #5538 [Verbose] >    at Hopac.Promise`1[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)

00:00:34 #5539 [Verbose] >    at Hopac.Promise`1[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)

00:00:34 #5540 [Verbose] >    at Hopac.Core.Job.Do[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]](Hopac.Job`1<System.__Canon>, Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)

00:00:34 #5541 [Verbose] >    at Hopac.Promise`1[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)

00:00:34 #5542 [Verbose] >    at Hopac.Core.ContMap`2[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].DoCont(Hopac.Core.Worker ByRef, System.__Canon)

00:00:34 #5543 [Verbose] >    at Hopac.Core.JobThunk`1[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)

00:00:34 #5544 [Verbose] >    at Hopac.Core.Job.Do[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]](Hopac.Job`1<System.__Canon>, Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)

00:00:34 #5545 [Verbose] >    at Hopac.Promise`1[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)

00:00:34 #5546 [Verbose] >    at Hopac.Promise`1[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)

00:00:34 #5547 [Verbose] >    at Hopac.Core.Job.Do[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]](Hopac.Job`1<System.__Canon>, Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)

00:00:34 #5548 [Verbose] >    at Hopac.Promise`1[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)

00:00:34 #5549 [Verbose] >    at Hopac.Core.ContMap`2[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].DoCont(Hopac.Core.Worker ByRef, System.__Canon)

00:00:34 #5550 [Verbose] >    at Hopac.Core.JobThunk`1[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)

00:00:34 #5551 [Verbose] >    at Hopac.Core.Job.Do[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]](Hopac.Job`1<System.__Canon>, Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)

00:00:34 #5552 [Verbose] >    at Hopac.Promise`1[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)

00:00:34 #5553 [Verbose] >    at Hopac.Promise`1[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)

00:00:34 #5554 [Verbose] >    at Hopac.Core.Job.Do[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]](Hopac.Job`1<System.__Canon>, Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)

00:00:34 #5555 [Verbose] >    at Hopac.Promise`1[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)

00:00:34 #5556 [Verbose] >    at Hopac.Core.ContMap`2[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].DoCont(Hopac.Core.Worker ByRef, System.__Canon)

00:00:34 #5557 [Verbose] >    at Hopac.Core.JobThunk`1[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)

00:00:34 #5558 [Verbose] >    at Hopac.Core.Job.Do[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]](Hopac.Job`1<System.__Canon>, Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)

00:00:34 #5559 [Verbose] >    at Hopac.Promise`1[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)

00:00:34 #5560 [Verbose] >    at Hopac.Promise`1[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)

00:00:34 #5561 [Verbose] >    at Hopac.Core.Worker.Run(Hopac.Scheduler, Int32)

00:00:34 #5562 [Verbose] >    at Hopac.Platform.Scheduler+thread@30.Invoke()

00:00:34 #5563 [Verbose] >    at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object)

00:00:40 #5564 [Debug] executeAsync / exitCode: -1073741571 / output.Length: 183306

00:00:40 #5565 [Debug] awaitCompiler / exitCode: -1073741571 / result: pwd: C:\home\git\polyglot\lib\spiral

dll_path: C:\home\git\polyglot\deps\The-Spiral-Language\The Spiral Language 2\artifacts\bin\The Spiral Language 2\release

Server bound to: http://localhost:13805

Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0903-4684-8445-8915ace27b00\main.spi

Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0903-4901-0132-086911280a6f\main.spi

Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0903-4920-2070-29aaaca75b01\main.spi

Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0903-4965-6593-6742f950912c\main.spi

Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0903-4989-8931-84b702150a06\main.spi

Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0903-5016-1690-158f2f3b08d5\main.spi

Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0903-5033-3387-3aa54627e161\main.spi

Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0903-5056-5683-557b1188a81e\main.spi

Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0903-5081-8141-8186320a88d5\main.spi

Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0903-5098-9825-908156823677\main.spi

Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0903-5117-1735-1cc1c09c5d62\main.spi

Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0903-5135-3570-3285e9d91d6a\main.spi

Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0903-5151-5177-57ea598fe2d1\main.spi

Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0903-5176-7683-7224fcf7b7eb\main.spi

Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0903-5195-9504-9358aefc25e4\main.spi

Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0903-5216-1647-1a05a5901be2\main.spi

Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0903-5241-4121-47e9ae60bdeb\main.spi

Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0903-5256-5604-5d719f984bd7\main.spi

Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0903-5273-7341-74648d6cdd1c\main.spi

Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0903-5289-8910-8e0a6d3f11cb\main.spi

Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0903-5312-1245-165c26aa2526\main.spi

Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0903-5360-6016-6336fbd37e17\main.spi

Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0903-5378-7845-75511238ef69\main.spi

Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0903-5396-9698-9c8666550bed\main.spi

Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0903-5474-7477-70e08039968e\main.spi

Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0903-5492-9273-968165d5a4d1\main.spi

Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0903-5540-4017-434ceb50c147\main.spi

Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0903-5563-6363-6cf5a841d754\main.spi

Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0903-5597-9714-9a1e80242646\main.spi

Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0903-5627-2777-238d7cbffba4\main.spi

Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0903-5649-4977-4a83385995b5\main.spi

Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0903-5706-0672-089c300e60b6\main.spi

Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0903-5726-2681-2bc89eaf5d5c\main.spi

Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0903-5744-4439-4bf2aae92be3\main.spi

Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0903-5762-6290-61f04f5c9b30\main.spi

Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0903-5778-7826-78827a29e5b6\main.spi

Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0903-5797-9779-9ac9bce44d0d\main.spi

Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0903-5816-1603-1a1332f05dc5\main.spi

Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0903-5832-3236-301db64b5266\main.spi

Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0903-5849-4900-45a201d2c264\main.spi

Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0903-5865-6518-6752baefc390\main.spi

Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0903-5882-8260-88c42e9a15e7\main.spi

Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0903-5899-9926-99283adc090f\main.spi

Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0903-5915-1559-1fd6335cdd2b\main.spi

Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0903-5932-3231-33c27b6fc2c3\main.spi

Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0903-5953-5372-525df1520cf2\main.spi

Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0903-5971-7134-7dbf47d8424b\main.spi

Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0903-5992-9249-9d4c67e48cff\main.spi

Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0904-0031-3173-3453f49b96b5\main.spi

Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0904-0049-4922-462fc6609b23\main.spi

Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0904-0065-6577-67952dce0d81\main.spi

Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0904-0086-8684-8ef7166fc59b\main.spi

Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0904-0103-0325-039c5b85115c\main.spi

Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0904-0119-1957-1863113e9d49\main.spi

Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0904-0137-3774-350258a87048\main.spi

Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0904-0155-5580-5455fa302cac\main.spi

Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0904-0170-7082-79777b93e2fc\main.spi

Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0904-0188-8868-82ddf95ba4a9\main.spi

Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0904-0207-0785-0e8470d30abf\main.spi

Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0904-0225-2557-24a9e7291173\main.spi

Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0904-0242-4231-4c21b7684224\main.spi

Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0904-0261-6115-69739f8feae4\main.spi

Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0904-0354-5469-5afe16124a78\main.spi

Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0904-0415-1513-10843bdd3182\main.spi

Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0904-0432-3232-32f33464c562\main.spi

Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0904-0498-9823-90639d6a3159\main.spi

Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0904-0521-2190-2862ef606d2b\main.spi

Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0904-0608-0845-0a4a990113e5\main.spi

Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0904-0753-5332-59c3b5cae653\main.spi

[Stack overflow.]

[Repeat 4 times:]

[--------------------------------]

[   at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]

[--------------------------------]

[   at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)]

[   at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]

[   at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]

[   at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)]

[   at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]

[   at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]

[   at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)]

[   at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]

[   at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]

[   at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)]

[   at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]

[   at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]

[   at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)]

[   at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]

[   at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]

[   at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)]

[   at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]

[   at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]

[   at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)]

[   at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]

[   at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]

[   at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)]

[   at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]

[   at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]

[   at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)]

[   at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]

[   at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]

[   at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)]

[   at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]

[   at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]

[   at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)]

[   at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]

[   at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]

[   at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)]

[   at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]

[   at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]

[   at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)]

[   at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]

[   at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]

[   at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)]

[   at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]

[   at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]

[   at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)]

[   at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]

[   at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]

[   at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)]

[   at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]

[   at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]

[   at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)]

[   at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]

[   at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]

[   at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)]

[   at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]

[   at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]

[   at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)]

[   at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]

[   at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]

[   at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)]

[   at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]

[   at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]

[   at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)]

[   at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]

[   at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]

[   at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)]

[   at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]

[   at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]

[   at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)]

[   at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]

[   at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]

[   at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)]

[   at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]

[   at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]

[   at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)]

[   at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]

[   at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]

[   at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)]

[   at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]

[   at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]

[   at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)]

[   at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]

[   at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]

[   at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)]

[   at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]

[   at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]

[   at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)]

[   at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]

[   at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]

[   at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)]

[   at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]

[   at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]

[   at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)]

[   at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]

[   at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]

[   at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)]

[   at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]

[   at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]

[   at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)]

[   at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]

[   at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]

[   at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)]

[   at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]

[   at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]

[   at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)]

[   at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]

[   at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]

[   at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)]

[   at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]

[   at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]

[   at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)]

[   at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]

[   at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]

[   at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)]

[   at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]

[   at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]

[   at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)]

[   at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]

[   at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]

[   at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)]

[   at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]

[   at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]

[   at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)]

[   at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]

[   at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]

[   at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)]

[   at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]

[   at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]

[   at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)]

[   at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]

[   at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]

[   at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)]

[   at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]

[   at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]

[   at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)]

[   at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]

[   at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]

[   at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)]

[   at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]

[   at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]

[   at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)]

[   at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]

[   at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]

[   at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)]

[   at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]

[   at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]

[   at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)]

[   at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]

[   at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]

[   at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)]

[   at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]

[   at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]

[   at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)]

[   at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]

[   at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]

[   at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)]

[   at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]

[   at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]

[   at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)]

[   at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]

[   at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]

[   at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)]

[   at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]

[   at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]

[   at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)]

[   at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]

[   at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]

[   at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)]

[   at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]

[   at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]

[   at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)]

[   at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]

[   at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]

[   at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)]

[   at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]

[   at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]

[   at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)]

[   at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]

[   at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]

[   at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)]

[   at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]

[   at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]

[   at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)]

[   at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]

[   at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]

[   at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)]

[   at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]

[   at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]

[   at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)]

[   at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]

[   at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]

[   at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)]

[   at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]

[   at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]

[   at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)]

[   at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]

[   at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]

[   at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)]

[   at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]

[   at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]

[   at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)]

[   at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]

[   at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]

[   at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]

[   at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]

[   at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)]

[   at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]

[   at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]

[   at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]

[   at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)]

[   at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]

[   at Spiral.PartEval.Main.body@1060-29(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, Microsoft.FSharp.Core.FSharpFunc`2<Boolean,Microsoft.FSharp.Core.FSharpFunc`2<LangEnv,Microsoft.FSharp.Core.FSharpFunc`2<Data,Data>>>, E, E, System.String, Int32, LangEnv, L`2<Int32,Ty>, H`1<<>f__AnonymousType3599534058`5<Microsoft.FSharp.Collections.FSharpMap`2<System.String,Ty>,Boolean,UnionLayout,System.Tuple`2<System.String,Ty>[],System.Collections.Generic.Dictionary`2<System.String,Int32>>>, Microsoft.FSharp.Collections.FSharpSet`1<System.String>)]

[   at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)]

[   at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]

[   at Spiral.PartEval.Main.term_scope''@574(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]

[   at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]

[   at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)]

[   at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]

[   at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]

[   at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]

[   at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]

[   at Spiral.PartEval.Main.term_scope''@574(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]

[   at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]

[   at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)]

[   at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]

[   at Spiral.PartEval.Main.term_scope''@574(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]

[   at Spiral.PartEval.Main.term_scope@579(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]

[   at Spiral.PartEval.Main.peval(TopEnv, E)]

[   at Spiral.Supervisor.file_build$cont@383(System.String, SupervisorState, PrepassTopEnv, Microsoft.FSharp.Core.FSharpOption`1<E>, Microsoft.FSharp.Core.Unit)]

[   at Spiral.Supervisor.x2yJ@1-28(SupervisorErrorSources, System.String, System.String, SupervisorState, PrepassTopEnv)]

[   at Spiral.Supervisor+x2yJ@380-41.Do(PrepassTopEnv)]

[   at Hopac.Core.ContBind`2[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].DoCont(Hopac.Core.Worker ByRef, System.__Canon)]

[   at Hopac.Job+result@1000-1[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)]

[   at Hopac.Job+result@1000-1[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)]

[   at Hopac.Promise`1[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)]

[   at Hopac.Core.Job.Do[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]](Hopac.Job`1<System.__Canon>, Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)]

[   at Hopac.Promise`1[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)]

[   at Hopac.Core.ContMap`2[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].DoCont(Hopac.Core.Worker ByRef, System.__Canon)]

[   at Hopac.Core.JobThunk`1[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)]

[   at Hopac.Core.Job.Do[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]](Hopac.Job`1<System.__Canon>, Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)]

[   at Hopac.Promise`1[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)]

[   at Hopac.Promise`1[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)]

[   at Hopac.Core.Job.Do[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]](Hopac.Job`1<System.__Canon>, Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)]

[   at Hopac.Promise`1[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)]

[   at Hopac.Core.ContMap`2[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].DoCont(Hopac.Core.Worker ByRef, System.__Canon)]

[   at Hopac.Core.JobThunk`1[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)]

[   at Hopac.Core.Job.Do[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]](Hopac.Job`1<System.__Canon>, Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)]

[   at Hopac.Promise`1[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)]

[   at Hopac.Promise`1[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)]

[   at Hopac.Core.Job.Do[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]](Hopac.Job`1<System.__Canon>, Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)]

[   at Hopac.Promise`1[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)]

[   at Hopac.Core.ContMap`2[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].DoCont(Hopac.Core.Worker ByRef, System.__Canon)]

[   at Hopac.Core.JobThunk`1[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)]

[   at Hopac.Core.Job.Do[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]](Hopac.Job`1<System.__Canon>, Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)]

[   at Hopac.Promise`1[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)]

[   at Hopac.Promise`1[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)]

[   at Hopac.Core.Job.Do[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]](Hopac.Job`1<System.__Canon>, Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)]

[   at Hopac.Promise`1[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)]

[   at Hopac.Core.ContMap`2[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].DoCont(Hopac.Core.Worker ByRef, System.__Canon)]

[   at Hopac.Core.JobThunk`1[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)]

[   at Hopac.Core.Job.Do[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]](Hopac.Job`1<System.__Canon>, Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)]

[   at Hopac.Promise`1[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)]

[   at Hopac.Promise`1[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)]

[   at Hopac.Core.Job.Do[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]](Hopac.Job`1<System.__Canon>, Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)]

[   at Hopac.Promise`1[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)]

[   at Hopac.Core.ContMap`2[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].DoCont(Hopac.Core.Worker ByRef, System.__Canon)]

[   at Hopac.Core.JobThunk`1[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)]

[   at Hopac.Core.Job.Do[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]](Hopac.Job`1<System.__Canon>, Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)]

[   at Hopac.Promise`1[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)]

[   at Hopac.Promise`1[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)]

[   at Hopac.Core.Job.Do[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]](Hopac.Job`1<System.__Canon>, Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)]

[   at Hopac.Promise`1[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)]

[   at Hopac.Core.ContMap`2[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].DoCont(Hopac.Core.Worker ByRef, System.__Canon)]

[   at Hopac.Core.JobThunk`1[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)]

[   at Hopac.Core.Job.Do[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]](Hopac.Job`1<System.__Canon>, Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)]

[   at Hopac.Promise`1[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)]

[   at Hopac.Promise`1[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)]

[   at Hopac.Core.Job.Do[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]](Hopac.Job`1<System.__Canon>, Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)]

[   at Hopac.Promise`1[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)]

[   at Hopac.Core.ContMap`2[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].DoCont(Hopac.Core.Worker ByRef, System.__Canon)]

[   at Hopac.Core.JobThunk`1[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)]

[   at Hopac.Core.Job.Do[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]](Hopac.Job`1<System.__Canon>, Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)]

[   at Hopac.Promise`1[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)]

[   at Hopac.Promise`1[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)]

[   at Hopac.Core.Job.Do[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]](Hopac.Job`1<System.__Canon>, Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)]

[   at Hopac.Promise`1[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)]

[   at Hopac.Core.ContMap`2[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].DoCont(Hopac.Core.Worker ByRef, System.__Canon)]

[   at Hopac.Core.JobThunk`1[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)]

[   at Hopac.Core.Job.Do[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]](Hopac.Job`1<System.__Canon>, Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)]

[   at Hopac.Promise`1[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)]

[   at Hopac.Promise`1[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)]

[   at Hopac.Core.Job.Do[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]](Hopac.Job`1<System.__Canon>, Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)]

[   at Hopac.Promise`1[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)]

[   at Hopac.Core.ContMap`2[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].DoCont(Hopac.Core.Worker ByRef, System.__Canon)]

[   at Hopac.Core.JobThunk`1[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)]

[   at Hopac.Core.Job.Do[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]](Hopac.Job`1<System.__Canon>, Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)]

[   at Hopac.Promise`1[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)]

[   at Hopac.Promise`1[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)]

[   at Hopac.Core.Job.Do[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]](Hopac.Job`1<System.__Canon>, Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)]

[   at Hopac.Promise`1[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)]

[   at Hopac.Core.ContMap`2[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].DoCont(Hopac.Core.Worker ByRef, System.__Canon)]

[   at Hopac.Core.JobThunk`1[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)]

[   at Hopac.Core.Job.Do[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]](Hopac.Job`1<System.__Canon>, Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)]

[   at Hopac.Promise`1[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)]

[   at Hopac.Promise`1[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)]

[   at Hopac.Core.Job.Do[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]](Hopac.Job`1<System.__Canon>, Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)]

[   at Hopac.Promise`1[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)]

[   at Hopac.Core.ContMap`2[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].DoCont(Hopac.Core.Worker ByRef, System.__Canon)]

[   at Hopac.Core.JobThunk`1[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)]

[   at Hopac.Core.Job.Do[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]](Hopac.Job`1<System.__Canon>, Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)]

[   at Hopac.Promise`1[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)]

[   at Hopac.Promise`1[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)]

[   at Hopac.Core.Job.Do[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]](Hopac.Job`1<System.__Canon>, Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)]

[   at Hopac.Promise`1[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)]

[   at Hopac.Core.ContMap`2[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].DoCont(Hopac.Core.Worker ByRef, System.__Canon)]

[   at Hopac.Core.JobThunk`1[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)]

[   at Hopac.Core.Job.Do[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]](Hopac.Job`1<System.__Canon>, Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)]

[   at Hopac.Promise`1[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)]

[   at Hopac.Promise`1[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)]

[   at Hopac.Core.Job.Do[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]](Hopac.Job`1<System.__Canon>, Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)]

[   at Hopac.Promise`1[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)]

[   at Hopac.Core.ContMap`2[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].DoCont(Hopac.Core.Worker ByRef, System.__Canon)]

[   at Hopac.Core.JobThunk`1[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)]

[   at Hopac.Core.Job.Do[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]](Hopac.Job`1<System.__Canon>, Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)]

[   at Hopac.Promise`1[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)]

[   at Hopac.Promise`1[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)]

[   at Hopac.Core.Worker.Run(Hopac.Scheduler, Int32)]

[   at Hopac.Platform.Scheduler+thread@30.Invoke()]

[   at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object)]

00:00:40 #5566 [Warning] executeAsync / WaitForExitAsync / ex: System.Threading.Tasks.TaskCanceledException: A task was canceled.

00:00:40 #5567 [Debug] executeAsync / exitCode: -2147483648 / output.Length: 333421

00:00:40 #5568 [Debug] main / executeCommand / exitCode: -2147483648


# Invoke-Block / $Retry: 5 / $OnError: Stop / $exitcode: -2147483648 / $EnvVars: null / $Error: '' / $ScriptBlock:
'. ../../apps/spiral/dist/Supervisor$(GetExecutableSuffix) --execute-command "pwsh -c `"../../scripts/invoke-dib.ps1 physics.dib`""'


00:00:00 #1 [Debug] runWithTimeoutAsync / timeout: 60

00:00:00 #2 [Debug] executeAsync / options: { Command =

   "dotnet "C:\home\git\polyglot\deps\The-Spiral-Language\The Spiral Language 2\artifacts\bin\The Spiral Language 2\release\Spiral.dll" port=13805"

  WorkingDirectory = None

  CancellationToken = Some System.Threading.CancellationToken

  OnLine = Some <fun:main@450-1020> }

00:00:00 #3 [Verbose] > pwd: C:\home\git\polyglot\lib\spiral

00:00:00 #4 [Verbose] > dll_path: C:\home\git\polyglot\deps\The-Spiral-Language\The Spiral Language 2\artifacts\bin\The Spiral Language 2\release

00:00:00 #5 [Debug] runWithTimeoutAsync / timeout: 500

00:00:00 #6 [Verbose] waitForPortAccess / port: 13805 / retry: 0

00:00:01 #7 [Debug] sendJson / port: 13805 / json: {"Ping":true} / result.Length:

00:00:01 #8 [Verbose] awaitCompiler / Ping / result: Some(null) / port: 13805 / retry: 0

00:00:01 #9 [Verbose] > Server bound to: http://localhost:13805

00:00:01 #10 [Debug] executeAsync / options: { Command = "pwsh -c "../../scripts/invoke-dib.ps1 physics.dib""

  WorkingDirectory = None

  CancellationToken = Some System.Threading.CancellationToken

  OnLine = None }

00:00:03 #11 [Verbose] >

00:00:03 #12 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────

00:00:03 #13 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮

00:00:03 #14 [Verbose] > │ # physics                                                                    │

00:00:03 #15 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:03 #16 [Verbose] >

00:00:03 #17 [Verbose] > ── fsharp ──────────────────────────────────────────────────────────────────────

00:00:03 #18 [Verbose] > #!import ../../lib/fsharp/Plotting.dib

00:00:03 #19 [Verbose] >

00:00:03 #20 [Verbose] > ── fsharp - import ─────────────────────────────────────────────────────────────

00:00:03 #21 [Verbose] > #r

00:00:03 #22 [Verbose] > "C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.A

00:00:03 #23 [Verbose] > spNetCore.Html.Abstractions.dll"

00:00:03 #24 [Verbose] > #r

00:00:03 #25 [Verbose] > "C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D

00:00:03 #26 [Verbose] > otNet.Interactive.dll"

00:00:03 #27 [Verbose] > #r

00:00:03 #28 [Verbose] > "C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D

00:00:03 #29 [Verbose] > otNet.Interactive.FSharp.dll"

00:00:03 #30 [Verbose] > #r

00:00:03 #31 [Verbose] > "C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D

00:00:03 #32 [Verbose] > otNet.Interactive.Formatting.dll"

00:00:03 #33 [Verbose] > open System

00:00:03 #34 [Verbose] > open System.IO

00:00:03 #35 [Verbose] > open System.Text

00:00:03 #36 [Verbose] > open Microsoft.DotNet.Interactive.Formatting

00:00:06 #37 [Verbose] >

00:00:06 #38 [Verbose] > ── fsharp - import ─────────────────────────────────────────────────────────────

00:00:06 #39 [Verbose] > #r

00:00:06 #40 [Verbose] > "C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D

00:00:06 #41 [Verbose] > otNet.Interactive.FSharp.dll"

00:00:06 #42 [Verbose] > open Microsoft.DotNet.Interactive.FSharp.FSharpKernelHelpers

00:00:06 #43 [Verbose] > #r

00:00:06 #44 [Verbose] > "C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D

00:00:06 #45 [Verbose] > otNet.Interactive.dll"

00:00:06 #46 [Verbose] > open type Microsoft.DotNet.Interactive.Kernel

00:00:06 #47 [Verbose] >

00:00:06 #48 [Verbose] > ── fsharp - import ─────────────────────────────────────────────────────────────

00:00:06 #49 [Verbose] > //// test

00:00:06 #50 [Verbose] >

00:00:06 #51 [Verbose] > Formatter.ListExpansionLimit <- 100

00:00:07 #52 [Verbose] >

00:00:07 #53 [Verbose] > ── fsharp - import ─────────────────────────────────────────────────────────────

00:00:07 #54 [Verbose] > #r

00:00:07 #55 [Verbose] > @"../../../../../../../.nuget/packages/fsharp.control.asyncseq/3.2.1/lib/netstan

00:00:07 #56 [Verbose] > dard2.1/FSharp.Control.AsyncSeq.dll"

00:00:07 #57 [Verbose] > #r

00:00:07 #58 [Verbose] > @"../../../../../../../.nuget/packages/system.reactive/6.0.1-preview.1/lib/net6.

00:00:07 #59 [Verbose] > 0/System.Reactive.dll"

00:00:07 #60 [Verbose] > #r

00:00:07 #61 [Verbose] > @"../../../../../../../.nuget/packages/system.reactive.linq/6.0.1-preview.1/lib

00:00:07 #62 [Verbose] > netstandard2.0/System.Reactive.Linq.dll"

00:00:07 #63 [Verbose] > #r

00:00:07 #64 [Verbose] > @"../../../../../../../.nuget/packages/argu/6.1.1/lib/netstandard2.0/Argu.dll"

00:00:07 #65 [Verbose] > #r

00:00:07 #66 [Verbose] > @"../../../../../../../.nuget/packages/system.commandline/2.0.0-beta4.22272.1/li

00:00:07 #67 [Verbose] > b/net6.0/System.CommandLine.dll"

00:00:07 #68 [Verbose] > #r

00:00:07 #69 [Verbose] > @"../../../../../../../.nuget/packages/fsharp.json/0.4.1/lib/netstandard2.0/FSha

00:00:07 #70 [Verbose] > rp.Json.dll"

00:00:07 #71 [Verbose] >

00:00:07 #72 [Verbose] > ── fsharp - import ─────────────────────────────────────────────────────────────

00:00:07 #73 [Verbose] > #if !INTERACTIVE

00:00:07 #74 [Verbose] > namespace Polyglot

00:00:07 #75 [Verbose] > #endif

00:00:07 #76 [Verbose] >

00:00:07 #77 [Verbose] > module Common =

00:00:07 #78 [Verbose] >

00:00:07 #79 [Verbose] >     let nl = System.Environment.NewLine

00:00:07 #80 [Verbose] >     let q = @""""

00:00:07 #81 [Verbose] >

00:00:07 #82 [Verbose] >     let inline cons head tail = head :: tail

00:00:07 #83 [Verbose] >

00:00:07 #84 [Verbose] >     module String =

00:00:07 #85 [Verbose] >         let inline contains (value : string) (input : string) =

00:00:07 #86 [Verbose] >             input.Contains value

00:00:07 #87 [Verbose] >

00:00:07 #88 [Verbose] >         let inline endsWith (value : string) (input : string) =

00:00:07 #89 [Verbose] >             input.EndsWith value

00:00:07 #90 [Verbose] >

00:00:07 #91 [Verbose] >         let inline padLeft totalWidth paddingChar (input : string) =

00:00:07 #92 [Verbose] >             input.PadLeft (totalWidth, paddingChar)

00:00:07 #93 [Verbose] >

00:00:07 #94 [Verbose] >         let inline replace (oldValue : string) (newValue : string) (input :

00:00:07 #95 [Verbose] > string) =

00:00:07 #96 [Verbose] >             input.Replace (oldValue, newValue)

00:00:07 #97 [Verbose] >

00:00:07 #98 [Verbose] >         let inline split separator (input : string) =

00:00:07 #99 [Verbose] >             input.Split separator

00:00:07 #100 [Verbose] >

00:00:07 #101 [Verbose] >         let inline spli...

00:00:08 #102 [Verbose] >

00:00:08 #103 [Verbose] > ── fsharp - import ─────────────────────────────────────────────────────────────

00:00:08 #104 [Verbose] > #if !INTERACTIVE

00:00:08 #105 [Verbose] > namespace Polyglot

00:00:08 #106 [Verbose] > #endif

00:00:08 #107 [Verbose] >

00:00:08 #108 [Verbose] > module CommonFSharp =

00:00:08 #109 [Verbose] >

00:00:08 #110 [Verbose] >     open Common

00:00:08 #111 [Verbose] >

00:00:08 #112 [Verbose] >     /// ## getUnionCaseName

00:00:08 #113 [Verbose] >

00:00:08 #114 [Verbose] >     let inline getUnionCaseName<'T> (x: 'T) =

00:00:08 #115 [Verbose] >         match Reflection.FSharpValue.GetUnionFields(x, typeof<'T>) with

00:00:08 #116 [Verbose] >         | case, _ -> case.Name

00:00:08 #117 [Verbose] >

00:00:08 #118 [Verbose] >

00:00:08 #119 [Verbose] > ── fsharp - import ─────────────────────────────────────────────────────────────

00:00:08 #120 [Verbose] > #if !INTERACTIVE

00:00:08 #121 [Verbose] > namespace Polyglot

00:00:08 #122 [Verbose] > #endif

00:00:08 #123 [Verbose] >

00:00:08 #124 [Verbose] > module Crypto =

00:00:08 #125 [Verbose] >

00:00:08 #126 [Verbose] >     open Common

00:00:08 #127 [Verbose] >

00:00:08 #128 [Verbose] >     /// ## hashText

00:00:08 #129 [Verbose] >

00:00:08 #130 [Verbose] >     let hashText (input : string) =

00:00:08 #131 [Verbose] >         use sha256 = System.Security.Cryptography.SHA256.Create ()

00:00:08 #132 [Verbose] >         input

00:00:08 #133 [Verbose] >         |> System.Text.Encoding.UTF8.GetBytes

00:00:08 #134 [Verbose] >         |> sha256.ComputeHash

00:00:08 #135 [Verbose] >         |> Array.map (fun b -> b.ToString "x2")

00:00:08 #136 [Verbose] >         |> String.concat ""

00:00:08 #137 [Verbose] >

00:00:08 #138 [Verbose] >

00:00:08 #139 [Verbose] > ── fsharp - import ─────────────────────────────────────────────────────────────

00:00:08 #140 [Verbose] > #if !INTERACTIVE

00:00:08 #141 [Verbose] > namespace Polyglot

00:00:08 #142 [Verbose] > #endif

00:00:08 #143 [Verbose] >

00:00:08 #144 [Verbose] > module Async =

00:00:08 #145 [Verbose] >

00:00:08 #146 [Verbose] >     open Common

00:00:08 #147 [Verbose] >

00:00:08 #148 [Verbose] >     /// ## choice

00:00:08 #149 [Verbose] >

00:00:08 #150 [Verbose] >     let inline choice asyncs = async {

00:00:08 #151 [Verbose] >         let e = Event<_> ()

00:00:08 #152 [Verbose] >         use cts = new System.Threading.CancellationTokenSource ()

00:00:08 #153 [Verbose] >         let fn =

00:00:08 #154 [Verbose] >             asyncs

00:00:08 #155 [Verbose] >             |> Seq.map (fun a -> async {

00:00:08 #156 [Verbose] >                 let! x = a

00:00:08 #157 [Verbose] >                 e.Trigger x

00:00:08 #158 [Verbose] >             })

00:00:08 #159 [Verbose] >             |> Async.Parallel

00:00:08 #160 [Verbose] >             |> Async.Ignore

00:00:08 #161 [Verbose] >         Async.Start (fn, cts.Token)

00:00:08 #162 [Verbose] >         let! result = Async.AwaitEvent e.Publish

00:00:08 #163 [Verbose] >         cts.Cancel ()

00:00:08 #164 [Verbose] >         return result

00:00:08 #165 [Verbose] >     }

00:00:08 #166 [Verbose] >

00:00:08 #167 [Verbose] >     /// ## map

00:00:08 #168 [Verbose] >

00:00:08 #169 [Verbose] >     let inline map fn a = async {

00:00:08 #170 [Verbose] >         let! x = a

00:00:08 #171 [Verbose] >         return fn x

00:00:08 #172 [Verbose] >     }

00:00:08 #173 [Verbose] >

00:00:08 #174 [Verbose] >     /// ## catch

00:00:08 #175 [Verbose] >

00:00:08 #176 [Verbose] >     let inline catch a =

00:00:08 #177 [Verbose] >         a

00:00:08 #178 [Verbose] >         |> Async.Catch

00:00:08 #179 [Verbose] >         ...

00:00:09 #180 [Verbose] >

00:00:09 #181 [Verbose] > ── fsharp - import ─────────────────────────────────────────────────────────────

00:00:09 #182 [Verbose] > #if !INTERACTIVE

00:00:09 #183 [Verbose] > namespace Polyglot

00:00:09 #184 [Verbose] > #endif

00:00:09 #185 [Verbose] >

00:00:09 #186 [Verbose] > module AsyncSeq =

00:00:09 #187 [Verbose] >

00:00:09 #188 [Verbose] >     open Common

00:00:09 #189 [Verbose] >

00:00:09 #190 [Verbose] >     /// ## subscribeEvent

00:00:09 #191 [Verbose] >

00:00:09 #192 [Verbose] >     let inline subscribeEvent (event: IEvent<'H, 'A>) map =

00:00:09 #193 [Verbose] >         let observable = System.Reactive.Linq.Observable.FromEventPattern<'H,

00:00:09 #194 [Verbose] > 'A>(event.AddHandler, event.RemoveHandler)

00:00:09 #195 [Verbose] >         System.Reactive.Linq.Observable.Select (observable, fun event -> map

00:00:09 #196 [Verbose] > event.EventArgs)

00:00:09 #197 [Verbose] >         |> FSharp.Control.AsyncSeq.ofObservableBuffered

00:00:09 #198 [Verbose] >

00:00:09 #199 [Verbose] >     let subscribeToken (token : System.Threading.CancellationToken) =

00:00:09 #200 [Verbose] >         let tcs = new System.Threading.Tasks.TaskCompletionSource ()

00:00:09 #201 [Verbose] >         System.Action tcs.SetResult |> token.Register |> ignore

00:00:09 #202 [Verbose] >         let start = System.DateTime.Now.Ticks

00:00:09 #203 [Verbose] >         FSharp.Control.AsyncSeq.unfoldAsync

00:00:09 #204 [Verbose] >             (fun (...

00:00:09 #205 [Verbose] >

00:00:09 #206 [Verbose] > ── fsharp - import ─────────────────────────────────────────────────────────────

00:00:09 #207 [Verbose] > #if !INTERACTIVE

00:00:09 #208 [Verbose] > namespace Polyglot

00:00:09 #209 [Verbose] > #endif

00:00:09 #210 [Verbose] >

00:00:09 #211 [Verbose] > module Networking =

00:00:09 #212 [Verbose] >

00:00:09 #213 [Verbose] >     open Common

00:00:09 #214 [Verbose] >

00:00:09 #215 [Verbose] >     /// ## testPortOpen

00:00:09 #216 [Verbose] >

00:00:09 #217 [Verbose] >     let inline testPortOpen port = async {

00:00:09 #218 [Verbose] >         let! ct = Async.CancellationToken

00:00:09 #219 [Verbose] >         use client = new System.Net.Sockets.TcpClient ()

00:00:09 #220 [Verbose] >         try

00:00:09 #221 [Verbose] >             do! client.ConnectAsync ("127.0.0.1", port, ct) |>

00:00:09 #222 [Verbose] > Async.awaitValueTaskUnit

00:00:09 #223 [Verbose] >             return true

00:00:09 #224 [Verbose] >         with ex ->

00:00:09 #225 [Verbose] >             trace Verbose (fun () -> $"testPortOpen / ex: {ex |>

00:00:09 #226 [Verbose] > printException}") getLocals

00:00:09 #227 [Verbose] >             return false

00:00:09 #228 [Verbose] >     }

00:00:09 #229 [Verbose] >

00:00:09 #230 [Verbose] >     let inline testPortOpenTimeout timeout port = async {

00:00:09 #231 [Verbose] >         let! result =

00:00:09 #232 [Verbose] >             testPortOpen port

00:00:09 #233 [Verbose] >             |> Async.runWithTimeoutAsync timeout

00:00:09 #234 [Verbose] >         return

00:00:09 #235 [Verbose] >             match result with

00:00:09 #236 [Verbose] >             | None -> false

00:00:09 #237 [Verbose] >  ...

00:00:09 #238 [Verbose] >

00:00:09 #239 [Verbose] > ── fsharp - import ─────────────────────────────────────────────────────────────

00:00:09 #240 [Verbose] > #if !INTERACTIVE

00:00:09 #241 [Verbose] > namespace Polyglot

00:00:09 #242 [Verbose] > #endif

00:00:09 #243 [Verbose] >

00:00:09 #244 [Verbose] > module Runtime =

00:00:09 #245 [Verbose] >

00:00:09 #246 [Verbose] >     open Common

00:00:09 #247 [Verbose] >

00:00:09 #248 [Verbose] >     /// ## isWindows

00:00:09 #249 [Verbose] >

00:00:09 #250 [Verbose] >     let isWindows =

00:00:09 #251 [Verbose] >         fun () ->

00:00:09 #252 [Verbose] >             System.Runtime.InteropServices.RuntimeInformation.IsOSPlatform

00:00:09 #253 [Verbose] >                 System.Runtime.InteropServices.OSPlatform.Windows

00:00:09 #254 [Verbose] >         |> memoize

00:00:09 #255 [Verbose] >

00:00:09 #256 [Verbose] >     /// ## getExecutableSuffix

00:00:09 #257 [Verbose] >

00:00:09 #258 [Verbose] >     let inline getExecutableSuffix () =

00:00:09 #259 [Verbose] >         if isWindows ()

00:00:09 #260 [Verbose] >         then ".exe"

00:00:09 #261 [Verbose] >         else ""

00:00:09 #262 [Verbose] >

00:00:09 #263 [Verbose] >     /// ## splitCommand

00:00:09 #264 [Verbose] >

00:00:09 #265 [Verbose] >     type private CommandParseStep =

00:00:09 #266 [Verbose] >         | Start

00:00:09 #267 [Verbose] >         | Path of quoted: bool

00:00:09 #268 [Verbose] >         | Arguments

00:00:09 #269 [Verbose] >

00:00:09 #270 [Verbose] >     let splitCommand (command: string) =

00:00:09 #271 [Verbose] >         let rec loop (path, args) chars step =

00:00:09 #272 [Verbose] >             match chars, step with

00:00:09 #273 [Verbose] >             | ('"' | '\'') :: tail, _ when path = "" -> loop (pat...

00:00:10 #274 [Verbose] >

00:00:10 #275 [Verbose] > ── fsharp - import ─────────────────────────────────────────────────────────────

00:00:10 #276 [Verbose] > #if !INTERACTIVE

00:00:10 #277 [Verbose] > namespace Polyglot

00:00:10 #278 [Verbose] > #endif

00:00:10 #279 [Verbose] >

00:00:10 #280 [Verbose] > module FileSystem =

00:00:10 #281 [Verbose] >

00:00:10 #282 [Verbose] >     open Common

00:00:10 #283 [Verbose] >

00:00:10 #284 [Verbose] >     /// ## Operators

00:00:10 #285 [Verbose] >

00:00:10 #286 [Verbose] >     module Operators =

00:00:10 #287 [Verbose] >         let inline (</>) a b =

00:00:10 #288 [Verbose] >             System.IO.Path.Combine (a, b)

00:00:10 #289 [Verbose] >

00:00:10 #290 [Verbose] >     open Operators

00:00:10 #291 [Verbose] >

00:00:10 #292 [Verbose] >     /// ## createTempDirectoryName

00:00:10 #293 [Verbose] >

00:00:10 #294 [Verbose] >     let inline createTempDirectoryName () =

00:00:10 #295 [Verbose] >         let root = System.Reflection.Assembly.GetEntryAssembly().GetName().Name

00:00:10 #296 [Verbose] >

00:00:10 #297 [Verbose] >         System.IO.Path.GetTempPath ()

00:00:10 #298 [Verbose] >         </> $"!{root}"

00:00:10 #299 [Verbose] >         </> string (newGuidFromDateTime System.DateTime.Now)

00:00:10 #300 [Verbose] >

00:00:10 #301 [Verbose] >     /// ## createTempDirectory

00:00:10 #302 [Verbose] >

00:00:10 #303 [Verbose] >     let inline createTempDirectory () =

00:00:10 #304 [Verbose] >         let tempFolder = createTempDirectoryName ()

00:00:10 #305 [Verbose] >         let result = System.IO.Directory.CreateDirectory tempFolder

00:00:10 #306 [Verbose] >

00:00:10 #307 [Verbose] >         if not result.Exists then

00:00:10 #308 [Verbose] >             let ge...

00:00:12 #309 [Verbose] >

00:00:12 #310 [Verbose] > ── fsharp - import ─────────────────────────────────────────────────────────────

00:00:12 #311 [Verbose] > open Common

00:00:12 #312 [Verbose] > open FileSystem.Operators

00:00:12 #313 [Verbose] >

00:00:12 #314 [Verbose] > ── fsharp - import ─────────────────────────────────────────────────────────────

00:00:12 #315 [Verbose] > let tmpSpiralPath = Path.GetTempPath () </> "!dotnet-interactive-spiral"

00:00:12 #316 [Verbose] > let linePlotsDataPath = tmpSpiralPath </> "line-plots-data"

00:00:12 #317 [Verbose] > let linePlotsSvgPath = tmpSpiralPath </> "line-plots-svg"

00:00:12 #318 [Verbose] >

00:00:12 #319 [Verbose] > [[ tmpSpiralPath; linePlotsDataPath; linePlotsSvgPath ]]

00:00:12 #320 [Verbose] > |> List.iter (fun dir -> if Directory.Exists dir |> not then

00:00:12 #321 [Verbose] > Directory.CreateDirectory dir |> ignore)

00:00:12 #322 [Verbose] >

00:00:12 #323 [Verbose] > Formatter.Register<struct (string * string * string * struct (string * float

00:00:12 #324 [Verbose] > array * float array) array)> (

00:00:12 #325 [Verbose] >     (fun struct (caption, x_desc, y_desc, ys) ->

00:00:12 #326 [Verbose] >         let json = (caption, x_desc, y_desc, ys) |> FSharp.Json.Json.serialize

00:00:12 #327 [Verbose] >         async {

00:00:12 #328 [Verbose] >             let hashHex = json |> Crypto.hashText

00:00:12 #329 [Verbose] >             let svgPath = linePlotsSvgPath </> $"{hashHex}.svg"

00:00:12 #330 [Verbose] >

00:00:12 #331 [Verbose] >             if System.IO.File.Exi...

00:00:13 #332 [Verbose] >

00:00:13 #333 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:13 #334 [Verbose] > // // test

00:00:13 #335 [Verbose] >

00:00:13 #336 [Verbose] > open testing

00:00:14 #337 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0904-4998-9861-9b30ff67bb59\main.spi

00:00:15 #338 [Verbose] >

00:00:15 #339 [Verbose] > ╭─[ 2.52s - stdout ]───────────────────────────────────────────────────────────╮

00:00:15 #340 [Verbose] > │ ()                                                                           │

00:00:15 #341 [Verbose] > │                                                                              │

00:00:15 #342 [Verbose] > │                                                                              │

00:00:15 #343 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:15 #344 [Verbose] >

00:00:15 #345 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:15 #346 [Verbose] > inl (/@) x = listm'.(/@) x

00:00:15 #347 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0904-5196-9687-9bc2229e4351\main.spi

00:00:15 #348 [Verbose] >

00:00:15 #349 [Verbose] > ╭─[ 208.15ms - stdout ]────────────────────────────────────────────────────────╮

00:00:15 #350 [Verbose] > │ ()                                                                           │

00:00:15 #351 [Verbose] > │                                                                              │

00:00:15 #352 [Verbose] > │                                                                              │

00:00:15 #353 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:15 #354 [Verbose] >

00:00:15 #355 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────

00:00:15 #356 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮

00:00:15 #357 [Verbose] > │ ## init_series                                                               │

00:00:15 #358 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:15 #359 [Verbose] >

00:00:15 #360 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:15 #361 [Verbose] > // // test

00:00:15 #362 [Verbose] >

00:00:15 #363 [Verbose] > inl x : a _ f64 = am'.init_series -3 3 0.01

00:00:15 #364 [Verbose] > inl y = x |> am.map math.square

00:00:15 #365 [Verbose] > "square", "x", "y", ;[[ "square", x, y ]]

00:00:16 #366 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0904-5217-1782-1ec937e3b56f\main.spi

00:00:16 #367 [Verbose] >

00:00:16 #368 [Verbose] > ╭─[ 388.99ms - return value ]──────────────────────────────────────────────────╮

00:00:16 #369 [Verbose] > │ <svg width="640" height="480" viewBox="0 0 640 480"                          │

00:00:16 #370 [Verbose] > │ xmlns="http://www.w3.org/2000/svg">                                          │

00:00:16 #371 [Verbose] > │ <rect x="0" y="0" width="640" height="480" opacity="1" fill="#141414"        │

00:00:16 #372 [Verbose] > │ stroke="none"/>                                                              │

00:00:16 #373 [Verbose] > │ <text x="320" y="10" dy="0.76em" text-anchor="middle"                        │

00:00:16 #374 [Verbose] > │ font-family="sans-serif" font-size="9.67741935483871" opacity="1"            │

00:00:16 #375 [Verbose] > │ fill="#FFFFFF">                                                              │

00:00:16 #376 [Verbose] > │ square                                                                       │

00:00:16 #377 [Verbose] > │ </text>                                                                      │

00:00:16 #378 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="61" y1="424" x2="61" │

00:00:16 #379 [Verbose] > │ y2="75"/>                                                                    │

00:00:16 #380 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="69" y1="424" x2="69" │

00:00:16 #381 [Verbose] > │ y2="75"/>                                                                    │

00:00:16 #382 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="78" y1="424" x2="78" │

00:00:16 #383 [Verbose] > │ y2="75"/>                                                                    │

00:00:16 #384 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="86" y1="424" x2="86" │

00:00:16 #385 [Verbose] > │ y2="75"/>                                                                    │

00:00:16 #386 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="94" y1="424" x2="94" │

00:00:16 #387 [Verbose] > │ ...                                                                          │

00:00:16 #388 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:16 #389 [Verbose] >

00:00:16 #390 [Verbose] > ╭─[ 407.77ms - stdout ]────────────────────────────────────────────────────────╮

00:00:16 #391 [Verbose] > │ type Mut0 = {mutable l0 : int32}                                             │

00:00:16 #392 [Verbose] > │ let rec method1 (v0 : Mut0) : bool =                                         │

00:00:16 #393 [Verbose] > │     let v1 : int32 = v0.l0                                                   │

00:00:16 #394 [Verbose] > │     let v2 : bool = v1 < 601                                                 │

00:00:16 #395 [Verbose] > │     v2                                                                       │

00:00:16 #396 [Verbose] > │ and method2 (v0 : int32, v1 : Mut0) : bool =                                 │

00:00:16 #397 [Verbose] > │     let v2 : int32 = v1.l0                                                   │

00:00:16 #398 [Verbose] > │     let v3 : bool = v2 < v0                                                  │

00:00:16 #399 [Verbose] > │     v3                                                                       │

00:00:16 #400 [Verbose] > │ and method3 (v0 : (struct (string * (float []) * (float [])) [])) : (struct  │

00:00:16 #401 [Verbose] > │ (string * (float []) * (float [])) []) =                                     │

00:00:16 #402 [Verbose] > │     v0                                                                       │

00:00:16 #403 [Verbose] > │ and method0 () : struct (string * string * string * (struct (string * (float │

00:00:16 #404 [Verbose] > │ []) * (float [])) [])) =                                                     │

00:00:16 #405 [Verbose] > │     let v0 : (float []) = Array.zeroCreate<float> (601)                      │

00:00:16 #406 [Verbose] > │     let v1 : Mut0 = {l0 = 0} : Mut0                                          │

00:00:16 #407 [Verbose] > │     while method1(v1) do                                                     │

00:00:16 #408 [Verbose] > │         let v3 : int32 = v1.l0                                               │

00:00:16 #409 [Verbose] > │         let v4 : float = float v3                                            │

00:00:16 #410 [Verbose] > │         let v5 : float = 0.01 * v4                                           │

00:00:16 #411 [Verbose] > │         let v6 : float = -3.0 + v5                                           │

00:00:16 #412 [Verbose] > │         v0.[int v3] <- v6                                                    │

00:00:16 #413 [Verbose] > │         let v7 : int32 = v3 + 1                                              │

00:00:16 #414 [Verbose] > │         v1.l0 <- v7                                                          │

00:00:16 #415 [Verbose] > │         ()                                                                   │

00:00:16 #416 [Verbose] > │     let v8 : int32 = v0.Length                                               │

00:00:16 #417 [Verbose] > │     let v9 : (float []) = Array.zeroCreate<float> (v8)                       │

00:00:16 #418 [Verbose] > │     let v10 : Mut0 = {l0 = 0} : Mut0                                         │

00:00:16 #419 [Verbose] > │     while method2(v8, v10) do                                                │

00:00:16 #420 [Verbose] > │         let v12 : int32 = v10.l0                                             │

00:00:16 #421 [Verbose] > │         let v13 : float = v0.[int v12]                                       │

00:00:16 #422 [Verbose] > │         let v14 : float = v13 ** 2.0                                         │

00:00:16 #423 [Verbose] > │         v9.[int v12] <- v14                                                  │

00:00:16 #424 [Verbose] > │         let v15 : int32 = v12 + 1                                            │

00:00:16 #425 [Verbose] > │         v10.l0 <- v15                                                        │

00:00:16 #426 [Verbose] > │         ()                                                                   │

00:00:16 #427 [Verbose] > │     let v16 : string = "square"                                              │

00:00:16 #428 [Verbose] > │     let v17 : (struct (string * (float []) * (float [])) []) = [|struct      │

00:00:16 #429 [Verbose] > │ (v16, v0, v9)|]                                                              │

00:00:16 #430 [Verbose] > │     let v18 : (struct (string * (float []) * (float [])) []) = method3(v17)  │

00:00:16 #431 [Verbose] > │     let v19 : string = "x"                                                   │

00:00:16 #432 [Verbose] > │     let v20 : string = "y"                                                   │

00:00:16 #433 [Verbose] > │     struct (v16, v19, v20, v18)                                              │

00:00:16 #434 [Verbose] > │ method0()                                                                    │

00:00:16 #435 [Verbose] > │                                                                              │

00:00:16 #436 [Verbose] > │                                                                              │

00:00:16 #437 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:16 #438 [Verbose] >

00:00:16 #439 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:16 #440 [Verbose] > // // test

00:00:16 #441 [Verbose] >

00:00:16 #442 [Verbose] > inl x : a _ f64 = am'.init_series -10 10 0.1

00:00:16 #443 [Verbose] > inl y_sin = x |> am.map sin

00:00:16 #444 [Verbose] > inl y_cos = x |> am.map cos

00:00:16 #445 [Verbose] > "sin cos", "x", "y", ;[[ "sin", x, y_sin; "cos", x, y_cos ]]

00:00:16 #446 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0904-5260-6073-6d6acce1a290\main.spi

00:00:16 #447 [Verbose] >

00:00:16 #448 [Verbose] > ╭─[ 295.09ms - return value ]──────────────────────────────────────────────────╮

00:00:16 #449 [Verbose] > │ <svg width="640" height="480" viewBox="0 0 640 480"                          │

00:00:16 #450 [Verbose] > │ xmlns="http://www.w3.org/2000/svg">                                          │

00:00:16 #451 [Verbose] > │ <rect x="0" y="0" width="640" height="480" opacity="1" fill="#141414"        │

00:00:16 #452 [Verbose] > │ stroke="none"/>                                                              │

00:00:16 #453 [Verbose] > │ <text x="320" y="10" dy="0.76em" text-anchor="middle"                        │

00:00:16 #454 [Verbose] > │ font-family="sans-serif" font-size="9.67741935483871" opacity="1"            │

00:00:16 #455 [Verbose] > │ fill="#FFFFFF">                                                              │

00:00:16 #456 [Verbose] > │ sin cos                                                                      │

00:00:16 #457 [Verbose] > │ </text>                                                                      │

00:00:16 #458 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="57" y1="424" x2="57" │

00:00:16 #459 [Verbose] > │ y2="75"/>                                                                    │

00:00:16 #460 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="69" y1="424" x2="69" │

00:00:16 #461 [Verbose] > │ y2="75"/>                                                                    │

00:00:16 #462 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="82" y1="424" x2="82" │

00:00:16 #463 [Verbose] > │ y2="75"/>                                                                    │

00:00:16 #464 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="94" y1="424" x2="94" │

00:00:16 #465 [Verbose] > │ y2="75"/>                                                                    │

00:00:16 #466 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="107" y1="424"        │

00:00:16 #467 [Verbose] > │ x2="10...                                                                    │

00:00:16 #468 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:16 #469 [Verbose] >

00:00:16 #470 [Verbose] > ╭─[ 305.59ms - stdout ]────────────────────────────────────────────────────────╮

00:00:16 #471 [Verbose] > │ type Mut0 = {mutable l0 : int32}                                             │

00:00:16 #472 [Verbose] > │ let rec method1 (v0 : Mut0) : bool =                                         │

00:00:16 #473 [Verbose] > │     let v1 : int32 = v0.l0                                                   │

00:00:16 #474 [Verbose] > │     let v2 : bool = v1 < 201                                                 │

00:00:16 #475 [Verbose] > │     v2                                                                       │

00:00:16 #476 [Verbose] > │ and method2 (v0 : int32, v1 : Mut0) : bool =                                 │

00:00:16 #477 [Verbose] > │     let v2 : int32 = v1.l0                                                   │

00:00:16 #478 [Verbose] > │     let v3 : bool = v2 < v0                                                  │

00:00:16 #479 [Verbose] > │     v3                                                                       │

00:00:16 #480 [Verbose] > │ and method3 (v0 : (struct (string * (float []) * (float [])) [])) : (struct  │

00:00:16 #481 [Verbose] > │ (string * (float []) * (float [])) []) =                                     │

00:00:16 #482 [Verbose] > │     v0                                                                       │

00:00:16 #483 [Verbose] > │ and method0 () : struct (string * string * string * (struct (string * (float │

00:00:16 #484 [Verbose] > │ []) * (float [])) [])) =                                                     │

00:00:16 #485 [Verbose] > │     let v0 : (float []) = Array.zeroCreate<float> (201)                      │

00:00:16 #486 [Verbose] > │     let v1 : Mut0 = {l0 = 0} : Mut0                                          │

00:00:16 #487 [Verbose] > │     while method1(v1) do                                                     │

00:00:16 #488 [Verbose] > │         let v3 : int32 = v1.l0                                               │

00:00:16 #489 [Verbose] > │         let v4 : float = float v3                                            │

00:00:16 #490 [Verbose] > │         let v5 : float = 0.1 * v4                                            │

00:00:16 #491 [Verbose] > │         let v6 : float = -10.0 + v5                                          │

00:00:16 #492 [Verbose] > │         v0.[int v3] <- v6                                                    │

00:00:16 #493 [Verbose] > │         let v7 : int32 = v3 + 1                                              │

00:00:16 #494 [Verbose] > │         v1.l0 <- v7                                                          │

00:00:16 #495 [Verbose] > │         ()                                                                   │

00:00:16 #496 [Verbose] > │     let v8 : int32 = v0.Length                                               │

00:00:16 #497 [Verbose] > │     let v9 : (float []) = Array.zeroCreate<float> (v8)                       │

00:00:16 #498 [Verbose] > │     let v10 : Mut0 = {l0 = 0} : Mut0                                         │

00:00:16 #499 [Verbose] > │     while method2(v8, v10) do                                                │

00:00:16 #500 [Verbose] > │         let v12 : int32 = v10.l0                                             │

00:00:16 #501 [Verbose] > │         let v13 : float = v0.[int v12]                                       │

00:00:16 #502 [Verbose] > │         let v14 : float = sin v13                                            │

00:00:16 #503 [Verbose] > │         v9.[int v12] <- v14                                                  │

00:00:16 #504 [Verbose] > │         let v15 : int32 = v12 + 1                                            │

00:00:16 #505 [Verbose] > │         v10.l0 <- v15                                                        │

00:00:16 #506 [Verbose] > │         ()                                                                   │

00:00:16 #507 [Verbose] > │     let v16 : (float []) = Array.zeroCreate<float> (v8)                      │

00:00:16 #508 [Verbose] > │     let v17 : Mut0 = {l0 = 0} : Mut0                                         │

00:00:16 #509 [Verbose] > │     while method2(v8, v17) do                                                │

00:00:16 #510 [Verbose] > │         let v19 : int32 = v17.l0                                             │

00:00:16 #511 [Verbose] > │         let v20 : float = v0.[int v19]                                       │

00:00:16 #512 [Verbose] > │         let v21 : float = cos v20                                            │

00:00:16 #513 [Verbose] > │         v16.[int v19] <- v21                                                 │

00:00:16 #514 [Verbose] > │         let v22 : int32 = v19 + 1                                            │

00:00:16 #515 [Verbose] > │         v17.l0 <- v22                                                        │

00:00:16 #516 [Verbose] > │         ()                                                                   │

00:00:16 #517 [Verbose] > │     let v23 : string = "sin"                                                 │

00:00:16 #518 [Verbose] > │     let v24 : string = "cos"                                                 │

00:00:16 #519 [Verbose] > │     let v25 : (struct (string * (float []) * (float [])) []) = [|struct      │

00:00:16 #520 [Verbose] > │ (v23, v0, v9); struct (v24, v0, v16)|]                                       │

00:00:16 #521 [Verbose] > │     let v26 : (struct (string * (float []) * (float [])) []) = method3(v25)  │

00:00:16 #522 [Verbose] > │     let v27 : string = "sin cos"                                             │

00:00:16 #523 [Verbose] > │     let v28 : string = "x"                                                   │

00:00:16 #524 [Verbose] > │     let v29 : string = "y"                                                   │

00:00:16 #525 [Verbose] > │     struct (v27, v28, v29, v26)                                              │

00:00:16 #526 [Verbose] > │ method0()                                                                    │

00:00:16 #527 [Verbose] > │                                                                              │

00:00:16 #528 [Verbose] > │                                                                              │

00:00:16 #529 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:16 #530 [Verbose] >

00:00:16 #531 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:16 #532 [Verbose] > // // test

00:00:16 #533 [Verbose] >

00:00:16 #534 [Verbose] > inl y_pos y0 vy0 ay t =

00:00:16 #535 [Verbose] >     y0 + vy0 * t + ay * (t |> math.square) / 2

00:00:16 #536 [Verbose] >

00:00:16 #537 [Verbose] > inl x : a _ f64 = am'.init_series 0 5 0.01

00:00:16 #538 [Verbose] > inl y = x |> am.map (y_pos 0 20 -9.8)

00:00:16 #539 [Verbose] > "projectile motion", "time (s)", "", ;[[ "height of projectile (m)", x, y ]]

00:00:16 #540 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0904-5293-9365-9780e65864bb\main.spi

00:00:16 #541 [Verbose] >

00:00:16 #542 [Verbose] > ╭─[ 231.00ms - return value ]──────────────────────────────────────────────────╮

00:00:16 #543 [Verbose] > │ <svg width="640" height="480" viewBox="0 0 640 480"                          │

00:00:16 #544 [Verbose] > │ xmlns="http://www.w3.org/2000/svg">                                          │

00:00:16 #545 [Verbose] > │ <rect x="0" y="0" width="640" height="480" opacity="1" fill="#141414"        │

00:00:16 #546 [Verbose] > │ stroke="none"/>                                                              │

00:00:16 #547 [Verbose] > │ <text x="320" y="10" dy="0.76em" text-anchor="middle"                        │

00:00:16 #548 [Verbose] > │ font-family="sans-serif" font-size="9.67741935483871" opacity="1"            │

00:00:16 #549 [Verbose] > │ fill="#FFFFFF">                                                              │

00:00:16 #550 [Verbose] > │ projectile motion                                                            │

00:00:16 #551 [Verbose] > │ </text>                                                                      │

00:00:16 #552 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="59" y1="424" x2="59" │

00:00:16 #553 [Verbose] > │ y2="75"/>                                                                    │

00:00:16 #554 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="69" y1="424" x2="69" │

00:00:16 #555 [Verbose] > │ y2="75"/>                                                                    │

00:00:16 #556 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="79" y1="424" x2="79" │

00:00:16 #557 [Verbose] > │ y2="75"/>                                                                    │

00:00:16 #558 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="89" y1="424" x2="89" │

00:00:16 #559 [Verbose] > │ y2="75"/>                                                                    │

00:00:16 #560 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="99" y1="42...        │

00:00:16 #561 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:16 #562 [Verbose] >

00:00:16 #563 [Verbose] > ╭─[ 242.05ms - stdout ]────────────────────────────────────────────────────────╮

00:00:16 #564 [Verbose] > │ type Mut0 = {mutable l0 : int32}                                             │

00:00:16 #565 [Verbose] > │ let rec method1 (v0 : Mut0) : bool =                                         │

00:00:16 #566 [Verbose] > │     let v1 : int32 = v0.l0                                                   │

00:00:16 #567 [Verbose] > │     let v2 : bool = v1 < 501                                                 │

00:00:16 #568 [Verbose] > │     v2                                                                       │

00:00:16 #569 [Verbose] > │ and method2 (v0 : int32, v1 : Mut0) : bool =                                 │

00:00:16 #570 [Verbose] > │     let v2 : int32 = v1.l0                                                   │

00:00:16 #571 [Verbose] > │     let v3 : bool = v2 < v0                                                  │

00:00:16 #572 [Verbose] > │     v3                                                                       │

00:00:16 #573 [Verbose] > │ and method3 (v0 : (struct (string * (float []) * (float [])) [])) : (struct  │

00:00:16 #574 [Verbose] > │ (string * (float []) * (float [])) []) =                                     │

00:00:16 #575 [Verbose] > │     v0                                                                       │

00:00:16 #576 [Verbose] > │ and method0 () : struct (string * string * string * (struct (string * (float │

00:00:16 #577 [Verbose] > │ []) * (float [])) [])) =                                                     │

00:00:16 #578 [Verbose] > │     let v0 : (float []) = Array.zeroCreate<float> (501)                      │

00:00:16 #579 [Verbose] > │     let v1 : Mut0 = {l0 = 0} : Mut0                                          │

00:00:16 #580 [Verbose] > │     while method1(v1) do                                                     │

00:00:16 #581 [Verbose] > │         let v3 : int32 = v1.l0                                               │

00:00:16 #582 [Verbose] > │         let v4 : float = float v3                                            │

00:00:16 #583 [Verbose] > │         let v5 : float = 0.01 * v4                                           │

00:00:16 #584 [Verbose] > │         v0.[int v3] <- v5                                                    │

00:00:16 #585 [Verbose] > │         let v6 : int32 = v3 + 1                                              │

00:00:16 #586 [Verbose] > │         v1.l0 <- v6                                                          │

00:00:16 #587 [Verbose] > │         ()                                                                   │

00:00:16 #588 [Verbose] > │     let v7 : int32 = v0.Length                                               │

00:00:16 #589 [Verbose] > │     let v8 : (float []) = Array.zeroCreate<float> (v7)                       │

00:00:16 #590 [Verbose] > │     let v9 : Mut0 = {l0 = 0} : Mut0                                          │

00:00:16 #591 [Verbose] > │     while method2(v7, v9) do                                                 │

00:00:16 #592 [Verbose] > │         let v11 : int32 = v9.l0                                              │

00:00:16 #593 [Verbose] > │         let v12 : float = v0.[int v11]                                       │

00:00:16 #594 [Verbose] > │         let v13 : float = 20.0 * v12                                         │

00:00:16 #595 [Verbose] > │         let v14 : float = v12 ** 2.0                                         │

00:00:16 #596 [Verbose] > │         let v15 : float = -9.8 * v14                                         │

00:00:16 #597 [Verbose] > │         let v16 : float = v15 / 2.0                                          │

00:00:16 #598 [Verbose] > │         let v17 : float = v13 + v16                                          │

00:00:16 #599 [Verbose] > │         v8.[int v11] <- v17                                                  │

00:00:16 #600 [Verbose] > │         let v18 : int32 = v11 + 1                                            │

00:00:16 #601 [Verbose] > │         v9.l0 <- v18                                                         │

00:00:16 #602 [Verbose] > │         ()                                                                   │

00:00:16 #603 [Verbose] > │     let v19 : string = "height of projectile (m)"                            │

00:00:16 #604 [Verbose] > │     let v20 : (struct (string * (float []) * (float [])) []) = [|struct      │

00:00:16 #605 [Verbose] > │ (v19, v0, v8)|]                                                              │

00:00:16 #606 [Verbose] > │     let v21 : (struct (string * (float []) * (float [])) []) = method3(v20)  │

00:00:16 #607 [Verbose] > │     let v22 : string = "projectile motion"                                   │

00:00:16 #608 [Verbose] > │     let v23 : string = "time (s)"                                            │

00:00:16 #609 [Verbose] > │     let v24 : string = ""                                                    │

00:00:16 #610 [Verbose] > │     struct (v22, v23, v24, v21)                                              │

00:00:16 #611 [Verbose] > │ method0()                                                                    │

00:00:16 #612 [Verbose] > │                                                                              │

00:00:16 #613 [Verbose] > │                                                                              │

00:00:16 #614 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:16 #615 [Verbose] >

00:00:16 #616 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────

00:00:16 #617 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮

00:00:16 #618 [Verbose] > │ ## velocity_cf                                                               │

00:00:16 #619 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:16 #620 [Verbose] >

00:00:16 #621 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:16 #622 [Verbose] > type mass = f64

00:00:16 #623 [Verbose] > type time = f64

00:00:16 #624 [Verbose] > type position = f64

00:00:16 #625 [Verbose] > type velocity = f64

00:00:16 #626 [Verbose] > type force = f64

00:00:16 #627 [Verbose] >

00:00:16 #628 [Verbose] > type velocity_cf = mass -> velocity -> list force -> (time -> velocity)

00:00:16 #629 [Verbose] >

00:00:16 #630 [Verbose] > inl velocity_cf m v0 fs =

00:00:16 #631 [Verbose] >     inl f_net = fs |> listm'.sum

00:00:16 #632 [Verbose] >     inl a0 = f_net / m

00:00:16 #633 [Verbose] >     inl v t = v0 + a0 * t

00:00:16 #634 [Verbose] >     v

00:00:17 #635 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0904-5320-2025-240fba906f59\main.spi

00:00:17 #636 [Verbose] >

00:00:17 #637 [Verbose] > ╭─[ 177.89ms - stdout ]────────────────────────────────────────────────────────╮

00:00:17 #638 [Verbose] > │ ()                                                                           │

00:00:17 #639 [Verbose] > │                                                                              │

00:00:17 #640 [Verbose] > │                                                                              │

00:00:17 #641 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:17 #642 [Verbose] >

00:00:17 #643 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:17 #644 [Verbose] > // // test

00:00:17 #645 [Verbose] >

00:00:17 #646 [Verbose] > velocity_cf 0.1f64 0.6 [[ 0.04; -0.08 ]] 0

00:00:17 #647 [Verbose] > |> _equal 0.6

00:00:17 #648 [Verbose] >

00:00:17 #649 [Verbose] > velocity_cf 0.1f64 0.6 [[ 0.04; -0.08 ]] 1

00:00:17 #650 [Verbose] > |> _equal 0.2

00:00:17 #651 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0904-5338-3818-3e654ebfa88a\main.spi

00:00:17 #652 [Verbose] >

00:00:17 #653 [Verbose] > ╭─[ 203.35ms - stdout ]────────────────────────────────────────────────────────╮

00:00:17 #654 [Verbose] > │ let rec method0 () : unit =                                                  │

00:00:17 #655 [Verbose] > │     let v0 : string = $"__expect / actual: %A{0.6} / expected: %A{0.6}"      │

00:00:17 #656 [Verbose] > │     let v1 : string = $"__expect / actual: %A{0.2} / expected: %A{0.2}"      │

00:00:17 #657 [Verbose] > │     ()                                                                       │

00:00:17 #658 [Verbose] > │ method0()                                                                    │

00:00:17 #659 [Verbose] > │                                                                              │

00:00:17 #660 [Verbose] > │                                                                              │

00:00:17 #661 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:17 #662 [Verbose] >

00:00:17 #663 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:17 #664 [Verbose] > // // test

00:00:17 #665 [Verbose] >

00:00:17 #666 [Verbose] > inl x = am'.init_series 0 4 0.1

00:00:17 #667 [Verbose] > inl y = x |> am.map (velocity_cf 0.1f64 0.6 [[ 0.04; -0.08 ]])

00:00:17 #668 [Verbose] > "car on an air track", "time (s)", "", ;[[ "velocity of car (m/s)", x, y ]]

00:00:17 #669 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0904-5358-5898-5ba2ac43e344\main.spi

00:00:17 #670 [Verbose] >

00:00:17 #671 [Verbose] > ╭─[ 238.28ms - return value ]──────────────────────────────────────────────────╮

00:00:17 #672 [Verbose] > │ <svg width="640" height="480" viewBox="0 0 640 480"                          │

00:00:17 #673 [Verbose] > │ xmlns="http://www.w3.org/2000/svg">                                          │

00:00:17 #674 [Verbose] > │ <rect x="0" y="0" width="640" height="480" opacity="1" fill="#141414"        │

00:00:17 #675 [Verbose] > │ stroke="none"/>                                                              │

00:00:17 #676 [Verbose] > │ <text x="320" y="10" dy="0.76em" text-anchor="middle"                        │

00:00:17 #677 [Verbose] > │ font-family="sans-serif" font-size="9.67741935483871" opacity="1"            │

00:00:17 #678 [Verbose] > │ fill="#FFFFFF">                                                              │

00:00:17 #679 [Verbose] > │ car on an air track                                                          │

00:00:17 #680 [Verbose] > │ </text>                                                                      │

00:00:17 #681 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="57" y1="424" x2="57" │

00:00:17 #682 [Verbose] > │ y2="75"/>                                                                    │

00:00:17 #683 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="69" y1="424" x2="69" │

00:00:17 #684 [Verbose] > │ y2="75"/>                                                                    │

00:00:17 #685 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="82" y1="424" x2="82" │

00:00:17 #686 [Verbose] > │ y2="75"/>                                                                    │

00:00:17 #687 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="94" y1="424" x2="94" │

00:00:17 #688 [Verbose] > │ y2="75"/>                                                                    │

00:00:17 #689 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="107" y1=...          │

00:00:17 #690 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:17 #691 [Verbose] >

00:00:17 #692 [Verbose] > ╭─[ 248.05ms - stdout ]────────────────────────────────────────────────────────╮

00:00:17 #693 [Verbose] > │ type Mut0 = {mutable l0 : int32}                                             │

00:00:17 #694 [Verbose] > │ let rec method1 (v0 : Mut0) : bool =                                         │

00:00:17 #695 [Verbose] > │     let v1 : int32 = v0.l0                                                   │

00:00:17 #696 [Verbose] > │     let v2 : bool = v1 < 41                                                  │

00:00:17 #697 [Verbose] > │     v2                                                                       │

00:00:17 #698 [Verbose] > │ and method2 (v0 : int32, v1 : Mut0) : bool =                                 │

00:00:17 #699 [Verbose] > │     let v2 : int32 = v1.l0                                                   │

00:00:17 #700 [Verbose] > │     let v3 : bool = v2 < v0                                                  │

00:00:17 #701 [Verbose] > │     v3                                                                       │

00:00:17 #702 [Verbose] > │ and method3 (v0 : (struct (string * (float []) * (float [])) [])) : (struct  │

00:00:17 #703 [Verbose] > │ (string * (float []) * (float [])) []) =                                     │

00:00:17 #704 [Verbose] > │     v0                                                                       │

00:00:17 #705 [Verbose] > │ and method0 () : struct (string * string * string * (struct (string * (float │

00:00:17 #706 [Verbose] > │ []) * (float [])) [])) =                                                     │

00:00:17 #707 [Verbose] > │     let v0 : (float []) = Array.zeroCreate<float> (41)                       │

00:00:17 #708 [Verbose] > │     let v1 : Mut0 = {l0 = 0} : Mut0                                          │

00:00:17 #709 [Verbose] > │     while method1(v1) do                                                     │

00:00:17 #710 [Verbose] > │         let v3 : int32 = v1.l0                                               │

00:00:17 #711 [Verbose] > │         let v4 : float = float v3                                            │

00:00:17 #712 [Verbose] > │         let v5 : float = 0.1 * v4                                            │

00:00:17 #713 [Verbose] > │         v0.[int v3] <- v5                                                    │

00:00:17 #714 [Verbose] > │         let v6 : int32 = v3 + 1                                              │

00:00:17 #715 [Verbose] > │         v1.l0 <- v6                                                          │

00:00:17 #716 [Verbose] > │         ()                                                                   │

00:00:17 #717 [Verbose] > │     let v7 : int32 = v0.Length                                               │

00:00:17 #718 [Verbose] > │     let v8 : (float []) = Array.zeroCreate<float> (v7)                       │

00:00:17 #719 [Verbose] > │     let v9 : Mut0 = {l0 = 0} : Mut0                                          │

00:00:17 #720 [Verbose] > │     while method2(v7, v9) do                                                 │

00:00:17 #721 [Verbose] > │         let v11 : int32 = v9.l0                                              │

00:00:17 #722 [Verbose] > │         let v12 : float = v0.[int v11]                                       │

00:00:17 #723 [Verbose] > │         let v13 : float = -0.39999999999999997 * v12                         │

00:00:17 #724 [Verbose] > │         let v14 : float = 0.6 + v13                                          │

00:00:17 #725 [Verbose] > │         v8.[int v11] <- v14                                                  │

00:00:17 #726 [Verbose] > │         let v15 : int32 = v11 + 1                                            │

00:00:17 #727 [Verbose] > │         v9.l0 <- v15                                                         │

00:00:17 #728 [Verbose] > │         ()                                                                   │

00:00:17 #729 [Verbose] > │     let v16 : string = "velocity of car (m/s)"                               │

00:00:17 #730 [Verbose] > │     let v17 : (struct (string * (float []) * (float [])) []) = [|struct      │

00:00:17 #731 [Verbose] > │ (v16, v0, v8)|]                                                              │

00:00:17 #732 [Verbose] > │     let v18 : (struct (string * (float []) * (float [])) []) = method3(v17)  │

00:00:17 #733 [Verbose] > │     let v19 : string = "car on an air track"                                 │

00:00:17 #734 [Verbose] > │     let v20 : string = "time (s)"                                            │

00:00:17 #735 [Verbose] > │     let v21 : string = ""                                                    │

00:00:17 #736 [Verbose] > │     struct (v19, v20, v21, v18)                                              │

00:00:17 #737 [Verbose] > │ method0()                                                                    │

00:00:17 #738 [Verbose] > │                                                                              │

00:00:17 #739 [Verbose] > │                                                                              │

00:00:17 #740 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:17 #741 [Verbose] >

00:00:17 #742 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────

00:00:17 #743 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮

00:00:17 #744 [Verbose] > │ ## derivative                                                                │

00:00:17 #745 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:17 #746 [Verbose] >

00:00:17 #747 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:17 #748 [Verbose] > type derivative = (f64 -> f64) -> f64 -> f64

00:00:17 #749 [Verbose] >

00:00:17 #750 [Verbose] > inl derivative dt : derivative =

00:00:17 #751 [Verbose] >     fun x t =>

00:00:17 #752 [Verbose] >         (x (t + dt / 2) - x (t - dt / 2)) / dt

00:00:17 #753 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0904-5385-8591-86c3d6dc23da\main.spi

00:00:17 #754 [Verbose] >

00:00:17 #755 [Verbose] > ╭─[ 217.33ms - stdout ]────────────────────────────────────────────────────────╮

00:00:17 #756 [Verbose] > │ ()                                                                           │

00:00:17 #757 [Verbose] > │                                                                              │

00:00:17 #758 [Verbose] > │                                                                              │

00:00:17 #759 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:17 #760 [Verbose] >

00:00:17 #761 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:17 #762 [Verbose] > // // test

00:00:17 #763 [Verbose] >

00:00:17 #764 [Verbose] > derivative 1 (fun x => x ** 4 / 4) 1 - 1

00:00:17 #765 [Verbose] > |> _almost_equal 0.25

00:00:17 #766 [Verbose] >

00:00:17 #767 [Verbose] > derivative 0.001 (fun x => x ** 4 / 4) 1 - 1

00:00:17 #768 [Verbose] > |> _almost_equal 0.0000002499998827953931

00:00:17 #769 [Verbose] >

00:00:17 #770 [Verbose] > derivative 0.000001 (fun x => x ** 4 / 4) 1 - 1

00:00:17 #771 [Verbose] > |> _almost_equal 0.000000000001000088900582341

00:00:17 #772 [Verbose] >

00:00:17 #773 [Verbose] > derivative 0.000000001 (fun x => x ** 4 / 4) 1 - 1

00:00:17 #774 [Verbose] > |> _almost_equal 0.00000008274037099909037

00:00:17 #775 [Verbose] >

00:00:17 #776 [Verbose] > derivative 0.000000000001 (fun x => x ** 4 / 4) 1 - 1

00:00:17 #777 [Verbose] > |> _almost_equal 0.00008890058234101161

00:00:17 #778 [Verbose] >

00:00:17 #779 [Verbose] > derivative 0.000000000000001 (fun x => x ** 4 / 4) 1 - 1

00:00:17 #780 [Verbose] > |> _almost_equal -0.0007992778373592246

00:00:17 #781 [Verbose] >

00:00:17 #782 [Verbose] > derivative 0.000000000000000001 (fun x => x ** 4 / 4) 1 - 1

00:00:17 #783 [Verbose] > |> _almost_equal -1

00:00:17 #784 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0904-5407-0791-0f3057aee6f0\main.spi

00:00:18 #785 [Verbose] >

00:00:18 #786 [Verbose] > ╭─[ 222.25ms - stdout ]────────────────────────────────────────────────────────╮

00:00:18 #787 [Verbose] > │ let rec method0 () : unit =                                                  │

00:00:18 #788 [Verbose] > │     let v0 : string = $"__expect / actual: %A{0.25} / expected: %A{0.25}"    │

00:00:18 #789 [Verbose] > │     let v1 : string = $"__expect / actual: %A{2.499998827953931E-07} /       │

00:00:18 #790 [Verbose] > │ expected: %A{2.499998827953931E-07}"                                         │

00:00:18 #791 [Verbose] > │     let v2 : string = $"__expect / actual: %A{1.000088900582341E-12} /       │

00:00:18 #792 [Verbose] > │ expected: %A{1.000088900582341E-12}"                                         │

00:00:18 #793 [Verbose] > │     let v3 : string = $"__expect / actual: %A{8.274037099909037E-08} /       │

00:00:18 #794 [Verbose] > │ expected: %A{8.274037099909037E-08}"                                         │

00:00:18 #795 [Verbose] > │     let v4 : string = $"__expect / actual: %A{8.890058234101161E-05} /       │

00:00:18 #796 [Verbose] > │ expected: %A{8.890058234101161E-05}"                                         │

00:00:18 #797 [Verbose] > │     let v5 : string = $"__expect / actual: %A{-0.0007992778373592246} /      │

00:00:18 #798 [Verbose] > │ expected: %A{-0.0007992778373592246}"                                        │

00:00:18 #799 [Verbose] > │     let v6 : string = $"__expect / actual: %A{-1.0} / expected: %A{-1.0}"    │

00:00:18 #800 [Verbose] > │     ()                                                                       │

00:00:18 #801 [Verbose] > │ method0()                                                                    │

00:00:18 #802 [Verbose] > │                                                                              │

00:00:18 #803 [Verbose] > │                                                                              │

00:00:18 #804 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:18 #805 [Verbose] >

00:00:18 #806 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────

00:00:18 #807 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮

00:00:18 #808 [Verbose] > │ ## integration                                                               │

00:00:18 #809 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:18 #810 [Verbose] >

00:00:18 #811 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:18 #812 [Verbose] > type integration = (f64 -> f64) -> f64 -> f64 -> f64

00:00:18 #813 [Verbose] >

00:00:18 #814 [Verbose] > inl integral dt : integration =

00:00:18 #815 [Verbose] >     fun f a b =>

00:00:18 #816 [Verbose] >         inl rec loop t y =

00:00:18 #817 [Verbose] >             if t < b

00:00:18 #818 [Verbose] >             then loop (t + dt) (y + f t * dt)

00:00:18 #819 [Verbose] >             else t, y

00:00:18 #820 [Verbose] >         loop (a + dt / 2) 0

00:00:18 #821 [Verbose] >         |> snd

00:00:18 #822 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0904-5431-3110-3bb51cc936db\main.spi

00:00:18 #823 [Verbose] >

00:00:18 #824 [Verbose] > ╭─[ 200.50ms - stdout ]────────────────────────────────────────────────────────╮

00:00:18 #825 [Verbose] > │ ()                                                                           │

00:00:18 #826 [Verbose] > │                                                                              │

00:00:18 #827 [Verbose] > │                                                                              │

00:00:18 #828 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:18 #829 [Verbose] >

00:00:18 #830 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:18 #831 [Verbose] > // // test

00:00:18 #832 [Verbose] >

00:00:18 #833 [Verbose] > integral 0.01 math.square 0 1

00:00:18 #834 [Verbose] > |> _almost_equal 0.33332500000000004

00:00:18 #835 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0904-5451-5134-5fffc3f52aa1\main.spi

00:00:18 #836 [Verbose] >

00:00:18 #837 [Verbose] > ╭─[ 221.99ms - stdout ]────────────────────────────────────────────────────────╮

00:00:18 #838 [Verbose] > │ let rec method0 () : unit =                                                  │

00:00:18 #839 [Verbose] > │     let v0 : string = $"__expect / actual: %A{0.3333250000000004} /          │

00:00:18 #840 [Verbose] > │ expected: %A{0.33332500000000004}"                                           │

00:00:18 #841 [Verbose] > │     ()                                                                       │

00:00:18 #842 [Verbose] > │ method0()                                                                    │

00:00:18 #843 [Verbose] > │                                                                              │

00:00:18 #844 [Verbose] > │                                                                              │

00:00:18 #845 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:18 #846 [Verbose] >

00:00:18 #847 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:18 #848 [Verbose] > inl integral' dt : integration =

00:00:18 #849 [Verbose] >     fun f a b =>

00:00:18 #850 [Verbose] >         listm'.init_series (a + dt / 2) (b - dt / 2) dt

00:00:18 #851 [Verbose] >         |> listm.map (f >> (*) dt)

00:00:18 #852 [Verbose] >         |> listm'.sum

00:00:18 #853 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0904-5474-7410-752fa0859569\main.spi

00:00:18 #854 [Verbose] >

00:00:18 #855 [Verbose] > ╭─[ 273.33ms - stdout ]────────────────────────────────────────────────────────╮

00:00:18 #856 [Verbose] > │ ()                                                                           │

00:00:18 #857 [Verbose] > │                                                                              │

00:00:18 #858 [Verbose] > │                                                                              │

00:00:18 #859 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:18 #860 [Verbose] >

00:00:18 #861 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:18 #862 [Verbose] > // // test

00:00:18 #863 [Verbose] >

00:00:18 #864 [Verbose] > integral' 0.1 math.square 0 1

00:00:18 #865 [Verbose] > |> _almost_equal (integral 0.1 math.square 0 1)

00:00:18 #866 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0904-5501-0149-081c3b231920\main.spi

00:00:18 #867 [Verbose] >

00:00:18 #868 [Verbose] > ╭─[ 173.43ms - stdout ]────────────────────────────────────────────────────────╮

00:00:18 #869 [Verbose] > │ let rec method0 () : unit =                                                  │

00:00:18 #870 [Verbose] > │     let v0 : string = $"__expect / actual: %A{0.3325000000000001} /          │

00:00:18 #871 [Verbose] > │ expected: %A{0.33249999999999996}"                                           │

00:00:18 #872 [Verbose] > │     ()                                                                       │

00:00:18 #873 [Verbose] > │ method0()                                                                    │

00:00:18 #874 [Verbose] > │                                                                              │

00:00:18 #875 [Verbose] > │                                                                              │

00:00:18 #876 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:18 #877 [Verbose] >

00:00:18 #878 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:18 #879 [Verbose] > inl integral'' dt : integration =

00:00:18 #880 [Verbose] >     fun f a b =>

00:00:18 #881 [Verbose] >         am'.init_series (a + dt / 2) (b - dt / 2) dt

00:00:18 #882 [Verbose] >         |> am.map (f >> (*) dt)

00:00:18 #883 [Verbose] >         |> am'.sum

00:00:19 #884 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0904-5519-1922-1fe761845bf8\main.spi

00:00:19 #885 [Verbose] >

00:00:19 #886 [Verbose] > ╭─[ 154.52ms - stdout ]────────────────────────────────────────────────────────╮

00:00:19 #887 [Verbose] > │ ()                                                                           │

00:00:19 #888 [Verbose] > │                                                                              │

00:00:19 #889 [Verbose] > │                                                                              │

00:00:19 #890 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:19 #891 [Verbose] >

00:00:19 #892 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:19 #893 [Verbose] > // // test

00:00:19 #894 [Verbose] >

00:00:19 #895 [Verbose] > integral'' 0.01 math.square 0 1

00:00:19 #896 [Verbose] > |> _almost_equal (integral 0.01 math.square 0 1)

00:00:19 #897 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0904-5534-3495-34d6f5414e94\main.spi

00:00:19 #898 [Verbose] >

00:00:19 #899 [Verbose] > ╭─[ 261.60ms - stdout ]────────────────────────────────────────────────────────╮

00:00:19 #900 [Verbose] > │ type Mut0 = {mutable l0 : int32}                                             │

00:00:19 #901 [Verbose] > │ and Mut1 = {mutable l0 : int32; mutable l1 : float}                          │

00:00:19 #902 [Verbose] > │ let rec method1 (v0 : Mut0) : bool =                                         │

00:00:19 #903 [Verbose] > │     let v1 : int32 = v0.l0                                                   │

00:00:19 #904 [Verbose] > │     let v2 : bool = v1 < 100                                                 │

00:00:19 #905 [Verbose] > │     v2                                                                       │

00:00:19 #906 [Verbose] > │ and method2 (v0 : int32, v1 : Mut0) : bool =                                 │

00:00:19 #907 [Verbose] > │     let v2 : int32 = v1.l0                                                   │

00:00:19 #908 [Verbose] > │     let v3 : bool = v2 < v0                                                  │

00:00:19 #909 [Verbose] > │     v3                                                                       │

00:00:19 #910 [Verbose] > │ and method3 (v0 : int32, v1 : Mut1) : bool =                                 │

00:00:19 #911 [Verbose] > │     let v2 : int32 = v1.l0                                                   │

00:00:19 #912 [Verbose] > │     let v3 : bool = v2 < v0                                                  │

00:00:19 #913 [Verbose] > │     v3                                                                       │

00:00:19 #914 [Verbose] > │ and method0 () : unit =                                                      │

00:00:19 #915 [Verbose] > │     let v0 : (float []) = Array.zeroCreate<float> (100)                      │

00:00:19 #916 [Verbose] > │     let v1 : Mut0 = {l0 = 0} : Mut0                                          │

00:00:19 #917 [Verbose] > │     while method1(v1) do                                                     │

00:00:19 #918 [Verbose] > │         let v3 : int32 = v1.l0                                               │

00:00:19 #919 [Verbose] > │         let v4 : float = float v3                                            │

00:00:19 #920 [Verbose] > │         let v5 : float = 0.01 * v4                                           │

00:00:19 #921 [Verbose] > │         let v6 : float = 0.005 + v5                                          │

00:00:19 #922 [Verbose] > │         v0.[int v3] <- v6                                                    │

00:00:19 #923 [Verbose] > │         let v7 : int32 = v3 + 1                                              │

00:00:19 #924 [Verbose] > │         v1.l0 <- v7                                                          │

00:00:19 #925 [Verbose] > │         ()                                                                   │

00:00:19 #926 [Verbose] > │     let v8 : int32 = v0.Length                                               │

00:00:19 #927 [Verbose] > │     let v9 : (float []) = Array.zeroCreate<float> (v8)                       │

00:00:19 #928 [Verbose] > │     let v10 : Mut0 = {l0 = 0} : Mut0                                         │

00:00:19 #929 [Verbose] > │     while method2(v8, v10) do                                                │

00:00:19 #930 [Verbose] > │         let v12 : int32 = v10.l0                                             │

00:00:19 #931 [Verbose] > │         let v13 : float = v0.[int v12]                                       │

00:00:19 #932 [Verbose] > │         let v14 : float = v13 ** 2.0                                         │

00:00:19 #933 [Verbose] > │         let v15 : float = 0.01 * v14                                         │

00:00:19 #934 [Verbose] > │         v9.[int v12] <- v15                                                  │

00:00:19 #935 [Verbose] > │         let v16 : int32 = v12 + 1                                            │

00:00:19 #936 [Verbose] > │         v10.l0 <- v16                                                        │

00:00:19 #937 [Verbose] > │         ()                                                                   │

00:00:19 #938 [Verbose] > │     let v17 : int32 = v9.Length                                              │

00:00:19 #939 [Verbose] > │     let v18 : Mut1 = {l0 = 0; l1 = 0.0} : Mut1                               │

00:00:19 #940 [Verbose] > │     while method3(v17, v18) do                                               │

00:00:19 #941 [Verbose] > │         let v20 : int32 = v18.l0                                             │

00:00:19 #942 [Verbose] > │         let v21 : float = v18.l1                                             │

00:00:19 #943 [Verbose] > │         let v22 : float = v9.[int v20]                                       │

00:00:19 #944 [Verbose] > │         let v23 : float = v21 + v22                                          │

00:00:19 #945 [Verbose] > │         let v24 : int32 = v20 + 1                                            │

00:00:19 #946 [Verbose] > │         v18.l0 <- v24                                                        │

00:00:19 #947 [Verbose] > │         v18.l1 <- v23                                                        │

00:00:19 #948 [Verbose] > │         ()                                                                   │

00:00:19 #949 [Verbose] > │     let v25 : float = v18.l1                                                 │

00:00:19 #950 [Verbose] > │     let v26 : string = $"__expect / actual: %A{v25} / expected:              │

00:00:19 #951 [Verbose] > │ %A{0.3333250000000004}"                                                      │

00:00:19 #952 [Verbose] > │     let v27 : float = 0.3333250000000004 - v25                               │

00:00:19 #953 [Verbose] > │     let v28 : float =  -v27                                                  │

00:00:19 #954 [Verbose] > │     let v29 : bool = v27 >= v28                                              │

00:00:19 #955 [Verbose] > │     let v30 : float =                                                        │

00:00:19 #956 [Verbose] > │         if v29 then                                                          │

00:00:19 #957 [Verbose] > │             v27                                                              │

00:00:19 #958 [Verbose] > │         else                                                                 │

00:00:19 #959 [Verbose] > │             v28                                                              │

00:00:19 #960 [Verbose] > │     let v31 : bool = v30 < 1E-08                                             │

00:00:19 #961 [Verbose] > │     let v32 : bool = v31 = false                                             │

00:00:19 #962 [Verbose] > │     if v32 then                                                              │

00:00:19 #963 [Verbose] > │         failwith<unit> v26                                                   │

00:00:19 #964 [Verbose] > │ method0()                                                                    │

00:00:19 #965 [Verbose] > │                                                                              │

00:00:19 #966 [Verbose] > │                                                                              │

00:00:19 #967 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:19 #968 [Verbose] >

00:00:19 #969 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────

00:00:19 #970 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮

00:00:19 #971 [Verbose] > │ ## anti_derivative                                                           │

00:00:19 #972 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:19 #973 [Verbose] >

00:00:19 #974 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:19 #975 [Verbose] > inl anti_derivative dt v0 a t =

00:00:19 #976 [Verbose] >     v0 + integral' dt a 0 t

00:00:19 #977 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0904-5564-6401-602ad8dcced2\main.spi

00:00:19 #978 [Verbose] >

00:00:19 #979 [Verbose] > ╭─[ 190.84ms - stdout ]────────────────────────────────────────────────────────╮

00:00:19 #980 [Verbose] > │ ()                                                                           │

00:00:19 #981 [Verbose] > │                                                                              │

00:00:19 #982 [Verbose] > │                                                                              │

00:00:19 #983 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:19 #984 [Verbose] >

00:00:19 #985 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────

00:00:19 #986 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮

00:00:19 #987 [Verbose] > │ ## velocity_ft                                                               │

00:00:19 #988 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:19 #989 [Verbose] >

00:00:19 #990 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:19 #991 [Verbose] > type velocity_ft = mass -> velocity -> list (time -> force) -> (time ->

00:00:19 #992 [Verbose] > velocity)

00:00:19 #993 [Verbose] >

00:00:19 #994 [Verbose] > inl velocity_ft dt : velocity_ft =

00:00:19 #995 [Verbose] >     fun m v0 fs =>

00:00:19 #996 [Verbose] >         inl f_net t = fs |> listm.map (fun f => f t) |> listm'.sum

00:00:19 #997 [Verbose] >         inl a t = f_net t / m

00:00:19 #998 [Verbose] >         anti_derivative dt v0 a

00:00:19 #999 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0904-5583-8344-86692638a137\main.spi

00:00:19 #1000 [Verbose] >

00:00:19 #1001 [Verbose] > ╭─[ 184.95ms - stdout ]────────────────────────────────────────────────────────╮

00:00:19 #1002 [Verbose] > │ ()                                                                           │

00:00:19 #1003 [Verbose] > │                                                                              │

00:00:19 #1004 [Verbose] > │                                                                              │

00:00:19 #1005 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:19 #1006 [Verbose] >

00:00:19 #1007 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────

00:00:19 #1008 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮

00:00:19 #1009 [Verbose] > │ ## position_ft                                                               │

00:00:19 #1010 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:19 #1011 [Verbose] >

00:00:19 #1012 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:19 #1013 [Verbose] > type position_ft = mass -> position -> velocity -> list (time -> force) -> (time

00:00:19 #1014 [Verbose] > -> position)

00:00:19 #1015 [Verbose] >

00:00:19 #1016 [Verbose] > inl position_ft dt : position_ft =

00:00:19 #1017 [Verbose] >     fun m x0 v0 fs =>

00:00:19 #1018 [Verbose] >         velocity_ft dt m v0 fs

00:00:19 #1019 [Verbose] >         |> anti_derivative dt x0

00:00:19 #1020 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0904-5602-0239-0ccd970c6299\main.spi

00:00:19 #1021 [Verbose] >

00:00:19 #1022 [Verbose] > ╭─[ 203.21ms - stdout ]────────────────────────────────────────────────────────╮

00:00:19 #1023 [Verbose] > │ ()                                                                           │

00:00:19 #1024 [Verbose] > │                                                                              │

00:00:19 #1025 [Verbose] > │                                                                              │

00:00:19 #1026 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:19 #1027 [Verbose] >

00:00:19 #1028 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:19 #1029 [Verbose] > // // test

00:00:19 #1030 [Verbose] >

00:00:19 #1031 [Verbose] > inl pedal_coast (t : time) : force =

00:00:19 #1032 [Verbose] >     inl t_cycle = 20

00:00:19 #1033 [Verbose] >     inl n_complete : i32 = t / t_cycle |> conv

00:00:19 #1034 [Verbose] >     inl remainder = t - conv n_complete * t_cycle

00:00:19 #1035 [Verbose] >     if remainder > 0 && remainder < 10

00:00:19 #1036 [Verbose] >     then 10

00:00:19 #1037 [Verbose] >     else 0

00:00:19 #1038 [Verbose] >

00:00:19 #1039 [Verbose] > inl x = am'.init_series -5 45 0.1

00:00:19 #1040 [Verbose] > inl y = x |> am.map pedal_coast

00:00:19 #1041 [Verbose] > "child pedaling then coasting", "time (s)", "", ;[[ "force on bike (N)", x, y ]]

00:00:20 #1042 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0904-5622-2297-22d30df728c4\main.spi

00:00:20 #1043 [Verbose] >

00:00:20 #1044 [Verbose] > ╭─[ 194.37ms - return value ]──────────────────────────────────────────────────╮

00:00:20 #1045 [Verbose] > │ <svg width="640" height="480" viewBox="0 0 640 480"                          │

00:00:20 #1046 [Verbose] > │ xmlns="http://www.w3.org/2000/svg">                                          │

00:00:20 #1047 [Verbose] > │ <rect x="0" y="0" width="640" height="480" opacity="1" fill="#141414"        │

00:00:20 #1048 [Verbose] > │ stroke="none"/>                                                              │

00:00:20 #1049 [Verbose] > │ <text x="320" y="10" dy="0.76em" text-anchor="middle"                        │

00:00:20 #1050 [Verbose] > │ font-family="sans-serif" font-size="9.67741935483871" opacity="1"            │

00:00:20 #1051 [Verbose] > │ fill="#FFFFFF">                                                              │

00:00:20 #1052 [Verbose] > │ child pedaling then coasting                                                 │

00:00:20 #1053 [Verbose] > │ </text>                                                                      │

00:00:20 #1054 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="59" y1="424" x2="59" │

00:00:20 #1055 [Verbose] > │ y2="75"/>                                                                    │

00:00:20 #1056 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="69" y1="424" x2="69" │

00:00:20 #1057 [Verbose] > │ y2="75"/>                                                                    │

00:00:20 #1058 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="79" y1="424" x2="79" │

00:00:20 #1059 [Verbose] > │ y2="75"/>                                                                    │

00:00:20 #1060 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="89" y1="424" x2="89" │

00:00:20 #1061 [Verbose] > │ y2="75"/>                                                                    │

00:00:20 #1062 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1=...                   │

00:00:20 #1063 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:20 #1064 [Verbose] >

00:00:20 #1065 [Verbose] > ╭─[ 204.46ms - stdout ]────────────────────────────────────────────────────────╮

00:00:20 #1066 [Verbose] > │ type Mut0 = {mutable l0 : int32}                                             │

00:00:20 #1067 [Verbose] > │ let rec method1 (v0 : Mut0) : bool =                                         │

00:00:20 #1068 [Verbose] > │     let v1 : int32 = v0.l0                                                   │

00:00:20 #1069 [Verbose] > │     let v2 : bool = v1 < 501                                                 │

00:00:20 #1070 [Verbose] > │     v2                                                                       │

00:00:20 #1071 [Verbose] > │ and method2 (v0 : int32, v1 : Mut0) : bool =                                 │

00:00:20 #1072 [Verbose] > │     let v2 : int32 = v1.l0                                                   │

00:00:20 #1073 [Verbose] > │     let v3 : bool = v2 < v0                                                  │

00:00:20 #1074 [Verbose] > │     v3                                                                       │

00:00:20 #1075 [Verbose] > │ and method3 (v0 : (struct (string * (float []) * (float [])) [])) : (struct  │

00:00:20 #1076 [Verbose] > │ (string * (float []) * (float [])) []) =                                     │

00:00:20 #1077 [Verbose] > │     v0                                                                       │

00:00:20 #1078 [Verbose] > │ and method0 () : struct (string * string * string * (struct (string * (float │

00:00:20 #1079 [Verbose] > │ []) * (float [])) [])) =                                                     │

00:00:20 #1080 [Verbose] > │     let v0 : (float []) = Array.zeroCreate<float> (501)                      │

00:00:20 #1081 [Verbose] > │     let v1 : Mut0 = {l0 = 0} : Mut0                                          │

00:00:20 #1082 [Verbose] > │     while method1(v1) do                                                     │

00:00:20 #1083 [Verbose] > │         let v3 : int32 = v1.l0                                               │

00:00:20 #1084 [Verbose] > │         let v4 : float = float v3                                            │

00:00:20 #1085 [Verbose] > │         let v5 : float = 0.1 * v4                                            │

00:00:20 #1086 [Verbose] > │         let v6 : float = -5.0 + v5                                           │

00:00:20 #1087 [Verbose] > │         v0.[int v3] <- v6                                                    │

00:00:20 #1088 [Verbose] > │         let v7 : int32 = v3 + 1                                              │

00:00:20 #1089 [Verbose] > │         v1.l0 <- v7                                                          │

00:00:20 #1090 [Verbose] > │         ()                                                                   │

00:00:20 #1091 [Verbose] > │     let v8 : int32 = v0.Length                                               │

00:00:20 #1092 [Verbose] > │     let v9 : (float []) = Array.zeroCreate<float> (v8)                       │

00:00:20 #1093 [Verbose] > │     let v10 : Mut0 = {l0 = 0} : Mut0                                         │

00:00:20 #1094 [Verbose] > │     while method2(v8, v10) do                                                │

00:00:20 #1095 [Verbose] > │         let v12 : int32 = v10.l0                                             │

00:00:20 #1096 [Verbose] > │         let v13 : float = v0.[int v12]                                       │

00:00:20 #1097 [Verbose] > │         let v14 : float = v13 / 20.0                                         │

00:00:20 #1098 [Verbose] > │         let v15 : int32 = int32 v14                                          │

00:00:20 #1099 [Verbose] > │         let v16 : float = float v15                                          │

00:00:20 #1100 [Verbose] > │         let v17 : float = v16 * 20.0                                         │

00:00:20 #1101 [Verbose] > │         let v18 : float = v13 - v17                                          │

00:00:20 #1102 [Verbose] > │         let v19 : bool = v18 > 0.0                                           │

00:00:20 #1103 [Verbose] > │         let v21 : bool =                                                     │

00:00:20 #1104 [Verbose] > │             if v19 then                                                      │

00:00:20 #1105 [Verbose] > │                 let v20 : bool = v18 < 10.0                                  │

00:00:20 #1106 [Verbose] > │                 v20                                                          │

00:00:20 #1107 [Verbose] > │             else                                                             │

00:00:20 #1108 [Verbose] > │                 false                                                        │

00:00:20 #1109 [Verbose] > │         let v22 : float =                                                    │

00:00:20 #1110 [Verbose] > │             if v21 then                                                      │

00:00:20 #1111 [Verbose] > │                 10.0                                                         │

00:00:20 #1112 [Verbose] > │             else                                                             │

00:00:20 #1113 [Verbose] > │                 0.0                                                          │

00:00:20 #1114 [Verbose] > │         v9.[int v12] <- v22                                                  │

00:00:20 #1115 [Verbose] > │         let v23 : int32 = v12 + 1                                            │

00:00:20 #1116 [Verbose] > │         v10.l0 <- v23                                                        │

00:00:20 #1117 [Verbose] > │         ()                                                                   │

00:00:20 #1118 [Verbose] > │     let v24 : string = "force on bike (N)"                                   │

00:00:20 #1119 [Verbose] > │     let v25 : (struct (string * (float []) * (float [])) []) = [|struct      │

00:00:20 #1120 [Verbose] > │ (v24, v0, v9)|]                                                              │

00:00:20 #1121 [Verbose] > │     let v26 : (struct (string * (float []) * (float [])) []) = method3(v25)  │

00:00:20 #1122 [Verbose] > │     let v27 : string = "child pedaling then coasting"                        │

00:00:20 #1123 [Verbose] > │     let v28 : string = "time (s)"                                            │

00:00:20 #1124 [Verbose] > │     let v29 : string = ""                                                    │

00:00:20 #1125 [Verbose] > │     struct (v27, v28, v29, v26)                                              │

00:00:20 #1126 [Verbose] > │ method0()                                                                    │

00:00:20 #1127 [Verbose] > │                                                                              │

00:00:20 #1128 [Verbose] > │                                                                              │

00:00:20 #1129 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:20 #1130 [Verbose] >

00:00:20 #1131 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:20 #1132 [Verbose] > // // test

00:00:20 #1133 [Verbose] >

00:00:20 #1134 [Verbose] > inl x = am'.init_series -5 45 1

00:00:20 #1135 [Verbose] > inl y = x |> am.map (position_ft 0.1f64 20 0 0 [[ pedal_coast ]])

00:00:20 #1136 [Verbose] > "child pedaling then coasting", "time (s)", "", ;[[ "position of bike (m)", x, y

00:00:20 #1137 [Verbose] > ]]

00:00:20 #1138 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0904-5645-4583-4ee99dad1e8d\main.spi

00:00:20 #1139 [Verbose] >

00:00:20 #1140 [Verbose] > ╭─[ 495.38ms - return value ]──────────────────────────────────────────────────╮

00:00:20 #1141 [Verbose] > │ <svg width="640" height="480" viewBox="0 0 640 480"                          │

00:00:20 #1142 [Verbose] > │ xmlns="http://www.w3.org/2000/svg">                                          │

00:00:20 #1143 [Verbose] > │ <rect x="0" y="0" width="640" height="480" opacity="1" fill="#141414"        │

00:00:20 #1144 [Verbose] > │ stroke="none"/>                                                              │

00:00:20 #1145 [Verbose] > │ <text x="320" y="10" dy="0.76em" text-anchor="middle"                        │

00:00:20 #1146 [Verbose] > │ font-family="sans-serif" font-size="9.67741935483871" opacity="1"            │

00:00:20 #1147 [Verbose] > │ fill="#FFFFFF">                                                              │

00:00:20 #1148 [Verbose] > │ child pedaling then coasting                                                 │

00:00:20 #1149 [Verbose] > │ </text>                                                                      │

00:00:20 #1150 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="59" y1="424" x2="59" │

00:00:20 #1151 [Verbose] > │ y2="75"/>                                                                    │

00:00:20 #1152 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="69" y1="424" x2="69" │

00:00:20 #1153 [Verbose] > │ y2="75"/>                                                                    │

00:00:20 #1154 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="79" y1="424" x2="79" │

00:00:20 #1155 [Verbose] > │ y2="75"/>                                                                    │

00:00:20 #1156 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="89" y1="424" x2="89" │

00:00:20 #1157 [Verbose] > │ y2="75"/>                                                                    │

00:00:20 #1158 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1=...                   │

00:00:20 #1159 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:20 #1160 [Verbose] >

00:00:20 #1161 [Verbose] > ╭─[ 506.33ms - stdout ]────────────────────────────────────────────────────────╮

00:00:20 #1162 [Verbose] > │ type Mut0 = {mutable l0 : int32}                                             │

00:00:20 #1163 [Verbose] > │ and UH0 =                                                                    │

00:00:20 #1164 [Verbose] > │     | UH0_0 of float * UH0                                                   │

00:00:20 #1165 [Verbose] > │     | UH0_1                                                                  │

00:00:20 #1166 [Verbose] > │ let rec method1 (v0 : Mut0) : bool =                                         │

00:00:20 #1167 [Verbose] > │     let v1 : int32 = v0.l0                                                   │

00:00:20 #1168 [Verbose] > │     let v2 : bool = v1 < 51                                                  │

00:00:20 #1169 [Verbose] > │     v2                                                                       │

00:00:20 #1170 [Verbose] > │ and method2 (v0 : int32, v1 : Mut0) : bool =                                 │

00:00:20 #1171 [Verbose] > │     let v2 : int32 = v1.l0                                                   │

00:00:20 #1172 [Verbose] > │     let v3 : bool = v2 < v0                                                  │

00:00:20 #1173 [Verbose] > │     v3                                                                       │

00:00:20 #1174 [Verbose] > │ and method3 (v0 : float, v1 : float) : UH0 =                                 │

00:00:20 #1175 [Verbose] > │     let v2 : bool = v1 < v0                                                  │

00:00:20 #1176 [Verbose] > │     if v2 then                                                               │

00:00:20 #1177 [Verbose] > │         let v3 : float = 0.1 * v1                                            │

00:00:20 #1178 [Verbose] > │         let v4 : float = 0.05 + v3                                           │

00:00:20 #1179 [Verbose] > │         let v5 : float = v1 + 1.0                                            │

00:00:20 #1180 [Verbose] > │         let v6 : UH0 = method3(v0, v5)                                       │

00:00:20 #1181 [Verbose] > │         UH0_0(v4, v6)                                                        │

00:00:20 #1182 [Verbose] > │     else                                                                     │

00:00:20 #1183 [Verbose] > │         UH0_1                                                                │

00:00:20 #1184 [Verbose] > │ and method5 (v0 : UH0, v1 : UH0) : UH0 =                                     │

00:00:20 #1185 [Verbose] > │     match v0 with                                                            │

00:00:20 #1186 [Verbose] > │     | UH0_0(v2, v3) -> (* Cons *)                                            │

00:00:20 #1187 [Verbose] > │         let v4 : UH0 = method5(v3, v1)                                       │

00:00:20 #1188 [Verbose] > │         let v5 : float = v2 / 20.0                                           │

00:00:20 #1189 [Verbose] > │         let v6 : int32 = int32 v5                                            │

00:00:20 #1190 [Verbose] > │         let v7 : float = float v6                                            │

00:00:20 #1191 [Verbose] > │         let v8 : float = v7 * 20.0                                           │

00:00:20 #1192 [Verbose] > │         let v9 : float = v2 - v8                                             │

00:00:20 #1193 [Verbose] > │         let v10 : bool = v9 > 0.0                                            │

00:00:20 #1194 [Verbose] > │         let v12 : bool =                                                     │

00:00:20 #1195 [Verbose] > │             if v10 then                                                      │

00:00:20 #1196 [Verbose] > │                 let v11 : bool = v9 < 10.0                                   │

00:00:20 #1197 [Verbose] > │                 v11                                                          │

00:00:20 #1198 [Verbose] > │             else                                                             │

00:00:20 #1199 [Verbose] > │                 false                                                        │

00:00:20 #1200 [Verbose] > │         let v13 : float =                                                    │

00:00:20 #1201 [Verbose] > │             if v12 then                                                      │

00:00:20 #1202 [Verbose] > │                 10.0                                                         │

00:00:20 #1203 [Verbose] > │             else                                                             │

00:00:20 #1204 [Verbose] > │                 0.0                                                          │

00:00:20 #1205 [Verbose] > │         let v14 : float = v13 / 20.0                                         │

00:00:20 #1206 [Verbose] > │         let v15 : float = 0.1 * v14                                          │

00:00:20 #1207 [Verbose] > │         UH0_0(v15, v4)                                                       │

00:00:20 #1208 [Verbose] > │     | UH0_1 -> (* Nil *)                                                     │

00:00:20 #1209 [Verbose] > │         v1                                                                   │

00:00:20 #1210 [Verbose] > │ and method6 (v0 : UH0, v1 : float) : float =                                 │

00:00:20 #1211 [Verbose] > │     match v0 with                                                            │

00:00:20 #1212 [Verbose] > │     | UH0_0(v2, v3) -> (* Cons *)                                            │

00:00:20 #1213 [Verbose] > │         let v4 : float = v1 + v2                                             │

00:00:20 #1214 [Verbose] > │         method6(v3, v4)                                                      │

00:00:20 #1215 [Verbose] > │     | UH0_1 -> (* Nil *)                                                     │

00:00:20 #1216 [Verbose] > │         v1                                                                   │

00:00:20 #1217 [Verbose] > │ and method4 (v0 : UH0, v1 : UH0) : UH0 =                                     │

00:00:20 #1218 [Verbose] > │     match v0 with                                                            │

00:00:20 #1219 [Verbose] > │     | UH0_0(v2, v3) -> (* Cons *)                                            │

00:00:20 #1220 [Verbose] > │         let v4 : UH0 = method4(v3, v1)                                       │

00:00:20 #1221 [Verbose] > │         let v5 : float = v2 - 0.05                                           │

00:00:20 #1222 [Verbose] > │         let v6 : float = v5 - 0.05                                           │

00:00:20 #1223 [Verbose] > │         let v7 : float = v6 / 0.1                                            │

00:00:20 #1224 [Verbose] > │         let v8 : float = v7 + 1.0                                            │

00:00:20 #1225 [Verbose] > │         let v9 : float = 0.0                                                 │

00:00:20 #1226 [Verbose] > │         let v10 : UH0 = method3(v8, v9)                                      │

00:00:20 #1227 [Verbose] > │         let v11 : UH0 = UH0_1                                                │

00:00:20 #1228 [Verbose] > │         let v12 : UH0 = method5(v10, v11)                                    │

00:00:20 #1229 [Verbose] > │         let v13 : float = 0.0                                                │

00:00:20 #1230 [Verbose] > │         let v14 : float = method6(v12, v13)                                  │

00:00:20 #1231 [Verbose] > │         let v15 : float = 0.1 * v14                                          │

00:00:20 #1232 [Verbose] > │         UH0_0(v15, v4)                                                       │

00:00:20 #1233 [Verbose] > │     | UH0_1 -> (* Nil *)                                                     │

00:00:20 #1234 [Verbose] > │         v1                                                                   │

00:00:20 #1235 [Verbose] > │ and method7 (v0 : (struct (string * (float []) * (float [])) [])) : (struct  │

00:00:20 #1236 [Verbose] > │ (string * (float []) * (float [])) []) =                                     │

00:00:20 #1237 [Verbose] > │     v0                                                                       │

00:00:20 #1238 [Verbose] > │ and method0 () : struct (string * string * string * (struct (string * (float │

00:00:20 #1239 [Verbose] > │ []) * (float [])) [])) =                                                     │

00:00:20 #1240 [Verbose] > │     let v0 : (float []) = Array.zeroCreate<float> (51)                       │

00:00:20 #1241 [Verbose] > │     let v1 : Mut0 = {l0 = 0} : Mut0                                          │

00:00:20 #1242 [Verbose] > │     while method1(v1) do                                                     │

00:00:20 #1243 [Verbose] > │         let v3 : int32 = v1.l0                                               │

00:00:20 #1244 [Verbose] > │         let v4 : float = float v3                                            │

00:00:20 #1245 [Verbose] > │         let v5 : float = -5.0 + v4                                           │

00:00:20 #1246 [Verbose] > │         v0.[int v3] <- v5                                                    │

00:00:20 #1247 [Verbose] > │         let v6 : int32 = v3 + 1                                              │

00:00:20 #1248 [Verbose] > │         v1.l0 <- v6                                                          │

00:00:20 #1249 [Verbose] > │         ()                                                                   │

00:00:20 #1250 [Verbose] > │     let v7 : int32 = v0.Length                                               │

00:00:20 #1251 [Verbose] > │     let v8 : (float []) = Array.zeroCreate<float> (v7)                       │

00:00:20 #1252 [Verbose] > │     let v9 : Mut0 = {l0 = 0} : Mut0                                          │

00:00:20 #1253 [Verbose] > │     while method2(v7, v9) do                                                 │

00:00:20 #1254 [Verbose] > │         let v11 : int32 = v9.l0                                              │

00:00:20 #1255 [Verbose] > │         let v12 : float = v0.[int v11]                                       │

00:00:20 #1256 [Verbose] > │         let v13 : float = v12 - 0.05                                         │

00:00:20 #1257 [Verbose] > │         let v14 : float = v13 - 0.05                                         │

00:00:20 #1258 [Verbose] > │         let v15 : float = v14 / 0.1                                          │

00:00:20 #1259 [Verbose] > │         let v16 : float = v15 + 1.0                                          │

00:00:20 #1260 [Verbose] > │         let v17 : float = 0.0                                                │

00:00:20 #1261 [Verbose] > │         let v18 : UH0 = method3(v16, v17)                                    │

00:00:20 #1262 [Verbose] > │         let v19 : UH0 = UH0_1                                                │

00:00:20 #1263 [Verbose] > │         let v20 : UH0 = method4(v18, v19)                                    │

00:00:20 #1264 [Verbose] > │         let v21 : float = 0.0                                                │

00:00:20 #1265 [Verbose] > │         let v22 : float = method6(v20, v21)                                  │

00:00:20 #1266 [Verbose] > │         v8.[int v11] <- v22                                                  │

00:00:20 #1267 [Verbose] > │         let v23 : int32 = v11 + 1                                            │

00:00:20 #1268 [Verbose] > │         v9.l0 <- v23                                                         │

00:00:20 #1269 [Verbose] > │         ()                                                                   │

00:00:20 #1270 [Verbose] > │     let v24 : string = "position of bike (m)"                                │

00:00:20 #1271 [Verbose] > │     let v25 : (struct (string * (float []) * (float [])) []) = [|struct      │

00:00:20 #1272 [Verbose] > │ (v24, v0, v8)|]                                                              │

00:00:20 #1273 [Verbose] > │     let v26 : (struct (string * (float []) * (float [])) []) = method7(v25)  │

00:00:20 #1274 [Verbose] > │     let v27 : string = "child pedaling then coasting"                        │

00:00:20 #1275 [Verbose] > │     let v28 : string = "time (s)"                                            │

00:00:20 #1276 [Verbose] > │     let v29 : string = ""                                                    │

00:00:20 #1277 [Verbose] > │     struct (v27, v28, v29, v26)                                              │

00:00:20 #1278 [Verbose] > │ method0()                                                                    │

00:00:20 #1279 [Verbose] > │                                                                              │

00:00:20 #1280 [Verbose] > │                                                                              │

00:00:20 #1281 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:20 #1282 [Verbose] >

00:00:20 #1283 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────

00:00:20 #1284 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮

00:00:20 #1285 [Verbose] > │ ## velocity_fv                                                               │

00:00:20 #1286 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:20 #1287 [Verbose] >

00:00:20 #1288 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:20 #1289 [Verbose] > inl newton_second_v m fs v0 =

00:00:20 #1290 [Verbose] >     fs |> listm.map (fun f => f v0) |> listm'.sum |> fun x => x / m

00:00:20 #1291 [Verbose] >

00:00:20 #1292 [Verbose] > inl update_velocity dt m fs v0 =

00:00:20 #1293 [Verbose] >     v0 + newton_second_v m fs v0 * dt

00:00:20 #1294 [Verbose] >

00:00:20 #1295 [Verbose] > inl velocity_fv dt m v0 fs t =

00:00:20 #1296 [Verbose] >     stream.iterate (update_velocity dt m fs) v0

00:00:20 #1297 [Verbose] >     |> stream.try_item (t / dt |> math.round |> abs)

00:00:20 #1298 [Verbose] >     |> optionm'.default_value 0

00:00:20 #1299 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0904-5701-0118-07f9b9b004ba\main.spi

00:00:20 #1300 [Verbose] >

00:00:20 #1301 [Verbose] > ╭─[ 162.22ms - stdout ]────────────────────────────────────────────────────────╮

00:00:20 #1302 [Verbose] > │ ()                                                                           │

00:00:20 #1303 [Verbose] > │                                                                              │

00:00:20 #1304 [Verbose] > │                                                                              │

00:00:20 #1305 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:20 #1306 [Verbose] >

00:00:20 #1307 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:20 #1308 [Verbose] > inl f_air drag rho area v =

00:00:20 #1309 [Verbose] >     -drag * rho * area * abs v * v / 2

00:00:21 #1310 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0904-5717-1756-154f18156292\main.spi

00:00:21 #1311 [Verbose] >

00:00:21 #1312 [Verbose] > ╭─[ 187.99ms - stdout ]────────────────────────────────────────────────────────╮

00:00:21 #1313 [Verbose] > │ ()                                                                           │

00:00:21 #1314 [Verbose] > │                                                                              │

00:00:21 #1315 [Verbose] > │                                                                              │

00:00:21 #1316 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:21 #1317 [Verbose] >

00:00:21 #1318 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:21 #1319 [Verbose] > // // test

00:00:21 #1320 [Verbose] >

00:00:21 #1321 [Verbose] > inl x = am'.init_series 0 60 0.5

00:00:21 #1322 [Verbose] > inl y = x |> am.map (velocity_fv 1 70 0f64 [[ fun _ => 100; f_air 2 1.225 0.6

00:00:21 #1323 [Verbose] > ]])

00:00:21 #1324 [Verbose] > "bike velocity", "time (s)", "", ;[[ "velocity of bike (m/s)", x, y ]]

00:00:21 #1325 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0904-5736-3657-3ae56aaa2ca1\main.spi

00:00:21 #1326 [Verbose] >

00:00:21 #1327 [Verbose] > ╭─[ 530.39ms - return value ]──────────────────────────────────────────────────╮

00:00:21 #1328 [Verbose] > │ <svg width="640" height="480" viewBox="0 0 640 480"                          │

00:00:21 #1329 [Verbose] > │ xmlns="http://www.w3.org/2000/svg">                                          │

00:00:21 #1330 [Verbose] > │ <rect x="0" y="0" width="640" height="480" opacity="1" fill="#141414"        │

00:00:21 #1331 [Verbose] > │ stroke="none"/>                                                              │

00:00:21 #1332 [Verbose] > │ <text x="320" y="10" dy="0.76em" text-anchor="middle"                        │

00:00:21 #1333 [Verbose] > │ font-family="sans-serif" font-size="9.67741935483871" opacity="1"            │

00:00:21 #1334 [Verbose] > │ fill="#FFFFFF">                                                              │

00:00:21 #1335 [Verbose] > │ bike velocity                                                                │

00:00:21 #1336 [Verbose] > │ </text>                                                                      │

00:00:21 #1337 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="61" y1="424" x2="61" │

00:00:21 #1338 [Verbose] > │ y2="75"/>                                                                    │

00:00:21 #1339 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="69" y1="424" x2="69" │

00:00:21 #1340 [Verbose] > │ y2="75"/>                                                                    │

00:00:21 #1341 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="78" y1="424" x2="78" │

00:00:21 #1342 [Verbose] > │ y2="75"/>                                                                    │

00:00:21 #1343 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="86" y1="424" x2="86" │

00:00:21 #1344 [Verbose] > │ y2="75"/>                                                                    │

00:00:21 #1345 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="94" y1="424" x...    │

00:00:21 #1346 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:21 #1347 [Verbose] >

00:00:21 #1348 [Verbose] > ╭─[ 555.60ms - stdout ]────────────────────────────────────────────────────────╮

00:00:21 #1349 [Verbose] > │ type Mut0 = {mutable l0 : int32}                                             │

00:00:21 #1350 [Verbose] > │ and UH0 =                                                                    │

00:00:21 #1351 [Verbose] > │     | UH0_0 of float * (unit -> UH0)                                         │

00:00:21 #1352 [Verbose] > │     | UH0_1                                                                  │

00:00:21 #1353 [Verbose] > │ and [<Struct>] US0 =                                                         │

00:00:21 #1354 [Verbose] > │     | US0_0                                                                  │

00:00:21 #1355 [Verbose] > │     | US0_1 of f1_0 : float                                                  │

00:00:21 #1356 [Verbose] > │ let rec method1 (v0 : Mut0) : bool =                                         │

00:00:21 #1357 [Verbose] > │     let v1 : int32 = v0.l0                                                   │

00:00:21 #1358 [Verbose] > │     let v2 : bool = v1 < 121                                                 │

00:00:21 #1359 [Verbose] > │     v2                                                                       │

00:00:21 #1360 [Verbose] > │ and method2 (v0 : int32, v1 : Mut0) : bool =                                 │

00:00:21 #1361 [Verbose] > │     let v2 : int32 = v1.l0                                                   │

00:00:21 #1362 [Verbose] > │     let v3 : bool = v2 < v0                                                  │

00:00:21 #1363 [Verbose] > │     v3                                                                       │

00:00:21 #1364 [Verbose] > │ and closure129 () () : UH0 =                                                 │

00:00:21 #1365 [Verbose] > │     let v0 : (unit -> UH0) = closure129()                                    │

00:00:21 #1366 [Verbose] > │     UH0_0(11.664236870396083, v0)                                            │

00:00:21 #1367 [Verbose] > │ and closure128 () () : UH0 =                                                 │

00:00:21 #1368 [Verbose] > │     let v0 : (unit -> UH0) = closure129()                                    │

00:00:21 #1369 [Verbose] > │     UH0_0(11.664236870396081, v0)                                            │

00:00:21 #1370 [Verbose] > │ and closure127 () () : UH0 =                                                 │

00:00:21 #1371 [Verbose] > │     let v0 : (unit -> UH0) = closure128()                                    │

00:00:21 #1372 [Verbose] > │     UH0_0(11.66423687039608, v0)                                             │

00:00:21 #1373 [Verbose] > │ and closure126 () () : UH0 =                                                 │

00:00:21 #1374 [Verbose] > │     let v0 : (unit -> UH0) = closure127()                                    │

00:00:21 #1375 [Verbose] > │     UH0_0(11.664236870396078, v0)                                            │

00:00:21 #1376 [Verbose] > │ and closure125 () () : UH0 =                                                 │

00:00:21 #1377 [Verbose] > │     let v0 : (unit -> UH0) = closure126()                                    │

00:00:21 #1378 [Verbose] > │     UH0_0(11.664236870396074, v0)                                            │

00:00:21 #1379 [Verbose] > │ and closure124 () () : UH0 =                                                 │

00:00:21 #1380 [Verbose] > │     let v0 : (unit -> UH0) = closure125()                                    │

00:00:21 #1381 [Verbose] > │     UH0_0(11.66423687039607, v0)                                             │

00:00:21 #1382 [Verbose] > │ and closure123 () () : UH0 =                                                 │

00:00:21 #1383 [Verbose] > │     let v0 : (unit -> UH0) = closure124()                                    │

00:00:21 #1384 [Verbose] > │     UH0_0(11.664236870396065, v0)                                            │

00:00:21 #1385 [Verbose] > │ and closure122 () () : UH0 =                                                 │

00:00:21 #1386 [Verbose] > │     let v0 : (unit -> UH0) = closure123()                                    │

00:00:21 #1387 [Verbose] > │     UH0_0(11.664236870396058, v0)                                            │

00:00:21 #1388 [Verbose] > │ and closure121 () () : UH0 =                                                 │

00:00:21 #1389 [Verbose] > │     let v0 : (unit -> UH0) = closure122()                                    │

00:00:21 #1390 [Verbose] > │     UH0_0(11.66423687039605, v0)                                             │

00:00:21 #1391 [Verbose] > │ and closure120 () () : UH0 =                                                 │

00:00:21 #1392 [Verbose] > │     let v0 : (unit -> UH0) = closure121()                                    │

00:00:21 #1393 [Verbose] > │     UH0_0(11.664236870396037, v0)                                            │

00:00:21 #1394 [Verbose] > │ and closure119 () () : UH0 =                                                 │

00:00:21 #1395 [Verbose] > │     let v0 : (unit -> UH0) = closure120()                                    │

00:00:21 #1396 [Verbose] > │     UH0_0(11.66423687039602, v0)                                             │

00:00:21 #1397 [Verbose] > │ and closure118 () () : UH0 =                                                 │

00:00:21 #1398 [Verbose] > │     let v0 : (unit -> UH0) = closure119()                                    │

00:00:21 #1399 [Verbose] > │     UH0_0(11.664236870396, v0)                                               │

00:00:21 #1400 [Verbose] > │ and closure117 () () : UH0 =                                                 │

00:00:21 #1401 [Verbose] > │     let v0 : (unit -> UH0) = closure118()                                    │

00:00:21 #1402 [Verbose] > │     UH0_0(11.664236870395971, v0)                                            │

00:00:21 #1403 [Verbose] > │ and closure116 () () : UH0 =                                                 │

00:00:21 #1404 [Verbose] > │     let v0 : (unit -> UH0) = closure117()                                    │

00:00:21 #1405 [Verbose] > │     UH0_0(11.664236870395934, v0)                                            │

00:00:21 #1406 [Verbose] > │ and closure115 () () : UH0 =                                                 │

00:00:21 #1407 [Verbose] > │     let v0 : (unit -> UH0) = closure116()                                    │

00:00:21 #1408 [Verbose] > │     UH0_0(11.664236870395884, v0)                                            │

00:00:21 #1409 [Verbose] > │ and closure114 () () : UH0 =                                                 │

00:00:21 #1410 [Verbose] > │     let v0 : (unit -> UH0) = closure115()                                    │

00:00:21 #1411 [Verbose] > │     UH0_0(11.664236870395818, v0)                                            │

00:00:21 #1412 [Verbose] > │ and closure113 () () : UH0 =                                                 │

00:00:21 #1413 [Verbose] > │     let v0 : (unit -> UH0) = closure114()                                    │

00:00:21 #1414 [Verbose] > │     UH0_0(11.664236870395731, v0)                                            │

00:00:21 #1415 [Verbose] > │ and closure112 () () : UH0 =                                                 │

00:00:21 #1416 [Verbose] > │     let v0 : (unit -> UH0) = closure113()                                    │

00:00:21 #1417 [Verbose] > │     UH0_0(11.664236870395616, v0)                                            │

00:00:21 #1418 [Verbose] > │ and closure111 () () : UH0 =                                                 │

00:00:21 #1419 [Verbose] > │     let v0 : (unit -> UH0) = closure112()                                    │

00:00:21 #1420 [Verbose] > │     UH0_0(11.664236870395463, v0)                                            │

00:00:21 #1421 [Verbose] > │ and closure110 () () : UH0 =                                                 │

00:00:21 #1422 [Verbose] > │     let v0 : (unit -> UH0) = closure111()                                    │

00:00:21 #1423 [Verbose] > │     UH0_0(11.66423687039526, v0)                                             │

00:00:21 #1424 [Verbose] > │ and closure109 () () : UH0 =                                                 │

00:00:21 #1425 [Verbose] > │     let v0 : (unit -> UH0) = closure110()                                    │

00:00:21 #1426 [Verbose] > │     UH0_0(11.664236870394992, v0)                                            │

00:00:21 #1427 [Verbose] > │ and closure108 () () : UH0 =                                                 │

00:00:21 #1428 [Verbose] > │     let v0 : (unit -> UH0) = closure109()                                    │

00:00:21 #1429 [Verbose] > │     UH0_0(11.664236870394637, v0)                                            │

00:00:21 #1430 [Verbose] > │ and closure107 () () : UH0 =                                                 │

00:00:21 #1431 [Verbose] > │     let v0 : (unit -> UH0) = closure108()                                    │

00:00:21 #1432 [Verbose] > │     UH0_0(11.664236870394168, v0)                                            │

00:00:21 #1433 [Verbose] > │ and closure106 () () : UH0 =                                                 │

00:00:21 #1434 [Verbose] > │     let v0 : (unit -> UH0) = closure107()                                    │

00:00:21 #1435 [Verbose] > │     UH0_0(11.664236870393546, v0)                                            │

00:00:21 #1436 [Verbose] > │ and closure105 () () : UH0 =                                                 │

00:00:21 #1437 [Verbose] > │     let v0 : (unit -> UH0) = closure106()                                    │

00:00:21 #1438 [Verbose] > │     UH0_0(11.664236870392722, v0)                                            │

00:00:21 #1439 [Verbose] > │ and closure104 () () : UH0 =                                                 │

00:00:21 #1440 [Verbose] > │     let v0 : (unit -> UH0) = closure105()                                    │

00:00:21 #1441 [Verbose] > │     UH0_0(11.664236870391631, v0)                                            │

00:00:21 #1442 [Verbose] > │ and closure103 () () : UH0 =                                                 │

00:00:21 #1443 [Verbose] > │     let v0 : (unit -> UH0) = closure104()                                    │

00:00:21 #1444 [Verbose] > │     UH0_0(11.664236870390187, v0)                                            │

00:00:21 #1445 [Verbose] > │ and closure102 () () : UH0 =                                                 │

00:00:21 #1446 [Verbose] > │     let v0 : (unit -> UH0) = closure103()                                    │

00:00:21 #1447 [Verbose] > │     UH0_0(11.664236870388274, v0)                                            │

00:00:21 #1448 [Verbose] > │ and closure101 () () : UH0 =                                                 │

00:00:21 #1449 [Verbose] > │     let v0 : (unit -> UH0) = closure102()                                    │

00:00:21 #1450 [Verbose] > │     UH0_0(11.66423687038574, v0)                                             │

00:00:21 #1451 [Verbose] > │ and closure100 () () : UH0 =                                                 │

00:00:21 #1452 [Verbose] > │     let v0 : (unit -> UH0) = closure101()                                    │

00:00:21 #1453 [Verbose] > │     UH0_0(11.664236870382384, v0)                                            │

00:00:21 #1454 [Verbose] > │ and closure99 () () : UH0 =                                                  │

00:00:21 #1455 [Verbose] > │     let v0 : (unit -> UH0) = closure100()                                    │

00:00:21 #1456 [Verbose] > │     UH0_0(11.664236870377938, v0)                                            │

00:00:21 #1457 [Verbose] > │ and closure98 () () : UH0 =                                                  │

00:00:21 #1458 [Verbose] > │     let v0 : (unit -> UH0) = closure99()                                     │

00:00:21 #1459 [Verbose] > │     UH0_0(11.66423687037205, v0)                                             │

00:00:21 #1460 [Verbose] > │ and closure97 () () : UH0 =                                                  │

00:00:21 #1461 [Verbose] > │     let v0 : (unit -> UH0) = closure98()                                     │

00:00:21 #1462 [Verbose] > │     UH0_0(11.664236870364254, v0)                                            │

00:00:21 #1463 [Verbose] > │ and closure96 () () : UH0 =                                                  │

00:00:21 #1464 [Verbose] > │     let v0 : (unit -> UH0) = closure97()                                     │

00:00:21 #1465 [Verbose] > │     UH0_0(11.664236870353927, v0)                                            │

00:00:21 #1466 [Verbose] > │ and closure95 () () : UH0 =                                                  │

00:00:21 #1467 [Verbose] > │     let v0 : (unit -> UH0) = closure96()                                     │

00:00:21 #1468 [Verbose] > │     UH0_0(11.664236870340249, v0)                                            │

00:00:21 #1469 [Verbose] > │ and closure94 () () : UH0 =                                                  │

00:00:21 #1470 [Verbose] > │     let v0 : (unit -> UH0) = closure95()                                     │

00:00:21 #1471 [Verbose] > │     UH0_0(11.664236870322135, v0)                                            │

00:00:21 #1472 [Verbose] > │ and closure93 () () : UH0 =                                                  │

00:00:21 #1473 [Verbose] > │     let v0 : (unit -> UH0) = closure94()                                     │

00:00:21 #1474 [Verbose] > │     UH0_0(11.664236870298145, v0)                                            │

00:00:21 #1475 [Verbose] > │ and closure92 () () : UH0 =                                                  │

00:00:21 #1476 [Verbose] > │     let v0 : (unit -> UH0) = closure93()                                     │

00:00:21 #1477 [Verbose] > │     UH0_0(11.664236870266372, v0)                                            │

00:00:21 #1478 [Verbose] > │ and closure91 () () : UH0 =                                                  │

00:00:21 #1479 [Verbose] > │     let v0 : (unit -> UH0) = closure92()                                     │

00:00:21 #1480 [Verbose] > │     UH0_0(11.664236870224292, v0)                                            │

00:00:21 #1481 [Verbose] > │ and closure90 () () : UH0 =                                                  │

00:00:21 #1482 [Verbose] > │     let v0 : (unit -> UH0) = closure91()                                     │

00:00:21 #1483 [Verbose] > │     UH0_0(11.66423687016856, v0)                                             │

00:00:21 #1484 [Verbose] > │ and closure89 () () : UH0 =                                                  │

00:00:21 #1485 [Verbose] > │     let v0 : (unit -> UH0) = closure90()                                     │

00:00:21 #1486 [Verbose] > │     UH0_0(11.664236870094747, v0)                                            │

00:00:21 #1487 [Verbose] > │ and closure88 () () : UH0 =                                                  │

00:00:21 #1488 [Verbose] > │     let v0 : (unit -> UH0) = closure89()                                     │

00:00:21 #1489 [Verbose] > │     UH0_0(11.664236869996989, v0)                                            │

00:00:21 #1490 [Verbose] > │ and closure87 () () : UH0 =                                                  │

00:00:21 #1491 [Verbose] > │     let v0 : (unit -> UH0) = closure88()                                     │

00:00:21 #1492 [Verbose] > │     UH0_0(11.664236869867516, v0)                                            │

00:00:21 #1493 [Verbose] > │ and closure86 () () : UH0 =                                                  │

00:00:21 #1494 [Verbose] > │     let v0 : (unit -> UH0) = closure87()                                     │

00:00:21 #1495 [Verbose] > │     UH0_0(11.66423686969604, v0)                                             │

00:00:21 #1496 [Verbose] > │ and closure85 () () : UH0 =                                                  │

00:00:21 #1497 [Verbose] > │     let v0 : (unit -> UH0) = closure86()                                     │

00:00:21 #1498 [Verbose] > │     UH0_0(11.664236869468937, v0)                                            │

00:00:21 #1499 [Verbose] > │ and closure84 () () : UH0 =                                                  │

00:00:21 #1500 [Verbose] > │     let v0 : (unit -> UH0) = closure85()                                     │

00:00:21 #1501 [Verbose] > │     UH0_0(11.664236869168157, v0)                                            │

00:00:21 #1502 [Verbose] > │ and closure83 () () : UH0 =                                                  │

00:00:21 #1503 [Verbose] > │     let v0 : (unit -> UH0) = closure84()                                     │

00:00:21 #1504 [Verbose] > │     UH0_0(11.6642368687698, v0)                                              │

00:00:21 #1505 [Verbose] > │ and closure82 () () : UH0 =                                                  │

00:00:21 #1506 [Verbose] > │     let v0 : (unit -> UH0) = closure83()                                     │

00:00:21 #1507 [Verbose] > │     UH0_0(11.664236868242211, v0)                                            │

00:00:21 #1508 [Verbose] > │ and closure81 () () : UH0 =                                                  │

00:00:21 #1509 [Verbose] > │     let v0 : (unit -> UH0) = closure82()                                     │

00:00:21 #1510 [Verbose] > │     UH0_0(11.664236867543465, v0)                                            │

00:00:21 #1511 [Verbose] > │ and closure80 () () : UH0 =                                                  │

00:00:21 #1512 [Verbose] > │     let v0 : (unit -> UH0) = closure81()                                     │

00:00:21 #1513 [Verbose] > │     UH0_0(11.664236866618037, v0)                                            │

00:00:21 #1514 [Verbose] > │ and closure79 () () : UH0 =                                                  │

00:00:21 #1515 [Verbose] > │     let v0 : (unit -> UH0) = closure80()                                     │

00:00:21 #1516 [Verbose] > │     UH0_0(11.664236865392386, v0)                                            │

00:00:21 #1517 [Verbose] > │ and closure78 () () : UH0 =                                                  │

00:00:21 #1518 [Verbose] > │     let v0 : (unit -> UH0) = closure79()                                     │

00:00:21 #1519 [Verbose] > │     UH0_0(11.664236863769117, v0)                                            │

00:00:21 #1520 [Verbose] > │ and closure77 () () : UH0 =                                                  │

00:00:21 #1521 [Verbose] > │     let v0 : (unit -> UH0) = closure78()                                     │

00:00:21 #1522 [Verbose] > │     UH0_0(11.664236861619237, v0)                                            │

00:00:21 #1523 [Verbose] > │ and closure76 () () : UH0 =                                                  │

00:00:21 #1524 [Verbose] > │     let v0 : (unit -> UH0) = closure77()                                     │

00:00:21 #1525 [Verbose] > │     UH0_0(11.664236858771906, v0)                                            │

00:00:21 #1526 [Verbose] > │ and closure75 () () : UH0 =                                                  │

00:00:21 #1527 [Verbose] > │     let v0 : (unit -> UH0) = closure76()                                     │

00:00:21 #1528 [Verbose] > │     UH0_0(11.66423685500086, v0)                                             │

00:00:21 #1529 [Verbose] > │ and closure74 () () : UH0 =                                                  │

00:00:21 #1530 [Verbose] > │     let v0 : (unit -> UH0) = closure75()                                     │

00:00:21 #1531 [Verbose] > │     UH0_0(11.664236850006436, v0)                                            │

00:00:21 #1532 [Verbose] > │ and closure73 () () : UH0 =                                                  │

00:00:21 #1533 [Verbose] > │     let v0 : (unit -> UH0) = closure74()                                     │

00:00:21 #1534 [Verbose] > │     UH0_0(11.664236843391752, v0)                                            │

00:00:21 #1535 [Verbose] > │ and closure72 () () : UH0 =                                                  │

00:00:21 #1536 [Verbose] > │     let v0 : (unit -> UH0) = closure73()                                     │

00:00:21 #1537 [Verbose] > │     UH0_0(11.664236834631172, v0)                                            │

00:00:21 #1538 [Verbose] > │ and closure71 () () : UH0 =                                                  │

00:00:21 #1539 [Verbose] > │     let v0 : (unit -> UH0) = closure72()                                     │

00:00:21 #1540 [Verbose] > │     UH0_0(11.66423682302854, v0)                                             │

00:00:21 #1541 [Verbose] > │ and closure70 () () : UH0 =                                                  │

00:00:21 #1542 [Verbose] > │     let v0 : (unit -> UH0) = closure71()                                     │

00:00:21 #1543 [Verbose] > │     UH0_0(11.664236807661855, v0)                                            │

00:00:21 #1544 [Verbose] > │ and closure69 () () : UH0 =                                                  │

00:00:21 #1545 [Verbose] > │     let v0 : (unit -> UH0) = closure70()                                     │

00:00:21 #1546 [Verbose] > │     UH0_0(11.664236787310005, v0)                                            │

00:00:21 #1547 [Verbose] > │ and closure68 () () : UH0 =                                                  │

00:00:21 #1548 [Verbose] > │     let v0 : (unit -> UH0) = closure69()                                     │

00:00:21 #1549 [Verbose] > │     UH0_0(11.664236760355733, v0)                                            │

00:00:21 #1550 [Verbose] > │ and closure67 () () : UH0 =                                                  │

00:00:21 #1551 [Verbose] > │     let v0 : (unit -> UH0) = closure68()                                     │

00:00:21 #1552 [Verbose] > │     UH0_0(11.664236724657123, v0)                                            │

00:00:21 #1553 [Verbose] > │ and closure66 () () : UH0 =                                                  │

00:00:21 #1554 [Verbose] > │     let v0 : (unit -> UH0) = closure67()                                     │

00:00:21 #1555 [Verbose] > │     UH0_0(11.66423667737739, v0)                                             │

00:00:21 #1556 [Verbose] > │ and closure65 () () : UH0 =                                                  │

00:00:21 #1557 [Verbose] > │     let v0 : (unit -> UH0) = closure66()                                     │

00:00:21 #1558 [Verbose] > │     UH0_0(11.664236614759462, v0)                                            │

00:00:21 #1559 [Verbose] > │ and closure64 () () : UH0 =                                                  │

00:00:21 #1560 [Verbose] > │     let v0 : (unit -> UH0) = closure65()                                     │

00:00:21 #1561 [Verbose] > │     UH0_0(11.664236531827415, v0)                                            │

00:00:21 #1562 [Verbose] > │ and closure63 () () : UH0 =                                                  │

00:00:21 #1563 [Verbose] > │     let v0 : (unit -> UH0) = closure64()                                     │

00:00:21 #1564 [Verbose] > │     UH0_0(11.664236421991067, v0)                                            │

00:00:21 #1565 [Verbose] > │ and closure62 () () : UH0 =                                                  │

00:00:21 #1566 [Verbose] > │     let v0 : (unit -> UH0) = closure63()                                     │

00:00:21 #1567 [Verbose] > │     UH0_0(11.664236276522294, v0)                                            │

00:00:21 #1568 [Verbose] > │ and closure61 () () : UH0 =                                                  │

00:00:21 #1569 [Verbose] > │     let v0 : (unit -> UH0) = closure62()                                     │

00:00:21 #1570 [Verbose] > │     UH0_0(11.664236083861448, v0)                                            │

00:00:21 #1571 [Verbose] > │ and closure60 () () : UH0 =                                                  │

00:00:21 #1572 [Verbose] > │     let v0 : (unit -> UH0) = closure61()                                     │

00:00:21 #1573 [Verbose] > │     UH0_0(11.664235828698772, v0)                                            │

00:00:21 #1574 [Verbose] > │ and closure59 () () : UH0 =                                                  │

00:00:21 #1575 [Verbose] > │     let v0 : (unit -> UH0) = closure60()                                     │

00:00:21 #1576 [Verbose] > │     UH0_0(11.664235490757811, v0)                                            │

00:00:21 #1577 [Verbose] > │ and closure58 () () : UH0 =                                                  │

00:00:21 #1578 [Verbose] > │     let v0 : (unit -> UH0) = closure59()                                     │

00:00:21 #1579 [Verbose] > │     UH0_0(11.664235043184158, v0)                                            │

00:00:21 #1580 [Verbose] > │ and closure57 () () : UH0 =                                                  │

00:00:21 #1581 [Verbose] > │     let v0 : (unit -> UH0) = closure58()                                     │

00:00:21 #1582 [Verbose] > │     UH0_0(11.66423445041147, v0)                                             │

00:00:21 #1583 [Verbose] > │ and closure56 () () : UH0 =                                                  │

00:00:21 #1584 [Verbose] > │     let v0 : (unit -> UH0) = closure57()                                     │

00:00:21 #1585 [Verbose] > │     UH0_0(11.664233665335203, v0)                                            │

00:00:21 #1586 [Verbose] > │ and closure55 () () : UH0 =                                                  │

00:00:21 #1587 [Verbose] > │     let v0 : (unit -> UH0) = closure56()                                     │

00:00:21 #1588 [Verbose] > │     UH0_0(11.664232625569467, v0)                                            │

00:00:21 #1589 [Verbose] > │ and closure54 () () : UH0 =                                                  │

00:00:21 #1590 [Verbose] > │     let v0 : (unit -> UH0) = closure55()                                     │

00:00:21 #1591 [Verbose] > │     UH0_0(11.664231248489562, v0)                                            │

00:00:21 #1592 [Verbose] > │ and closure53 () () : UH0 =                                                  │

00:00:21 #1593 [Verbose] > │     let v0 : (unit -> UH0) = closure54()                                     │

00:00:21 #1594 [Verbose] > │     UH0_0(11.664229424666262, v0)                                            │

00:00:21 #1595 [Verbose] > │ and closure52 () () : UH0 =                                                  │

00:00:21 #1596 [Verbose] > │     let v0 : (unit -> UH0) = closure53()                                     │

00:00:21 #1597 [Verbose] > │     UH0_0(11.66422700917009, v0)                                             │

00:00:21 #1598 [Verbose] > │ and closure51 () () : UH0 =                                                  │

00:00:21 #1599 [Verbose] > │     let v0 : (unit -> UH0) = closure52()                                     │

00:00:21 #1600 [Verbose] > │     UH0_0(11.664223810054642, v0)                                            │

00:00:21 #1601 [Verbose] > │ and closure50 () () : UH0 =                                                  │

00:00:21 #1602 [Verbose] > │     let v0 : (unit -> UH0) = closure51()                                     │

00:00:21 #1603 [Verbose] > │     UH0_0(11.664219573103773, v0)                                            │

00:00:21 #1604 [Verbose] > │ and closure49 () () : UH0 =                                                  │

00:00:21 #1605 [Verbose] > │     let v0 : (unit -> UH0) = closure50()                                     │

00:00:21 #1606 [Verbose] > │     UH0_0(11.6642139616307, v0)                                              │

00:00:21 #1607 [Verbose] > │ and closure48 () () : UH0 =                                                  │

00:00:21 #1608 [Verbose] > │     let v0 : (unit -> UH0) = closure49()                                     │

00:00:21 #1609 [Verbose] > │     UH0_0(11.664206529723813, v0)                                            │

00:00:21 #1610 [Verbose] > │ and closure47 () () : UH0 =                                                  │

00:00:21 #1611 [Verbose] > │     let v0 : (unit -> UH0) = closure48()                                     │

00:00:21 #1612 [Verbose] > │     UH0_0(11.664196686813408, v0)                                            │

00:00:21 #1613 [Verbose] > │ and closure46 () () : UH0 =                                                  │

00:00:21 #1614 [Verbose] > │     let v0 : (unit -> UH0) = closure47()                                     │

00:00:21 #1615 [Verbose] > │     UH0_0(11.664183650743945, v0)                                            │

00:00:21 #1616 [Verbose] > │ and closure45 () () : UH0 =                                                  │

00:00:21 #1617 [Verbose] > │     let v0 : (unit -> UH0) = closure46()                                     │

00:00:21 #1618 [Verbose] > │     UH0_0(11.664166385623318, v0)                                            │

00:00:21 #1619 [Verbose] > │ and closure44 () () : UH0 =                                                  │

00:00:21 #1620 [Verbose] > │     let v0 : (unit -> UH0) = closure45()                                     │

00:00:21 #1621 [Verbose] > │     UH0_0(11.664143519511356, v0)                                            │

00:00:21 #1622 [Verbose] > │ and closure43 () () : UH0 =                                                  │

00:00:21 #1623 [Verbose] > │     let v0 : (unit -> UH0) = closure44()                                     │

00:00:21 #1624 [Verbose] > │     UH0_0(11.664113235408447, v0)                                            │

00:00:21 #1625 [Verbose] > │ and closure42 () () : UH0 =                                                  │

00:00:21 #1626 [Verbose] > │     let v0 : (unit -> UH0) = closure43()                                     │

00:00:21 #1627 [Verbose] > │     UH0_0(11.66407312688485, v0)                                             │

00:00:21 #1628 [Verbose] > │ and closure41 () () : UH0 =                                                  │

00:00:21 #1629 [Verbose] > │     let v0 : (unit -> UH0) = closure42()                                     │

00:00:21 #1630 [Verbose] > │     UH0_0(11.664020006883758, v0)                                            │

00:00:21 #1631 [Verbose] > │ and closure40 () () : UH0 =                                                  │

00:00:21 #1632 [Verbose] > │     let v0 : (unit -> UH0) = closure41()                                     │

00:00:21 #1633 [Verbose] > │     UH0_0(11.663949654514292, v0)                                            │

00:00:21 #1634 [Verbose] > │ and closure39 () () : UH0 =                                                  │

00:00:21 #1635 [Verbose] > │     let v0 : (unit -> UH0) = closure40()                                     │

00:00:21 #1636 [Verbose] > │     UH0_0(11.663856479730171, v0)                                            │

00:00:21 #1637 [Verbose] > │ and closure38 () () : UH0 =                                                  │

00:00:21 #1638 [Verbose] > │     let v0 : (unit -> UH0) = closure39()                                     │

00:00:21 #1639 [Verbose] > │     UH0_0(11.663733079277343, v0)                                            │

00:00:21 #1640 [Verbose] > │ and closure37 () () : UH0 =                                                  │

00:00:21 #1641 [Verbose] > │     let v0 : (unit -> UH0) = closure38()                                     │

00:00:21 #1642 [Verbose] > │     UH0_0(11.663569648675777, v0)                                            │

00:00:21 #1643 [Verbose] > │ and closure36 () () : UH0 =                                                  │

00:00:21 #1644 [Verbose] > │     let v0 : (unit -> UH0) = closure37()                                     │

00:00:21 #1645 [Verbose] > │     UH0_0(11.663353203599439, v0)                                            │

00:00:21 #1646 [Verbose] > │ and closure35 () () : UH0 =                                                  │

00:00:21 #1647 [Verbose] > │     let v0 : (unit -> UH0) = closure36()                                     │

00:00:21 #1648 [Verbose] > │     UH0_0(11.663066548940721, v0)                                            │

00:00:21 #1649 [Verbose] > │ and closure34 () () : UH0 =                                                  │

00:00:21 #1650 [Verbose] > │     let v0 : (unit -> UH0) = closure35()                                     │

00:00:21 #1651 [Verbose] > │     UH0_0(11.662686913915445, v0)                                            │

00:00:21 #1652 [Verbose] > │ and closure33 () () : UH0 =                                                  │

00:00:21 #1653 [Verbose] > │     let v0 : (unit -> UH0) = closure34()                                     │

00:00:21 #1654 [Verbose] > │     UH0_0(11.662184145236864, v0)                                            │

00:00:21 #1655 [Verbose] > │ and closure32 () () : UH0 =                                                  │

00:00:21 #1656 [Verbose] > │     let v0 : (unit -> UH0) = closure33()                                     │

00:00:21 #1657 [Verbose] > │     UH0_0(11.661518315638029, v0)                                            │

00:00:21 #1658 [Verbose] > │ and closure31 () () : UH0 =                                                  │

00:00:21 #1659 [Verbose] > │     let v0 : (unit -> UH0) = closure32()                                     │

00:00:21 #1660 [Verbose] > │     UH0_0(11.66063655920926, v0)                                             │

00:00:21 #1661 [Verbose] > │ and closure30 () () : UH0 =                                                  │

00:00:21 #1662 [Verbose] > │     let v0 : (unit -> UH0) = closure31()                                     │

00:00:21 #1663 [Verbose] > │     UH0_0(11.659468884709733, v0)                                            │

00:00:21 #1664 [Verbose] > │ and closure29 () () : UH0 =                                                  │

00:00:21 #1665 [Verbose] > │     let v0 : (unit -> UH0) = closure30()                                     │

00:00:21 #1666 [Verbose] > │     UH0_0(11.657922638782631, v0)                                            │

00:00:21 #1667 [Verbose] > │ and closure28 () () : UH0 =                                                  │

00:00:21 #1668 [Verbose] > │     let v0 : (unit -> UH0) = closure29()                                     │

00:00:21 #1669 [Verbose] > │     UH0_0(11.655875187195818, v0)                                            │

00:00:21 #1670 [Verbose] > │ and closure27 () () : UH0 =                                                  │

00:00:21 #1671 [Verbose] > │     let v0 : (unit -> UH0) = closure28()                                     │

00:00:21 #1672 [Verbose] > │     UH0_0(11.653164246713697, v0)                                            │

00:00:21 #1673 [Verbose] > │ and closure26 () () : UH0 =                                                  │

00:00:21 #1674 [Verbose] > │     let v0 : (unit -> UH0) = closure27()                                     │

00:00:21 #1675 [Verbose] > │     UH0_0(11.64957512416459, v0)                                             │

00:00:21 #1676 [Verbose] > │ and closure25 () () : UH0 =                                                  │

00:00:21 #1677 [Verbose] > │     let v0 : (unit -> UH0) = closure26()                                     │

00:00:21 #1678 [Verbose] > │     UH0_0(11.644823892116417, v0)                                            │

00:00:21 #1679 [Verbose] > │ and closure24 () () : UH0 =                                                  │

00:00:21 #1680 [Verbose] > │     let v0 : (unit -> UH0) = closure25()                                     │

00:00:21 #1681 [Verbose] > │     UH0_0(11.63853524018339, v0)                                             │

00:00:21 #1682 [Verbose] > │ and closure23 () () : UH0 =                                                  │

00:00:21 #1683 [Verbose] > │     let v0 : (unit -> UH0) = closure24()                                     │

00:00:21 #1684 [Verbose] > │     UH0_0(11.630213374558416, v0)                                            │

00:00:21 #1685 [Verbose] > │ and closure22 () () : UH0 =                                                  │

00:00:21 #1686 [Verbose] > │     let v0 : (unit -> UH0) = closure23()                                     │

00:00:21 #1687 [Verbose] > │     UH0_0(11.619203884549703, v0)                                            │

00:00:21 #1688 [Verbose] > │ and closure21 () () : UH0 =                                                  │

00:00:21 #1689 [Verbose] > │     let v0 : (unit -> UH0) = closure22()                                     │

00:00:21 #1690 [Verbose] > │     UH0_0(11.604643948207235, v0)                                            │

00:00:21 #1691 [Verbose] > │ and closure20 () () : UH0 =                                                  │

00:00:21 #1692 [Verbose] > │     let v0 : (unit -> UH0) = closure21()                                     │

00:00:21 #1693 [Verbose] > │     UH0_0(11.585397618384544, v0)                                            │

00:00:21 #1694 [Verbose] > │ and closure19 () () : UH0 =                                                  │

00:00:21 #1695 [Verbose] > │     let v0 : (unit -> UH0) = closure20()                                     │

00:00:21 #1696 [Verbose] > │     UH0_0(11.559972254267073, v0)                                            │

00:00:21 #1697 [Verbose] > │ and closure18 () () : UH0 =                                                  │

00:00:21 #1698 [Verbose] > │     let v0 : (unit -> UH0) = closure19()                                     │

00:00:21 #1699 [Verbose] > │     UH0_0(11.526411536153837, v0)                                            │

00:00:21 #1700 [Verbose] > │ and closure17 () () : UH0 =                                                  │

00:00:21 #1701 [Verbose] > │     let v0 : (unit -> UH0) = closure18()                                     │

00:00:21 #1702 [Verbose] > │     UH0_0(11.48216011776808, v0)                                             │

00:00:21 #1703 [Verbose] > │ and closure16 () () : UH0 =                                                  │

00:00:21 #1704 [Verbose] > │     let v0 : (unit -> UH0) = closure17()                                     │

00:00:21 #1705 [Verbose] > │     UH0_0(11.42389519391233, v0)                                             │

00:00:21 #1706 [Verbose] > │ and closure15 () () : UH0 =                                                  │

00:00:21 #1707 [Verbose] > │     let v0 : (unit -> UH0) = closure16()                                     │

00:00:21 #1708 [Verbose] > │     UH0_0(11.347321723441393, v0)                                            │

00:00:21 #1709 [Verbose] > │ and closure14 () () : UH0 =                                                  │

00:00:21 #1710 [Verbose] > │     let v0 : (unit -> UH0) = closure15()                                     │

00:00:21 #1711 [Verbose] > │     UH0_0(11.246931775734161, v0)                                            │

00:00:21 #1712 [Verbose] > │ and closure13 () () : UH0 =                                                  │

00:00:21 #1713 [Verbose] > │     let v0 : (unit -> UH0) = closure14()                                     │

00:00:21 #1714 [Verbose] > │     UH0_0(11.115736011467376, v0)                                            │

00:00:21 #1715 [Verbose] > │ and closure12 () () : UH0 =                                                  │

00:00:21 #1716 [Verbose] > │     let v0 : (unit -> UH0) = closure13()                                     │

00:00:21 #1717 [Verbose] > │     UH0_0(10.94498876251829, v0)                                             │

00:00:21 #1718 [Verbose] > │ and closure11 () () : UH0 =                                                  │

00:00:21 #1719 [Verbose] > │     let v0 : (unit -> UH0) = closure12()                                     │

00:00:21 #1720 [Verbose] > │     UH0_0(10.72394989903564, v0)                                             │

00:00:21 #1721 [Verbose] > │ and closure10 () () : UH0 =                                                  │

00:00:21 #1722 [Verbose] > │     let v0 : (unit -> UH0) = closure11()                                     │

00:00:21 #1723 [Verbose] > │     UH0_0(10.439758275369812, v0)                                            │

00:00:21 #1724 [Verbose] > │ and closure9 () () : UH0 =                                                   │

00:00:21 #1725 [Verbose] > │     let v0 : (unit -> UH0) = closure10()                                     │

00:00:21 #1726 [Verbose] > │     UH0_0(10.077531599826058, v0)                                            │

00:00:21 #1727 [Verbose] > │ and closure8 () () : UH0 =                                                   │

00:00:21 #1728 [Verbose] > │     let v0 : (unit -> UH0) = closure9()                                      │

00:00:21 #1729 [Verbose] > │     UH0_0(9.62084761372258, v0)                                              │

00:00:21 #1730 [Verbose] > │ and closure7 () () : UH0 =                                                   │

00:00:21 #1731 [Verbose] > │     let v0 : (unit -> UH0) = closure8()                                      │

00:00:21 #1732 [Verbose] > │     UH0_0(9.052781056066443, v0)                                             │

00:00:21 #1733 [Verbose] > │ and closure6 () () : UH0 =                                                   │

00:00:21 #1734 [Verbose] > │     let v0 : (unit -> UH0) = closure7()                                      │

00:00:21 #1735 [Verbose] > │     UH0_0(8.357635347880503, v0)                                             │

00:00:21 #1736 [Verbose] > │ and closure5 () () : UH0 =                                                   │

00:00:21 #1737 [Verbose] > │     let v0 : (unit -> UH0) = closure6()                                      │

00:00:21 #1738 [Verbose] > │     UH0_0(7.523376447621674, v0)                                             │

00:00:21 #1739 [Verbose] > │ and closure4 () () : UH0 =                                                   │

00:00:21 #1740 [Verbose] > │     let v0 : (unit -> UH0) = closure5()                                      │

00:00:21 #1741 [Verbose] > │     UH0_0(6.544529054818572, v0)                                             │

00:00:21 #1742 [Verbose] > │ and closure3 () () : UH0 =                                                   │

00:00:21 #1743 [Verbose] > │     let v0 : (unit -> UH0) = closure4()                                      │

00:00:21 #1744 [Verbose] > │     UH0_0(5.424976512996006, v0)                                             │

00:00:21 #1745 [Verbose] > │ and closure2 () () : UH0 =                                                   │

00:00:21 #1746 [Verbose] > │     let v0 : (unit -> UH0) = closure3()                                      │

00:00:21 #1747 [Verbose] > │     UH0_0(4.179852321428571, v0)                                             │

00:00:21 #1748 [Verbose] > │ and closure1 () () : UH0 =                                                   │

00:00:21 #1749 [Verbose] > │     let v0 : (unit -> UH0) = closure2()                                      │

00:00:21 #1750 [Verbose] > │     UH0_0(2.835714285714286, v0)                                             │

00:00:21 #1751 [Verbose] > │ and closure0 () () : UH0 =                                                   │

00:00:21 #1752 [Verbose] > │     let v0 : (unit -> UH0) = closure1()                                      │

00:00:21 #1753 [Verbose] > │     UH0_0(1.4285714285714286, v0)                                            │

00:00:21 #1754 [Verbose] > │ and method3 (v0 : float, v1 : UH0) : US0 =                                   │

00:00:21 #1755 [Verbose] > │     match v1 with                                                            │

00:00:21 #1756 [Verbose] > │     | UH0_0(v2, v3) -> (* StreamCons *)                                      │

00:00:21 #1757 [Verbose] > │         let v4 : bool = v0 <= 0.0                                            │

00:00:21 #1758 [Verbose] > │         if v4 then                                                           │

00:00:21 #1759 [Verbose] > │             US0_1(v2)                                                        │

00:00:21 #1760 [Verbose] > │         else                                                                 │

00:00:21 #1761 [Verbose] > │             let v6 : float = v0 - 1.0                                        │

00:00:21 #1762 [Verbose] > │             let v7 : UH0 = v3 ()                                             │

00:00:21 #1763 [Verbose] > │             method3(v6, v7)                                                  │

00:00:21 #1764 [Verbose] > │     | UH0_1 -> (* StreamNil *)                                               │

00:00:21 #1765 [Verbose] > │         US0_0                                                                │

00:00:21 #1766 [Verbose] > │ and method4 (v0 : (struct (string * (float []) * (float [])) [])) : (struct  │

00:00:21 #1767 [Verbose] > │ (string * (float []) * (float [])) []) =                                     │

00:00:21 #1768 [Verbose] > │     v0                                                                       │

00:00:21 #1769 [Verbose] > │ and method0 () : struct (string * string * string * (struct (string * (float │

00:00:21 #1770 [Verbose] > │ []) * (float [])) [])) =                                                     │

00:00:21 #1771 [Verbose] > │     let v0 : (float []) = Array.zeroCreate<float> (121)                      │

00:00:21 #1772 [Verbose] > │     let v1 : Mut0 = {l0 = 0} : Mut0                                          │

00:00:21 #1773 [Verbose] > │     while method1(v1) do                                                     │

00:00:21 #1774 [Verbose] > │         let v3 : int32 = v1.l0                                               │

00:00:21 #1775 [Verbose] > │         let v4 : float = float v3                                            │

00:00:21 #1776 [Verbose] > │         let v5 : float = 0.5 * v4                                            │

00:00:21 #1777 [Verbose] > │         v0.[int v3] <- v5                                                    │

00:00:21 #1778 [Verbose] > │         let v6 : int32 = v3 + 1                                              │

00:00:21 #1779 [Verbose] > │         v1.l0 <- v6                                                          │

00:00:21 #1780 [Verbose] > │         ()                                                                   │

00:00:21 #1781 [Verbose] > │     let v7 : int32 = v0.Length                                               │

00:00:21 #1782 [Verbose] > │     let v8 : (float []) = Array.zeroCreate<float> (v7)                       │

00:00:21 #1783 [Verbose] > │     let v9 : Mut0 = {l0 = 0} : Mut0                                          │

00:00:21 #1784 [Verbose] > │     while method2(v7, v9) do                                                 │

00:00:21 #1785 [Verbose] > │         let v11 : int32 = v9.l0                                              │

00:00:21 #1786 [Verbose] > │         let v12 : float = v0.[int v11]                                       │

00:00:21 #1787 [Verbose] > │         let v13 : float = round v12                                          │

00:00:21 #1788 [Verbose] > │         let v14 : float =  -v13                                              │

00:00:21 #1789 [Verbose] > │         let v15 : bool = v13 >= v14                                          │

00:00:21 #1790 [Verbose] > │         let v16 : float =                                                    │

00:00:21 #1791 [Verbose] > │             if v15 then                                                      │

00:00:21 #1792 [Verbose] > │                 v13                                                          │

00:00:21 #1793 [Verbose] > │             else                                                             │

00:00:21 #1794 [Verbose] > │                 v14                                                          │

00:00:21 #1795 [Verbose] > │         let v17 : float = 0.0                                                │

00:00:21 #1796 [Verbose] > │         let v18 : (unit -> UH0) = closure0()                                 │

00:00:21 #1797 [Verbose] > │         let v19 : UH0 = UH0_0(v17, v18)                                      │

00:00:21 #1798 [Verbose] > │         let v20 : US0 = method3(v16, v19)                                    │

00:00:21 #1799 [Verbose] > │         let v23 : float =                                                    │

00:00:21 #1800 [Verbose] > │             match v20 with                                                   │

00:00:21 #1801 [Verbose] > │             | US0_0 -> (* None *)                                            │

00:00:21 #1802 [Verbose] > │                 0.0                                                          │

00:00:21 #1803 [Verbose] > │             | US0_1(v21) -> (* Some *)                                       │

00:00:21 #1804 [Verbose] > │                 v21                                                          │

00:00:21 #1805 [Verbose] > │         v8.[int v11] <- v23                                                  │

00:00:21 #1806 [Verbose] > │         let v24 : int32 = v11 + 1                                            │

00:00:21 #1807 [Verbose] > │         v9.l0 <- v24                                                         │

00:00:21 #1808 [Verbose] > │         ()                                                                   │

00:00:21 #1809 [Verbose] > │     let v25 : string = "velocity of bike (m/s)"                              │

00:00:21 #1810 [Verbose] > │     let v26 : (struct (string * (float []) * (float [])) []) = [|struct      │

00:00:21 #1811 [Verbose] > │ (v25, v0, v8)|]                                                              │

00:00:21 #1812 [Verbose] > │     let v27 : (struct (string * (float []) * (float [])) []) = method4(v26)  │

00:00:21 #1813 [Verbose] > │     let v28 : string = "bike velocity"                                       │

00:00:21 #1814 [Verbose] > │     let v29 : string = "time (s)"                                            │

00:00:21 #1815 [Verbose] > │     let v30 : string = ""                                                    │

00:00:21 #1816 [Verbose] > │     struct (v28, v29, v30, v27)                                              │

00:00:21 #1817 [Verbose] > │ method0()                                                                    │

00:00:21 #1818 [Verbose] > │                                                                              │

00:00:21 #1819 [Verbose] > │                                                                              │

00:00:21 #1820 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:21 #1821 [Verbose] >

00:00:21 #1822 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────

00:00:21 #1823 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮

00:00:21 #1824 [Verbose] > │ ## velocity_ftv                                                              │

00:00:21 #1825 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:21 #1826 [Verbose] >

00:00:21 #1827 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:21 #1828 [Verbose] > inl newton_second_tv m fs (t, v0) =

00:00:21 #1829 [Verbose] >     inl f_net = fs |> listm.map (fun f => f (t, v0)) |> listm'.sum

00:00:21 #1830 [Verbose] >     inl acc = f_net / m

00:00:21 #1831 [Verbose] >     1, acc

00:00:21 #1832 [Verbose] >

00:00:21 #1833 [Verbose] > inl update_tv dt m fs (t, v0) =

00:00:21 #1834 [Verbose] >     inl dtdt, dvdt = newton_second_tv m fs (t, v0)

00:00:21 #1835 [Verbose] >     t + dtdt * dt, v0 + dvdt * dt

00:00:21 #1836 [Verbose] >

00:00:21 #1837 [Verbose] > inl velocity_ftv dt m tv0 fs t =

00:00:21 #1838 [Verbose] >     stream.iterate (join update_tv dt m fs) tv0

00:00:21 #1839 [Verbose] >     |> stream.try_item (t / dt |> math.round |> abs)

00:00:21 #1840 [Verbose] >     |> optionm.map snd

00:00:21 #1841 [Verbose] >     |> optionm'.default_value 0

00:00:21 #1842 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0904-5812-1225-13ff2870a837\main.spi

00:00:22 #1843 [Verbose] >

00:00:22 #1844 [Verbose] > ╭─[ 182.49ms - stdout ]────────────────────────────────────────────────────────╮

00:00:22 #1845 [Verbose] > │ ()                                                                           │

00:00:22 #1846 [Verbose] > │                                                                              │

00:00:22 #1847 [Verbose] > │                                                                              │

00:00:22 #1848 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:22 #1849 [Verbose] >

00:00:22 #1850 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:22 #1851 [Verbose] > // // test

00:00:22 #1852 [Verbose] >

00:00:22 #1853 [Verbose] > inl x = am'.init_series 0 100 0.1

00:00:22 #1854 [Verbose] > inl y =

00:00:22 #1855 [Verbose] >     x

00:00:22 #1856 [Verbose] >     |> am.map (

00:00:22 #1857 [Verbose] >         velocity_ftv 0.1 20 (dyn (0, 0)) [[ fun (t, _) => pedal_coast t; fun (_,

00:00:22 #1858 [Verbose] > v) => f_air 2 1.225 0.5 v ]]

00:00:22 #1859 [Verbose] >     )

00:00:22 #1860 [Verbose] > "pedaling and coasting with air", "time (s)", "", ;[[ "velocity of bike (m/s)",

00:00:22 #1861 [Verbose] > x, y ]]

00:00:22 #1862 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0904-5830-3053-3a3895f0fa5b\main.spi

00:00:22 #1863 [Verbose] >

00:00:22 #1864 [Verbose] > ╭─[ 393.04ms - return value ]──────────────────────────────────────────────────╮

00:00:22 #1865 [Verbose] > │ <svg width="640" height="480" viewBox="0 0 640 480"                          │

00:00:22 #1866 [Verbose] > │ xmlns="http://www.w3.org/2000/svg">                                          │

00:00:22 #1867 [Verbose] > │ <rect x="0" y="0" width="640" height="480" opacity="1" fill="#141414"        │

00:00:22 #1868 [Verbose] > │ stroke="none"/>                                                              │

00:00:22 #1869 [Verbose] > │ <text x="320" y="10" dy="0.76em" text-anchor="middle"                        │

00:00:22 #1870 [Verbose] > │ font-family="sans-serif" font-size="9.67741935483871" opacity="1"            │

00:00:22 #1871 [Verbose] > │ fill="#FFFFFF">                                                              │

00:00:22 #1872 [Verbose] > │ pedaling and coasting with air                                               │

00:00:22 #1873 [Verbose] > │ </text>                                                                      │

00:00:22 #1874 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="59" y1="424" x2="59" │

00:00:22 #1875 [Verbose] > │ y2="75"/>                                                                    │

00:00:22 #1876 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="69" y1="424" x2="69" │

00:00:22 #1877 [Verbose] > │ y2="75"/>                                                                    │

00:00:22 #1878 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="79" y1="424" x2="79" │

00:00:22 #1879 [Verbose] > │ y2="75"/>                                                                    │

00:00:22 #1880 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="89" y1="424" x2="89" │

00:00:22 #1881 [Verbose] > │ y2="75"/>                                                                    │

00:00:22 #1882 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x...                     │

00:00:22 #1883 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:22 #1884 [Verbose] >

00:00:22 #1885 [Verbose] > ╭─[ 403.04ms - stdout ]────────────────────────────────────────────────────────╮

00:00:22 #1886 [Verbose] > │ type Mut0 = {mutable l0 : int32}                                             │

00:00:22 #1887 [Verbose] > │ and UH0 =                                                                    │

00:00:22 #1888 [Verbose] > │     | UH0_0 of float * float * (unit -> UH0)                                 │

00:00:22 #1889 [Verbose] > │     | UH0_1                                                                  │

00:00:22 #1890 [Verbose] > │ and [<Struct>] US0 =                                                         │

00:00:22 #1891 [Verbose] > │     | US0_0                                                                  │

00:00:22 #1892 [Verbose] > │     | US0_1 of f1_0 : float * f1_1 : float                                   │

00:00:22 #1893 [Verbose] > │ and [<Struct>] US1 =                                                         │

00:00:22 #1894 [Verbose] > │     | US1_0                                                                  │

00:00:22 #1895 [Verbose] > │     | US1_1 of f1_0 : float                                                  │

00:00:22 #1896 [Verbose] > │ let rec method1 (v0 : Mut0) : bool =                                         │

00:00:22 #1897 [Verbose] > │     let v1 : int32 = v0.l0                                                   │

00:00:22 #1898 [Verbose] > │     let v2 : bool = v1 < 1001                                                │

00:00:22 #1899 [Verbose] > │     v2                                                                       │

00:00:22 #1900 [Verbose] > │ and method2 (v0 : int32, v1 : Mut0) : bool =                                 │

00:00:22 #1901 [Verbose] > │     let v2 : int32 = v1.l0                                                   │

00:00:22 #1902 [Verbose] > │     let v3 : bool = v2 < v0                                                  │

00:00:22 #1903 [Verbose] > │     v3                                                                       │

00:00:22 #1904 [Verbose] > │ and closure0 () struct (v0 : float, v1 : float) : struct (float * float) =   │

00:00:22 #1905 [Verbose] > │     let v2 : float =  -v1                                                    │

00:00:22 #1906 [Verbose] > │     let v3 : bool = v1 >= v2                                                 │

00:00:22 #1907 [Verbose] > │     let v4 : float =                                                         │

00:00:22 #1908 [Verbose] > │         if v3 then                                                           │

00:00:22 #1909 [Verbose] > │             v1                                                               │

00:00:22 #1910 [Verbose] > │         else                                                                 │

00:00:22 #1911 [Verbose] > │             v2                                                               │

00:00:22 #1912 [Verbose] > │     let v5 : float = -1.225 * v4                                             │

00:00:22 #1913 [Verbose] > │     let v6 : float = v5 * v1                                                 │

00:00:22 #1914 [Verbose] > │     let v7 : float = v6 / 2.0                                                │

00:00:22 #1915 [Verbose] > │     let v8 : float = v0 / 20.0                                               │

00:00:22 #1916 [Verbose] > │     let v9 : int32 = int32 v8                                                │

00:00:22 #1917 [Verbose] > │     let v10 : float = float v9                                               │

00:00:22 #1918 [Verbose] > │     let v11 : float = v10 * 20.0                                             │

00:00:22 #1919 [Verbose] > │     let v12 : float = v0 - v11                                               │

00:00:22 #1920 [Verbose] > │     let v13 : bool = v12 > 0.0                                               │

00:00:22 #1921 [Verbose] > │     let v15 : bool =                                                         │

00:00:22 #1922 [Verbose] > │         if v13 then                                                          │

00:00:22 #1923 [Verbose] > │             let v14 : bool = v12 < 10.0                                      │

00:00:22 #1924 [Verbose] > │             v14                                                              │

00:00:22 #1925 [Verbose] > │         else                                                                 │

00:00:22 #1926 [Verbose] > │             false                                                            │

00:00:22 #1927 [Verbose] > │     let v16 : float =                                                        │

00:00:22 #1928 [Verbose] > │         if v15 then                                                          │

00:00:22 #1929 [Verbose] > │             10.0                                                             │

00:00:22 #1930 [Verbose] > │         else                                                                 │

00:00:22 #1931 [Verbose] > │             0.0                                                              │

00:00:22 #1932 [Verbose] > │     let v17 : float = v16 + v7                                               │

00:00:22 #1933 [Verbose] > │     let v18 : float = v17 / 20.0                                             │

00:00:22 #1934 [Verbose] > │     let v19 : float = v0 + 0.1                                               │

00:00:22 #1935 [Verbose] > │     let v20 : float = v18 * 0.1                                              │

00:00:22 #1936 [Verbose] > │     let v21 : float = v1 + v20                                               │

00:00:22 #1937 [Verbose] > │     struct (v19, v21)                                                        │

00:00:22 #1938 [Verbose] > │ and method3 () : (struct (float * float) -> struct (float * float)) =        │

00:00:22 #1939 [Verbose] > │     closure0()                                                               │

00:00:22 #1940 [Verbose] > │ and closure1 (v0 : (struct (float * float) -> struct (float * float)), v1 :  │

00:00:22 #1941 [Verbose] > │ float, v2 : float, v3 : float, v4 : float) () : UH0 =                        │

00:00:22 #1942 [Verbose] > │     let struct (v5 : float, v6 : float) = v0 struct (v3, v4)                 │

00:00:22 #1943 [Verbose] > │     let v7 : (unit -> UH0) = closure1(v0, v1, v2, v5, v6)                    │

00:00:22 #1944 [Verbose] > │     UH0_0(v3, v4, v7)                                                        │

00:00:22 #1945 [Verbose] > │ and method4 (v0 : float, v1 : UH0) : US0 =                                   │

00:00:22 #1946 [Verbose] > │     match v1 with                                                            │

00:00:22 #1947 [Verbose] > │     | UH0_0(v2, v3, v4) -> (* StreamCons *)                                  │

00:00:22 #1948 [Verbose] > │         let v5 : bool = v0 <= 0.0                                            │

00:00:22 #1949 [Verbose] > │         if v5 then                                                           │

00:00:22 #1950 [Verbose] > │             US0_1(v2, v3)                                                    │

00:00:22 #1951 [Verbose] > │         else                                                                 │

00:00:22 #1952 [Verbose] > │             let v7 : float = v0 - 1.0                                        │

00:00:22 #1953 [Verbose] > │             let v8 : UH0 = v4 ()                                             │

00:00:22 #1954 [Verbose] > │             method4(v7, v8)                                                  │

00:00:22 #1955 [Verbose] > │     | UH0_1 -> (* StreamNil *)                                               │

00:00:22 #1956 [Verbose] > │         US0_0                                                                │

00:00:22 #1957 [Verbose] > │ and method5 (v0 : (struct (string * (float []) * (float [])) [])) : (struct  │

00:00:22 #1958 [Verbose] > │ (string * (float []) * (float [])) []) =                                     │

00:00:22 #1959 [Verbose] > │     v0                                                                       │

00:00:22 #1960 [Verbose] > │ and method0 () : struct (string * string * string * (struct (string * (float │

00:00:22 #1961 [Verbose] > │ []) * (float [])) [])) =                                                     │

00:00:22 #1962 [Verbose] > │     let v0 : (float []) = Array.zeroCreate<float> (1001)                     │

00:00:22 #1963 [Verbose] > │     let v1 : Mut0 = {l0 = 0} : Mut0                                          │

00:00:22 #1964 [Verbose] > │     while method1(v1) do                                                     │

00:00:22 #1965 [Verbose] > │         let v3 : int32 = v1.l0                                               │

00:00:22 #1966 [Verbose] > │         let v4 : float = float v3                                            │

00:00:22 #1967 [Verbose] > │         let v5 : float = 0.1 * v4                                            │

00:00:22 #1968 [Verbose] > │         v0.[int v3] <- v5                                                    │

00:00:22 #1969 [Verbose] > │         let v6 : int32 = v3 + 1                                              │

00:00:22 #1970 [Verbose] > │         v1.l0 <- v6                                                          │

00:00:22 #1971 [Verbose] > │         ()                                                                   │

00:00:22 #1972 [Verbose] > │     let v7 : float = 0.0                                                     │

00:00:22 #1973 [Verbose] > │     let v8 : float = 0.0                                                     │

00:00:22 #1974 [Verbose] > │     let v9 : int32 = v0.Length                                               │

00:00:22 #1975 [Verbose] > │     let v10 : (float []) = Array.zeroCreate<float> (v9)                      │

00:00:22 #1976 [Verbose] > │     let v11 : Mut0 = {l0 = 0} : Mut0                                         │

00:00:22 #1977 [Verbose] > │     while method2(v9, v11) do                                                │

00:00:22 #1978 [Verbose] > │         let v13 : int32 = v11.l0                                             │

00:00:22 #1979 [Verbose] > │         let v14 : float = v0.[int v13]                                       │

00:00:22 #1980 [Verbose] > │         let v15 : (struct (float * float) -> struct (float * float)) =       │

00:00:22 #1981 [Verbose] > │ method3()                                                                    │

00:00:22 #1982 [Verbose] > │         let struct (v16 : float, v17 : float) = v15 struct (v7, v8)          │

00:00:22 #1983 [Verbose] > │         let v18 : float = v14 / 0.1                                          │

00:00:22 #1984 [Verbose] > │         let v19 : float = round v18                                          │

00:00:22 #1985 [Verbose] > │         let v20 : float =  -v19                                              │

00:00:22 #1986 [Verbose] > │         let v21 : bool = v19 >= v20                                          │

00:00:22 #1987 [Verbose] > │         let v22 : float =                                                    │

00:00:22 #1988 [Verbose] > │             if v21 then                                                      │

00:00:22 #1989 [Verbose] > │                 v19                                                          │

00:00:22 #1990 [Verbose] > │             else                                                             │

00:00:22 #1991 [Verbose] > │                 v20                                                          │

00:00:22 #1992 [Verbose] > │         let v23 : (unit -> UH0) = closure1(v15, v7, v8, v16, v17)            │

00:00:22 #1993 [Verbose] > │         let v24 : UH0 = UH0_0(v7, v8, v23)                                   │

00:00:22 #1994 [Verbose] > │         let v25 : US0 = method4(v22, v24)                                    │

00:00:22 #1995 [Verbose] > │         let v31 : US1 =                                                      │

00:00:22 #1996 [Verbose] > │             match v25 with                                                   │

00:00:22 #1997 [Verbose] > │             | US0_0 -> (* None *)                                            │

00:00:22 #1998 [Verbose] > │                 US1_0                                                        │

00:00:22 #1999 [Verbose] > │             | US0_1(v26, v27) -> (* Some *)                                  │

00:00:22 #2000 [Verbose] > │                 US1_1(v27)                                                   │

00:00:22 #2001 [Verbose] > │         let v34 : float =                                                    │

00:00:22 #2002 [Verbose] > │             match v31 with                                                   │

00:00:22 #2003 [Verbose] > │             | US1_0 -> (* None *)                                            │

00:00:22 #2004 [Verbose] > │                 0.0                                                          │

00:00:22 #2005 [Verbose] > │             | US1_1(v32) -> (* Some *)                                       │

00:00:22 #2006 [Verbose] > │                 v32                                                          │

00:00:22 #2007 [Verbose] > │         v10.[int v13] <- v34                                                 │

00:00:22 #2008 [Verbose] > │         let v35 : int32 = v13 + 1                                            │

00:00:22 #2009 [Verbose] > │         v11.l0 <- v35                                                        │

00:00:22 #2010 [Verbose] > │         ()                                                                   │

00:00:22 #2011 [Verbose] > │     let v36 : string = "velocity of bike (m/s)"                              │

00:00:22 #2012 [Verbose] > │     let v37 : (struct (string * (float []) * (float [])) []) = [|struct      │

00:00:22 #2013 [Verbose] > │ (v36, v0, v10)|]                                                             │

00:00:22 #2014 [Verbose] > │     let v38 : (struct (string * (float []) * (float [])) []) = method5(v37)  │

00:00:22 #2015 [Verbose] > │     let v39 : string = "pedaling and coasting with air"                      │

00:00:22 #2016 [Verbose] > │     let v40 : string = "time (s)"                                            │

00:00:22 #2017 [Verbose] > │     let v41 : string = ""                                                    │

00:00:22 #2018 [Verbose] > │     struct (v39, v40, v41, v38)                                              │

00:00:22 #2019 [Verbose] > │ method0()                                                                    │

00:00:22 #2020 [Verbose] > │                                                                              │

00:00:22 #2021 [Verbose] > │                                                                              │

00:00:22 #2022 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:22 #2023 [Verbose] >

00:00:22 #2024 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────

00:00:22 #2025 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮

00:00:22 #2026 [Verbose] > │ ## velocity_ftxv                                                             │

00:00:22 #2027 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:22 #2028 [Verbose] >

00:00:22 #2029 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:22 #2030 [Verbose] > nominal state_1d = time * position * velocity

00:00:22 #2031 [Verbose] > nominal rrr = f64 * f64 * f64

00:00:22 #2032 [Verbose] >

00:00:22 #2033 [Verbose] > inl newton_second_1d m fs (state_1d (t, x0, v0)) =

00:00:22 #2034 [Verbose] >     inl f_net = fs |> listm.map (fun f => f (state_1d (t, x0, v0))) |>

00:00:22 #2035 [Verbose] > listm'.sum

00:00:22 #2036 [Verbose] >     inl acc = f_net / m

00:00:22 #2037 [Verbose] >     rrr (1f64, v0, acc)

00:00:22 #2038 [Verbose] >

00:00:22 #2039 [Verbose] > inl euler_1d dt deriv (state_1d (t0, x0, v0) as t) =

00:00:22 #2040 [Verbose] >     inl (rrr (_, _, dvdt)) = deriv t

00:00:22 #2041 [Verbose] >     inl t1 = t0 + dt

00:00:22 #2042 [Verbose] >     inl x1 = x0 + v0 * dt

00:00:22 #2043 [Verbose] >     inl v1 = v0 + dvdt * dt

00:00:22 #2044 [Verbose] >     state_1d (t1, x1, v1)

00:00:22 #2045 [Verbose] >

00:00:22 #2046 [Verbose] > inl update_txv dt m fs =

00:00:22 #2047 [Verbose] >     newton_second_1d m fs |> euler_1d dt

00:00:22 #2048 [Verbose] >

00:00:22 #2049 [Verbose] > inl states_txv dt m txv0 fs =

00:00:22 #2050 [Verbose] >     seq.iterate_ (update_txv dt m fs) txv0

00:00:22 #2051 [Verbose] >

00:00:22 #2052 [Verbose] > inl velocity_1d sts t =

00:00:22 #2053 [Verbose] >     inl (state_1d (t0, _, _)) = sts 0

00:00:22 #2054 [Verbose] >     inl (state_1d (t1, _, _)) = sts 1

00:00:22 #2055 [Verbose] >     inl dt = t1 - t0

00:00:22 #2056 [Verbose] >     inl num_steps = t / dt |> math.round |> abs

00:00:22 #2057 [Verbose] >     inl (state_1d (_, _, v0)) = sts num_steps

00:00:22 #2058 [Verbose] >     v0

00:00:22 #2059 [Verbose] >

00:00:22 #2060 [Verbose] > inl velocity_ftxv dt m txv0 fs =

00:00:22 #2061 [Verbose] >     states_txv dt m txv0 fs |> velocity_1d

00:00:22 #2062 [Verbose] >

00:00:22 #2063 [Verbose] > inl position_1d sts t =

00:00:22 #2064 [Verbose] >     inl (state_1d (t0, _, _)) = sts 0

00:00:22 #2065 [Verbose] >     inl (state_1d (t1, _, _)) = sts 1

00:00:22 #2066 [Verbose] >     inl dt = t1 - t0

00:00:22 #2067 [Verbose] >     inl num_steps = t / dt |> math.round |> abs

00:00:22 #2068 [Verbose] >     inl (state_1d (_, x0, _)) = sts num_steps

00:00:22 #2069 [Verbose] >     x0

00:00:22 #2070 [Verbose] >

00:00:22 #2071 [Verbose] > inl position_ftxv dt m txv0 fs =

00:00:22 #2072 [Verbose] >     states_txv dt m txv0 fs |> position_1d

00:00:22 #2073 [Verbose] >

00:00:22 #2074 [Verbose] > inl spring_force k (state_1d (_, x0, _)) =

00:00:22 #2075 [Verbose] >     -k * x0

00:00:22 #2076 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0904-5876-7686-777cc3593ad2\main.spi

00:00:22 #2077 [Verbose] >

00:00:22 #2078 [Verbose] > ╭─[ 194.75ms - stdout ]────────────────────────────────────────────────────────╮

00:00:22 #2079 [Verbose] > │ ()                                                                           │

00:00:22 #2080 [Verbose] > │                                                                              │

00:00:22 #2081 [Verbose] > │                                                                              │

00:00:22 #2082 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:22 #2083 [Verbose] >

00:00:22 #2084 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:22 #2085 [Verbose] > // // test

00:00:22 #2086 [Verbose] >

00:00:22 #2087 [Verbose] > inl damped_ho_forces () =

00:00:22 #2088 [Verbose] >     [[

00:00:22 #2089 [Verbose] >         spring_force 0.8

00:00:22 #2090 [Verbose] >         fun (state_1d (_, _, v0)) => f_air 2 1.225 (pi * math.square 0.02) v0

00:00:22 #2091 [Verbose] >         fun _ => -0.0027 * 9.80665

00:00:22 #2092 [Verbose] >     ]]

00:00:22 #2093 [Verbose] >

00:00:22 #2094 [Verbose] > inl damped_ho_states () =

00:00:22 #2095 [Verbose] >     states_txv 0.001 0.0027 (state_1d (0, 0.1, 0)) (damped_ho_forces ())

00:00:22 #2096 [Verbose] >

00:00:22 #2097 [Verbose] > inl pingpong_position t =

00:00:22 #2098 [Verbose] >     position_ftxv 0.001 0.0027 (state_1d (0, 0.1, 0)) (damped_ho_forces ()) t

00:00:22 #2099 [Verbose] >

00:00:22 #2100 [Verbose] > inl x : a _ f64 = am'.init_series 0 3 0.01

00:00:22 #2101 [Verbose] > inl y = x |> am.map pingpong_position

00:00:22 #2102 [Verbose] > "ping pong ball on a slinky", "time (s)", "", ;[[ "position (m)", x, y ]]

00:00:22 #2103 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0904-5896-9642-9e39dd2cdd71\main.spi

00:00:23 #2104 [Verbose] >

00:00:23 #2105 [Verbose] > ╭─[ 304.82ms - return value ]──────────────────────────────────────────────────╮

00:00:23 #2106 [Verbose] > │ <svg width="640" height="480" viewBox="0 0 640 480"                          │

00:00:23 #2107 [Verbose] > │ xmlns="http://www.w3.org/2000/svg">                                          │

00:00:23 #2108 [Verbose] > │ <rect x="0" y="0" width="640" height="480" opacity="1" fill="#141414"        │

00:00:23 #2109 [Verbose] > │ stroke="none"/>                                                              │

00:00:23 #2110 [Verbose] > │ <text x="320" y="10" dy="0.76em" text-anchor="middle"                        │

00:00:23 #2111 [Verbose] > │ font-family="sans-serif" font-size="9.67741935483871" opacity="1"            │

00:00:23 #2112 [Verbose] > │ fill="#FFFFFF">                                                              │

00:00:23 #2113 [Verbose] > │ ping pong ball on a slinky                                                   │

00:00:23 #2114 [Verbose] > │ </text>                                                                      │

00:00:23 #2115 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="61" y1="424" x2="61" │

00:00:23 #2116 [Verbose] > │ y2="75"/>                                                                    │

00:00:23 #2117 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="69" y1="424" x2="69" │

00:00:23 #2118 [Verbose] > │ y2="75"/>                                                                    │

00:00:23 #2119 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="78" y1="424" x2="78" │

00:00:23 #2120 [Verbose] > │ y2="75"/>                                                                    │

00:00:23 #2121 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="86" y1="424" x2="86" │

00:00:23 #2122 [Verbose] > │ y2="75"/>                                                                    │

00:00:23 #2123 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="9...                 │

00:00:23 #2124 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:23 #2125 [Verbose] >

00:00:23 #2126 [Verbose] > ╭─[ 315.85ms - stdout ]────────────────────────────────────────────────────────╮

00:00:23 #2127 [Verbose] > │ type Mut0 = {mutable l0 : int32}                                             │

00:00:23 #2128 [Verbose] > │ let rec method1 (v0 : Mut0) : bool =                                         │

00:00:23 #2129 [Verbose] > │     let v1 : int32 = v0.l0                                                   │

00:00:23 #2130 [Verbose] > │     let v2 : bool = v1 < 301                                                 │

00:00:23 #2131 [Verbose] > │     v2                                                                       │

00:00:23 #2132 [Verbose] > │ and method2 (v0 : int32, v1 : Mut0) : bool =                                 │

00:00:23 #2133 [Verbose] > │     let v2 : int32 = v1.l0                                                   │

00:00:23 #2134 [Verbose] > │     let v3 : bool = v2 < v0                                                  │

00:00:23 #2135 [Verbose] > │     v3                                                                       │

00:00:23 #2136 [Verbose] > │ and method3 (v0 : float, v1 : float, v2 : float, v3 : float) : struct (float │

00:00:23 #2137 [Verbose] > │ * float * float) =                                                           │

00:00:23 #2138 [Verbose] > │     let v4 : bool = v3 <= 0.0                                                │

00:00:23 #2139 [Verbose] > │     if v4 then                                                               │

00:00:23 #2140 [Verbose] > │         struct (v0, v1, v2)                                                  │

00:00:23 #2141 [Verbose] > │     else                                                                     │

00:00:23 #2142 [Verbose] > │         let v5 : float =  -v2                                                │

00:00:23 #2143 [Verbose] > │         let v6 : bool = v2 >= v5                                             │

00:00:23 #2144 [Verbose] > │         let v7 : float =                                                     │

00:00:23 #2145 [Verbose] > │             if v6 then                                                       │

00:00:23 #2146 [Verbose] > │                 v2                                                           │

00:00:23 #2147 [Verbose] > │             else                                                             │

00:00:23 #2148 [Verbose] > │                 v5                                                           │

00:00:23 #2149 [Verbose] > │         let v8 : float = -0.0030787608005179976 * v7                         │

00:00:23 #2150 [Verbose] > │         let v9 : float = v8 * v2                                             │

00:00:23 #2151 [Verbose] > │         let v10 : float = v9 / 2.0                                           │

00:00:23 #2152 [Verbose] > │         let v11 : float = -0.8 * v1                                          │

00:00:23 #2153 [Verbose] > │         let v12 : float = v11 + v10                                          │

00:00:23 #2154 [Verbose] > │         let v13 : float = v12 + -0.026477955                                 │

00:00:23 #2155 [Verbose] > │         let v14 : float = v13 / 0.0027                                       │

00:00:23 #2156 [Verbose] > │         let v15 : float = v0 + 0.001                                         │

00:00:23 #2157 [Verbose] > │         let v16 : float = v2 * 0.001                                         │

00:00:23 #2158 [Verbose] > │         let v17 : float = v1 + v16                                           │

00:00:23 #2159 [Verbose] > │         let v18 : float = v14 * 0.001                                        │

00:00:23 #2160 [Verbose] > │         let v19 : float = v2 + v18                                           │

00:00:23 #2161 [Verbose] > │         let v20 : float = v3 - 1.0                                           │

00:00:23 #2162 [Verbose] > │         method3(v15, v17, v19, v20)                                          │

00:00:23 #2163 [Verbose] > │ and method4 (v0 : (struct (string * (float []) * (float [])) [])) : (struct  │

00:00:23 #2164 [Verbose] > │ (string * (float []) * (float [])) []) =                                     │

00:00:23 #2165 [Verbose] > │     v0                                                                       │

00:00:23 #2166 [Verbose] > │ and method0 () : struct (string * string * string * (struct (string * (float │

00:00:23 #2167 [Verbose] > │ []) * (float [])) [])) =                                                     │

00:00:23 #2168 [Verbose] > │     let v0 : (float []) = Array.zeroCreate<float> (301)                      │

00:00:23 #2169 [Verbose] > │     let v1 : Mut0 = {l0 = 0} : Mut0                                          │

00:00:23 #2170 [Verbose] > │     while method1(v1) do                                                     │

00:00:23 #2171 [Verbose] > │         let v3 : int32 = v1.l0                                               │

00:00:23 #2172 [Verbose] > │         let v4 : float = float v3                                            │

00:00:23 #2173 [Verbose] > │         let v5 : float = 0.01 * v4                                           │

00:00:23 #2174 [Verbose] > │         v0.[int v3] <- v5                                                    │

00:00:23 #2175 [Verbose] > │         let v6 : int32 = v3 + 1                                              │

00:00:23 #2176 [Verbose] > │         v1.l0 <- v6                                                          │

00:00:23 #2177 [Verbose] > │         ()                                                                   │

00:00:23 #2178 [Verbose] > │     let v7 : int32 = v0.Length                                               │

00:00:23 #2179 [Verbose] > │     let v8 : (float []) = Array.zeroCreate<float> (v7)                       │

00:00:23 #2180 [Verbose] > │     let v9 : Mut0 = {l0 = 0} : Mut0                                          │

00:00:23 #2181 [Verbose] > │     while method2(v7, v9) do                                                 │

00:00:23 #2182 [Verbose] > │         let v11 : int32 = v9.l0                                              │

00:00:23 #2183 [Verbose] > │         let v12 : float = v0.[int v11]                                       │

00:00:23 #2184 [Verbose] > │         let v13 : float = 0.0                                                │

00:00:23 #2185 [Verbose] > │         let v14 : float = 0.1                                                │

00:00:23 #2186 [Verbose] > │         let v15 : float = 0.0                                                │

00:00:23 #2187 [Verbose] > │         let v16 : float = 0.0                                                │

00:00:23 #2188 [Verbose] > │         let struct (v17 : float, v18 : float, v19 : float) = method3(v13,    │

00:00:23 #2189 [Verbose] > │ v14, v15, v16)                                                               │

00:00:23 #2190 [Verbose] > │         let v20 : float = 0.0                                                │

00:00:23 #2191 [Verbose] > │         let v21 : float = 0.1                                                │

00:00:23 #2192 [Verbose] > │         let v22 : float = 0.0                                                │

00:00:23 #2193 [Verbose] > │         let v23 : float = 1.0                                                │

00:00:23 #2194 [Verbose] > │         let struct (v24 : float, v25 : float, v26 : float) = method3(v20,    │

00:00:23 #2195 [Verbose] > │ v21, v22, v23)                                                               │

00:00:23 #2196 [Verbose] > │         let v27 : float = v24 - v17                                          │

00:00:23 #2197 [Verbose] > │         let v28 : float = v12 / v27                                          │

00:00:23 #2198 [Verbose] > │         let v29 : float = round v28                                          │

00:00:23 #2199 [Verbose] > │         let v30 : float =  -v29                                              │

00:00:23 #2200 [Verbose] > │         let v31 : bool = v29 >= v30                                          │

00:00:23 #2201 [Verbose] > │         let v32 : float =                                                    │

00:00:23 #2202 [Verbose] > │             if v31 then                                                      │

00:00:23 #2203 [Verbose] > │                 v29                                                          │

00:00:23 #2204 [Verbose] > │             else                                                             │

00:00:23 #2205 [Verbose] > │                 v30                                                          │

00:00:23 #2206 [Verbose] > │         let v33 : float = 0.0                                                │

00:00:23 #2207 [Verbose] > │         let v34 : float = 0.1                                                │

00:00:23 #2208 [Verbose] > │         let v35 : float = 0.0                                                │

00:00:23 #2209 [Verbose] > │         let struct (v36 : float, v37 : float, v38 : float) = method3(v33,    │

00:00:23 #2210 [Verbose] > │ v34, v35, v32)                                                               │

00:00:23 #2211 [Verbose] > │         v8.[int v11] <- v37                                                  │

00:00:23 #2212 [Verbose] > │         let v39 : int32 = v11 + 1                                            │

00:00:23 #2213 [Verbose] > │         v9.l0 <- v39                                                         │

00:00:23 #2214 [Verbose] > │         ()                                                                   │

00:00:23 #2215 [Verbose] > │     let v40 : string = "position (m)"                                        │

00:00:23 #2216 [Verbose] > │     let v41 : (struct (string * (float []) * (float [])) []) = [|struct      │

00:00:23 #2217 [Verbose] > │ (v40, v0, v8)|]                                                              │

00:00:23 #2218 [Verbose] > │     let v42 : (struct (string * (float []) * (float [])) []) = method4(v41)  │

00:00:23 #2219 [Verbose] > │     let v43 : string = "ping pong ball on a slinky"                          │

00:00:23 #2220 [Verbose] > │     let v44 : string = "time (s)"                                            │

00:00:23 #2221 [Verbose] > │     let v45 : string = ""                                                    │

00:00:23 #2222 [Verbose] > │     struct (v43, v44, v45, v42)                                              │

00:00:23 #2223 [Verbose] > │ method0()                                                                    │

00:00:23 #2224 [Verbose] > │                                                                              │

00:00:23 #2225 [Verbose] > │                                                                              │

00:00:23 #2226 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:23 #2227 [Verbose] >

00:00:23 #2228 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:23 #2229 [Verbose] > // // test

00:00:23 #2230 [Verbose] >

00:00:23 #2231 [Verbose] > inl pingpong_velocity t =

00:00:23 #2232 [Verbose] >     velocity_ftxv 0.001 0.0027 (state_1d (0, 0.1, 0)) (damped_ho_forces ()) t

00:00:23 #2233 [Verbose] >

00:00:23 #2234 [Verbose] > inl x = am'.init_series 0 3 0.01

00:00:23 #2235 [Verbose] > inl y = x |> am.map pingpong_velocity

00:00:23 #2236 [Verbose] > "ping pong ball on a slinky", "time (s)", "", ;[[ "velocity (m/s)", x, y ]]

00:00:23 #2237 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0904-5931-3185-3b4c5cdad046\main.spi

00:00:23 #2238 [Verbose] >

00:00:23 #2239 [Verbose] > ╭─[ 267.83ms - return value ]──────────────────────────────────────────────────╮

00:00:23 #2240 [Verbose] > │ <svg width="640" height="480" viewBox="0 0 640 480"                          │

00:00:23 #2241 [Verbose] > │ xmlns="http://www.w3.org/2000/svg">                                          │

00:00:23 #2242 [Verbose] > │ <rect x="0" y="0" width="640" height="480" opacity="1" fill="#141414"        │

00:00:23 #2243 [Verbose] > │ stroke="none"/>                                                              │

00:00:23 #2244 [Verbose] > │ <text x="320" y="10" dy="0.76em" text-anchor="middle"                        │

00:00:23 #2245 [Verbose] > │ font-family="sans-serif" font-size="9.67741935483871" opacity="1"            │

00:00:23 #2246 [Verbose] > │ fill="#FFFFFF">                                                              │

00:00:23 #2247 [Verbose] > │ ping pong ball on a slinky                                                   │

00:00:23 #2248 [Verbose] > │ </text>                                                                      │

00:00:23 #2249 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="61" y1="424" x2="61" │

00:00:23 #2250 [Verbose] > │ y2="75"/>                                                                    │

00:00:23 #2251 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="69" y1="424" x2="69" │

00:00:23 #2252 [Verbose] > │ y2="75"/>                                                                    │

00:00:23 #2253 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="78" y1="424" x2="78" │

00:00:23 #2254 [Verbose] > │ y2="75"/>                                                                    │

00:00:23 #2255 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="86" y1="424" x2="86" │

00:00:23 #2256 [Verbose] > │ y2="75"/>                                                                    │

00:00:23 #2257 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="9...                 │

00:00:23 #2258 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:23 #2259 [Verbose] >

00:00:23 #2260 [Verbose] > ╭─[ 277.97ms - stdout ]────────────────────────────────────────────────────────╮

00:00:23 #2261 [Verbose] > │ type Mut0 = {mutable l0 : int32}                                             │

00:00:23 #2262 [Verbose] > │ let rec method1 (v0 : Mut0) : bool =                                         │

00:00:23 #2263 [Verbose] > │     let v1 : int32 = v0.l0                                                   │

00:00:23 #2264 [Verbose] > │     let v2 : bool = v1 < 301                                                 │

00:00:23 #2265 [Verbose] > │     v2                                                                       │

00:00:23 #2266 [Verbose] > │ and method2 (v0 : int32, v1 : Mut0) : bool =                                 │

00:00:23 #2267 [Verbose] > │     let v2 : int32 = v1.l0                                                   │

00:00:23 #2268 [Verbose] > │     let v3 : bool = v2 < v0                                                  │

00:00:23 #2269 [Verbose] > │     v3                                                                       │

00:00:23 #2270 [Verbose] > │ and method3 (v0 : float, v1 : float, v2 : float, v3 : float) : struct (float │

00:00:23 #2271 [Verbose] > │ * float * float) =                                                           │

00:00:23 #2272 [Verbose] > │     let v4 : bool = v3 <= 0.0                                                │

00:00:23 #2273 [Verbose] > │     if v4 then                                                               │

00:00:23 #2274 [Verbose] > │         struct (v0, v1, v2)                                                  │

00:00:23 #2275 [Verbose] > │     else                                                                     │

00:00:23 #2276 [Verbose] > │         let v5 : float =  -v2                                                │

00:00:23 #2277 [Verbose] > │         let v6 : bool = v2 >= v5                                             │

00:00:23 #2278 [Verbose] > │         let v7 : float =                                                     │

00:00:23 #2279 [Verbose] > │             if v6 then                                                       │

00:00:23 #2280 [Verbose] > │                 v2                                                           │

00:00:23 #2281 [Verbose] > │             else                                                             │

00:00:23 #2282 [Verbose] > │                 v5                                                           │

00:00:23 #2283 [Verbose] > │         let v8 : float = -0.0030787608005179976 * v7                         │

00:00:23 #2284 [Verbose] > │         let v9 : float = v8 * v2                                             │

00:00:23 #2285 [Verbose] > │         let v10 : float = v9 / 2.0                                           │

00:00:23 #2286 [Verbose] > │         let v11 : float = -0.8 * v1                                          │

00:00:23 #2287 [Verbose] > │         let v12 : float = v11 + v10                                          │

00:00:23 #2288 [Verbose] > │         let v13 : float = v12 + -0.026477955                                 │

00:00:23 #2289 [Verbose] > │         let v14 : float = v13 / 0.0027                                       │

00:00:23 #2290 [Verbose] > │         let v15 : float = v0 + 0.001                                         │

00:00:23 #2291 [Verbose] > │         let v16 : float = v2 * 0.001                                         │

00:00:23 #2292 [Verbose] > │         let v17 : float = v1 + v16                                           │

00:00:23 #2293 [Verbose] > │         let v18 : float = v14 * 0.001                                        │

00:00:23 #2294 [Verbose] > │         let v19 : float = v2 + v18                                           │

00:00:23 #2295 [Verbose] > │         let v20 : float = v3 - 1.0                                           │

00:00:23 #2296 [Verbose] > │         method3(v15, v17, v19, v20)                                          │

00:00:23 #2297 [Verbose] > │ and method4 (v0 : (struct (string * (float []) * (float [])) [])) : (struct  │

00:00:23 #2298 [Verbose] > │ (string * (float []) * (float [])) []) =                                     │

00:00:23 #2299 [Verbose] > │     v0                                                                       │

00:00:23 #2300 [Verbose] > │ and method0 () : struct (string * string * string * (struct (string * (float │

00:00:23 #2301 [Verbose] > │ []) * (float [])) [])) =                                                     │

00:00:23 #2302 [Verbose] > │     let v0 : (float []) = Array.zeroCreate<float> (301)                      │

00:00:23 #2303 [Verbose] > │     let v1 : Mut0 = {l0 = 0} : Mut0                                          │

00:00:23 #2304 [Verbose] > │     while method1(v1) do                                                     │

00:00:23 #2305 [Verbose] > │         let v3 : int32 = v1.l0                                               │

00:00:23 #2306 [Verbose] > │         let v4 : float = float v3                                            │

00:00:23 #2307 [Verbose] > │         let v5 : float = 0.01 * v4                                           │

00:00:23 #2308 [Verbose] > │         v0.[int v3] <- v5                                                    │

00:00:23 #2309 [Verbose] > │         let v6 : int32 = v3 + 1                                              │

00:00:23 #2310 [Verbose] > │         v1.l0 <- v6                                                          │

00:00:23 #2311 [Verbose] > │         ()                                                                   │

00:00:23 #2312 [Verbose] > │     let v7 : int32 = v0.Length                                               │

00:00:23 #2313 [Verbose] > │     let v8 : (float []) = Array.zeroCreate<float> (v7)                       │

00:00:23 #2314 [Verbose] > │     let v9 : Mut0 = {l0 = 0} : Mut0                                          │

00:00:23 #2315 [Verbose] > │     while method2(v7, v9) do                                                 │

00:00:23 #2316 [Verbose] > │         let v11 : int32 = v9.l0                                              │

00:00:23 #2317 [Verbose] > │         let v12 : float = v0.[int v11]                                       │

00:00:23 #2318 [Verbose] > │         let v13 : float = 0.0                                                │

00:00:23 #2319 [Verbose] > │         let v14 : float = 0.1                                                │

00:00:23 #2320 [Verbose] > │         let v15 : float = 0.0                                                │

00:00:23 #2321 [Verbose] > │         let v16 : float = 0.0                                                │

00:00:23 #2322 [Verbose] > │         let struct (v17 : float, v18 : float, v19 : float) = method3(v13,    │

00:00:23 #2323 [Verbose] > │ v14, v15, v16)                                                               │

00:00:23 #2324 [Verbose] > │         let v20 : float = 0.0                                                │

00:00:23 #2325 [Verbose] > │         let v21 : float = 0.1                                                │

00:00:23 #2326 [Verbose] > │         let v22 : float = 0.0                                                │

00:00:23 #2327 [Verbose] > │         let v23 : float = 1.0                                                │

00:00:23 #2328 [Verbose] > │         let struct (v24 : float, v25 : float, v26 : float) = method3(v20,    │

00:00:23 #2329 [Verbose] > │ v21, v22, v23)                                                               │

00:00:23 #2330 [Verbose] > │         let v27 : float = v24 - v17                                          │

00:00:23 #2331 [Verbose] > │         let v28 : float = v12 / v27                                          │

00:00:23 #2332 [Verbose] > │         let v29 : float = round v28                                          │

00:00:23 #2333 [Verbose] > │         let v30 : float =  -v29                                              │

00:00:23 #2334 [Verbose] > │         let v31 : bool = v29 >= v30                                          │

00:00:23 #2335 [Verbose] > │         let v32 : float =                                                    │

00:00:23 #2336 [Verbose] > │             if v31 then                                                      │

00:00:23 #2337 [Verbose] > │                 v29                                                          │

00:00:23 #2338 [Verbose] > │             else                                                             │

00:00:23 #2339 [Verbose] > │                 v30                                                          │

00:00:23 #2340 [Verbose] > │         let v33 : float = 0.0                                                │

00:00:23 #2341 [Verbose] > │         let v34 : float = 0.1                                                │

00:00:23 #2342 [Verbose] > │         let v35 : float = 0.0                                                │

00:00:23 #2343 [Verbose] > │         let struct (v36 : float, v37 : float, v38 : float) = method3(v33,    │

00:00:23 #2344 [Verbose] > │ v34, v35, v32)                                                               │

00:00:23 #2345 [Verbose] > │         v8.[int v11] <- v38                                                  │

00:00:23 #2346 [Verbose] > │         let v39 : int32 = v11 + 1                                            │

00:00:23 #2347 [Verbose] > │         v9.l0 <- v39                                                         │

00:00:23 #2348 [Verbose] > │         ()                                                                   │

00:00:23 #2349 [Verbose] > │     let v40 : string = "velocity (m/s)"                                      │

00:00:23 #2350 [Verbose] > │     let v41 : (struct (string * (float []) * (float [])) []) = [|struct      │

00:00:23 #2351 [Verbose] > │ (v40, v0, v8)|]                                                              │

00:00:23 #2352 [Verbose] > │     let v42 : (struct (string * (float []) * (float [])) []) = method4(v41)  │

00:00:23 #2353 [Verbose] > │     let v43 : string = "ping pong ball on a slinky"                          │

00:00:23 #2354 [Verbose] > │     let v44 : string = "time (s)"                                            │

00:00:23 #2355 [Verbose] > │     let v45 : string = ""                                                    │

00:00:23 #2356 [Verbose] > │     struct (v43, v44, v45, v42)                                              │

00:00:23 #2357 [Verbose] > │ method0()                                                                    │

00:00:23 #2358 [Verbose] > │                                                                              │

00:00:23 #2359 [Verbose] > │                                                                              │

00:00:23 #2360 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:23 #2361 [Verbose] >

00:00:23 #2362 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────

00:00:23 #2363 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮

00:00:23 #2364 [Verbose] > │ ## shift                                                                     │

00:00:23 #2365 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:23 #2366 [Verbose] >

00:00:23 #2367 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:23 #2368 [Verbose] > type update_function s = s -> s

00:00:23 #2369 [Verbose] >

00:00:23 #2370 [Verbose] > type differential_equation s ds = s -> ds

00:00:23 #2371 [Verbose] >

00:00:23 #2372 [Verbose] > type numerical_method s ds = differential_equation s ds -> update_function s

00:00:23 #2373 [Verbose] >

00:00:23 #2374 [Verbose] >

00:00:23 #2375 [Verbose] > inl solver method =

00:00:23 #2376 [Verbose] >     method >> seq.iterate

00:00:23 #2377 [Verbose] > inl solver' method =

00:00:23 #2378 [Verbose] >     method >> seq.iterate'

00:00:23 #2379 [Verbose] > inl solver_ method =

00:00:23 #2380 [Verbose] >     method >> seq.iterate_

00:00:23 #2381 [Verbose] >

00:00:23 #2382 [Verbose] >

00:00:23 #2383 [Verbose] > inl euler_cromer_1d dt deriv (state_1d (t0, x0, v0) as t) =

00:00:23 #2384 [Verbose] >     inl (rrr (_, _, dvdt)) = deriv t

00:00:23 #2385 [Verbose] >     inl t1 = t0 + dt

00:00:23 #2386 [Verbose] >     inl v1 = v0 + dvdt * dt

00:00:23 #2387 [Verbose] >     inl x1 = x0 + v1 * dt

00:00:23 #2388 [Verbose] >     state_1d (t1, x1, v1)

00:00:23 #2389 [Verbose] >

00:00:23 #2390 [Verbose] > inl update_txv_ec dt m fs =

00:00:23 #2391 [Verbose] >     euler_cromer_1d dt (newton_second_1d m fs)

00:00:23 #2392 [Verbose] >

00:00:23 #2393 [Verbose] > prototype (+++) ds : ds -> ds -> ds

00:00:23 #2394 [Verbose] > prototype scale ds : f64 -> ds -> ds

00:00:23 #2395 [Verbose] >

00:00:23 #2396 [Verbose] > instance (+++) rrr = fun (rrr (dtdt0, dxdt0, dvdt0)) (rrr (dtdt1, dxdt1, dvdt1))

00:00:23 #2397 [Verbose] > =>

00:00:23 #2398 [Verbose] >     rrr (dtdt0 + dtdt1, dxdt0 + dxdt1, dvdt0 + dvdt1)

00:00:23 #2399 [Verbose] >

00:00:23 #2400 [Verbose] > instance scale rrr = fun w (rrr (dtdt0, dxdt0, dvdt0)) =>

00:00:23 #2401 [Verbose] >     rrr (w * dtdt0, w * dxdt0, w * dvdt0)

00:00:23 #2402 [Verbose] >

00:00:23 #2403 [Verbose] > prototype shift s : forall ds. f64 -> ds -> s -> s

00:00:23 #2404 [Verbose] >

00:00:23 #2405 [Verbose] > instance shift state_1d = fun dt ds (state_1d (t, x, v)) =>

00:00:23 #2406 [Verbose] >     inl dtdt, dxdt, dvdt =

00:00:23 #2407 [Verbose] >         real

00:00:23 #2408 [Verbose] >             match ds with

00:00:23 #2409 [Verbose] >             | rrr x => x

00:00:23 #2410 [Verbose] >             | state_1d x => x

00:00:23 #2411 [Verbose] >     state_1d (t + dtdt * dt, x + dxdt * dt, v + dvdt * dt)

00:00:23 #2412 [Verbose] >

00:00:23 #2413 [Verbose] > inl euler dt deriv st0 =

00:00:23 #2414 [Verbose] >     shift dt (deriv st0) st0

00:00:23 #2415 [Verbose] >

00:00:23 #2416 [Verbose] > inl runge_kutta_4 dt deriv st0 =

00:00:23 #2417 [Verbose] >     inl m0 = deriv st0

00:00:23 #2418 [Verbose] >     inl m1 = deriv (shift (dt / 2) m0 st0)

00:00:23 #2419 [Verbose] >     inl m2 = deriv (shift (dt / 2) m1 st0)

00:00:23 #2420 [Verbose] >     inl m3 = deriv (shift dt m2 st0)

00:00:23 #2421 [Verbose] >     shift (dt / 6) (m0 +++ m1 +++ m1 +++ m2 +++ m2 +++ m3) st0

00:00:23 #2422 [Verbose] >

00:00:23 #2423 [Verbose] > inl exponential (_, x0, v0) =

00:00:23 #2424 [Verbose] >     1f64, v0, x0

00:00:23 #2425 [Verbose] >

00:00:23 #2426 [Verbose] > inl of_state_1d (state_1d (t, x, v)) =

00:00:23 #2427 [Verbose] >     t, x, v

00:00:23 #2428 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0904-5963-6379-619fbc651dd3\main.spi

00:00:23 #2429 [Verbose] >

00:00:23 #2430 [Verbose] > ╭─[ 191.26ms - stdout ]────────────────────────────────────────────────────────╮

00:00:23 #2431 [Verbose] > │ ()                                                                           │

00:00:23 #2432 [Verbose] > │                                                                              │

00:00:23 #2433 [Verbose] > │                                                                              │

00:00:23 #2434 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:23 #2435 [Verbose] >

00:00:23 #2436 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:23 #2437 [Verbose] > // // test

00:00:23 #2438 [Verbose] >

00:00:23 #2439 [Verbose] > solver (euler 0.01) (of_state_1d >> exponential >> state_1d) (state_1d (0, 1,

00:00:23 #2440 [Verbose] > 1)) 800i32

00:00:23 #2441 [Verbose] > |> _equal (state_1d (7.999999999999874, 2864.8311229272326, 2864.8311229272326))

00:00:23 #2442 [Verbose] >

00:00:23 #2443 [Verbose] > solver (euler_cromer_1d 0.1) (of_state_1d >> exponential >> rrr) (state_1d (0,

00:00:23 #2444 [Verbose] > 1, 1)) 80i32

00:00:23 #2445 [Verbose] > |> _equal (state_1d (7.999999999999988, 3043.379244966009, 2895.0121485099035))

00:00:23 #2446 [Verbose] >

00:00:23 #2447 [Verbose] > solver (runge_kutta_4 1) (of_state_1d >> exponential >> rrr) (state_1d (0, 1,

00:00:23 #2448 [Verbose] > 1)) 8i32

00:00:23 #2449 [Verbose] > |> _equal (state_1d (8.0, 2894.789038540849, 2894.789038540849))

00:00:23 #2450 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0904-5983-8305-8a4f30862ff0\main.spi

00:00:24 #2451 [Verbose] >

00:00:24 #2452 [Verbose] > ╭─[ 497.27ms - stdout ]────────────────────────────────────────────────────────╮

00:00:24 #2453 [Verbose] > │ let rec method0 () : unit =                                                  │

00:00:24 #2454 [Verbose] > │     let v0 : string = $"__expect / actual: %A{struct (7.999999999999874,     │

00:00:24 #2455 [Verbose] > │ 2864.8311229272326, 2864.8311229272326)} / expected: %A{struct               │

00:00:24 #2456 [Verbose] > │ (7.999999999999874, 2864.8311229272326, 2864.8311229272326)}"                │

00:00:24 #2457 [Verbose] > │     let v1 : string = $"__expect / actual: %A{struct (7.999999999999988,     │

00:00:24 #2458 [Verbose] > │ 3043.379244966009, 2895.0121485099035)} / expected: %A{struct                │

00:00:24 #2459 [Verbose] > │ (7.999999999999988, 3043.379244966009, 2895.0121485099035)}"                 │

00:00:24 #2460 [Verbose] > │     let v2 : string = $"__expect / actual: %A{struct (8.0,                   │

00:00:24 #2461 [Verbose] > │ 2894.789038540849, 2894.789038540849)} / expected: %A{struct (8.0,           │

00:00:24 #2462 [Verbose] > │ 2894.789038540849, 2894.789038540849)}"                                      │

00:00:24 #2463 [Verbose] > │     ()                                                                       │

00:00:24 #2464 [Verbose] > │ method0()                                                                    │

00:00:24 #2465 [Verbose] > │                                                                              │

00:00:24 #2466 [Verbose] > │                                                                              │

00:00:24 #2467 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:24 #2468 [Verbose] >

00:00:24 #2469 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────

00:00:24 #2470 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮

00:00:24 #2471 [Verbose] > │ ## vec                                                                       │

00:00:24 #2472 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:24 #2473 [Verbose] >

00:00:24 #2474 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:24 #2475 [Verbose] > type vec =

00:00:24 #2476 [Verbose] >     {

00:00:24 #2477 [Verbose] >         x : f64

00:00:24 #2478 [Verbose] >         y : f64

00:00:24 #2479 [Verbose] >         z : f64

00:00:24 #2480 [Verbose] >     }

00:00:24 #2481 [Verbose] >

00:00:24 #2482 [Verbose] > inl vec x y z : vec =

00:00:24 #2483 [Verbose] >     { x y z }

00:00:24 #2484 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0905-0033-3357-3eeee47067c8\main.spi

00:00:24 #2485 [Verbose] >

00:00:24 #2486 [Verbose] > ╭─[ 213.07ms - stdout ]────────────────────────────────────────────────────────╮

00:00:24 #2487 [Verbose] > │ ()                                                                           │

00:00:24 #2488 [Verbose] > │                                                                              │

00:00:24 #2489 [Verbose] > │                                                                              │

00:00:24 #2490 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:24 #2491 [Verbose] >

00:00:24 #2492 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:24 #2493 [Verbose] > // // test

00:00:24 #2494 [Verbose] >

00:00:24 #2495 [Verbose] > vec 1 2 3 .z

00:00:24 #2496 [Verbose] > |> _equal 3

00:00:24 #2497 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0905-0055-5510-513431868577\main.spi

00:00:24 #2498 [Verbose] >

00:00:24 #2499 [Verbose] > ╭─[ 172.90ms - stdout ]────────────────────────────────────────────────────────╮

00:00:24 #2500 [Verbose] > │ let rec method0 () : unit =                                                  │

00:00:24 #2501 [Verbose] > │     let v0 : string = $"__expect / actual: %A{3.0} / expected: %A{3.0}"      │

00:00:24 #2502 [Verbose] > │     ()                                                                       │

00:00:24 #2503 [Verbose] > │ method0()                                                                    │

00:00:24 #2504 [Verbose] > │                                                                              │

00:00:24 #2505 [Verbose] > │                                                                              │

00:00:24 #2506 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:24 #2507 [Verbose] >

00:00:24 #2508 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────

00:00:24 #2509 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮

00:00:24 #2510 [Verbose] > │ ### consts                                                                   │

00:00:24 #2511 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:24 #2512 [Verbose] >

00:00:24 #2513 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:24 #2514 [Verbose] > inl i_hat () = vec 1 0 0

00:00:24 #2515 [Verbose] > inl j_hat () = vec 0 1 0

00:00:24 #2516 [Verbose] > inl k_hat () = vec 0 0 1

00:00:24 #2517 [Verbose] > inl zero_vec () = vec 0 0 0

00:00:24 #2518 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0905-0072-7291-731c7dbac24b\main.spi

00:00:24 #2519 [Verbose] >

00:00:24 #2520 [Verbose] > ╭─[ 195.43ms - stdout ]────────────────────────────────────────────────────────╮

00:00:24 #2521 [Verbose] > │ ()                                                                           │

00:00:24 #2522 [Verbose] > │                                                                              │

00:00:24 #2523 [Verbose] > │                                                                              │

00:00:24 #2524 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:24 #2525 [Verbose] >

00:00:24 #2526 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────

00:00:24 #2527 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮

00:00:24 #2528 [Verbose] > │ ### ^+^                                                                      │

00:00:24 #2529 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:24 #2530 [Verbose] >

00:00:24 #2531 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:24 #2532 [Verbose] > inl (^+^) (a : vec) (b : vec) =

00:00:24 #2533 [Verbose] >     vec (a.x + b.x) (a.y + b.y) (a.z + b.z)

00:00:24 #2534 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0905-0092-9292-97f9d3eafae6\main.spi

00:00:24 #2535 [Verbose] >

00:00:24 #2536 [Verbose] > ╭─[ 169.14ms - stdout ]────────────────────────────────────────────────────────╮

00:00:24 #2537 [Verbose] > │ ()                                                                           │

00:00:24 #2538 [Verbose] > │                                                                              │

00:00:24 #2539 [Verbose] > │                                                                              │

00:00:24 #2540 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:24 #2541 [Verbose] >

00:00:24 #2542 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:24 #2543 [Verbose] > // // test

00:00:24 #2544 [Verbose] >

00:00:24 #2545 [Verbose] > vec 1 2 3 ^+^ vec 4 5 6

00:00:24 #2546 [Verbose] > |> _equal (vec 5 7 9)

00:00:24 #2547 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0905-0110-1002-15215d8f6ef7\main.spi

00:00:25 #2548 [Verbose] >

00:00:25 #2549 [Verbose] > ╭─[ 175.65ms - stdout ]────────────────────────────────────────────────────────╮

00:00:25 #2550 [Verbose] > │ let rec method0 () : unit =                                                  │

00:00:25 #2551 [Verbose] > │     let v0 : string = $"__expect / actual: %A{struct (5.0, 7.0, 9.0)} /      │

00:00:25 #2552 [Verbose] > │ expected: %A{struct (5.0, 7.0, 9.0)}"                                        │

00:00:25 #2553 [Verbose] > │     ()                                                                       │

00:00:25 #2554 [Verbose] > │ method0()                                                                    │

00:00:25 #2555 [Verbose] > │                                                                              │

00:00:25 #2556 [Verbose] > │                                                                              │

00:00:25 #2557 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:25 #2558 [Verbose] >

00:00:25 #2559 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────

00:00:25 #2560 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮

00:00:25 #2561 [Verbose] > │ ### sum_vec                                                                  │

00:00:25 #2562 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:25 #2563 [Verbose] >

00:00:25 #2564 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:25 #2565 [Verbose] > inl sum_vec vs =

00:00:25 #2566 [Verbose] >     vs |> listm.fold (^+^) (zero_vec ())

00:00:25 #2567 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0905-0128-2821-2eeba57b0fb7\main.spi

00:00:25 #2568 [Verbose] >

00:00:25 #2569 [Verbose] > ╭─[ 175.07ms - stdout ]────────────────────────────────────────────────────────╮

00:00:25 #2570 [Verbose] > │ ()                                                                           │

00:00:25 #2571 [Verbose] > │                                                                              │

00:00:25 #2572 [Verbose] > │                                                                              │

00:00:25 #2573 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:25 #2574 [Verbose] >

00:00:25 #2575 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:25 #2576 [Verbose] > // // test

00:00:25 #2577 [Verbose] >

00:00:25 #2578 [Verbose] > [[ vec 1 2 3; vec 4 5 6 ]]

00:00:25 #2579 [Verbose] > |> sum_vec

00:00:25 #2580 [Verbose] > |> _equal (vec 5 7 9)

00:00:25 #2581 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0905-0145-4592-480ce9afecb1\main.spi

00:00:25 #2582 [Verbose] >

00:00:25 #2583 [Verbose] > ╭─[ 157.09ms - stdout ]────────────────────────────────────────────────────────╮

00:00:25 #2584 [Verbose] > │ let rec method0 () : unit =                                                  │

00:00:25 #2585 [Verbose] > │     let v0 : string = $"__expect / actual: %A{struct (5.0, 7.0, 9.0)} /      │

00:00:25 #2586 [Verbose] > │ expected: %A{struct (5.0, 7.0, 9.0)}"                                        │

00:00:25 #2587 [Verbose] > │     ()                                                                       │

00:00:25 #2588 [Verbose] > │ method0()                                                                    │

00:00:25 #2589 [Verbose] > │                                                                              │

00:00:25 #2590 [Verbose] > │                                                                              │

00:00:25 #2591 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:25 #2592 [Verbose] >

00:00:25 #2593 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────

00:00:25 #2594 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮

00:00:25 #2595 [Verbose] > │ ### *^                                                                       │

00:00:25 #2596 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:25 #2597 [Verbose] >

00:00:25 #2598 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:25 #2599 [Verbose] > inl (*^) c { x y z } =

00:00:25 #2600 [Verbose] >     vec (c * x) (c * y) (c * z)

00:00:25 #2601 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0905-0162-6219-6e0943d9054f\main.spi

00:00:25 #2602 [Verbose] >

00:00:25 #2603 [Verbose] > ╭─[ 148.59ms - stdout ]────────────────────────────────────────────────────────╮

00:00:25 #2604 [Verbose] > │ ()                                                                           │

00:00:25 #2605 [Verbose] > │                                                                              │

00:00:25 #2606 [Verbose] > │                                                                              │

00:00:25 #2607 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:25 #2608 [Verbose] >

00:00:25 #2609 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:25 #2610 [Verbose] > // // test

00:00:25 #2611 [Verbose] >

00:00:25 #2612 [Verbose] > 5 *^ vec 1 2 3

00:00:25 #2613 [Verbose] > |> _equal (vec 5 10 15)

00:00:25 #2614 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0905-0177-7750-7a1f2f944171\main.spi

00:00:25 #2615 [Verbose] >

00:00:25 #2616 [Verbose] > ╭─[ 188.82ms - stdout ]────────────────────────────────────────────────────────╮

00:00:25 #2617 [Verbose] > │ let rec method0 () : unit =                                                  │

00:00:25 #2618 [Verbose] > │     let v0 : string = $"__expect / actual: %A{struct (5.0, 10.0, 15.0)} /    │

00:00:25 #2619 [Verbose] > │ expected: %A{struct (5.0, 10.0, 15.0)}"                                      │

00:00:25 #2620 [Verbose] > │     ()                                                                       │

00:00:25 #2621 [Verbose] > │ method0()                                                                    │

00:00:25 #2622 [Verbose] > │                                                                              │

00:00:25 #2623 [Verbose] > │                                                                              │

00:00:25 #2624 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:25 #2625 [Verbose] >

00:00:25 #2626 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:25 #2627 [Verbose] > // // test

00:00:25 #2628 [Verbose] >

00:00:25 #2629 [Verbose] > 3 *^ i_hat () ^+^ 4 *^ k_hat ()

00:00:25 #2630 [Verbose] > |> _equal (vec 3 0 4)

00:00:25 #2631 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0905-0196-9651-9307a1fbae98\main.spi

00:00:25 #2632 [Verbose] >

00:00:25 #2633 [Verbose] > ╭─[ 153.74ms - stdout ]────────────────────────────────────────────────────────╮

00:00:25 #2634 [Verbose] > │ let rec method0 () : unit =                                                  │

00:00:25 #2635 [Verbose] > │     let v0 : string = $"__expect / actual: %A{struct (3.0, 0.0, 4.0)} /      │

00:00:25 #2636 [Verbose] > │ expected: %A{struct (3.0, 0.0, 4.0)}"                                        │

00:00:25 #2637 [Verbose] > │     ()                                                                       │

00:00:25 #2638 [Verbose] > │ method0()                                                                    │

00:00:25 #2639 [Verbose] > │                                                                              │

00:00:25 #2640 [Verbose] > │                                                                              │

00:00:25 #2641 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:25 #2642 [Verbose] >

00:00:25 #2643 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────

00:00:25 #2644 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮

00:00:25 #2645 [Verbose] > │ ### ^*                                                                       │

00:00:25 #2646 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:25 #2647 [Verbose] >

00:00:25 #2648 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:25 #2649 [Verbose] > inl (^*) v c =

00:00:25 #2650 [Verbose] >     (*^) c v

00:00:25 #2651 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0905-0212-1239-1d4ed8d30676\main.spi

00:00:26 #2652 [Verbose] >

00:00:26 #2653 [Verbose] > ╭─[ 164.12ms - stdout ]────────────────────────────────────────────────────────╮

00:00:26 #2654 [Verbose] > │ ()                                                                           │

00:00:26 #2655 [Verbose] > │                                                                              │

00:00:26 #2656 [Verbose] > │                                                                              │

00:00:26 #2657 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:26 #2658 [Verbose] >

00:00:26 #2659 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:26 #2660 [Verbose] > // // test

00:00:26 #2661 [Verbose] >

00:00:26 #2662 [Verbose] > vec 1 2 3 ^* 5

00:00:26 #2663 [Verbose] > |> _equal (vec 5 10 15)

00:00:26 #2664 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0905-0229-2902-27181c2d177e\main.spi

00:00:26 #2665 [Verbose] >

00:00:26 #2666 [Verbose] > ╭─[ 173.63ms - stdout ]────────────────────────────────────────────────────────╮

00:00:26 #2667 [Verbose] > │ let rec method0 () : unit =                                                  │

00:00:26 #2668 [Verbose] > │     let v0 : string = $"__expect / actual: %A{struct (5.0, 10.0, 15.0)} /    │

00:00:26 #2669 [Verbose] > │ expected: %A{struct (5.0, 10.0, 15.0)}"                                      │

00:00:26 #2670 [Verbose] > │     ()                                                                       │

00:00:26 #2671 [Verbose] > │ method0()                                                                    │

00:00:26 #2672 [Verbose] > │                                                                              │

00:00:26 #2673 [Verbose] > │                                                                              │

00:00:26 #2674 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:26 #2675 [Verbose] >

00:00:26 #2676 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────

00:00:26 #2677 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮

00:00:26 #2678 [Verbose] > │ ### ^/                                                                       │

00:00:26 #2679 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:26 #2680 [Verbose] >

00:00:26 #2681 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:26 #2682 [Verbose] > inl (^/) { x y z } c =

00:00:26 #2683 [Verbose] >     vec (x / c) (y / c) (z / c)

00:00:26 #2684 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0905-0247-4703-45f0b65e3c46\main.spi

00:00:26 #2685 [Verbose] >

00:00:26 #2686 [Verbose] > ╭─[ 179.34ms - stdout ]────────────────────────────────────────────────────────╮

00:00:26 #2687 [Verbose] > │ ()                                                                           │

00:00:26 #2688 [Verbose] > │                                                                              │

00:00:26 #2689 [Verbose] > │                                                                              │

00:00:26 #2690 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:26 #2691 [Verbose] >

00:00:26 #2692 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:26 #2693 [Verbose] > // // test

00:00:26 #2694 [Verbose] >

00:00:26 #2695 [Verbose] > vec 1 2 3 ^/ 5

00:00:26 #2696 [Verbose] > |> _equal (vec 0.2 0.4 0.6)

00:00:26 #2697 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0905-0265-6515-6f4435738b49\main.spi

00:00:26 #2698 [Verbose] >

00:00:26 #2699 [Verbose] > ╭─[ 173.56ms - stdout ]────────────────────────────────────────────────────────╮

00:00:26 #2700 [Verbose] > │ let rec method0 () : unit =                                                  │

00:00:26 #2701 [Verbose] > │     let v0 : string = $"__expect / actual: %A{struct (0.2, 0.4, 0.6)} /      │

00:00:26 #2702 [Verbose] > │ expected: %A{struct (0.2, 0.4, 0.6)}"                                        │

00:00:26 #2703 [Verbose] > │     ()                                                                       │

00:00:26 #2704 [Verbose] > │ method0()                                                                    │

00:00:26 #2705 [Verbose] > │                                                                              │

00:00:26 #2706 [Verbose] > │                                                                              │

00:00:26 #2707 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:26 #2708 [Verbose] >

00:00:26 #2709 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────

00:00:26 #2710 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮

00:00:26 #2711 [Verbose] > │ ### negate_vec                                                               │

00:00:26 #2712 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:26 #2713 [Verbose] >

00:00:26 #2714 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:26 #2715 [Verbose] > inl negate_vec v =

00:00:26 #2716 [Verbose] >     v ^* -1

00:00:26 #2717 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0905-0283-8304-8c13948c8f5b\main.spi

00:00:26 #2718 [Verbose] >

00:00:26 #2719 [Verbose] > ╭─[ 180.87ms - stdout ]────────────────────────────────────────────────────────╮

00:00:26 #2720 [Verbose] > │ ()                                                                           │

00:00:26 #2721 [Verbose] > │                                                                              │

00:00:26 #2722 [Verbose] > │                                                                              │

00:00:26 #2723 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:26 #2724 [Verbose] >

00:00:26 #2725 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:26 #2726 [Verbose] > // // test

00:00:26 #2727 [Verbose] >

00:00:26 #2728 [Verbose] > vec 1 2 3

00:00:26 #2729 [Verbose] > |> negate_vec

00:00:26 #2730 [Verbose] > |> _equal (vec -1 -2 -3)

00:00:26 #2731 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0905-0301-0141-014a24742275\main.spi

00:00:26 #2732 [Verbose] >

00:00:26 #2733 [Verbose] > ╭─[ 189.38ms - stdout ]────────────────────────────────────────────────────────╮

00:00:26 #2734 [Verbose] > │ let rec method0 () : unit =                                                  │

00:00:26 #2735 [Verbose] > │     let v0 : string = $"__expect / actual: %A{struct (-1.0, -2.0, -3.0)} /   │

00:00:26 #2736 [Verbose] > │ expected: %A{struct (-1.0, -2.0, -3.0)}"                                     │

00:00:26 #2737 [Verbose] > │     ()                                                                       │

00:00:26 #2738 [Verbose] > │ method0()                                                                    │

00:00:26 #2739 [Verbose] > │                                                                              │

00:00:26 #2740 [Verbose] > │                                                                              │

00:00:26 #2741 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:26 #2742 [Verbose] >

00:00:26 #2743 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────

00:00:26 #2744 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮

00:00:26 #2745 [Verbose] > │ ### ^-^                                                                      │

00:00:26 #2746 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:26 #2747 [Verbose] >

00:00:26 #2748 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:26 #2749 [Verbose] > inl (^-^) a b =

00:00:26 #2750 [Verbose] >     a ^+^ (negate_vec b)

00:00:27 #2751 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0905-0320-2090-29c8933488e4\main.spi

00:00:27 #2752 [Verbose] >

00:00:27 #2753 [Verbose] > ╭─[ 335.97ms - stdout ]────────────────────────────────────────────────────────╮

00:00:27 #2754 [Verbose] > │ ()                                                                           │

00:00:27 #2755 [Verbose] > │                                                                              │

00:00:27 #2756 [Verbose] > │                                                                              │

00:00:27 #2757 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:27 #2758 [Verbose] >

00:00:27 #2759 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:27 #2760 [Verbose] > // // test

00:00:27 #2761 [Verbose] >

00:00:27 #2762 [Verbose] > vec 1 2 3 ^-^ vec 4 5 6

00:00:27 #2763 [Verbose] > |> _equal (vec -3 -3 -3)

00:00:27 #2764 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0905-0354-5475-50bd6992a8aa\main.spi

00:00:27 #2765 [Verbose] >

00:00:27 #2766 [Verbose] > ╭─[ 173.00ms - stdout ]────────────────────────────────────────────────────────╮

00:00:27 #2767 [Verbose] > │ let rec method0 () : unit =                                                  │

00:00:27 #2768 [Verbose] > │     let v0 : string = $"__expect / actual: %A{struct (-3.0, -3.0, -3.0)} /   │

00:00:27 #2769 [Verbose] > │ expected: %A{struct (-3.0, -3.0, -3.0)}"                                     │

00:00:27 #2770 [Verbose] > │     ()                                                                       │

00:00:27 #2771 [Verbose] > │ method0()                                                                    │

00:00:27 #2772 [Verbose] > │                                                                              │

00:00:27 #2773 [Verbose] > │                                                                              │

00:00:27 #2774 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:27 #2775 [Verbose] >

00:00:27 #2776 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────

00:00:27 #2777 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮

00:00:27 #2778 [Verbose] > │ ### <.>                                                                      │

00:00:27 #2779 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:27 #2780 [Verbose] >

00:00:27 #2781 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:27 #2782 [Verbose] > inl (<.>) { x = ax y = ay z = az } { x = bx y = by z = bz } =

00:00:27 #2783 [Verbose] >     ax * bx + ay * by + az * bz

00:00:27 #2784 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0905-0372-7272-72e2db0f86f5\main.spi

00:00:27 #2785 [Verbose] >

00:00:27 #2786 [Verbose] > ╭─[ 179.48ms - stdout ]────────────────────────────────────────────────────────╮

00:00:27 #2787 [Verbose] > │ ()                                                                           │

00:00:27 #2788 [Verbose] > │                                                                              │

00:00:27 #2789 [Verbose] > │                                                                              │

00:00:27 #2790 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:27 #2791 [Verbose] >

00:00:27 #2792 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:27 #2793 [Verbose] > // // test

00:00:27 #2794 [Verbose] >

00:00:27 #2795 [Verbose] > vec 1 2 3 <.> vec 4 5 6

00:00:27 #2796 [Verbose] > |> _equal 32

00:00:27 #2797 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0905-0390-9079-9585f222cf98\main.spi

00:00:27 #2798 [Verbose] >

00:00:27 #2799 [Verbose] > ╭─[ 171.60ms - stdout ]────────────────────────────────────────────────────────╮

00:00:27 #2800 [Verbose] > │ let rec method0 () : unit =                                                  │

00:00:27 #2801 [Verbose] > │     let v0 : string = $"__expect / actual: %A{32.0} / expected: %A{32.0}"    │

00:00:27 #2802 [Verbose] > │     ()                                                                       │

00:00:27 #2803 [Verbose] > │ method0()                                                                    │

00:00:27 #2804 [Verbose] > │                                                                              │

00:00:27 #2805 [Verbose] > │                                                                              │

00:00:27 #2806 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:27 #2807 [Verbose] >

00:00:27 #2808 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────

00:00:27 #2809 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮

00:00:27 #2810 [Verbose] > │ ### \>\<                                                                     │

00:00:27 #2811 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:27 #2812 [Verbose] >

00:00:27 #2813 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:27 #2814 [Verbose] > inl (><) (a : vec) (b : vec) =

00:00:27 #2815 [Verbose] >     vec

00:00:27 #2816 [Verbose] >         (a.y * b.z - a.z * b.y)

00:00:27 #2817 [Verbose] >         (a.z * b.x - a.x * b.z)

00:00:27 #2818 [Verbose] >         (a.x * b.y - a.y * b.x)

00:00:27 #2819 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0905-0408-0853-08fb0f08417b\main.spi

00:00:28 #2820 [Verbose] >

00:00:28 #2821 [Verbose] > ╭─[ 199.35ms - stdout ]────────────────────────────────────────────────────────╮

00:00:28 #2822 [Verbose] > │ ()                                                                           │

00:00:28 #2823 [Verbose] > │                                                                              │

00:00:28 #2824 [Verbose] > │                                                                              │

00:00:28 #2825 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:28 #2826 [Verbose] >

00:00:28 #2827 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:28 #2828 [Verbose] > // // test

00:00:28 #2829 [Verbose] >

00:00:28 #2830 [Verbose] > vec 1 2 3 >< vec 4 5 6

00:00:28 #2831 [Verbose] > |> _equal (vec -3 6 -3)

00:00:28 #2832 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0905-0428-2868-2a1f205d3ff3\main.spi

00:00:28 #2833 [Verbose] >

00:00:28 #2834 [Verbose] > ╭─[ 154.86ms - stdout ]────────────────────────────────────────────────────────╮

00:00:28 #2835 [Verbose] > │ let rec method0 () : unit =                                                  │

00:00:28 #2836 [Verbose] > │     let v0 : string = $"__expect / actual: %A{struct (-3.0, 6.0, -3.0)} /    │

00:00:28 #2837 [Verbose] > │ expected: %A{struct (-3.0, 6.0, -3.0)}"                                      │

00:00:28 #2838 [Verbose] > │     ()                                                                       │

00:00:28 #2839 [Verbose] > │ method0()                                                                    │

00:00:28 #2840 [Verbose] > │                                                                              │

00:00:28 #2841 [Verbose] > │                                                                              │

00:00:28 #2842 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:28 #2843 [Verbose] >

00:00:28 #2844 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────

00:00:28 #2845 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮

00:00:28 #2846 [Verbose] > │ ### magnitude                                                                │

00:00:28 #2847 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:28 #2848 [Verbose] >

00:00:28 #2849 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:28 #2850 [Verbose] > inl magnitude v =

00:00:28 #2851 [Verbose] >     v <.> v |> sqrt

00:00:28 #2852 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0905-0444-4463-4eb91d5615c4\main.spi

00:00:28 #2853 [Verbose] >

00:00:28 #2854 [Verbose] > ╭─[ 148.89ms - stdout ]────────────────────────────────────────────────────────╮

00:00:28 #2855 [Verbose] > │ ()                                                                           │

00:00:28 #2856 [Verbose] > │                                                                              │

00:00:28 #2857 [Verbose] > │                                                                              │

00:00:28 #2858 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:28 #2859 [Verbose] >

00:00:28 #2860 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:28 #2861 [Verbose] > // // test

00:00:28 #2862 [Verbose] >

00:00:28 #2863 [Verbose] > vec 1 2 3

00:00:28 #2864 [Verbose] > |> magnitude

00:00:28 #2865 [Verbose] > |> _almost_equal 3.7416573867739413

00:00:28 #2866 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0905-0459-5975-5f39c7c4c8c2\main.spi

00:00:28 #2867 [Verbose] >

00:00:28 #2868 [Verbose] > ╭─[ 192.70ms - stdout ]────────────────────────────────────────────────────────╮

00:00:28 #2869 [Verbose] > │ let rec method0 () : unit =                                                  │

00:00:28 #2870 [Verbose] > │     let v0 : string = $"__expect / actual: %A{3.7416573867739413} /          │

00:00:28 #2871 [Verbose] > │ expected: %A{3.7416573867739413}"                                            │

00:00:28 #2872 [Verbose] > │     ()                                                                       │

00:00:28 #2873 [Verbose] > │ method0()                                                                    │

00:00:28 #2874 [Verbose] > │                                                                              │

00:00:28 #2875 [Verbose] > │                                                                              │

00:00:28 #2876 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:28 #2877 [Verbose] >

00:00:28 #2878 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────

00:00:28 #2879 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮

00:00:28 #2880 [Verbose] > │ ### v1                                                                       │

00:00:28 #2881 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:28 #2882 [Verbose] >

00:00:28 #2883 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:28 #2884 [Verbose] > inl v1 t =

00:00:28 #2885 [Verbose] >     2 *^ (t ** 2 *^ i_hat () ^+^ 3 *^ (t ** 3 *^ j_hat () ^+^ t ** 4 *^ k_hat

00:00:28 #2886 [Verbose] > ()))

00:00:28 #2887 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0905-0479-7958-7c9f49e03dc0\main.spi

00:00:28 #2888 [Verbose] >

00:00:28 #2889 [Verbose] > ╭─[ 191.71ms - stdout ]────────────────────────────────────────────────────────╮

00:00:28 #2890 [Verbose] > │ ()                                                                           │

00:00:28 #2891 [Verbose] > │                                                                              │

00:00:28 #2892 [Verbose] > │                                                                              │

00:00:28 #2893 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:28 #2894 [Verbose] >

00:00:28 #2895 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:28 #2896 [Verbose] > // // test

00:00:28 #2897 [Verbose] >

00:00:28 #2898 [Verbose] > v1 1

00:00:28 #2899 [Verbose] > |> _equal (vec 2 6 6)

00:00:28 #2900 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0905-0498-9896-9361bec92ee3\main.spi

00:00:28 #2901 [Verbose] >

00:00:28 #2902 [Verbose] > ╭─[ 157.80ms - stdout ]────────────────────────────────────────────────────────╮

00:00:28 #2903 [Verbose] > │ let rec method0 () : unit =                                                  │

00:00:28 #2904 [Verbose] > │     let v0 : string = $"__expect / actual: %A{struct (2.0, 6.0, 6.0)} /      │

00:00:28 #2905 [Verbose] > │ expected: %A{struct (2.0, 6.0, 6.0)}"                                        │

00:00:28 #2906 [Verbose] > │     ()                                                                       │

00:00:28 #2907 [Verbose] > │ method0()                                                                    │

00:00:28 #2908 [Verbose] > │                                                                              │

00:00:28 #2909 [Verbose] > │                                                                              │

00:00:28 #2910 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:28 #2911 [Verbose] >

00:00:28 #2912 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────

00:00:28 #2913 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮

00:00:28 #2914 [Verbose] > │ ### vec_derivative                                                           │

00:00:28 #2915 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:28 #2916 [Verbose] >

00:00:28 #2917 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:28 #2918 [Verbose] > type vec_derivative = (f64 -> vec) -> f64 -> vec

00:00:28 #2919 [Verbose] >

00:00:28 #2920 [Verbose] > inl vec_derivative dt : vec_derivative =

00:00:28 #2921 [Verbose] >     fun v t =>

00:00:28 #2922 [Verbose] >         (v (t + dt / 2) ^-^ v (t - dt / 2)) ^/ dt

00:00:29 #2923 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0905-0515-1535-1330cf4558cb\main.spi

00:00:29 #2924 [Verbose] >

00:00:29 #2925 [Verbose] > ╭─[ 149.02ms - stdout ]────────────────────────────────────────────────────────╮

00:00:29 #2926 [Verbose] > │ ()                                                                           │

00:00:29 #2927 [Verbose] > │                                                                              │

00:00:29 #2928 [Verbose] > │                                                                              │

00:00:29 #2929 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:29 #2930 [Verbose] >

00:00:29 #2931 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:29 #2932 [Verbose] > // // test

00:00:29 #2933 [Verbose] >

00:00:29 #2934 [Verbose] > vec_derivative 0.01 v1 3 .x

00:00:29 #2935 [Verbose] > |> _almost_equal (derivative 0.01 (v1 >> fun v => v.x) 3)

00:00:29 #2936 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0905-0530-3077-3df9f92ef2d7\main.spi

00:00:29 #2937 [Verbose] >

00:00:29 #2938 [Verbose] > ╭─[ 186.68ms - stdout ]────────────────────────────────────────────────────────╮

00:00:29 #2939 [Verbose] > │ let rec method0 () : unit =                                                  │

00:00:29 #2940 [Verbose] > │     let v0 : string = $"__expect / actual: %A{11.999999999999744} /          │

00:00:29 #2941 [Verbose] > │ expected: %A{11.999999999999744}"                                            │

00:00:29 #2942 [Verbose] > │     ()                                                                       │

00:00:29 #2943 [Verbose] > │ method0()                                                                    │

00:00:29 #2944 [Verbose] > │                                                                              │

00:00:29 #2945 [Verbose] > │                                                                              │

00:00:29 #2946 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:29 #2947 [Verbose] >

00:00:29 #2948 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────

00:00:29 #2949 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮

00:00:29 #2950 [Verbose] > │ ## states_ps                                                                 │

00:00:29 #2951 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:29 #2952 [Verbose] >

00:00:29 #2953 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:29 #2954 [Verbose] > nominal particle_state =

00:00:29 #2955 [Verbose] >     {

00:00:29 #2956 [Verbose] >         mass : f64

00:00:29 #2957 [Verbose] >         charge : f64

00:00:29 #2958 [Verbose] >         time : f64

00:00:29 #2959 [Verbose] >         pos_vec : vec

00:00:29 #2960 [Verbose] >         velocity : vec

00:00:29 #2961 [Verbose] >     }

00:00:29 #2962 [Verbose] >

00:00:29 #2963 [Verbose] > inl default_particle_state () : particle_state =

00:00:29 #2964 [Verbose] >     particle_state {

00:00:29 #2965 [Verbose] >         mass = 1

00:00:29 #2966 [Verbose] >         charge = 0

00:00:29 #2967 [Verbose] >         time = 0

00:00:29 #2968 [Verbose] >         pos_vec = zero_vec ()

00:00:29 #2969 [Verbose] >         velocity = zero_vec ()

00:00:29 #2970 [Verbose] >     }

00:00:29 #2971 [Verbose] >

00:00:29 #2972 [Verbose] > type one_body_force = particle_state -> vec

00:00:29 #2973 [Verbose] >

00:00:29 #2974 [Verbose] > nominal d_particle_state =

00:00:29 #2975 [Verbose] >     {

00:00:29 #2976 [Verbose] >         dmdt : f64

00:00:29 #2977 [Verbose] >         dqdt : f64

00:00:29 #2978 [Verbose] >         dtdt : f64

00:00:29 #2979 [Verbose] >         drdt : vec

00:00:29 #2980 [Verbose] >         dvdt : vec

00:00:29 #2981 [Verbose] >     }

00:00:29 #2982 [Verbose] >

00:00:29 #2983 [Verbose] > inl newton_second_ps (fs : list one_body_force) (st : particle_state) :

00:00:29 #2984 [Verbose] > d_particle_state =

00:00:29 #2985 [Verbose] >     inl f_net = fs |> listm.map (fun f => f st) |> sum_vec

00:00:29 #2986 [Verbose] >     d_particle_state {

00:00:29 #2987 [Verbose] >         dmdt = 0

00:00:29 #2988 [Verbose] >         dqdt = 0

00:00:29 #2989 [Verbose] >         dtdt = 1

00:00:29 #2990 [Verbose] >         drdt = st.velocity

00:00:29 #2991 [Verbose] >         dvdt = f_net ^/ st.mass

00:00:29 #2992 [Verbose] >     }

00:00:29 #2993 [Verbose] >

00:00:29 #2994 [Verbose] > inl earth_surface_gravity (st : particle_state) =

00:00:29 #2995 [Verbose] >     inl g = 9.80665

00:00:29 #2996 [Verbose] >     -st.mass * g *^ k_hat ()

00:00:29 #2997 [Verbose] >

00:00:29 #2998 [Verbose] > inl air_resistance drag rho area (st : particle_state) =

00:00:29 #2999 [Verbose] >     -0.5 * drag * rho * area * magnitude st.velocity *^ st.velocity

00:00:29 #3000 [Verbose] >

00:00:29 #3001 [Verbose] > inl euler_cromer_ps dt (deriv : particle_state -> d_particle_state)

00:00:29 #3002 [Verbose] > (particle_state st) =

00:00:29 #3003 [Verbose] >     inl dst : d_particle_state = deriv (particle_state st)

00:00:29 #3004 [Verbose] >     inl v' = st.velocity ^+^ dst.dvdt ^* dt

00:00:29 #3005 [Verbose] >     particle_state { st with

00:00:29 #3006 [Verbose] >         time = st.time + dt

00:00:29 #3007 [Verbose] >         pos_vec = st.pos_vec ^+^ v' ^* dt

00:00:29 #3008 [Verbose] >         velocity = st.velocity ^+^ dst.dvdt ^* dt

00:00:29 #3009 [Verbose] >     }

00:00:29 #3010 [Verbose] >

00:00:29 #3011 [Verbose] > instance (+++) d_particle_state = fun (dps : d_particle_state) (dps' :

00:00:29 #3012 [Verbose] > d_particle_state) =>

00:00:29 #3013 [Verbose] >     d_particle_state {

00:00:29 #3014 [Verbose] >         dmdt = dps.dmdt + dps'.dmdt

00:00:29 #3015 [Verbose] >         dqdt = dps.dqdt + dps'.dqdt

00:00:29 #3016 [Verbose] >         dtdt = dps.dtdt + dps'.dtdt

00:00:29 #3017 [Verbose] >         drdt = dps.drdt ^+^ dps'.drdt

00:00:29 #3018 [Verbose] >         dvdt = dps.dvdt ^+^ dps'.dvdt

00:00:29 #3019 [Verbose] >     }

00:00:29 #3020 [Verbose] >

00:00:29 #3021 [Verbose] > instance scale d_particle_state = fun w (dps : d_particle_state) =>

00:00:29 #3022 [Verbose] >     d_particle_state {

00:00:29 #3023 [Verbose] >         dmdt = w * dps.dmdt

00:00:29 #3024 [Verbose] >         dqdt = w * dps.dqdt

00:00:29 #3025 [Verbose] >         dtdt = w * dps.dtdt

00:00:29 #3026 [Verbose] >         drdt = w *^ dps.drdt

00:00:29 #3027 [Verbose] >         dvdt = w *^ dps.dvdt

00:00:29 #3028 [Verbose] >     }

00:00:29 #3029 [Verbose] >

00:00:29 #3030 [Verbose] > instance shift particle_state = fun dt dps (particle_state st) =>

00:00:29 #3031 [Verbose] >     inl (d_particle_state dps) =

00:00:29 #3032 [Verbose] >         real

00:00:29 #3033 [Verbose] >             match dps with

00:00:29 #3034 [Verbose] >             | d_particle_state _ => dps

00:00:29 #3035 [Verbose] >     particle_state { st with

00:00:29 #3036 [Verbose] >         time = st.time + dps.dtdt * dt

00:00:29 #3037 [Verbose] >         pos_vec = st.pos_vec ^+^ dps.drdt ^* dt

00:00:29 #3038 [Verbose] >         velocity = st.velocity ^+^ dps.dvdt ^* dt

00:00:29 #3039 [Verbose] >     }

00:00:29 #3040 [Verbose] >

00:00:29 #3041 [Verbose] > inl states_ps (method : numerical_method particle_state d_particle_state) : _ ->

00:00:29 #3042 [Verbose] > _ -> i32 -> particle_state =

00:00:29 #3043 [Verbose] >     newton_second_ps >> method >> seq.iterate_

00:00:29 #3044 [Verbose] >

00:00:29 #3045 [Verbose] > inl z_ge0 sts =

00:00:29 #3046 [Verbose] >     sts

00:00:29 #3047 [Verbose] >     |> seq.take_while_ (fun (particle_state st) _ => st.pos_vec.z >= 0)

00:00:29 #3048 [Verbose] >

00:00:29 #3049 [Verbose] > inl trajectory sts =

00:00:29 #3050 [Verbose] >     sts |> listm.map (fun (particle_state st) => st.pos_vec.y, st.pos_vec.z)

00:00:29 #3051 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0905-0549-4983-49df43f3bdcd\main.spi

00:00:29 #3052 [Verbose] >

00:00:29 #3053 [Verbose] > ╭─[ 165.71ms - stdout ]────────────────────────────────────────────────────────╮

00:00:29 #3054 [Verbose] > │ ()                                                                           │

00:00:29 #3055 [Verbose] > │                                                                              │

00:00:29 #3056 [Verbose] > │                                                                              │

00:00:29 #3057 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:29 #3058 [Verbose] >

00:00:29 #3059 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:29 #3060 [Verbose] > // // test

00:00:29 #3061 [Verbose] >

00:00:29 #3062 [Verbose] > inl update_ps (method : numerical_method particle_state d_particle_state) =

00:00:29 #3063 [Verbose] >     newton_second_ps >> method

00:00:29 #3064 [Verbose] >

00:00:29 #3065 [Verbose] > inl position_ps (method : numerical_method particle_state d_particle_state) fs

00:00:29 #3066 [Verbose] > st t =

00:00:29 #3067 [Verbose] >     inl states : i32 -> particle_state = states_ps method fs st

00:00:29 #3068 [Verbose] >     inl dt = (states 1).time - (states 0).time

00:00:29 #3069 [Verbose] >     inl num_steps = t / dt |> math.round |> abs

00:00:29 #3070 [Verbose] >     inl st1 = solver' method (newton_second_ps fs) st num_steps

00:00:29 #3071 [Verbose] >     st1.pos_vec

00:00:29 #3072 [Verbose] >

00:00:29 #3073 [Verbose] > inl sun_gravity (st : particle_state) : vec =

00:00:29 #3074 [Verbose] >     inl big_g = 0.0000000000667408

00:00:29 #3075 [Verbose] >     inl sun_mass = 1988480000000000000000000000000

00:00:29 #3076 [Verbose] >     -big_g * sun_mass * st.mass *^ st.pos_vec ^/ magnitude st.pos_vec ** 3

00:00:29 #3077 [Verbose] >

00:00:29 #3078 [Verbose] > inl wind_force v_wind drag rho area (st : particle_state) =

00:00:29 #3079 [Verbose] >     inl v_rel = st.velocity ^-^ v_wind

00:00:29 #3080 [Verbose] >     -0.5 * drag * rho * area * magnitude v_rel *^ v_rel

00:00:29 #3081 [Verbose] >

00:00:29 #3082 [Verbose] > inl rock_state () =

00:00:29 #3083 [Verbose] >     inl (particle_state default_particle_state') = default_particle_state ()

00:00:29 #3084 [Verbose] >     particle_state { default_particle_state' with

00:00:29 #3085 [Verbose] >         mass = 2

00:00:29 #3086 [Verbose] >         velocity = vec 3 0 4

00:00:29 #3087 [Verbose] >     }

00:00:29 #3088 [Verbose] >

00:00:29 #3089 [Verbose] > inl halley_update dt =

00:00:29 #3090 [Verbose] >     update_ps (euler_cromer_ps dt) [[ sun_gravity ]]

00:00:29 #3091 [Verbose] >

00:00:29 #3092 [Verbose] > inl halley_initial () =

00:00:29 #3093 [Verbose] >     inl (particle_state default_particle_state') = default_particle_state ()

00:00:29 #3094 [Verbose] >     particle_state { default_particle_state' with

00:00:29 #3095 [Verbose] >         mass = 220000000000000

00:00:29 #3096 [Verbose] >         pos_vec = 87660000000 *^ i_hat ()

00:00:29 #3097 [Verbose] >         velocity = 54569 *^ j_hat ()

00:00:29 #3098 [Verbose] >     }

00:00:29 #3099 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0905-0566-6657-663ce645a3d2\main.spi

00:00:29 #3100 [Verbose] >

00:00:29 #3101 [Verbose] > ╭─[ 171.37ms - stdout ]────────────────────────────────────────────────────────╮

00:00:29 #3102 [Verbose] > │ ()                                                                           │

00:00:29 #3103 [Verbose] > │                                                                              │

00:00:29 #3104 [Verbose] > │                                                                              │

00:00:29 #3105 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:29 #3106 [Verbose] >

00:00:29 #3107 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:29 #3108 [Verbose] > // // test

00:00:29 #3109 [Verbose] >

00:00:29 #3110 [Verbose] > inl baseball_forces () =

00:00:29 #3111 [Verbose] >     inl area = pi * (0.074 / 2) ** 2

00:00:29 #3112 [Verbose] >     [[

00:00:29 #3113 [Verbose] >         earth_surface_gravity

00:00:29 #3114 [Verbose] >         air_resistance 0.3 1.225 area

00:00:29 #3115 [Verbose] >     ]]

00:00:29 #3116 [Verbose] >

00:00:29 #3117 [Verbose] > inl baseball_trajectory dt v0 theta_deg =

00:00:29 #3118 [Verbose] >     inl theta_rad = theta_deg * pi / 180

00:00:29 #3119 [Verbose] >     inl vy0 = v0 * cos theta_rad

00:00:29 #3120 [Verbose] >     inl vz0 = v0 * sin theta_rad

00:00:29 #3121 [Verbose] >     inl initial_state =

00:00:29 #3122 [Verbose] >         particle_state {

00:00:29 #3123 [Verbose] >             mass = 0.145

00:00:29 #3124 [Verbose] >             charge = 0

00:00:29 #3125 [Verbose] >             time = 0

00:00:29 #3126 [Verbose] >             pos_vec = zero_vec ()

00:00:29 #3127 [Verbose] >             velocity = vec 0 vy0 vz0

00:00:29 #3128 [Verbose] >         }

00:00:29 #3129 [Verbose] >     states_ps (euler_cromer_ps dt) (baseball_forces ()) initial_state

00:00:29 #3130 [Verbose] >     >> Some

00:00:29 #3131 [Verbose] >     |> z_ge0

00:00:29 #3132 [Verbose] >     |> trajectory

00:00:29 #3133 [Verbose] >

00:00:29 #3134 [Verbose] > inl baseball_range dt v0 theta_deg =

00:00:29 #3135 [Verbose] >     baseball_trajectory dt v0 theta_deg

00:00:29 #3136 [Verbose] >     |> listm.fold (fun _ (y, _) => y) 0

00:00:29 #3137 [Verbose] >

00:00:29 #3138 [Verbose] > inl x : a _ f64 = am'.init_series 10 80 1

00:00:29 #3139 [Verbose] > inl y = x |> am.map (baseball_range 0.01 45)

00:00:29 #3140 [Verbose] > "range for a baseball hit at 45 m/s",

00:00:29 #3141 [Verbose] > "angle above horizontal (degrees)",

00:00:29 #3142 [Verbose] > "",

00:00:29 #3143 [Verbose] > ;[[ "horizontal range (m)", x, y ]]

00:00:29 #3144 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0905-0585-8513-8c8107b3498a\main.spi

00:00:30 #3145 [Verbose] >

00:00:30 #3146 [Verbose] > ╭─[ 924.28ms - return value ]──────────────────────────────────────────────────╮

00:00:30 #3147 [Verbose] > │ <svg width="640" height="480" viewBox="0 0 640 480"                          │

00:00:30 #3148 [Verbose] > │ xmlns="http://www.w3.org/2000/svg">                                          │

00:00:30 #3149 [Verbose] > │ <rect x="0" y="0" width="640" height="480" opacity="1" fill="#141414"        │

00:00:30 #3150 [Verbose] > │ stroke="none"/>                                                              │

00:00:30 #3151 [Verbose] > │ <text x="320" y="10" dy="0.76em" text-anchor="middle"                        │

00:00:30 #3152 [Verbose] > │ font-family="sans-serif" font-size="9.67741935483871" opacity="1"            │

00:00:30 #3153 [Verbose] > │ fill="#FFFFFF">                                                              │

00:00:30 #3154 [Verbose] > │ range for a baseball hit at 45 m/s                                           │

00:00:30 #3155 [Verbose] > │ </text>                                                                      │

00:00:30 #3156 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="55" y1="424" x2="55" │

00:00:30 #3157 [Verbose] > │ y2="75"/>                                                                    │

00:00:30 #3158 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="62" y1="424" x2="62" │

00:00:30 #3159 [Verbose] > │ y2="75"/>                                                                    │

00:00:30 #3160 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="69" y1="424" x2="69" │

00:00:30 #3161 [Verbose] > │ y2="75"/>                                                                    │

00:00:30 #3162 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="77" y1="424" x2="77" │

00:00:30 #3163 [Verbose] > │ y2="75"/>                                                                    │

00:00:30 #3164 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="...                         │

00:00:30 #3165 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:30 #3166 [Verbose] >

00:00:30 #3167 [Verbose] > ╭─[ 933.71ms - stdout ]────────────────────────────────────────────────────────╮

00:00:30 #3168 [Verbose] > │ type Mut0 = {mutable l0 : int32}                                             │

00:00:30 #3169 [Verbose] > │ and UH0 =                                                                    │

00:00:30 #3170 [Verbose] > │     | UH0_0 of float * float * float * float * float * float * float * float │

00:00:30 #3171 [Verbose] > │ * float * UH0                                                                │

00:00:30 #3172 [Verbose] > │     | UH0_1                                                                  │

00:00:30 #3173 [Verbose] > │ and UH1 =                                                                    │

00:00:30 #3174 [Verbose] > │     | UH1_0 of float * float * UH1                                           │

00:00:30 #3175 [Verbose] > │     | UH1_1                                                                  │

00:00:30 #3176 [Verbose] > │ let rec method1 (v0 : Mut0) : bool =                                         │

00:00:30 #3177 [Verbose] > │     let v1 : int32 = v0.l0                                                   │

00:00:30 #3178 [Verbose] > │     let v2 : bool = v1 < 71                                                  │

00:00:30 #3179 [Verbose] > │     v2                                                                       │

00:00:30 #3180 [Verbose] > │ and method2 (v0 : int32, v1 : Mut0) : bool =                                 │

00:00:30 #3181 [Verbose] > │     let v2 : int32 = v1.l0                                                   │

00:00:30 #3182 [Verbose] > │     let v3 : bool = v2 < v0                                                  │

00:00:30 #3183 [Verbose] > │     v3                                                                       │

00:00:30 #3184 [Verbose] > │ and method4 (v0 : float, v1 : float, v2 : float, v3 : float, v4 : float, v5  │

00:00:30 #3185 [Verbose] > │ : float, v6 : float, v7 : float, v8 : float, v9 : int32) : struct (float *   │

00:00:30 #3186 [Verbose] > │ float * float * float * float * float * float * float * float) =             │

00:00:30 #3187 [Verbose] > │     let v10 : bool = v9 <= 0                                                 │

00:00:30 #3188 [Verbose] > │     if v10 then                                                              │

00:00:30 #3189 [Verbose] > │         struct (v0, v1, v2, v3, v4, v5, v6, v7, v8)                          │

00:00:30 #3190 [Verbose] > │     else                                                                     │

00:00:30 #3191 [Verbose] > │         let v11 : float = v6 * v6                                            │

00:00:30 #3192 [Verbose] > │         let v12 : float = v7 * v7                                            │

00:00:30 #3193 [Verbose] > │         let v13 : float = v11 + v12                                          │

00:00:30 #3194 [Verbose] > │         let v14 : float = v8 * v8                                            │

00:00:30 #3195 [Verbose] > │         let v15 : float = v13 + v14                                          │

00:00:30 #3196 [Verbose] > │         let v16 : float = sqrt v15                                           │

00:00:30 #3197 [Verbose] > │         let v17 : float = -0.0007902794129829633 * v16                       │

00:00:30 #3198 [Verbose] > │         let v18 : float = v17 * v6                                           │

00:00:30 #3199 [Verbose] > │         let v19 : float = v17 * v7                                           │

00:00:30 #3200 [Verbose] > │         let v20 : float = v17 * v8                                           │

00:00:30 #3201 [Verbose] > │         let v21 : float =  -v1                                               │

00:00:30 #3202 [Verbose] > │         let v22 : float = v21 * 9.80665                                      │

00:00:30 #3203 [Verbose] > │         let v23 : float = v22 * 0.0                                          │

00:00:30 #3204 [Verbose] > │         let v24 : float = v23 + v18                                          │

00:00:30 #3205 [Verbose] > │         let v25 : float = v23 + v19                                          │

00:00:30 #3206 [Verbose] > │         let v26 : float = v22 + v20                                          │

00:00:30 #3207 [Verbose] > │         let v27 : float = v24 / v1                                           │

00:00:30 #3208 [Verbose] > │         let v28 : float = v25 / v1                                           │

00:00:30 #3209 [Verbose] > │         let v29 : float = v26 / v1                                           │

00:00:30 #3210 [Verbose] > │         let v30 : float = 0.01 * v27                                         │

00:00:30 #3211 [Verbose] > │         let v31 : float = 0.01 * v28                                         │

00:00:30 #3212 [Verbose] > │         let v32 : float = 0.01 * v29                                         │

00:00:30 #3213 [Verbose] > │         let v33 : float = v6 + v30                                           │

00:00:30 #3214 [Verbose] > │         let v34 : float = v7 + v31                                           │

00:00:30 #3215 [Verbose] > │         let v35 : float = v8 + v32                                           │

00:00:30 #3216 [Verbose] > │         let v36 : float = v5 + 0.01                                          │

00:00:30 #3217 [Verbose] > │         let v37 : float = 0.01 * v33                                         │

00:00:30 #3218 [Verbose] > │         let v38 : float = 0.01 * v34                                         │

00:00:30 #3219 [Verbose] > │         let v39 : float = 0.01 * v35                                         │

00:00:30 #3220 [Verbose] > │         let v40 : float = v2 + v37                                           │

00:00:30 #3221 [Verbose] > │         let v41 : float = v3 + v38                                           │

00:00:30 #3222 [Verbose] > │         let v42 : float = v4 + v39                                           │

00:00:30 #3223 [Verbose] > │         let v43 : int32 = v9 - 1                                             │

00:00:30 #3224 [Verbose] > │         method4(v0, v1, v40, v41, v42, v36, v33, v34, v35, v43)              │

00:00:30 #3225 [Verbose] > │ and method5 (v0 : UH0, v1 : UH0) : UH0 =                                     │

00:00:30 #3226 [Verbose] > │     match v0 with                                                            │

00:00:30 #3227 [Verbose] > │     | UH0_0(v2, v3, v4, v5, v6, v7, v8, v9, v10, v11) -> (* Cons *)          │

00:00:30 #3228 [Verbose] > │         let v12 : UH0 = UH0_0(v2, v3, v4, v5, v6, v7, v8, v9, v10, v1)       │

00:00:30 #3229 [Verbose] > │         method5(v11, v12)                                                    │

00:00:30 #3230 [Verbose] > │     | UH0_1 -> (* Nil *)                                                     │

00:00:30 #3231 [Verbose] > │         v1                                                                   │

00:00:30 #3232 [Verbose] > │ and method3 (v0 : float, v1 : float, v2 : UH0, v3 : int32) : UH0 =           │

00:00:30 #3233 [Verbose] > │     let v4 : float = 0.0                                                     │

00:00:30 #3234 [Verbose] > │     let v5 : float = 0.145                                                   │

00:00:30 #3235 [Verbose] > │     let v6 : float = 0.0                                                     │

00:00:30 #3236 [Verbose] > │     let v7 : float = 0.0                                                     │

00:00:30 #3237 [Verbose] > │     let v8 : float = 0.0                                                     │

00:00:30 #3238 [Verbose] > │     let v9 : float = 0.0                                                     │

00:00:30 #3239 [Verbose] > │     let v10 : float = 0.0                                                    │

00:00:30 #3240 [Verbose] > │     let struct (v11 : float, v12 : float, v13 : float, v14 : float, v15 :    │

00:00:30 #3241 [Verbose] > │ float, v16 : float, v17 : float, v18 : float, v19 : float) = method4(v4, v5, │

00:00:30 #3242 [Verbose] > │ v6, v7, v8, v9, v10, v0, v1, v3)                                             │

00:00:30 #3243 [Verbose] > │     let v20 : bool = v15 >= 0.0                                              │

00:00:30 #3244 [Verbose] > │     if v20 then                                                              │

00:00:30 #3245 [Verbose] > │         let v21 : UH0 = UH0_0(v11, v12, v13, v14, v15, v16, v17, v18, v19,   │

00:00:30 #3246 [Verbose] > │ v2)                                                                          │

00:00:30 #3247 [Verbose] > │         let v22 : int32 = v3 + 1                                             │

00:00:30 #3248 [Verbose] > │         method3(v0, v1, v21, v22)                                            │

00:00:30 #3249 [Verbose] > │     else                                                                     │

00:00:30 #3250 [Verbose] > │         let v24 : UH0 = UH0_1                                                │

00:00:30 #3251 [Verbose] > │         method5(v2, v24)                                                     │

00:00:30 #3252 [Verbose] > │ and method6 (v0 : UH0, v1 : UH1) : UH1 =                                     │

00:00:30 #3253 [Verbose] > │     match v0 with                                                            │

00:00:30 #3254 [Verbose] > │     | UH0_0(v2, v3, v4, v5, v6, v7, v8, v9, v10, v11) -> (* Cons *)          │

00:00:30 #3255 [Verbose] > │         let v12 : UH1 = method6(v11, v1)                                     │

00:00:30 #3256 [Verbose] > │         UH1_0(v5, v6, v12)                                                   │

00:00:30 #3257 [Verbose] > │     | UH0_1 -> (* Nil *)                                                     │

00:00:30 #3258 [Verbose] > │         v1                                                                   │

00:00:30 #3259 [Verbose] > │ and method7 (v0 : UH1, v1 : float) : float =                                 │

00:00:30 #3260 [Verbose] > │     match v0 with                                                            │

00:00:30 #3261 [Verbose] > │     | UH1_0(v2, v3, v4) -> (* Cons *)                                        │

00:00:30 #3262 [Verbose] > │         method7(v4, v2)                                                      │

00:00:30 #3263 [Verbose] > │     | UH1_1 -> (* Nil *)                                                     │

00:00:30 #3264 [Verbose] > │         v1                                                                   │

00:00:30 #3265 [Verbose] > │ and method8 (v0 : (struct (string * (float []) * (float [])) [])) : (struct  │

00:00:30 #3266 [Verbose] > │ (string * (float []) * (float [])) []) =                                     │

00:00:30 #3267 [Verbose] > │     v0                                                                       │

00:00:30 #3268 [Verbose] > │ and method0 () : struct (string * string * string * (struct (string * (float │

00:00:30 #3269 [Verbose] > │ []) * (float [])) [])) =                                                     │

00:00:30 #3270 [Verbose] > │     let v0 : (float []) = Array.zeroCreate<float> (71)                       │

00:00:30 #3271 [Verbose] > │     let v1 : Mut0 = {l0 = 0} : Mut0                                          │

00:00:30 #3272 [Verbose] > │     while method1(v1) do                                                     │

00:00:30 #3273 [Verbose] > │         let v3 : int32 = v1.l0                                               │

00:00:30 #3274 [Verbose] > │         let v4 : float = float v3                                            │

00:00:30 #3275 [Verbose] > │         let v5 : float = 10.0 + v4                                           │

00:00:30 #3276 [Verbose] > │         v0.[int v3] <- v5                                                    │

00:00:30 #3277 [Verbose] > │         let v6 : int32 = v3 + 1                                              │

00:00:30 #3278 [Verbose] > │         v1.l0 <- v6                                                          │

00:00:30 #3279 [Verbose] > │         ()                                                                   │

00:00:30 #3280 [Verbose] > │     let v7 : int32 = v0.Length                                               │

00:00:30 #3281 [Verbose] > │     let v8 : (float []) = Array.zeroCreate<float> (v7)                       │

00:00:30 #3282 [Verbose] > │     let v9 : Mut0 = {l0 = 0} : Mut0                                          │

00:00:30 #3283 [Verbose] > │     while method2(v7, v9) do                                                 │

00:00:30 #3284 [Verbose] > │         let v11 : int32 = v9.l0                                              │

00:00:30 #3285 [Verbose] > │         let v12 : float = v0.[int v11]                                       │

00:00:30 #3286 [Verbose] > │         let v13 : float = v12 * 3.141592653589793                            │

00:00:30 #3287 [Verbose] > │         let v14 : float = v13 / 180.0                                        │

00:00:30 #3288 [Verbose] > │         let v15 : float = cos v14                                            │

00:00:30 #3289 [Verbose] > │         let v16 : float = 45.0 * v15                                         │

00:00:30 #3290 [Verbose] > │         let v17 : float = sin v14                                            │

00:00:30 #3291 [Verbose] > │         let v18 : float = 45.0 * v17                                         │

00:00:30 #3292 [Verbose] > │         let v19 : UH0 = UH0_1                                                │

00:00:30 #3293 [Verbose] > │         let v20 : int32 = 0                                                  │

00:00:30 #3294 [Verbose] > │         let v21 : UH0 = method3(v16, v18, v19, v20)                          │

00:00:30 #3295 [Verbose] > │         let v22 : UH1 = UH1_1                                                │

00:00:30 #3296 [Verbose] > │         let v23 : UH1 = method6(v21, v22)                                    │

00:00:30 #3297 [Verbose] > │         let v24 : float = 0.0                                                │

00:00:30 #3298 [Verbose] > │         let v25 : float = method7(v23, v24)                                  │

00:00:30 #3299 [Verbose] > │         v8.[int v11] <- v25                                                  │

00:00:30 #3300 [Verbose] > │         let v26 : int32 = v11 + 1                                            │

00:00:30 #3301 [Verbose] > │         v9.l0 <- v26                                                         │

00:00:30 #3302 [Verbose] > │         ()                                                                   │

00:00:30 #3303 [Verbose] > │     let v27 : string = "horizontal range (m)"                                │

00:00:30 #3304 [Verbose] > │     let v28 : (struct (string * (float []) * (float [])) []) = [|struct      │

00:00:30 #3305 [Verbose] > │ (v27, v0, v8)|]                                                              │

00:00:30 #3306 [Verbose] > │     let v29 : (struct (string * (float []) * (float [])) []) = method8(v28)  │

00:00:30 #3307 [Verbose] > │     let v30 : string = "range for a baseball hit at 45 m/s"                  │

00:00:30 #3308 [Verbose] > │     let v31 : string = "angle above horizontal (degrees)"                    │

00:00:30 #3309 [Verbose] > │     let v32 : string = ""                                                    │

00:00:30 #3310 [Verbose] > │     struct (v30, v31, v32, v29)                                              │

00:00:30 #3311 [Verbose] > │ method0()                                                                    │

00:00:30 #3312 [Verbose] > │                                                                              │

00:00:30 #3313 [Verbose] > │                                                                              │

00:00:30 #3314 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:30 #3315 [Verbose] >

00:00:30 #3316 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:30 #3317 [Verbose] > // // test

00:00:30 #3318 [Verbose] >

00:00:30 #3319 [Verbose] > inl best_angle (min, max) =

00:00:30 #3320 [Verbose] >     let rec loop theta_deg (best_range, best_theta_deg) =

00:00:30 #3321 [Verbose] >         if theta_deg > max

00:00:30 #3322 [Verbose] >         then best_range, best_theta_deg

00:00:30 #3323 [Verbose] >         else

00:00:30 #3324 [Verbose] >             inl range = baseball_range 0.01 45 theta_deg

00:00:30 #3325 [Verbose] >             loop

00:00:30 #3326 [Verbose] >                 (theta_deg + 1)

00:00:30 #3327 [Verbose] >                 (if range > best_range

00:00:30 #3328 [Verbose] >                     then range, theta_deg

00:00:30 #3329 [Verbose] >                     else best_range, best_theta_deg)

00:00:30 #3330 [Verbose] >     loop min (0f64, min)

00:00:30 #3331 [Verbose] >

00:00:30 #3332 [Verbose] > best_angle (30f64, 60f64)

00:00:30 #3333 [Verbose] > |> _equal (116.77499158246208, 41)

00:00:30 #3334 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0905-0682-8260-8fc13e0311c3\main.spi

00:00:31 #3335 [Verbose] >

00:00:31 #3336 [Verbose] > ╭─[ 579.72ms - stdout ]────────────────────────────────────────────────────────╮

00:00:31 #3337 [Verbose] > │ type UH0 =                                                                   │

00:00:31 #3338 [Verbose] > │     | UH0_0 of float * float * float * float * float * float * float * float │

00:00:31 #3339 [Verbose] > │ * float * UH0                                                                │

00:00:31 #3340 [Verbose] > │     | UH0_1                                                                  │

00:00:31 #3341 [Verbose] > │ and UH1 =                                                                    │

00:00:31 #3342 [Verbose] > │     | UH1_0 of float * float * UH1                                           │

00:00:31 #3343 [Verbose] > │     | UH1_1                                                                  │

00:00:31 #3344 [Verbose] > │ let rec method3 (v0 : float, v1 : float, v2 : float, v3 : float, v4 : float, │

00:00:31 #3345 [Verbose] > │ v5 : float, v6 : float, v7 : float, v8 : float, v9 : int32) : struct (float  │

00:00:31 #3346 [Verbose] > │ * float * float * float * float * float * float * float * float) =           │

00:00:31 #3347 [Verbose] > │     let v10 : bool = v9 <= 0                                                 │

00:00:31 #3348 [Verbose] > │     if v10 then                                                              │

00:00:31 #3349 [Verbose] > │         struct (v0, v1, v2, v3, v4, v5, v6, v7, v8)                          │

00:00:31 #3350 [Verbose] > │     else                                                                     │

00:00:31 #3351 [Verbose] > │         let v11 : float = v6 * v6                                            │

00:00:31 #3352 [Verbose] > │         let v12 : float = v7 * v7                                            │

00:00:31 #3353 [Verbose] > │         let v13 : float = v11 + v12                                          │

00:00:31 #3354 [Verbose] > │         let v14 : float = v8 * v8                                            │

00:00:31 #3355 [Verbose] > │         let v15 : float = v13 + v14                                          │

00:00:31 #3356 [Verbose] > │         let v16 : float = sqrt v15                                           │

00:00:31 #3357 [Verbose] > │         let v17 : float = -0.0007902794129829633 * v16                       │

00:00:31 #3358 [Verbose] > │         let v18 : float = v17 * v6                                           │

00:00:31 #3359 [Verbose] > │         let v19 : float = v17 * v7                                           │

00:00:31 #3360 [Verbose] > │         let v20 : float = v17 * v8                                           │

00:00:31 #3361 [Verbose] > │         let v21 : float =  -v1                                               │

00:00:31 #3362 [Verbose] > │         let v22 : float = v21 * 9.80665                                      │

00:00:31 #3363 [Verbose] > │         let v23 : float = v22 * 0.0                                          │

00:00:31 #3364 [Verbose] > │         let v24 : float = v23 + v18                                          │

00:00:31 #3365 [Verbose] > │         let v25 : float = v23 + v19                                          │

00:00:31 #3366 [Verbose] > │         let v26 : float = v22 + v20                                          │

00:00:31 #3367 [Verbose] > │         let v27 : float = v24 / v1                                           │

00:00:31 #3368 [Verbose] > │         let v28 : float = v25 / v1                                           │

00:00:31 #3369 [Verbose] > │         let v29 : float = v26 / v1                                           │

00:00:31 #3370 [Verbose] > │         let v30 : float = 0.01 * v27                                         │

00:00:31 #3371 [Verbose] > │         let v31 : float = 0.01 * v28                                         │

00:00:31 #3372 [Verbose] > │         let v32 : float = 0.01 * v29                                         │

00:00:31 #3373 [Verbose] > │         let v33 : float = v6 + v30                                           │

00:00:31 #3374 [Verbose] > │         let v34 : float = v7 + v31                                           │

00:00:31 #3375 [Verbose] > │         let v35 : float = v8 + v32                                           │

00:00:31 #3376 [Verbose] > │         let v36 : float = v5 + 0.01                                          │

00:00:31 #3377 [Verbose] > │         let v37 : float = 0.01 * v33                                         │

00:00:31 #3378 [Verbose] > │         let v38 : float = 0.01 * v34                                         │

00:00:31 #3379 [Verbose] > │         let v39 : float = 0.01 * v35                                         │

00:00:31 #3380 [Verbose] > │         let v40 : float = v2 + v37                                           │

00:00:31 #3381 [Verbose] > │         let v41 : float = v3 + v38                                           │

00:00:31 #3382 [Verbose] > │         let v42 : float = v4 + v39                                           │

00:00:31 #3383 [Verbose] > │         let v43 : int32 = v9 - 1                                             │

00:00:31 #3384 [Verbose] > │         method3(v0, v1, v40, v41, v42, v36, v33, v34, v35, v43)              │

00:00:31 #3385 [Verbose] > │ and method4 (v0 : UH0, v1 : UH0) : UH0 =                                     │

00:00:31 #3386 [Verbose] > │     match v0 with                                                            │

00:00:31 #3387 [Verbose] > │     | UH0_0(v2, v3, v4, v5, v6, v7, v8, v9, v10, v11) -> (* Cons *)          │

00:00:31 #3388 [Verbose] > │         let v12 : UH0 = UH0_0(v2, v3, v4, v5, v6, v7, v8, v9, v10, v1)       │

00:00:31 #3389 [Verbose] > │         method4(v11, v12)                                                    │

00:00:31 #3390 [Verbose] > │     | UH0_1 -> (* Nil *)                                                     │

00:00:31 #3391 [Verbose] > │         v1                                                                   │

00:00:31 #3392 [Verbose] > │ and method2 (v0 : float, v1 : float, v2 : UH0, v3 : int32) : UH0 =           │

00:00:31 #3393 [Verbose] > │     let v4 : float = 0.0                                                     │

00:00:31 #3394 [Verbose] > │     let v5 : float = 0.145                                                   │

00:00:31 #3395 [Verbose] > │     let v6 : float = 0.0                                                     │

00:00:31 #3396 [Verbose] > │     let v7 : float = 0.0                                                     │

00:00:31 #3397 [Verbose] > │     let v8 : float = 0.0                                                     │

00:00:31 #3398 [Verbose] > │     let v9 : float = 0.0                                                     │

00:00:31 #3399 [Verbose] > │     let v10 : float = 0.0                                                    │

00:00:31 #3400 [Verbose] > │     let struct (v11 : float, v12 : float, v13 : float, v14 : float, v15 :    │

00:00:31 #3401 [Verbose] > │ float, v16 : float, v17 : float, v18 : float, v19 : float) = method3(v4, v5, │

00:00:31 #3402 [Verbose] > │ v6, v7, v8, v9, v10, v0, v1, v3)                                             │

00:00:31 #3403 [Verbose] > │     let v20 : bool = v15 >= 0.0                                              │

00:00:31 #3404 [Verbose] > │     if v20 then                                                              │

00:00:31 #3405 [Verbose] > │         let v21 : UH0 = UH0_0(v11, v12, v13, v14, v15, v16, v17, v18, v19,   │

00:00:31 #3406 [Verbose] > │ v2)                                                                          │

00:00:31 #3407 [Verbose] > │         let v22 : int32 = v3 + 1                                             │

00:00:31 #3408 [Verbose] > │         method2(v0, v1, v21, v22)                                            │

00:00:31 #3409 [Verbose] > │     else                                                                     │

00:00:31 #3410 [Verbose] > │         let v24 : UH0 = UH0_1                                                │

00:00:31 #3411 [Verbose] > │         method4(v2, v24)                                                     │

00:00:31 #3412 [Verbose] > │ and method5 (v0 : UH0, v1 : UH1) : UH1 =                                     │

00:00:31 #3413 [Verbose] > │     match v0 with                                                            │

00:00:31 #3414 [Verbose] > │     | UH0_0(v2, v3, v4, v5, v6, v7, v8, v9, v10, v11) -> (* Cons *)          │

00:00:31 #3415 [Verbose] > │         let v12 : UH1 = method5(v11, v1)                                     │

00:00:31 #3416 [Verbose] > │         UH1_0(v5, v6, v12)                                                   │

00:00:31 #3417 [Verbose] > │     | UH0_1 -> (* Nil *)                                                     │

00:00:31 #3418 [Verbose] > │         v1                                                                   │

00:00:31 #3419 [Verbose] > │ and method6 (v0 : UH1, v1 : float) : float =                                 │

00:00:31 #3420 [Verbose] > │     match v0 with                                                            │

00:00:31 #3421 [Verbose] > │     | UH1_0(v2, v3, v4) -> (* Cons *)                                        │

00:00:31 #3422 [Verbose] > │         method6(v4, v2)                                                      │

00:00:31 #3423 [Verbose] > │     | UH1_1 -> (* Nil *)                                                     │

00:00:31 #3424 [Verbose] > │         v1                                                                   │

00:00:31 #3425 [Verbose] > │ and method1 (v0 : float, v1 : float, v2 : float) : struct (float * float) =  │

00:00:31 #3426 [Verbose] > │     let v3 : bool = v0 > 60.0                                                │

00:00:31 #3427 [Verbose] > │     if v3 then                                                               │

00:00:31 #3428 [Verbose] > │         struct (v2, v1)                                                      │

00:00:31 #3429 [Verbose] > │     else                                                                     │

00:00:31 #3430 [Verbose] > │         let v4 : float = v0 * 3.141592653589793                              │

00:00:31 #3431 [Verbose] > │         let v5 : float = v4 / 180.0                                          │

00:00:31 #3432 [Verbose] > │         let v6 : float = cos v5                                              │

00:00:31 #3433 [Verbose] > │         let v7 : float = 45.0 * v6                                           │

00:00:31 #3434 [Verbose] > │         let v8 : float = sin v5                                              │

00:00:31 #3435 [Verbose] > │         let v9 : float = 45.0 * v8                                           │

00:00:31 #3436 [Verbose] > │         let v10 : UH0 = UH0_1                                                │

00:00:31 #3437 [Verbose] > │         let v11 : int32 = 0                                                  │

00:00:31 #3438 [Verbose] > │         let v12 : UH0 = method2(v7, v9, v10, v11)                            │

00:00:31 #3439 [Verbose] > │         let v13 : UH1 = UH1_1                                                │

00:00:31 #3440 [Verbose] > │         let v14 : UH1 = method5(v12, v13)                                    │

00:00:31 #3441 [Verbose] > │         let v15 : float = 0.0                                                │

00:00:31 #3442 [Verbose] > │         let v16 : float = method6(v14, v15)                                  │

00:00:31 #3443 [Verbose] > │         let v17 : float = v0 + 1.0                                           │

00:00:31 #3444 [Verbose] > │         let v18 : bool = v16 > v2                                            │

00:00:31 #3445 [Verbose] > │         let struct (v19 : float, v20 : float) =                              │

00:00:31 #3446 [Verbose] > │             if v18 then                                                      │

00:00:31 #3447 [Verbose] > │                 struct (v16, v0)                                             │

00:00:31 #3448 [Verbose] > │             else                                                             │

00:00:31 #3449 [Verbose] > │                 struct (v2, v1)                                              │

00:00:31 #3450 [Verbose] > │         method1(v17, v20, v19)                                               │

00:00:31 #3451 [Verbose] > │ and method0 () : unit =                                                      │

00:00:31 #3452 [Verbose] > │     let v0 : float = 30.0                                                    │

00:00:31 #3453 [Verbose] > │     let v1 : float = 0.0                                                     │

00:00:31 #3454 [Verbose] > │     let v2 : float = 30.0                                                    │

00:00:31 #3455 [Verbose] > │     let struct (v3 : float, v4 : float) = method1(v0, v2, v1)                │

00:00:31 #3456 [Verbose] > │     let v5 : string = $"__expect / actual: %A{struct (v3, v4)} / expected:   │

00:00:31 #3457 [Verbose] > │ %A{struct (116.77499158246208, 41.0)}"                                       │

00:00:31 #3458 [Verbose] > │     let v6 : bool = v3 = 116.77499158246208                                  │

00:00:31 #3459 [Verbose] > │     let v8 : bool =                                                          │

00:00:31 #3460 [Verbose] > │         if v6 then                                                           │

00:00:31 #3461 [Verbose] > │             let v7 : bool = v4 = 41.0                                        │

00:00:31 #3462 [Verbose] > │             v7                                                               │

00:00:31 #3463 [Verbose] > │         else                                                                 │

00:00:31 #3464 [Verbose] > │             false                                                            │

00:00:31 #3465 [Verbose] > │     let v9 : bool = v8 = false                                               │

00:00:31 #3466 [Verbose] > │     if v9 then                                                               │

00:00:31 #3467 [Verbose] > │         failwith<unit> v5                                                    │

00:00:31 #3468 [Verbose] > │ method0()                                                                    │

00:00:31 #3469 [Verbose] > │                                                                              │

00:00:31 #3470 [Verbose] > │                                                                              │

00:00:31 #3471 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:31 #3472 [Verbose] >

00:00:31 #3473 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────

00:00:31 #3474 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮

00:00:31 #3475 [Verbose] > │ ## relativity_ps                                                             │

00:00:31 #3476 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:31 #3477 [Verbose] >

00:00:31 #3478 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:31 #3479 [Verbose] > inl relativity_ps fs (st : particle_state) =

00:00:31 #3480 [Verbose] >     inl f_net = fs |> listm.map (fun f => f st) |> sum_vec

00:00:31 #3481 [Verbose] >     inl c = 299792458

00:00:31 #3482 [Verbose] >     inl u = st.velocity ^/ c

00:00:31 #3483 [Verbose] >     inl acc = sqrt (1 - (u <.> u)) *^ (f_net ^-^ (f_net <.> u) *^ u) ^/ st.mass

00:00:31 #3484 [Verbose] >     d_particle_state {

00:00:31 #3485 [Verbose] >         dmdt = 0

00:00:31 #3486 [Verbose] >         dqdt = 0

00:00:31 #3487 [Verbose] >         dtdt = 1

00:00:31 #3488 [Verbose] >         drdt = st.velocity

00:00:31 #3489 [Verbose] >         dvdt = acc

00:00:31 #3490 [Verbose] >     }

00:00:31 #3491 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0905-0745-4542-4ca1e686df76\main.spi

00:00:31 #3492 [Verbose] >

00:00:31 #3493 [Verbose] > ╭─[ 230.12ms - stdout ]────────────────────────────────────────────────────────╮

00:00:31 #3494 [Verbose] > │ ()                                                                           │

00:00:31 #3495 [Verbose] > │                                                                              │

00:00:31 #3496 [Verbose] > │                                                                              │

00:00:31 #3497 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:31 #3498 [Verbose] >

00:00:31 #3499 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:31 #3500 [Verbose] > // // test

00:00:31 #3501 [Verbose] >

00:00:31 #3502 [Verbose] > inl year = 365.25 * 24 * 60 * 60

00:00:31 #3503 [Verbose] > inl c = 299792458

00:00:31 #3504 [Verbose] > inl ~method = runge_kutta_4 100000

00:00:31 #3505 [Verbose] > inl forces = [[ fun _ => 10 *^ i_hat () ]]

00:00:31 #3506 [Verbose] > inl (particle_state default_particle_state') = default_particle_state ()

00:00:31 #3507 [Verbose] > inl initial_state =

00:00:31 #3508 [Verbose] >     particle_state { default_particle_state' with

00:00:31 #3509 [Verbose] >         mass = 1

00:00:31 #3510 [Verbose] >     }

00:00:31 #3511 [Verbose] >

00:00:31 #3512 [Verbose] > inl newton_states = solver_ method (newton_second_ps forces) initial_state

00:00:31 #3513 [Verbose] > inl relativity_states = solver_ method (relativity_ps forces) initial_state

00:00:31 #3514 [Verbose] >

00:00:31 #3515 [Verbose] > inl newton_x, newton_y =

00:00:31 #3516 [Verbose] >     newton_states

00:00:31 #3517 [Verbose] >     >> Some

00:00:31 #3518 [Verbose] >     |> seq.take_while_ (fun (particle_state st) (_ : i32) => st.time <= year)

00:00:31 #3519 [Verbose] >     |> listm.map (fun (particle_state st) => st.time / year, st.velocity.x / c)

00:00:31 #3520 [Verbose] >     |> listm'.unzip

00:00:31 #3521 [Verbose] >

00:00:31 #3522 [Verbose] > inl _, relativity_y =

00:00:31 #3523 [Verbose] >     relativity_states

00:00:31 #3524 [Verbose] >     >> Some

00:00:31 #3525 [Verbose] >     |> seq.take_while_ (fun (particle_state st) (_ : i32) => st.time <= year)

00:00:31 #3526 [Verbose] >     |> listm.map (fun (particle_state st) => st.time / year, st.velocity.x / c)

00:00:31 #3527 [Verbose] >     |> listm'.unzip

00:00:31 #3528 [Verbose] >

00:00:31 #3529 [Verbose] > inl newton_x : a i32 _ = newton_x |> listm.toArray

00:00:31 #3530 [Verbose] > inl newton_y : a i32 _ = newton_y |> listm.toArray

00:00:31 #3531 [Verbose] > inl relativity_y : a i32 _ = relativity_y |> listm.toArray

00:00:31 #3532 [Verbose] >

00:00:31 #3533 [Verbose] > "response to a constant force",

00:00:31 #3534 [Verbose] > "time (years)",

00:00:31 #3535 [Verbose] > "velocity (multiples of c)",

00:00:31 #3536 [Verbose] > ;[[

00:00:31 #3537 [Verbose] >     "newtonian", newton_x, newton_y

00:00:31 #3538 [Verbose] >     "relativistic", newton_x, relativity_y

00:00:31 #3539 [Verbose] > ]]

00:00:31 #3540 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0905-0768-6867-6195857ecf79\main.spi

00:00:31 #3541 [Verbose] >

00:00:31 #3542 [Verbose] > ╭─[ 539.82ms - return value ]──────────────────────────────────────────────────╮

00:00:31 #3543 [Verbose] > │ <svg width="640" height="480" viewBox="0 0 640 480"                          │

00:00:31 #3544 [Verbose] > │ xmlns="http://www.w3.org/2000/svg">                                          │

00:00:31 #3545 [Verbose] > │ <rect x="0" y="0" width="640" height="480" opacity="1" fill="#141414"        │

00:00:31 #3546 [Verbose] > │ stroke="none"/>                                                              │

00:00:31 #3547 [Verbose] > │ <text x="320" y="10" dy="0.76em" text-anchor="middle"                        │

00:00:31 #3548 [Verbose] > │ font-family="sans-serif" font-size="9.67741935483871" opacity="1"            │

00:00:31 #3549 [Verbose] > │ fill="#FFFFFF">                                                              │

00:00:31 #3550 [Verbose] > │ response to a constant force                                                 │

00:00:31 #3551 [Verbose] > │ </text>                                                                      │

00:00:31 #3552 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="59" y1="424" x2="59" │

00:00:31 #3553 [Verbose] > │ y2="75"/>                                                                    │

00:00:31 #3554 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="69" y1="424" x2="69" │

00:00:31 #3555 [Verbose] > │ y2="75"/>                                                                    │

00:00:31 #3556 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="79" y1="424" x2="79" │

00:00:31 #3557 [Verbose] > │ y2="75"/>                                                                    │

00:00:31 #3558 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="89" y1="424" x2="89" │

00:00:31 #3559 [Verbose] > │ y2="75"/>                                                                    │

00:00:31 #3560 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1=...                   │

00:00:31 #3561 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:31 #3562 [Verbose] >

00:00:32 #3563 [Verbose] > ╭─[ 552.31ms - stdout ]────────────────────────────────────────────────────────╮

00:00:32 #3564 [Verbose] > │ type UH0 =                                                                   │

00:00:32 #3565 [Verbose] > │     | UH0_0 of float * float * float * float * float * float * float * float │

00:00:32 #3566 [Verbose] > │ * float * UH0                                                                │

00:00:32 #3567 [Verbose] > │     | UH0_1                                                                  │

00:00:32 #3568 [Verbose] > │ and UH1 =                                                                    │

00:00:32 #3569 [Verbose] > │     | UH1_0 of float * float * UH1                                           │

00:00:32 #3570 [Verbose] > │     | UH1_1                                                                  │

00:00:32 #3571 [Verbose] > │ and UH2 =                                                                    │

00:00:32 #3572 [Verbose] > │     | UH2_0 of float * UH2                                                   │

00:00:32 #3573 [Verbose] > │     | UH2_1                                                                  │

00:00:32 #3574 [Verbose] > │ let rec closure1 (v0 : (struct (float * float * float * float * float *      │

00:00:32 #3575 [Verbose] > │ float * float * float * float) -> struct (float * float * float * float *    │

00:00:32 #3576 [Verbose] > │ float * float * float * float * float))) struct (v1 : float, v2 : float, v3  │

00:00:32 #3577 [Verbose] > │ : float, v4 : float, v5 : float, v6 : float, v7 : float, v8 : float, v9 :    │

00:00:32 #3578 [Verbose] > │ float) : struct (float * float * float * float * float * float * float *     │

00:00:32 #3579 [Verbose] > │ float * float) =                                                             │

00:00:32 #3580 [Verbose] > │     let struct (v10 : float, v11 : float, v12 : float, v13 : float, v14 :    │

00:00:32 #3581 [Verbose] > │ float, v15 : float, v16 : float, v17 : float, v18 : float) = v0 struct (v1,  │

00:00:32 #3582 [Verbose] > │ v2, v3, v4, v5, v6, v7, v8, v9)                                              │

00:00:32 #3583 [Verbose] > │     let v19 : float = v15 * 50000.0                                          │

00:00:32 #3584 [Verbose] > │     let v20 : float = v6 + v19                                               │

00:00:32 #3585 [Verbose] > │     let v21 : float = 50000.0 * v12                                          │

00:00:32 #3586 [Verbose] > │     let v22 : float = 50000.0 * v13                                          │

00:00:32 #3587 [Verbose] > │     let v23 : float = 50000.0 * v14                                          │

00:00:32 #3588 [Verbose] > │     let v24 : float = v3 + v21                                               │

00:00:32 #3589 [Verbose] > │     let v25 : float = v4 + v22                                               │

00:00:32 #3590 [Verbose] > │     let v26 : float = v5 + v23                                               │

00:00:32 #3591 [Verbose] > │     let v27 : float = 50000.0 * v16                                          │

00:00:32 #3592 [Verbose] > │     let v28 : float = 50000.0 * v17                                          │

00:00:32 #3593 [Verbose] > │     let v29 : float = 50000.0 * v18                                          │

00:00:32 #3594 [Verbose] > │     let v30 : float = v7 + v27                                               │

00:00:32 #3595 [Verbose] > │     let v31 : float = v8 + v28                                               │

00:00:32 #3596 [Verbose] > │     let v32 : float = v9 + v29                                               │

00:00:32 #3597 [Verbose] > │     let struct (v33 : float, v34 : float, v35 : float, v36 : float, v37 :    │

00:00:32 #3598 [Verbose] > │ float, v38 : float, v39 : float, v40 : float, v41 : float) = v0 struct (v1,  │

00:00:32 #3599 [Verbose] > │ v2, v24, v25, v26, v20, v30, v31, v32)                                       │

00:00:32 #3600 [Verbose] > │     let v42 : float = v38 * 50000.0                                          │

00:00:32 #3601 [Verbose] > │     let v43 : float = v6 + v42                                               │

00:00:32 #3602 [Verbose] > │     let v44 : float = 50000.0 * v35                                          │

00:00:32 #3603 [Verbose] > │     let v45 : float = 50000.0 * v36                                          │

00:00:32 #3604 [Verbose] > │     let v46 : float = 50000.0 * v37                                          │

00:00:32 #3605 [Verbose] > │     let v47 : float = v3 + v44                                               │

00:00:32 #3606 [Verbose] > │     let v48 : float = v4 + v45                                               │

00:00:32 #3607 [Verbose] > │     let v49 : float = v5 + v46                                               │

00:00:32 #3608 [Verbose] > │     let v50 : float = 50000.0 * v39                                          │

00:00:32 #3609 [Verbose] > │     let v51 : float = 50000.0 * v40                                          │

00:00:32 #3610 [Verbose] > │     let v52 : float = 50000.0 * v41                                          │

00:00:32 #3611 [Verbose] > │     let v53 : float = v7 + v50                                               │

00:00:32 #3612 [Verbose] > │     let v54 : float = v8 + v51                                               │

00:00:32 #3613 [Verbose] > │     let v55 : float = v9 + v52                                               │

00:00:32 #3614 [Verbose] > │     let struct (v56 : float, v57 : float, v58 : float, v59 : float, v60 :    │

00:00:32 #3615 [Verbose] > │ float, v61 : float, v62 : float, v63 : float, v64 : float) = v0 struct (v1,  │

00:00:32 #3616 [Verbose] > │ v2, v47, v48, v49, v43, v53, v54, v55)                                       │

00:00:32 #3617 [Verbose] > │     let v65 : float = v61 * 100000.0                                         │

00:00:32 #3618 [Verbose] > │     let v66 : float = v6 + v65                                               │

00:00:32 #3619 [Verbose] > │     let v67 : float = 100000.0 * v58                                         │

00:00:32 #3620 [Verbose] > │     let v68 : float = 100000.0 * v59                                         │

00:00:32 #3621 [Verbose] > │     let v69 : float = 100000.0 * v60                                         │

00:00:32 #3622 [Verbose] > │     let v70 : float = v3 + v67                                               │

00:00:32 #3623 [Verbose] > │     let v71 : float = v4 + v68                                               │

00:00:32 #3624 [Verbose] > │     let v72 : float = v5 + v69                                               │

00:00:32 #3625 [Verbose] > │     let v73 : float = 100000.0 * v62                                         │

00:00:32 #3626 [Verbose] > │     let v74 : float = 100000.0 * v63                                         │

00:00:32 #3627 [Verbose] > │     let v75 : float = 100000.0 * v64                                         │

00:00:32 #3628 [Verbose] > │     let v76 : float = v7 + v73                                               │

00:00:32 #3629 [Verbose] > │     let v77 : float = v8 + v74                                               │

00:00:32 #3630 [Verbose] > │     let v78 : float = v9 + v75                                               │

00:00:32 #3631 [Verbose] > │     let struct (v79 : float, v80 : float, v81 : float, v82 : float, v83 :    │

00:00:32 #3632 [Verbose] > │ float, v84 : float, v85 : float, v86 : float, v87 : float) = v0 struct (v1,  │

00:00:32 #3633 [Verbose] > │ v2, v70, v71, v72, v66, v76, v77, v78)                                       │

00:00:32 #3634 [Verbose] > │     let v88 : float = v10 + v33                                              │

00:00:32 #3635 [Verbose] > │     let v89 : float = v11 + v34                                              │

00:00:32 #3636 [Verbose] > │     let v90 : float = v15 + v38                                              │

00:00:32 #3637 [Verbose] > │     let v91 : float = v12 + v35                                              │

00:00:32 #3638 [Verbose] > │     let v92 : float = v13 + v36                                              │

00:00:32 #3639 [Verbose] > │     let v93 : float = v14 + v37                                              │

00:00:32 #3640 [Verbose] > │     let v94 : float = v16 + v39                                              │

00:00:32 #3641 [Verbose] > │     let v95 : float = v17 + v40                                              │

00:00:32 #3642 [Verbose] > │     let v96 : float = v18 + v41                                              │

00:00:32 #3643 [Verbose] > │     let v97 : float = v88 + v33                                              │

00:00:32 #3644 [Verbose] > │     let v98 : float = v89 + v34                                              │

00:00:32 #3645 [Verbose] > │     let v99 : float = v90 + v38                                              │

00:00:32 #3646 [Verbose] > │     let v100 : float = v91 + v35                                             │

00:00:32 #3647 [Verbose] > │     let v101 : float = v92 + v36                                             │

00:00:32 #3648 [Verbose] > │     let v102 : float = v93 + v37                                             │

00:00:32 #3649 [Verbose] > │     let v103 : float = v94 + v39                                             │

00:00:32 #3650 [Verbose] > │     let v104 : float = v95 + v40                                             │

00:00:32 #3651 [Verbose] > │     let v105 : float = v96 + v41                                             │

00:00:32 #3652 [Verbose] > │     let v106 : float = v97 + v56                                             │

00:00:32 #3653 [Verbose] > │     let v107 : float = v98 + v57                                             │

00:00:32 #3654 [Verbose] > │     let v108 : float = v99 + v61                                             │

00:00:32 #3655 [Verbose] > │     let v109 : float = v100 + v58                                            │

00:00:32 #3656 [Verbose] > │     let v110 : float = v101 + v59                                            │

00:00:32 #3657 [Verbose] > │     let v111 : float = v102 + v60                                            │

00:00:32 #3658 [Verbose] > │     let v112 : float = v103 + v62                                            │

00:00:32 #3659 [Verbose] > │     let v113 : float = v104 + v63                                            │

00:00:32 #3660 [Verbose] > │     let v114 : float = v105 + v64                                            │

00:00:32 #3661 [Verbose] > │     let v115 : float = v106 + v56                                            │

00:00:32 #3662 [Verbose] > │     let v116 : float = v107 + v57                                            │

00:00:32 #3663 [Verbose] > │     let v117 : float = v108 + v61                                            │

00:00:32 #3664 [Verbose] > │     let v118 : float = v109 + v58                                            │

00:00:32 #3665 [Verbose] > │     let v119 : float = v110 + v59                                            │

00:00:32 #3666 [Verbose] > │     let v120 : float = v111 + v60                                            │

00:00:32 #3667 [Verbose] > │     let v121 : float = v112 + v62                                            │

00:00:32 #3668 [Verbose] > │     let v122 : float = v113 + v63                                            │

00:00:32 #3669 [Verbose] > │     let v123 : float = v114 + v64                                            │

00:00:32 #3670 [Verbose] > │     let v124 : float = v115 + v79                                            │

00:00:32 #3671 [Verbose] > │     let v125 : float = v116 + v80                                            │

00:00:32 #3672 [Verbose] > │     let v126 : float = v117 + v84                                            │

00:00:32 #3673 [Verbose] > │     let v127 : float = v118 + v81                                            │

00:00:32 #3674 [Verbose] > │     let v128 : float = v119 + v82                                            │

00:00:32 #3675 [Verbose] > │     let v129 : float = v120 + v83                                            │

00:00:32 #3676 [Verbose] > │     let v130 : float = v121 + v85                                            │

00:00:32 #3677 [Verbose] > │     let v131 : float = v122 + v86                                            │

00:00:32 #3678 [Verbose] > │     let v132 : float = v123 + v87                                            │

00:00:32 #3679 [Verbose] > │     let v133 : float = v126 * 16666.666666666668                             │

00:00:32 #3680 [Verbose] > │     let v134 : float = v6 + v133                                             │

00:00:32 #3681 [Verbose] > │     let v135 : float = 16666.666666666668 * v127                             │

00:00:32 #3682 [Verbose] > │     let v136 : float = 16666.666666666668 * v128                             │

00:00:32 #3683 [Verbose] > │     let v137 : float = 16666.666666666668 * v129                             │

00:00:32 #3684 [Verbose] > │     let v138 : float = v3 + v135                                             │

00:00:32 #3685 [Verbose] > │     let v139 : float = v4 + v136                                             │

00:00:32 #3686 [Verbose] > │     let v140 : float = v5 + v137                                             │

00:00:32 #3687 [Verbose] > │     let v141 : float = 16666.666666666668 * v130                             │

00:00:32 #3688 [Verbose] > │     let v142 : float = 16666.666666666668 * v131                             │

00:00:32 #3689 [Verbose] > │     let v143 : float = 16666.666666666668 * v132                             │

00:00:32 #3690 [Verbose] > │     let v144 : float = v7 + v141                                             │

00:00:32 #3691 [Verbose] > │     let v145 : float = v8 + v142                                             │

00:00:32 #3692 [Verbose] > │     let v146 : float = v9 + v143                                             │

00:00:32 #3693 [Verbose] > │     struct (v1, v2, v138, v139, v140, v134, v144, v145, v146)                │

00:00:32 #3694 [Verbose] > │ and closure0 () (v0 : (struct (float * float * float * float * float * float │

00:00:32 #3695 [Verbose] > │ * float * float * float) -> struct (float * float * float * float * float *  │

00:00:32 #3696 [Verbose] > │ float * float * float * float))) : (struct (float * float * float * float *  │

00:00:32 #3697 [Verbose] > │ float * float * float * float * float) -> struct (float * float * float *    │

00:00:32 #3698 [Verbose] > │ float * float * float * float * float * float)) =                            │

00:00:32 #3699 [Verbose] > │     closure1(v0)                                                             │

00:00:32 #3700 [Verbose] > │ and closure2 () struct (v0 : float, v1 : float, v2 : float, v3 : float, v4 : │

00:00:32 #3701 [Verbose] > │ float, v5 : float, v6 : float, v7 : float, v8 : float) : struct (float *     │

00:00:32 #3702 [Verbose] > │ float * float * float * float * float * float * float * float) =             │

00:00:32 #3703 [Verbose] > │     let v9 : float = 10.0 / v1                                               │

00:00:32 #3704 [Verbose] > │     let v10 : float = 0.0 / v1                                               │

00:00:32 #3705 [Verbose] > │     struct (0.0, 0.0, v6, v7, v8, 1.0, v9, v10, v10)                         │

00:00:32 #3706 [Verbose] > │ and closure3 () struct (v0 : float, v1 : float, v2 : float, v3 : float, v4 : │

00:00:32 #3707 [Verbose] > │ float, v5 : float, v6 : float, v7 : float, v8 : float) : struct (float *     │

00:00:32 #3708 [Verbose] > │ float * float * float * float * float * float * float * float) =             │

00:00:32 #3709 [Verbose] > │     let v9 : float = v6 / 299792458.0                                        │

00:00:32 #3710 [Verbose] > │     let v10 : float = v7 / 299792458.0                                       │

00:00:32 #3711 [Verbose] > │     let v11 : float = v8 / 299792458.0                                       │

00:00:32 #3712 [Verbose] > │     let v12 : float = v9 * v9                                                │

00:00:32 #3713 [Verbose] > │     let v13 : float = v10 * v10                                              │

00:00:32 #3714 [Verbose] > │     let v14 : float = v12 + v13                                              │

00:00:32 #3715 [Verbose] > │     let v15 : float = v11 * v11                                              │

00:00:32 #3716 [Verbose] > │     let v16 : float = v14 + v15                                              │

00:00:32 #3717 [Verbose] > │     let v17 : float = 1.0 - v16                                              │

00:00:32 #3718 [Verbose] > │     let v18 : float = sqrt v17                                               │

00:00:32 #3719 [Verbose] > │     let v19 : float = 10.0 * v9                                              │

00:00:32 #3720 [Verbose] > │     let v20 : float = 0.0 * v10                                              │

00:00:32 #3721 [Verbose] > │     let v21 : float = v19 + v20                                              │

00:00:32 #3722 [Verbose] > │     let v22 : float = 0.0 * v11                                              │

00:00:32 #3723 [Verbose] > │     let v23 : float = v21 + v22                                              │

00:00:32 #3724 [Verbose] > │     let v24 : float = v23 * v9                                               │

00:00:32 #3725 [Verbose] > │     let v25 : float = v23 * v10                                              │

00:00:32 #3726 [Verbose] > │     let v26 : float = v23 * v11                                              │

00:00:32 #3727 [Verbose] > │     let v27 : float = -1.0 * v24                                             │

00:00:32 #3728 [Verbose] > │     let v28 : float = -1.0 * v25                                             │

00:00:32 #3729 [Verbose] > │     let v29 : float = -1.0 * v26                                             │

00:00:32 #3730 [Verbose] > │     let v30 : float = 10.0 + v27                                             │

00:00:32 #3731 [Verbose] > │     let v31 : float = v18 * v30                                              │

00:00:32 #3732 [Verbose] > │     let v32 : float = v18 * v28                                              │

00:00:32 #3733 [Verbose] > │     let v33 : float = v18 * v29                                              │

00:00:32 #3734 [Verbose] > │     let v34 : float = v31 / v1                                               │

00:00:32 #3735 [Verbose] > │     let v35 : float = v32 / v1                                               │

00:00:32 #3736 [Verbose] > │     let v36 : float = v33 / v1                                               │

00:00:32 #3737 [Verbose] > │     struct (0.0, 0.0, v6, v7, v8, 1.0, v34, v35, v36)                        │

00:00:32 #3738 [Verbose] > │ and method2 (v0 : (struct (float * float * float * float * float * float *   │

00:00:32 #3739 [Verbose] > │ float * float * float) -> struct (float * float * float * float * float *    │

00:00:32 #3740 [Verbose] > │ float * float * float * float)), v1 : float, v2 : float, v3 : float, v4 :    │

00:00:32 #3741 [Verbose] > │ float, v5 : float, v6 : float, v7 : float, v8 : float, v9 : float, v10 :     │

00:00:32 #3742 [Verbose] > │ int32) : struct (float * float * float * float * float * float * float *     │

00:00:32 #3743 [Verbose] > │ float * float) =                                                             │

00:00:32 #3744 [Verbose] > │     let v11 : bool = v10 <= 0                                                │

00:00:32 #3745 [Verbose] > │     if v11 then                                                              │

00:00:32 #3746 [Verbose] > │         struct (v1, v2, v3, v4, v5, v6, v7, v8, v9)                          │

00:00:32 #3747 [Verbose] > │     else                                                                     │

00:00:32 #3748 [Verbose] > │         let struct (v12 : float, v13 : float, v14 : float, v15 : float, v16  │

00:00:32 #3749 [Verbose] > │ : float, v17 : float, v18 : float, v19 : float, v20 : float) = v0 struct     │

00:00:32 #3750 [Verbose] > │ (v1, v2, v3, v4, v5, v6, v7, v8, v9)                                         │

00:00:32 #3751 [Verbose] > │         let v21 : int32 = v10 - 1                                            │

00:00:32 #3752 [Verbose] > │         method2(v0, v12, v13, v14, v15, v16, v17, v18, v19, v20, v21)        │

00:00:32 #3753 [Verbose] > │ and method3 (v0 : UH0, v1 : UH0) : UH0 =                                     │

00:00:32 #3754 [Verbose] > │     match v0 with                                                            │

00:00:32 #3755 [Verbose] > │     | UH0_0(v2, v3, v4, v5, v6, v7, v8, v9, v10, v11) -> (* Cons *)          │

00:00:32 #3756 [Verbose] > │         let v12 : UH0 = UH0_0(v2, v3, v4, v5, v6, v7, v8, v9, v10, v1)       │

00:00:32 #3757 [Verbose] > │         method3(v11, v12)                                                    │

00:00:32 #3758 [Verbose] > │     | UH0_1 -> (* Nil *)                                                     │

00:00:32 #3759 [Verbose] > │         v1                                                                   │

00:00:32 #3760 [Verbose] > │ and method1 (v0 : (struct (float * float * float * float * float * float *   │

00:00:32 #3761 [Verbose] > │ float * float * float) -> struct (float * float * float * float * float *    │

00:00:32 #3762 [Verbose] > │ float * float * float * float)), v1 : UH0, v2 : int32) : UH0 =               │

00:00:32 #3763 [Verbose] > │     let v3 : float = 0.0                                                     │

00:00:32 #3764 [Verbose] > │     let v4 : float = 1.0                                                     │

00:00:32 #3765 [Verbose] > │     let v5 : float = 0.0                                                     │

00:00:32 #3766 [Verbose] > │     let v6 : float = 0.0                                                     │

00:00:32 #3767 [Verbose] > │     let v7 : float = 0.0                                                     │

00:00:32 #3768 [Verbose] > │     let v8 : float = 0.0                                                     │

00:00:32 #3769 [Verbose] > │     let v9 : float = 0.0                                                     │

00:00:32 #3770 [Verbose] > │     let v10 : float = 0.0                                                    │

00:00:32 #3771 [Verbose] > │     let v11 : float = 0.0                                                    │

00:00:32 #3772 [Verbose] > │     let struct (v12 : float, v13 : float, v14 : float, v15 : float, v16 :    │

00:00:32 #3773 [Verbose] > │ float, v17 : float, v18 : float, v19 : float, v20 : float) = method2(v0, v3, │

00:00:32 #3774 [Verbose] > │ v4, v5, v6, v7, v8, v9, v10, v11, v2)                                        │

00:00:32 #3775 [Verbose] > │     let v21 : bool = v17 <= 31557600.0                                       │

00:00:32 #3776 [Verbose] > │     if v21 then                                                              │

00:00:32 #3777 [Verbose] > │         let v22 : UH0 = UH0_0(v12, v13, v14, v15, v16, v17, v18, v19, v20,   │

00:00:32 #3778 [Verbose] > │ v1)                                                                          │

00:00:32 #3779 [Verbose] > │         let v23 : int32 = v2 + 1                                             │

00:00:32 #3780 [Verbose] > │         method1(v0, v22, v23)                                                │

00:00:32 #3781 [Verbose] > │     else                                                                     │

00:00:32 #3782 [Verbose] > │         let v25 : UH0 = UH0_1                                                │

00:00:32 #3783 [Verbose] > │         method3(v1, v25)                                                     │

00:00:32 #3784 [Verbose] > │ and method4 (v0 : UH0, v1 : UH1) : UH1 =                                     │

00:00:32 #3785 [Verbose] > │     match v0 with                                                            │

00:00:32 #3786 [Verbose] > │     | UH0_0(v2, v3, v4, v5, v6, v7, v8, v9, v10, v11) -> (* Cons *)          │

00:00:32 #3787 [Verbose] > │         let v12 : UH1 = method4(v11, v1)                                     │

00:00:32 #3788 [Verbose] > │         let v13 : float = v7 / 31557600.0                                    │

00:00:32 #3789 [Verbose] > │         let v14 : float = v8 / 299792458.0                                   │

00:00:32 #3790 [Verbose] > │         UH1_0(v13, v14, v12)                                                 │

00:00:32 #3791 [Verbose] > │     | UH0_1 -> (* Nil *)                                                     │

00:00:32 #3792 [Verbose] > │         v1                                                                   │

00:00:32 #3793 [Verbose] > │ and method5 (v0 : UH1, v1 : UH2, v2 : UH2) : struct (UH2 * UH2) =            │

00:00:32 #3794 [Verbose] > │     match v0 with                                                            │

00:00:32 #3795 [Verbose] > │     | UH1_0(v3, v4, v5) -> (* Cons *)                                        │

00:00:32 #3796 [Verbose] > │         let v6 : UH2 = UH2_0(v3, v1)                                         │

00:00:32 #3797 [Verbose] > │         let v7 : UH2 = UH2_0(v4, v2)                                         │

00:00:32 #3798 [Verbose] > │         method5(v5, v6, v7)                                                  │

00:00:32 #3799 [Verbose] > │     | UH1_1 -> (* Nil *)                                                     │

00:00:32 #3800 [Verbose] > │         struct (v1, v2)                                                      │

00:00:32 #3801 [Verbose] > │ and method6 (v0 : UH2, v1 : UH2) : UH2 =                                     │

00:00:32 #3802 [Verbose] > │     match v0 with                                                            │

00:00:32 #3803 [Verbose] > │     | UH2_0(v2, v3) -> (* Cons *)                                            │

00:00:32 #3804 [Verbose] > │         let v4 : UH2 = UH2_0(v2, v1)                                         │

00:00:32 #3805 [Verbose] > │         method6(v3, v4)                                                      │

00:00:32 #3806 [Verbose] > │     | UH2_1 -> (* Nil *)                                                     │

00:00:32 #3807 [Verbose] > │         v1                                                                   │

00:00:32 #3808 [Verbose] > │ and method7 (v0 : (struct (float * float * float * float * float * float *   │

00:00:32 #3809 [Verbose] > │ float * float * float) -> struct (float * float * float * float * float *    │

00:00:32 #3810 [Verbose] > │ float * float * float * float)), v1 : UH0, v2 : int32) : UH0 =               │

00:00:32 #3811 [Verbose] > │     let v3 : float = 0.0                                                     │

00:00:32 #3812 [Verbose] > │     let v4 : float = 1.0                                                     │

00:00:32 #3813 [Verbose] > │     let v5 : float = 0.0                                                     │

00:00:32 #3814 [Verbose] > │     let v6 : float = 0.0                                                     │

00:00:32 #3815 [Verbose] > │     let v7 : float = 0.0                                                     │

00:00:32 #3816 [Verbose] > │     let v8 : float = 0.0                                                     │

00:00:32 #3817 [Verbose] > │     let v9 : float = 0.0                                                     │

00:00:32 #3818 [Verbose] > │     let v10 : float = 0.0                                                    │

00:00:32 #3819 [Verbose] > │     let v11 : float = 0.0                                                    │

00:00:32 #3820 [Verbose] > │     let struct (v12 : float, v13 : float, v14 : float, v15 : float, v16 :    │

00:00:32 #3821 [Verbose] > │ float, v17 : float, v18 : float, v19 : float, v20 : float) = method2(v0, v3, │

00:00:32 #3822 [Verbose] > │ v4, v5, v6, v7, v8, v9, v10, v11, v2)                                        │

00:00:32 #3823 [Verbose] > │     let v21 : bool = v17 <= 31557600.0                                       │

00:00:32 #3824 [Verbose] > │     if v21 then                                                              │

00:00:32 #3825 [Verbose] > │         let v22 : UH0 = UH0_0(v12, v13, v14, v15, v16, v17, v18, v19, v20,   │

00:00:32 #3826 [Verbose] > │ v1)                                                                          │

00:00:32 #3827 [Verbose] > │         let v23 : int32 = v2 + 1                                             │

00:00:32 #3828 [Verbose] > │         method7(v0, v22, v23)                                                │

00:00:32 #3829 [Verbose] > │     else                                                                     │

00:00:32 #3830 [Verbose] > │         let v25 : UH0 = UH0_1                                                │

00:00:32 #3831 [Verbose] > │         method3(v1, v25)                                                     │

00:00:32 #3832 [Verbose] > │ and method8 (v0 : UH0, v1 : UH1) : UH1 =                                     │

00:00:32 #3833 [Verbose] > │     match v0 with                                                            │

00:00:32 #3834 [Verbose] > │     | UH0_0(v2, v3, v4, v5, v6, v7, v8, v9, v10, v11) -> (* Cons *)          │

00:00:32 #3835 [Verbose] > │         let v12 : UH1 = method8(v11, v1)                                     │

00:00:32 #3836 [Verbose] > │         let v13 : float = v7 / 31557600.0                                    │

00:00:32 #3837 [Verbose] > │         let v14 : float = v8 / 299792458.0                                   │

00:00:32 #3838 [Verbose] > │         UH1_0(v13, v14, v12)                                                 │

00:00:32 #3839 [Verbose] > │     | UH0_1 -> (* Nil *)                                                     │

00:00:32 #3840 [Verbose] > │         v1                                                                   │

00:00:32 #3841 [Verbose] > │ and method10 (v0 : UH2, v1 : int32) : int32 =                                │

00:00:32 #3842 [Verbose] > │     match v0 with                                                            │

00:00:32 #3843 [Verbose] > │     | UH2_0(v2, v3) -> (* Cons *)                                            │

00:00:32 #3844 [Verbose] > │         let v4 : int32 = v1 + 1                                              │

00:00:32 #3845 [Verbose] > │         method10(v3, v4)                                                     │

00:00:32 #3846 [Verbose] > │     | UH2_1 -> (* Nil *)                                                     │

00:00:32 #3847 [Verbose] > │         v1                                                                   │

00:00:32 #3848 [Verbose] > │ and method11 (v0 : (float []), v1 : UH2, v2 : int32) : int32 =               │

00:00:32 #3849 [Verbose] > │     match v1 with                                                            │

00:00:32 #3850 [Verbose] > │     | UH2_0(v3, v4) -> (* Cons *)                                            │

00:00:32 #3851 [Verbose] > │         v0.[int v2] <- v3                                                    │

00:00:32 #3852 [Verbose] > │         let v5 : int32 = v2 + 1                                              │

00:00:32 #3853 [Verbose] > │         method11(v0, v4, v5)                                                 │

00:00:32 #3854 [Verbose] > │     | UH2_1 -> (* Nil *)                                                     │

00:00:32 #3855 [Verbose] > │         v2                                                                   │

00:00:32 #3856 [Verbose] > │ and method9 (v0 : UH2) : (float []) =                                        │

00:00:32 #3857 [Verbose] > │     let v1 : int32 = 0                                                       │

00:00:32 #3858 [Verbose] > │     let v2 : int32 = method10(v0, v1)                                        │

00:00:32 #3859 [Verbose] > │     let v3 : (float []) = Array.zeroCreate<float> (v2)                       │

00:00:32 #3860 [Verbose] > │     let v4 : int32 = 0                                                       │

00:00:32 #3861 [Verbose] > │     let v5 : int32 = method11(v3, v0, v4)                                    │

00:00:32 #3862 [Verbose] > │     v3                                                                       │

00:00:32 #3863 [Verbose] > │ and method12 (v0 : (struct (string * (float []) * (float [])) [])) : (struct │

00:00:32 #3864 [Verbose] > │ (string * (float []) * (float [])) []) =                                     │

00:00:32 #3865 [Verbose] > │     v0                                                                       │

00:00:32 #3866 [Verbose] > │ and method0 () : struct (string * string * string * (struct (string * (float │

00:00:32 #3867 [Verbose] > │ []) * (float [])) [])) =                                                     │

00:00:32 #3868 [Verbose] > │     let v0 : ((struct (float * float * float * float * float * float * float │

00:00:32 #3869 [Verbose] > │ * float * float) -> struct (float * float * float * float * float * float *  │

00:00:32 #3870 [Verbose] > │ float * float * float)) -> (struct (float * float * float * float * float *  │

00:00:32 #3871 [Verbose] > │ float * float * float * float) -> struct (float * float * float * float *    │

00:00:32 #3872 [Verbose] > │ float * float * float * float * float))) = closure0()                        │

00:00:32 #3873 [Verbose] > │     let v1 : (struct (float * float * float * float * float * float * float  │

00:00:32 #3874 [Verbose] > │ * float * float) -> struct (float * float * float * float * float * float *  │

00:00:32 #3875 [Verbose] > │ float * float * float)) = closure2()                                         │

00:00:32 #3876 [Verbose] > │     let v2 : (struct (float * float * float * float * float * float * float  │

00:00:32 #3877 [Verbose] > │ * float * float) -> struct (float * float * float * float * float * float *  │

00:00:32 #3878 [Verbose] > │ float * float * float)) = v0 v1                                              │

00:00:32 #3879 [Verbose] > │     let v3 : (struct (float * float * float * float * float * float * float  │

00:00:32 #3880 [Verbose] > │ * float * float) -> struct (float * float * float * float * float * float *  │

00:00:32 #3881 [Verbose] > │ float * float * float)) = closure3()                                         │

00:00:32 #3882 [Verbose] > │     let v4 : (struct (float * float * float * float * float * float * float  │

00:00:32 #3883 [Verbose] > │ * float * float) -> struct (float * float * float * float * float * float *  │

00:00:32 #3884 [Verbose] > │ float * float * float)) = v0 v3                                              │

00:00:32 #3885 [Verbose] > │     let v5 : UH0 = UH0_1                                                     │

00:00:32 #3886 [Verbose] > │     let v6 : int32 = 0                                                       │

00:00:32 #3887 [Verbose] > │     let v7 : UH0 = method1(v2, v5, v6)                                       │

00:00:32 #3888 [Verbose] > │     let v8 : UH1 = UH1_1                                                     │

00:00:32 #3889 [Verbose] > │     let v9 : UH1 = method4(v7, v8)                                           │

00:00:32 #3890 [Verbose] > │     let v10 : UH2 = UH2_1                                                    │

00:00:32 #3891 [Verbose] > │     let v11 : UH2 = UH2_1                                                    │

00:00:32 #3892 [Verbose] > │     let struct (v12 : UH2, v13 : UH2) = method5(v9, v10, v11)                │

00:00:32 #3893 [Verbose] > │     let v14 : UH2 = UH2_1                                                    │

00:00:32 #3894 [Verbose] > │     let v15 : UH2 = method6(v12, v14)                                        │

00:00:32 #3895 [Verbose] > │     let v16 : UH2 = UH2_1                                                    │

00:00:32 #3896 [Verbose] > │     let v17 : UH2 = method6(v13, v16)                                        │

00:00:32 #3897 [Verbose] > │     let v18 : UH0 = UH0_1                                                    │

00:00:32 #3898 [Verbose] > │     let v19 : int32 = 0                                                      │

00:00:32 #3899 [Verbose] > │     let v20 : UH0 = method7(v4, v18, v19)                                    │

00:00:32 #3900 [Verbose] > │     let v21 : UH1 = UH1_1                                                    │

00:00:32 #3901 [Verbose] > │     let v22 : UH1 = method8(v20, v21)                                        │

00:00:32 #3902 [Verbose] > │     let v23 : UH2 = UH2_1                                                    │

00:00:32 #3903 [Verbose] > │     let v24 : UH2 = UH2_1                                                    │

00:00:32 #3904 [Verbose] > │     let struct (v25 : UH2, v26 : UH2) = method5(v22, v23, v24)               │

00:00:32 #3905 [Verbose] > │     let v27 : UH2 = UH2_1                                                    │

00:00:32 #3906 [Verbose] > │     let v28 : UH2 = method6(v25, v27)                                        │

00:00:32 #3907 [Verbose] > │     let v29 : UH2 = UH2_1                                                    │

00:00:32 #3908 [Verbose] > │     let v30 : UH2 = method6(v26, v29)                                        │

00:00:32 #3909 [Verbose] > │     let v31 : (float []) = method9(v15)                                      │

00:00:32 #3910 [Verbose] > │     let v32 : (float []) = method9(v17)                                      │

00:00:32 #3911 [Verbose] > │     let v33 : (float []) = method9(v30)                                      │

00:00:32 #3912 [Verbose] > │     let v34 : string = "newtonian"                                           │

00:00:32 #3913 [Verbose] > │     let v35 : string = "relativistic"                                        │

00:00:32 #3914 [Verbose] > │     let v36 : (struct (string * (float []) * (float [])) []) = [|struct      │

00:00:32 #3915 [Verbose] > │ (v34, v31, v32); struct (v35, v31, v33)|]                                    │

00:00:32 #3916 [Verbose] > │     let v37 : (struct (string * (float []) * (float [])) []) = method12(v36) │

00:00:32 #3917 [Verbose] > │     let v38 : string = "response to a constant force"                        │

00:00:32 #3918 [Verbose] > │     let v39 : string = "time (years)"                                        │

00:00:32 #3919 [Verbose] > │     let v40 : string = "velocity (multiples of c)"                           │

00:00:32 #3920 [Verbose] > │     struct (v38, v39, v40, v37)                                              │

00:00:32 #3921 [Verbose] > │ method0()                                                                    │

00:00:32 #3922 [Verbose] > │                                                                              │

00:00:32 #3923 [Verbose] > │                                                                              │

00:00:32 #3924 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:32 #3925 [Verbose] >

00:00:32 #3926 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:32 #3927 [Verbose] > inl uniform_lorentz_force v_e v_b (st : particle_state) =

00:00:32 #3928 [Verbose] >     st.charge *^ (v_e ^+^ st.velocity >< v_b)

00:00:32 #3929 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0905-0836-3632-303c716e3669\main.spi

00:00:32 #3930 [Verbose] >

00:00:32 #3931 [Verbose] > ╭─[ 450.13ms - stdout ]────────────────────────────────────────────────────────╮

00:00:32 #3932 [Verbose] > │ ()                                                                           │

00:00:32 #3933 [Verbose] > │                                                                              │

00:00:32 #3934 [Verbose] > │                                                                              │

00:00:32 #3935 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:32 #3936 [Verbose] >

00:00:32 #3937 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:32 #3938 [Verbose] > // // test

00:00:32 #3939 [Verbose] >

00:00:32 #3940 [Verbose] > inl c : f64 = 299792458

00:00:32 #3941 [Verbose] > inl ~method = runge_kutta_4 0.000000001

00:00:32 #3942 [Verbose] > inl forces = [[ uniform_lorentz_force (zero_vec ()) (k_hat ()) ]]

00:00:32 #3943 [Verbose] > inl (particle_state default_particle_state') = default_particle_state ()

00:00:32 #3944 [Verbose] > inl initial_state =

00:00:32 #3945 [Verbose] >     particle_state { default_particle_state' with

00:00:32 #3946 [Verbose] >         mass = 0.000000000000000000000000001672621898

00:00:32 #3947 [Verbose] >         charge = 0.0000000000000000001602176621

00:00:32 #3948 [Verbose] >         velocity = 0.8 *^ (c *^ j_hat ())

00:00:32 #3949 [Verbose] >     }

00:00:32 #3950 [Verbose] >

00:00:32 #3951 [Verbose] > inl newton_states = solver_ method (newton_second_ps forces) initial_state

00:00:32 #3952 [Verbose] > inl relativity_states = solver_ method (relativity_ps forces) initial_state

00:00:32 #3953 [Verbose] >

00:00:32 #3954 [Verbose] > inl newton_x, newton_y =

00:00:32 #3955 [Verbose] >     newton_states

00:00:32 #3956 [Verbose] >     >> Some

00:00:32 #3957 [Verbose] >     |> seq.take_while_ (fun (particle_state st) i => i < 100i32)

00:00:32 #3958 [Verbose] >     |> listm.map (fun (particle_state st) => st.pos_vec.x, st.pos_vec.y)

00:00:32 #3959 [Verbose] >     |> listm'.unzip

00:00:32 #3960 [Verbose] >

00:00:32 #3961 [Verbose] > inl relativity_x, relativity_y =

00:00:32 #3962 [Verbose] >     relativity_states

00:00:32 #3963 [Verbose] >     >> Some

00:00:32 #3964 [Verbose] >     |> seq.take_while_ (fun (particle_state st) i => i < 165i32)

00:00:32 #3965 [Verbose] >     |> listm.map (fun (particle_state st) => st.pos_vec.x, st.pos_vec.y)

00:00:32 #3966 [Verbose] >     |> listm'.unzip

00:00:32 #3967 [Verbose] >

00:00:32 #3968 [Verbose] > inl newton_x : a i32 _ = newton_x |> listm.toArray

00:00:32 #3969 [Verbose] > inl newton_y : a i32 _ = newton_y |> listm.toArray

00:00:32 #3970 [Verbose] >

00:00:32 #3971 [Verbose] > inl relativity_x : a i32 _ = relativity_x |> listm.toArray

00:00:32 #3972 [Verbose] > inl relativity_y : a i32 _ = relativity_y |> listm.toArray

00:00:32 #3973 [Verbose] >

00:00:32 #3974 [Verbose] > "proton in a 1-t magnetic field",

00:00:32 #3975 [Verbose] > "x (m)",

00:00:32 #3976 [Verbose] > "y (m)",

00:00:32 #3977 [Verbose] > ;[[

00:00:32 #3978 [Verbose] >     "newtonian", newton_x, newton_y

00:00:32 #3979 [Verbose] >     "relativistic", relativity_x, relativity_y

00:00:32 #3980 [Verbose] > ]]

00:00:32 #3981 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0905-0881-8144-81c0e0b86a56\main.spi

00:00:33 #3982 [Verbose] >

00:00:33 #3983 [Verbose] > ╭─[ 451.32ms - return value ]──────────────────────────────────────────────────╮

00:00:33 #3984 [Verbose] > │ <svg width="640" height="480" viewBox="0 0 640 480"                          │

00:00:33 #3985 [Verbose] > │ xmlns="http://www.w3.org/2000/svg">                                          │

00:00:33 #3986 [Verbose] > │ <rect x="0" y="0" width="640" height="480" opacity="1" fill="#141414"        │

00:00:33 #3987 [Verbose] > │ stroke="none"/>                                                              │

00:00:33 #3988 [Verbose] > │ <text x="320" y="10" dy="0.76em" text-anchor="middle"                        │

00:00:33 #3989 [Verbose] > │ font-family="sans-serif" font-size="9.67741935483871" opacity="1"            │

00:00:33 #3990 [Verbose] > │ fill="#FFFFFF">                                                              │

00:00:33 #3991 [Verbose] > │ proton in a 1-t magnetic field                                               │

00:00:33 #3992 [Verbose] > │ </text>                                                                      │

00:00:33 #3993 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="58" y1="424" x2="58" │

00:00:33 #3994 [Verbose] > │ y2="75"/>                                                                    │

00:00:33 #3995 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="69" y1="424" x2="69" │

00:00:33 #3996 [Verbose] > │ y2="75"/>                                                                    │

00:00:33 #3997 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="81" y1="424" x2="81" │

00:00:33 #3998 [Verbose] > │ y2="75"/>                                                                    │

00:00:33 #3999 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="93" y1="424" x2="93" │

00:00:33 #4000 [Verbose] > │ y2="75"/>                                                                    │

00:00:33 #4001 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x...                     │

00:00:33 #4002 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:33 #4003 [Verbose] >

00:00:33 #4004 [Verbose] > ╭─[ 466.13ms - stdout ]────────────────────────────────────────────────────────╮

00:00:33 #4005 [Verbose] > │ type UH0 =                                                                   │

00:00:33 #4006 [Verbose] > │     | UH0_0 of float * float * float * float * float * float * float * float │

00:00:33 #4007 [Verbose] > │ * float * UH0                                                                │

00:00:33 #4008 [Verbose] > │     | UH0_1                                                                  │

00:00:33 #4009 [Verbose] > │ and UH1 =                                                                    │

00:00:33 #4010 [Verbose] > │     | UH1_0 of float * float * UH1                                           │

00:00:33 #4011 [Verbose] > │     | UH1_1                                                                  │

00:00:33 #4012 [Verbose] > │ and UH2 =                                                                    │

00:00:33 #4013 [Verbose] > │     | UH2_0 of float * UH2                                                   │

00:00:33 #4014 [Verbose] > │     | UH2_1                                                                  │

00:00:33 #4015 [Verbose] > │ let rec closure1 (v0 : (struct (float * float * float * float * float *      │

00:00:33 #4016 [Verbose] > │ float * float * float * float) -> struct (float * float * float * float *    │

00:00:33 #4017 [Verbose] > │ float * float * float * float * float))) struct (v1 : float, v2 : float, v3  │

00:00:33 #4018 [Verbose] > │ : float, v4 : float, v5 : float, v6 : float, v7 : float, v8 : float, v9 :    │

00:00:33 #4019 [Verbose] > │ float) : struct (float * float * float * float * float * float * float *     │

00:00:33 #4020 [Verbose] > │ float * float) =                                                             │

00:00:33 #4021 [Verbose] > │     let struct (v10 : float, v11 : float, v12 : float, v13 : float, v14 :    │

00:00:33 #4022 [Verbose] > │ float, v15 : float, v16 : float, v17 : float, v18 : float) = v0 struct (v1,  │

00:00:33 #4023 [Verbose] > │ v2, v3, v4, v5, v6, v7, v8, v9)                                              │

00:00:33 #4024 [Verbose] > │     let v19 : float = v15 * 5E-10                                            │

00:00:33 #4025 [Verbose] > │     let v20 : float = v6 + v19                                               │

00:00:33 #4026 [Verbose] > │     let v21 : float = 5E-10 * v12                                            │

00:00:33 #4027 [Verbose] > │     let v22 : float = 5E-10 * v13                                            │

00:00:33 #4028 [Verbose] > │     let v23 : float = 5E-10 * v14                                            │

00:00:33 #4029 [Verbose] > │     let v24 : float = v3 + v21                                               │

00:00:33 #4030 [Verbose] > │     let v25 : float = v4 + v22                                               │

00:00:33 #4031 [Verbose] > │     let v26 : float = v5 + v23                                               │

00:00:33 #4032 [Verbose] > │     let v27 : float = 5E-10 * v16                                            │

00:00:33 #4033 [Verbose] > │     let v28 : float = 5E-10 * v17                                            │

00:00:33 #4034 [Verbose] > │     let v29 : float = 5E-10 * v18                                            │

00:00:33 #4035 [Verbose] > │     let v30 : float = v7 + v27                                               │

00:00:33 #4036 [Verbose] > │     let v31 : float = v8 + v28                                               │

00:00:33 #4037 [Verbose] > │     let v32 : float = v9 + v29                                               │

00:00:33 #4038 [Verbose] > │     let struct (v33 : float, v34 : float, v35 : float, v36 : float, v37 :    │

00:00:33 #4039 [Verbose] > │ float, v38 : float, v39 : float, v40 : float, v41 : float) = v0 struct (v1,  │

00:00:33 #4040 [Verbose] > │ v2, v24, v25, v26, v20, v30, v31, v32)                                       │

00:00:33 #4041 [Verbose] > │     let v42 : float = v38 * 5E-10                                            │

00:00:33 #4042 [Verbose] > │     let v43 : float = v6 + v42                                               │

00:00:33 #4043 [Verbose] > │     let v44 : float = 5E-10 * v35                                            │

00:00:33 #4044 [Verbose] > │     let v45 : float = 5E-10 * v36                                            │

00:00:33 #4045 [Verbose] > │     let v46 : float = 5E-10 * v37                                            │

00:00:33 #4046 [Verbose] > │     let v47 : float = v3 + v44                                               │

00:00:33 #4047 [Verbose] > │     let v48 : float = v4 + v45                                               │

00:00:33 #4048 [Verbose] > │     let v49 : float = v5 + v46                                               │

00:00:33 #4049 [Verbose] > │     let v50 : float = 5E-10 * v39                                            │

00:00:33 #4050 [Verbose] > │     let v51 : float = 5E-10 * v40                                            │

00:00:33 #4051 [Verbose] > │     let v52 : float = 5E-10 * v41                                            │

00:00:33 #4052 [Verbose] > │     let v53 : float = v7 + v50                                               │

00:00:33 #4053 [Verbose] > │     let v54 : float = v8 + v51                                               │

00:00:33 #4054 [Verbose] > │     let v55 : float = v9 + v52                                               │

00:00:33 #4055 [Verbose] > │     let struct (v56 : float, v57 : float, v58 : float, v59 : float, v60 :    │

00:00:33 #4056 [Verbose] > │ float, v61 : float, v62 : float, v63 : float, v64 : float) = v0 struct (v1,  │

00:00:33 #4057 [Verbose] > │ v2, v47, v48, v49, v43, v53, v54, v55)                                       │

00:00:33 #4058 [Verbose] > │     let v65 : float = v61 * 1E-09                                            │

00:00:33 #4059 [Verbose] > │     let v66 : float = v6 + v65                                               │

00:00:33 #4060 [Verbose] > │     let v67 : float = 1E-09 * v58                                            │

00:00:33 #4061 [Verbose] > │     let v68 : float = 1E-09 * v59                                            │

00:00:33 #4062 [Verbose] > │     let v69 : float = 1E-09 * v60                                            │

00:00:33 #4063 [Verbose] > │     let v70 : float = v3 + v67                                               │

00:00:33 #4064 [Verbose] > │     let v71 : float = v4 + v68                                               │

00:00:33 #4065 [Verbose] > │     let v72 : float = v5 + v69                                               │

00:00:33 #4066 [Verbose] > │     let v73 : float = 1E-09 * v62                                            │

00:00:33 #4067 [Verbose] > │     let v74 : float = 1E-09 * v63                                            │

00:00:33 #4068 [Verbose] > │     let v75 : float = 1E-09 * v64                                            │

00:00:33 #4069 [Verbose] > │     let v76 : float = v7 + v73                                               │

00:00:33 #4070 [Verbose] > │     let v77 : float = v8 + v74                                               │

00:00:33 #4071 [Verbose] > │     let v78 : float = v9 + v75                                               │

00:00:33 #4072 [Verbose] > │     let struct (v79 : float, v80 : float, v81 : float, v82 : float, v83 :    │

00:00:33 #4073 [Verbose] > │ float, v84 : float, v85 : float, v86 : float, v87 : float) = v0 struct (v1,  │

00:00:33 #4074 [Verbose] > │ v2, v70, v71, v72, v66, v76, v77, v78)                                       │

00:00:33 #4075 [Verbose] > │     let v88 : float = v10 + v33                                              │

00:00:33 #4076 [Verbose] > │     let v89 : float = v11 + v34                                              │

00:00:33 #4077 [Verbose] > │     let v90 : float = v15 + v38                                              │

00:00:33 #4078 [Verbose] > │     let v91 : float = v12 + v35                                              │

00:00:33 #4079 [Verbose] > │     let v92 : float = v13 + v36                                              │

00:00:33 #4080 [Verbose] > │     let v93 : float = v14 + v37                                              │

00:00:33 #4081 [Verbose] > │     let v94 : float = v16 + v39                                              │

00:00:33 #4082 [Verbose] > │     let v95 : float = v17 + v40                                              │

00:00:33 #4083 [Verbose] > │     let v96 : float = v18 + v41                                              │

00:00:33 #4084 [Verbose] > │     let v97 : float = v88 + v33                                              │

00:00:33 #4085 [Verbose] > │     let v98 : float = v89 + v34                                              │

00:00:33 #4086 [Verbose] > │     let v99 : float = v90 + v38                                              │

00:00:33 #4087 [Verbose] > │     let v100 : float = v91 + v35                                             │

00:00:33 #4088 [Verbose] > │     let v101 : float = v92 + v36                                             │

00:00:33 #4089 [Verbose] > │     let v102 : float = v93 + v37                                             │

00:00:33 #4090 [Verbose] > │     let v103 : float = v94 + v39                                             │

00:00:33 #4091 [Verbose] > │     let v104 : float = v95 + v40                                             │

00:00:33 #4092 [Verbose] > │     let v105 : float = v96 + v41                                             │

00:00:33 #4093 [Verbose] > │     let v106 : float = v97 + v56                                             │

00:00:33 #4094 [Verbose] > │     let v107 : float = v98 + v57                                             │

00:00:33 #4095 [Verbose] > │     let v108 : float = v99 + v61                                             │

00:00:33 #4096 [Verbose] > │     let v109 : float = v100 + v58                                            │

00:00:33 #4097 [Verbose] > │     let v110 : float = v101 + v59                                            │

00:00:33 #4098 [Verbose] > │     let v111 : float = v102 + v60                                            │

00:00:33 #4099 [Verbose] > │     let v112 : float = v103 + v62                                            │

00:00:33 #4100 [Verbose] > │     let v113 : float = v104 + v63                                            │

00:00:33 #4101 [Verbose] > │     let v114 : float = v105 + v64                                            │

00:00:33 #4102 [Verbose] > │     let v115 : float = v106 + v56                                            │

00:00:33 #4103 [Verbose] > │     let v116 : float = v107 + v57                                            │

00:00:33 #4104 [Verbose] > │     let v117 : float = v108 + v61                                            │

00:00:33 #4105 [Verbose] > │     let v118 : float = v109 + v58                                            │

00:00:33 #4106 [Verbose] > │     let v119 : float = v110 + v59                                            │

00:00:33 #4107 [Verbose] > │     let v120 : float = v111 + v60                                            │

00:00:33 #4108 [Verbose] > │     let v121 : float = v112 + v62                                            │

00:00:33 #4109 [Verbose] > │     let v122 : float = v113 + v63                                            │

00:00:33 #4110 [Verbose] > │     let v123 : float = v114 + v64                                            │

00:00:33 #4111 [Verbose] > │     let v124 : float = v115 + v79                                            │

00:00:33 #4112 [Verbose] > │     let v125 : float = v116 + v80                                            │

00:00:33 #4113 [Verbose] > │     let v126 : float = v117 + v84                                            │

00:00:33 #4114 [Verbose] > │     let v127 : float = v118 + v81                                            │

00:00:33 #4115 [Verbose] > │     let v128 : float = v119 + v82                                            │

00:00:33 #4116 [Verbose] > │     let v129 : float = v120 + v83                                            │

00:00:33 #4117 [Verbose] > │     let v130 : float = v121 + v85                                            │

00:00:33 #4118 [Verbose] > │     let v131 : float = v122 + v86                                            │

00:00:33 #4119 [Verbose] > │     let v132 : float = v123 + v87                                            │

00:00:33 #4120 [Verbose] > │     let v133 : float = v126 * 1.6666666666666669E-10                         │

00:00:33 #4121 [Verbose] > │     let v134 : float = v6 + v133                                             │

00:00:33 #4122 [Verbose] > │     let v135 : float = 1.6666666666666669E-10 * v127                         │

00:00:33 #4123 [Verbose] > │     let v136 : float = 1.6666666666666669E-10 * v128                         │

00:00:33 #4124 [Verbose] > │     let v137 : float = 1.6666666666666669E-10 * v129                         │

00:00:33 #4125 [Verbose] > │     let v138 : float = v3 + v135                                             │

00:00:33 #4126 [Verbose] > │     let v139 : float = v4 + v136                                             │

00:00:33 #4127 [Verbose] > │     let v140 : float = v5 + v137                                             │

00:00:33 #4128 [Verbose] > │     let v141 : float = 1.6666666666666669E-10 * v130                         │

00:00:33 #4129 [Verbose] > │     let v142 : float = 1.6666666666666669E-10 * v131                         │

00:00:33 #4130 [Verbose] > │     let v143 : float = 1.6666666666666669E-10 * v132                         │

00:00:33 #4131 [Verbose] > │     let v144 : float = v7 + v141                                             │

00:00:33 #4132 [Verbose] > │     let v145 : float = v8 + v142                                             │

00:00:33 #4133 [Verbose] > │     let v146 : float = v9 + v143                                             │

00:00:33 #4134 [Verbose] > │     struct (v1, v2, v138, v139, v140, v134, v144, v145, v146)                │

00:00:33 #4135 [Verbose] > │ and closure0 () (v0 : (struct (float * float * float * float * float * float │

00:00:33 #4136 [Verbose] > │ * float * float * float) -> struct (float * float * float * float * float *  │

00:00:33 #4137 [Verbose] > │ float * float * float * float))) : (struct (float * float * float * float *  │

00:00:33 #4138 [Verbose] > │ float * float * float * float * float) -> struct (float * float * float *    │

00:00:33 #4139 [Verbose] > │ float * float * float * float * float * float)) =                            │

00:00:33 #4140 [Verbose] > │     closure1(v0)                                                             │

00:00:33 #4141 [Verbose] > │ and closure2 () struct (v0 : float, v1 : float, v2 : float, v3 : float, v4 : │

00:00:33 #4142 [Verbose] > │ float, v5 : float, v6 : float, v7 : float, v8 : float) : struct (float *     │

00:00:33 #4143 [Verbose] > │ float * float * float * float * float * float * float * float) =             │

00:00:33 #4144 [Verbose] > │     let v9 : float = v8 * 0.0                                                │

00:00:33 #4145 [Verbose] > │     let v10 : float = v7 - v9                                                │

00:00:33 #4146 [Verbose] > │     let v11 : float = v9 - v6                                                │

00:00:33 #4147 [Verbose] > │     let v12 : float = v6 * 0.0                                               │

00:00:33 #4148 [Verbose] > │     let v13 : float = v7 * 0.0                                               │

00:00:33 #4149 [Verbose] > │     let v14 : float = v12 - v13                                              │

00:00:33 #4150 [Verbose] > │     let v15 : float = v0 * v10                                               │

00:00:33 #4151 [Verbose] > │     let v16 : float = v0 * v11                                               │

00:00:33 #4152 [Verbose] > │     let v17 : float = v0 * v14                                               │

00:00:33 #4153 [Verbose] > │     let v18 : float = v15 / v1                                               │

00:00:33 #4154 [Verbose] > │     let v19 : float = v16 / v1                                               │

00:00:33 #4155 [Verbose] > │     let v20 : float = v17 / v1                                               │

00:00:33 #4156 [Verbose] > │     struct (0.0, 0.0, v6, v7, v8, 1.0, v18, v19, v20)                        │

00:00:33 #4157 [Verbose] > │ and closure3 () struct (v0 : float, v1 : float, v2 : float, v3 : float, v4 : │

00:00:33 #4158 [Verbose] > │ float, v5 : float, v6 : float, v7 : float, v8 : float) : struct (float *     │

00:00:33 #4159 [Verbose] > │ float * float * float * float * float * float * float * float) =             │

00:00:33 #4160 [Verbose] > │     let v9 : float = v8 * 0.0                                                │

00:00:33 #4161 [Verbose] > │     let v10 : float = v7 - v9                                                │

00:00:33 #4162 [Verbose] > │     let v11 : float = v9 - v6                                                │

00:00:33 #4163 [Verbose] > │     let v12 : float = v6 * 0.0                                               │

00:00:33 #4164 [Verbose] > │     let v13 : float = v7 * 0.0                                               │

00:00:33 #4165 [Verbose] > │     let v14 : float = v12 - v13                                              │

00:00:33 #4166 [Verbose] > │     let v15 : float = v0 * v10                                               │

00:00:33 #4167 [Verbose] > │     let v16 : float = v0 * v11                                               │

00:00:33 #4168 [Verbose] > │     let v17 : float = v0 * v14                                               │

00:00:33 #4169 [Verbose] > │     let v18 : float = v6 / 299792458.0                                       │

00:00:33 #4170 [Verbose] > │     let v19 : float = v7 / 299792458.0                                       │

00:00:33 #4171 [Verbose] > │     let v20 : float = v8 / 299792458.0                                       │

00:00:33 #4172 [Verbose] > │     let v21 : float = v18 * v18                                              │

00:00:33 #4173 [Verbose] > │     let v22 : float = v19 * v19                                              │

00:00:33 #4174 [Verbose] > │     let v23 : float = v21 + v22                                              │

00:00:33 #4175 [Verbose] > │     let v24 : float = v20 * v20                                              │

00:00:33 #4176 [Verbose] > │     let v25 : float = v23 + v24                                              │

00:00:33 #4177 [Verbose] > │     let v26 : float = 1.0 - v25                                              │

00:00:33 #4178 [Verbose] > │     let v27 : float = sqrt v26                                               │

00:00:33 #4179 [Verbose] > │     let v28 : float = v15 * v18                                              │

00:00:33 #4180 [Verbose] > │     let v29 : float = v16 * v19                                              │

00:00:33 #4181 [Verbose] > │     let v30 : float = v28 + v29                                              │

00:00:33 #4182 [Verbose] > │     let v31 : float = v17 * v20                                              │

00:00:33 #4183 [Verbose] > │     let v32 : float = v30 + v31                                              │

00:00:33 #4184 [Verbose] > │     let v33 : float = v32 * v18                                              │

00:00:33 #4185 [Verbose] > │     let v34 : float = v32 * v19                                              │

00:00:33 #4186 [Verbose] > │     let v35 : float = v32 * v20                                              │

00:00:33 #4187 [Verbose] > │     let v36 : float = -1.0 * v33                                             │

00:00:33 #4188 [Verbose] > │     let v37 : float = -1.0 * v34                                             │

00:00:33 #4189 [Verbose] > │     let v38 : float = -1.0 * v35                                             │

00:00:33 #4190 [Verbose] > │     let v39 : float = v15 + v36                                              │

00:00:33 #4191 [Verbose] > │     let v40 : float = v16 + v37                                              │

00:00:33 #4192 [Verbose] > │     let v41 : float = v17 + v38                                              │

00:00:33 #4193 [Verbose] > │     let v42 : float = v27 * v39                                              │

00:00:33 #4194 [Verbose] > │     let v43 : float = v27 * v40                                              │

00:00:33 #4195 [Verbose] > │     let v44 : float = v27 * v41                                              │

00:00:33 #4196 [Verbose] > │     let v45 : float = v42 / v1                                               │

00:00:33 #4197 [Verbose] > │     let v46 : float = v43 / v1                                               │

00:00:33 #4198 [Verbose] > │     let v47 : float = v44 / v1                                               │

00:00:33 #4199 [Verbose] > │     struct (0.0, 0.0, v6, v7, v8, 1.0, v45, v46, v47)                        │

00:00:33 #4200 [Verbose] > │ and method2 (v0 : (struct (float * float * float * float * float * float *   │

00:00:33 #4201 [Verbose] > │ float * float * float) -> struct (float * float * float * float * float *    │

00:00:33 #4202 [Verbose] > │ float * float * float * float)), v1 : float, v2 : float, v3 : float, v4 :    │

00:00:33 #4203 [Verbose] > │ float, v5 : float, v6 : float, v7 : float, v8 : float, v9 : float, v10 :     │

00:00:33 #4204 [Verbose] > │ int32) : struct (float * float * float * float * float * float * float *     │

00:00:33 #4205 [Verbose] > │ float * float) =                                                             │

00:00:33 #4206 [Verbose] > │     let v11 : bool = v10 <= 0                                                │

00:00:33 #4207 [Verbose] > │     if v11 then                                                              │

00:00:33 #4208 [Verbose] > │         struct (v1, v2, v3, v4, v5, v6, v7, v8, v9)                          │

00:00:33 #4209 [Verbose] > │     else                                                                     │

00:00:33 #4210 [Verbose] > │         let struct (v12 : float, v13 : float, v14 : float, v15 : float, v16  │

00:00:33 #4211 [Verbose] > │ : float, v17 : float, v18 : float, v19 : float, v20 : float) = v0 struct     │

00:00:33 #4212 [Verbose] > │ (v1, v2, v3, v4, v5, v6, v7, v8, v9)                                         │

00:00:33 #4213 [Verbose] > │         let v21 : int32 = v10 - 1                                            │

00:00:33 #4214 [Verbose] > │         method2(v0, v12, v13, v14, v15, v16, v17, v18, v19, v20, v21)        │

00:00:33 #4215 [Verbose] > │ and method3 (v0 : UH0, v1 : UH0) : UH0 =                                     │

00:00:33 #4216 [Verbose] > │     match v0 with                                                            │

00:00:33 #4217 [Verbose] > │     | UH0_0(v2, v3, v4, v5, v6, v7, v8, v9, v10, v11) -> (* Cons *)          │

00:00:33 #4218 [Verbose] > │         let v12 : UH0 = UH0_0(v2, v3, v4, v5, v6, v7, v8, v9, v10, v1)       │

00:00:33 #4219 [Verbose] > │         method3(v11, v12)                                                    │

00:00:33 #4220 [Verbose] > │     | UH0_1 -> (* Nil *)                                                     │

00:00:33 #4221 [Verbose] > │         v1                                                                   │

00:00:33 #4222 [Verbose] > │ and method1 (v0 : (struct (float * float * float * float * float * float *   │

00:00:33 #4223 [Verbose] > │ float * float * float) -> struct (float * float * float * float * float *    │

00:00:33 #4224 [Verbose] > │ float * float * float * float)), v1 : UH0, v2 : int32) : UH0 =               │

00:00:33 #4225 [Verbose] > │     let v3 : float = 1.602176621E-19                                         │

00:00:33 #4226 [Verbose] > │     let v4 : float = 1.672621898E-27                                         │

00:00:33 #4227 [Verbose] > │     let v5 : float = 0.0                                                     │

00:00:33 #4228 [Verbose] > │     let v6 : float = 0.0                                                     │

00:00:33 #4229 [Verbose] > │     let v7 : float = 0.0                                                     │

00:00:33 #4230 [Verbose] > │     let v8 : float = 0.0                                                     │

00:00:33 #4231 [Verbose] > │     let v9 : float = 0.0                                                     │

00:00:33 #4232 [Verbose] > │     let v10 : float = 239833966.4                                            │

00:00:33 #4233 [Verbose] > │     let v11 : float = 0.0                                                    │

00:00:33 #4234 [Verbose] > │     let struct (v12 : float, v13 : float, v14 : float, v15 : float, v16 :    │

00:00:33 #4235 [Verbose] > │ float, v17 : float, v18 : float, v19 : float, v20 : float) = method2(v0, v3, │

00:00:33 #4236 [Verbose] > │ v4, v5, v6, v7, v8, v9, v10, v11, v2)                                        │

00:00:33 #4237 [Verbose] > │     let v21 : bool = v2 < 100                                                │

00:00:33 #4238 [Verbose] > │     if v21 then                                                              │

00:00:33 #4239 [Verbose] > │         let v22 : UH0 = UH0_0(v12, v13, v14, v15, v16, v17, v18, v19, v20,   │

00:00:33 #4240 [Verbose] > │ v1)                                                                          │

00:00:33 #4241 [Verbose] > │         let v23 : int32 = v2 + 1                                             │

00:00:33 #4242 [Verbose] > │         method1(v0, v22, v23)                                                │

00:00:33 #4243 [Verbose] > │     else                                                                     │

00:00:33 #4244 [Verbose] > │         let v25 : UH0 = UH0_1                                                │

00:00:33 #4245 [Verbose] > │         method3(v1, v25)                                                     │

00:00:33 #4246 [Verbose] > │ and method4 (v0 : UH0, v1 : UH1) : UH1 =                                     │

00:00:33 #4247 [Verbose] > │     match v0 with                                                            │

00:00:33 #4248 [Verbose] > │     | UH0_0(v2, v3, v4, v5, v6, v7, v8, v9, v10, v11) -> (* Cons *)          │

00:00:33 #4249 [Verbose] > │         let v12 : UH1 = method4(v11, v1)                                     │

00:00:33 #4250 [Verbose] > │         UH1_0(v4, v5, v12)                                                   │

00:00:33 #4251 [Verbose] > │     | UH0_1 -> (* Nil *)                                                     │

00:00:33 #4252 [Verbose] > │         v1                                                                   │

00:00:33 #4253 [Verbose] > │ and method5 (v0 : UH1, v1 : UH2, v2 : UH2) : struct (UH2 * UH2) =            │

00:00:33 #4254 [Verbose] > │     match v0 with                                                            │

00:00:33 #4255 [Verbose] > │     | UH1_0(v3, v4, v5) -> (* Cons *)                                        │

00:00:33 #4256 [Verbose] > │         let v6 : UH2 = UH2_0(v3, v1)                                         │

00:00:33 #4257 [Verbose] > │         let v7 : UH2 = UH2_0(v4, v2)                                         │

00:00:33 #4258 [Verbose] > │         method5(v5, v6, v7)                                                  │

00:00:33 #4259 [Verbose] > │     | UH1_1 -> (* Nil *)                                                     │

00:00:33 #4260 [Verbose] > │         struct (v1, v2)                                                      │

00:00:33 #4261 [Verbose] > │ and method6 (v0 : UH2, v1 : UH2) : UH2 =                                     │

00:00:33 #4262 [Verbose] > │     match v0 with                                                            │

00:00:33 #4263 [Verbose] > │     | UH2_0(v2, v3) -> (* Cons *)                                            │

00:00:33 #4264 [Verbose] > │         let v4 : UH2 = UH2_0(v2, v1)                                         │

00:00:33 #4265 [Verbose] > │         method6(v3, v4)                                                      │

00:00:33 #4266 [Verbose] > │     | UH2_1 -> (* Nil *)                                                     │

00:00:33 #4267 [Verbose] > │         v1                                                                   │

00:00:33 #4268 [Verbose] > │ and method7 (v0 : (struct (float * float * float * float * float * float *   │

00:00:33 #4269 [Verbose] > │ float * float * float) -> struct (float * float * float * float * float *    │

00:00:33 #4270 [Verbose] > │ float * float * float * float)), v1 : UH0, v2 : int32) : UH0 =               │

00:00:33 #4271 [Verbose] > │     let v3 : float = 1.602176621E-19                                         │

00:00:33 #4272 [Verbose] > │     let v4 : float = 1.672621898E-27                                         │

00:00:33 #4273 [Verbose] > │     let v5 : float = 0.0                                                     │

00:00:33 #4274 [Verbose] > │     let v6 : float = 0.0                                                     │

00:00:33 #4275 [Verbose] > │     let v7 : float = 0.0                                                     │

00:00:33 #4276 [Verbose] > │     let v8 : float = 0.0                                                     │

00:00:33 #4277 [Verbose] > │     let v9 : float = 0.0                                                     │

00:00:33 #4278 [Verbose] > │     let v10 : float = 239833966.4                                            │

00:00:33 #4279 [Verbose] > │     let v11 : float = 0.0                                                    │

00:00:33 #4280 [Verbose] > │     let struct (v12 : float, v13 : float, v14 : float, v15 : float, v16 :    │

00:00:33 #4281 [Verbose] > │ float, v17 : float, v18 : float, v19 : float, v20 : float) = method2(v0, v3, │

00:00:33 #4282 [Verbose] > │ v4, v5, v6, v7, v8, v9, v10, v11, v2)                                        │

00:00:33 #4283 [Verbose] > │     let v21 : bool = v2 < 165                                                │

00:00:33 #4284 [Verbose] > │     if v21 then                                                              │

00:00:33 #4285 [Verbose] > │         let v22 : UH0 = UH0_0(v12, v13, v14, v15, v16, v17, v18, v19, v20,   │

00:00:33 #4286 [Verbose] > │ v1)                                                                          │

00:00:33 #4287 [Verbose] > │         let v23 : int32 = v2 + 1                                             │

00:00:33 #4288 [Verbose] > │         method7(v0, v22, v23)                                                │

00:00:33 #4289 [Verbose] > │     else                                                                     │

00:00:33 #4290 [Verbose] > │         let v25 : UH0 = UH0_1                                                │

00:00:33 #4291 [Verbose] > │         method3(v1, v25)                                                     │

00:00:33 #4292 [Verbose] > │ and method8 (v0 : UH0, v1 : UH1) : UH1 =                                     │

00:00:33 #4293 [Verbose] > │     match v0 with                                                            │

00:00:33 #4294 [Verbose] > │     | UH0_0(v2, v3, v4, v5, v6, v7, v8, v9, v10, v11) -> (* Cons *)          │

00:00:33 #4295 [Verbose] > │         let v12 : UH1 = method8(v11, v1)                                     │

00:00:33 #4296 [Verbose] > │         UH1_0(v4, v5, v12)                                                   │

00:00:33 #4297 [Verbose] > │     | UH0_1 -> (* Nil *)                                                     │

00:00:33 #4298 [Verbose] > │         v1                                                                   │

00:00:33 #4299 [Verbose] > │ and method10 (v0 : UH2, v1 : int32) : int32 =                                │

00:00:33 #4300 [Verbose] > │     match v0 with                                                            │

00:00:33 #4301 [Verbose] > │     | UH2_0(v2, v3) -> (* Cons *)                                            │

00:00:33 #4302 [Verbose] > │         let v4 : int32 = v1 + 1                                              │

00:00:33 #4303 [Verbose] > │         method10(v3, v4)                                                     │

00:00:33 #4304 [Verbose] > │     | UH2_1 -> (* Nil *)                                                     │

00:00:33 #4305 [Verbose] > │         v1                                                                   │

00:00:33 #4306 [Verbose] > │ and method11 (v0 : (float []), v1 : UH2, v2 : int32) : int32 =               │

00:00:33 #4307 [Verbose] > │     match v1 with                                                            │

00:00:33 #4308 [Verbose] > │     | UH2_0(v3, v4) -> (* Cons *)                                            │

00:00:33 #4309 [Verbose] > │         v0.[int v2] <- v3                                                    │

00:00:33 #4310 [Verbose] > │         let v5 : int32 = v2 + 1                                              │

00:00:33 #4311 [Verbose] > │         method11(v0, v4, v5)                                                 │

00:00:33 #4312 [Verbose] > │     | UH2_1 -> (* Nil *)                                                     │

00:00:33 #4313 [Verbose] > │         v2                                                                   │

00:00:33 #4314 [Verbose] > │ and method9 (v0 : UH2) : (float []) =                                        │

00:00:33 #4315 [Verbose] > │     let v1 : int32 = 0                                                       │

00:00:33 #4316 [Verbose] > │     let v2 : int32 = method10(v0, v1)                                        │

00:00:33 #4317 [Verbose] > │     let v3 : (float []) = Array.zeroCreate<float> (v2)                       │

00:00:33 #4318 [Verbose] > │     let v4 : int32 = 0                                                       │

00:00:33 #4319 [Verbose] > │     let v5 : int32 = method11(v3, v0, v4)                                    │

00:00:33 #4320 [Verbose] > │     v3                                                                       │

00:00:33 #4321 [Verbose] > │ and method12 (v0 : (struct (string * (float []) * (float [])) [])) : (struct │

00:00:33 #4322 [Verbose] > │ (string * (float []) * (float [])) []) =                                     │

00:00:33 #4323 [Verbose] > │     v0                                                                       │

00:00:33 #4324 [Verbose] > │ and method0 () : struct (string * string * string * (struct (string * (float │

00:00:33 #4325 [Verbose] > │ []) * (float [])) [])) =                                                     │

00:00:33 #4326 [Verbose] > │     let v0 : ((struct (float * float * float * float * float * float * float │

00:00:33 #4327 [Verbose] > │ * float * float) -> struct (float * float * float * float * float * float *  │

00:00:33 #4328 [Verbose] > │ float * float * float)) -> (struct (float * float * float * float * float *  │

00:00:33 #4329 [Verbose] > │ float * float * float * float) -> struct (float * float * float * float *    │

00:00:33 #4330 [Verbose] > │ float * float * float * float * float))) = closure0()                        │

00:00:33 #4331 [Verbose] > │     let v1 : (struct (float * float * float * float * float * float * float  │

00:00:33 #4332 [Verbose] > │ * float * float) -> struct (float * float * float * float * float * float *  │

00:00:33 #4333 [Verbose] > │ float * float * float)) = closure2()                                         │

00:00:33 #4334 [Verbose] > │     let v2 : (struct (float * float * float * float * float * float * float  │

00:00:33 #4335 [Verbose] > │ * float * float) -> struct (float * float * float * float * float * float *  │

00:00:33 #4336 [Verbose] > │ float * float * float)) = v0 v1                                              │

00:00:33 #4337 [Verbose] > │     let v3 : (struct (float * float * float * float * float * float * float  │

00:00:33 #4338 [Verbose] > │ * float * float) -> struct (float * float * float * float * float * float *  │

00:00:33 #4339 [Verbose] > │ float * float * float)) = closure3()                                         │

00:00:33 #4340 [Verbose] > │     let v4 : (struct (float * float * float * float * float * float * float  │

00:00:33 #4341 [Verbose] > │ * float * float) -> struct (float * float * float * float * float * float *  │

00:00:33 #4342 [Verbose] > │ float * float * float)) = v0 v3                                              │

00:00:33 #4343 [Verbose] > │     let v5 : UH0 = UH0_1                                                     │

00:00:33 #4344 [Verbose] > │     let v6 : int32 = 0                                                       │

00:00:33 #4345 [Verbose] > │     let v7 : UH0 = method1(v2, v5, v6)                                       │

00:00:33 #4346 [Verbose] > │     let v8 : UH1 = UH1_1                                                     │

00:00:33 #4347 [Verbose] > │     let v9 : UH1 = method4(v7, v8)                                           │

00:00:33 #4348 [Verbose] > │     let v10 : UH2 = UH2_1                                                    │

00:00:33 #4349 [Verbose] > │     let v11 : UH2 = UH2_1                                                    │

00:00:33 #4350 [Verbose] > │     let struct (v12 : UH2, v13 : UH2) = method5(v9, v10, v11)                │

00:00:33 #4351 [Verbose] > │     let v14 : UH2 = UH2_1                                                    │

00:00:33 #4352 [Verbose] > │     let v15 : UH2 = method6(v12, v14)                                        │

00:00:33 #4353 [Verbose] > │     let v16 : UH2 = UH2_1                                                    │

00:00:33 #4354 [Verbose] > │     let v17 : UH2 = method6(v13, v16)                                        │

00:00:33 #4355 [Verbose] > │     let v18 : UH0 = UH0_1                                                    │

00:00:33 #4356 [Verbose] > │     let v19 : int32 = 0                                                      │

00:00:33 #4357 [Verbose] > │     let v20 : UH0 = method7(v4, v18, v19)                                    │

00:00:33 #4358 [Verbose] > │     let v21 : UH1 = UH1_1                                                    │

00:00:33 #4359 [Verbose] > │     let v22 : UH1 = method8(v20, v21)                                        │

00:00:33 #4360 [Verbose] > │     let v23 : UH2 = UH2_1                                                    │

00:00:33 #4361 [Verbose] > │     let v24 : UH2 = UH2_1                                                    │

00:00:33 #4362 [Verbose] > │     let struct (v25 : UH2, v26 : UH2) = method5(v22, v23, v24)               │

00:00:33 #4363 [Verbose] > │     let v27 : UH2 = UH2_1                                                    │

00:00:33 #4364 [Verbose] > │     let v28 : UH2 = method6(v25, v27)                                        │

00:00:33 #4365 [Verbose] > │     let v29 : UH2 = UH2_1                                                    │

00:00:33 #4366 [Verbose] > │     let v30 : UH2 = method6(v26, v29)                                        │

00:00:33 #4367 [Verbose] > │     let v31 : (float []) = method9(v15)                                      │

00:00:33 #4368 [Verbose] > │     let v32 : (float []) = method9(v17)                                      │

00:00:33 #4369 [Verbose] > │     let v33 : (float []) = method9(v28)                                      │

00:00:33 #4370 [Verbose] > │     let v34 : (float []) = method9(v30)                                      │

00:00:33 #4371 [Verbose] > │     let v35 : string = "newtonian"                                           │

00:00:33 #4372 [Verbose] > │     let v36 : string = "relativistic"                                        │

00:00:33 #4373 [Verbose] > │     let v37 : (struct (string * (float []) * (float [])) []) = [|struct      │

00:00:33 #4374 [Verbose] > │ (v35, v31, v32); struct (v36, v33, v34)|]                                    │

00:00:33 #4375 [Verbose] > │     let v38 : (struct (string * (float []) * (float [])) []) = method12(v37) │

00:00:33 #4376 [Verbose] > │     let v39 : string = "proton in a 1-t magnetic field"                      │

00:00:33 #4377 [Verbose] > │     let v40 : string = "x (m)"                                               │

00:00:33 #4378 [Verbose] > │     let v41 : string = "y (m)"                                               │

00:00:33 #4379 [Verbose] > │     struct (v39, v40, v41, v38)                                              │

00:00:33 #4380 [Verbose] > │ method0()                                                                    │

00:00:33 #4381 [Verbose] > │                                                                              │

00:00:33 #4382 [Verbose] > │                                                                              │

00:00:33 #4383 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:33 #4384 [Verbose] >

00:00:33 #4385 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────

00:00:33 #4386 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮

00:00:33 #4387 [Verbose] > │ ### system kinetic energy versus time 1                                      │

00:00:33 #4388 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:33 #4389 [Verbose] >

00:00:33 #4390 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:33 #4391 [Verbose] > // // test

00:00:33 #4392 [Verbose] >

00:00:33 #4393 [Verbose] > inl central_force f (particle_state st1) (particle_state st2) =

00:00:33 #4394 [Verbose] >     inl r1 = st1.pos_vec

00:00:33 #4395 [Verbose] >     inl r2 = st2.pos_vec

00:00:33 #4396 [Verbose] >     inl r21 = r2 ^-^ r1

00:00:33 #4397 [Verbose] >     inl r21mag = magnitude r21

00:00:33 #4398 [Verbose] >     f r21mag *^ r21 ^/ r21mag

00:00:33 #4399 [Verbose] >

00:00:33 #4400 [Verbose] > inl billiard_force k re =

00:00:33 #4401 [Verbose] >     inl f r =

00:00:33 #4402 [Verbose] >         if r >= re

00:00:33 #4403 [Verbose] >         then 0

00:00:33 #4404 [Verbose] >         else -k * (r - re)

00:00:33 #4405 [Verbose] >     central_force f

00:00:33 #4406 [Verbose] >

00:00:33 #4407 [Verbose] > type force_vector = vec

00:00:33 #4408 [Verbose] > type two_body_force = particle_state -> particle_state -> force_vector

00:00:33 #4409 [Verbose] >

00:00:33 #4410 [Verbose] > union force =

00:00:33 #4411 [Verbose] >     | ExternalForce : i32 * one_body_force

00:00:33 #4412 [Verbose] >     | InternalForce : i32 * i32 * two_body_force

00:00:33 #4413 [Verbose] >

00:00:33 #4414 [Verbose] > nominal multi_particle_state = list particle_state

00:00:33 #4415 [Verbose] >

00:00:33 #4416 [Verbose] > nominal d_multi_particle_state = list d_particle_state

00:00:33 #4417 [Verbose] >

00:00:33 #4418 [Verbose] > inl force_on n sts force =

00:00:33 #4419 [Verbose] >     match force with

00:00:33 #4420 [Verbose] >     | ExternalForce (n0, f_one_body) =>

00:00:33 #4421 [Verbose] >         if n = n0

00:00:33 #4422 [Verbose] >         then f_one_body

00:00:33 #4423 [Verbose] >         else fun _ => zero_vec ()

00:00:33 #4424 [Verbose] >     | InternalForce (n0, n1, f_two_body) =>

00:00:33 #4425 [Verbose] >         if n = n0

00:00:33 #4426 [Verbose] >         then f_two_body (sts |> listm'.item n1)

00:00:33 #4427 [Verbose] >         elif n = n1

00:00:33 #4428 [Verbose] >         then f_two_body (sts |> listm'.item n0)

00:00:33 #4429 [Verbose] >         else fun _ => zero_vec ()

00:00:33 #4430 [Verbose] >

00:00:33 #4431 [Verbose] > inl forces_on n (multi_particle_state sts) fs =

00:00:33 #4432 [Verbose] >     fs |> listm.map (force_on n sts)

00:00:33 #4433 [Verbose] >

00:00:33 #4434 [Verbose] > inl newton_second_mps fs (multi_particle_state sts) : d_multi_particle_state =

00:00:33 #4435 [Verbose] >     inl deriv (n, st) =

00:00:33 #4436 [Verbose] >         newton_second_ps (forces_on n (multi_particle_state sts) fs) st

00:00:33 #4437 [Verbose] >     sts |> listm'.indexed |> listm.map deriv |> d_multi_particle_state

00:00:33 #4438 [Verbose] >

00:00:33 #4439 [Verbose] > instance (+++) d_multi_particle_state = fun (d_multi_particle_state dsts1)

00:00:33 #4440 [Verbose] > (d_multi_particle_state dsts2) =>

00:00:33 #4441 [Verbose] >     d_multi_particle_state (listm'.zip_with_ (+++) dsts1 dsts2)

00:00:33 #4442 [Verbose] >

00:00:33 #4443 [Verbose] > instance scale d_multi_particle_state = fun w (d_multi_particle_state dsts) =>

00:00:33 #4444 [Verbose] >     d_multi_particle_state (dsts |> listm.map (scale w))

00:00:33 #4445 [Verbose] >

00:00:33 #4446 [Verbose] > instance shift multi_particle_state = fun dt dsts (multi_particle_state sts) =>

00:00:33 #4447 [Verbose] >     inl (d_multi_particle_state dsts) =

00:00:33 #4448 [Verbose] >         real

00:00:33 #4449 [Verbose] >             match dsts with

00:00:33 #4450 [Verbose] >             | d_multi_particle_state _ => dsts

00:00:33 #4451 [Verbose] >     listm'.zip_with_ (shift dt) dsts sts |> multi_particle_state

00:00:33 #4452 [Verbose] >

00:00:33 #4453 [Verbose] > inl euler_cromer_mps dt : numerical_method multi_particle_state

00:00:33 #4454 [Verbose] > d_multi_particle_state =

00:00:33 #4455 [Verbose] >     fun deriv mpst0 =>

00:00:33 #4456 [Verbose] >         inl mpst1 = euler dt deriv mpst0

00:00:33 #4457 [Verbose] >         inl (multi_particle_state sts0) = mpst0

00:00:33 #4458 [Verbose] >         inl (multi_particle_state sts1) = mpst1

00:00:33 #4459 [Verbose] >         sts1

00:00:33 #4460 [Verbose] >         |> listm'.zip_ sts0

00:00:33 #4461 [Verbose] >         |> listm.map (fun ((particle_state st0), (particle_state st1)) =>

00:00:33 #4462 [Verbose] >             particle_state {

00:00:33 #4463 [Verbose] >                 st1 with

00:00:33 #4464 [Verbose] >                     pos_vec = st0.pos_vec ^+^ st1.velocity ^* dt

00:00:33 #4465 [Verbose] >             }

00:00:33 #4466 [Verbose] >         )

00:00:33 #4467 [Verbose] >         |> multi_particle_state

00:00:33 #4468 [Verbose] >

00:00:33 #4469 [Verbose] > inl update_mps (method : numerical_method multi_particle_state

00:00:33 #4470 [Verbose] > d_multi_particle_state) =

00:00:33 #4471 [Verbose] >     newton_second_mps >> method

00:00:33 #4472 [Verbose] >

00:00:33 #4473 [Verbose] > inl states_mps (method : numerical_method multi_particle_state

00:00:33 #4474 [Verbose] > d_multi_particle_state) =

00:00:33 #4475 [Verbose] >     newton_second_mps >> method >> seq.iterate_

00:00:33 #4476 [Verbose] >

00:00:33 #4477 [Verbose] >

00:00:33 #4478 [Verbose] > inl kinetic_energy (particle_state st) =

00:00:33 #4479 [Verbose] >     inl m = st.mass

00:00:33 #4480 [Verbose] >     inl v = magnitude st.velocity

00:00:33 #4481 [Verbose] >     0.5 * m * v ** 2

00:00:33 #4482 [Verbose] >

00:00:33 #4483 [Verbose] > inl system_ke (multi_particle_state sts) =

00:00:33 #4484 [Verbose] >     sts |> listm.map kinetic_energy |> listm'.sum

00:00:33 #4485 [Verbose] >

00:00:33 #4486 [Verbose] > inl linear_spring_pe k re (particle_state st1) (particle_state st2) =

00:00:33 #4487 [Verbose] >     inl r1 = st1.pos_vec

00:00:33 #4488 [Verbose] >     inl r2 = st2.pos_vec

00:00:33 #4489 [Verbose] >     inl r21 = r2 ^-^ r1

00:00:33 #4490 [Verbose] >     inl r21mag = magnitude r21

00:00:33 #4491 [Verbose] >     k * (r21mag - re) ** 2 / 2

00:00:33 #4492 [Verbose] >

00:00:33 #4493 [Verbose] > inl earth_surface_gravity_pe (particle_state st) =

00:00:33 #4494 [Verbose] >     inl g = 9.80665

00:00:33 #4495 [Verbose] >     inl m = st.mass

00:00:33 #4496 [Verbose] >     inl z = st.pos_vec.z

00:00:33 #4497 [Verbose] >     m * g * z

00:00:33 #4498 [Verbose] >

00:00:33 #4499 [Verbose] > inl two_springs_pe (multi_particle_state sts) =

00:00:33 #4500 [Verbose] >     inl st0 = sts |> listm'.item 0i32

00:00:33 #4501 [Verbose] >     inl st1 = sts |> listm'.item 1i32

00:00:33 #4502 [Verbose] >     linear_spring_pe 100 0.5 (default_particle_state ()) st0

00:00:33 #4503 [Verbose] >     + linear_spring_pe 100 0.5 st0 st1

00:00:33 #4504 [Verbose] >     + earth_surface_gravity_pe st0

00:00:33 #4505 [Verbose] >     + earth_surface_gravity_pe st1

00:00:33 #4506 [Verbose] >

00:00:33 #4507 [Verbose] > inl two_springs_me mpst =

00:00:33 #4508 [Verbose] >     system_ke mpst + two_springs_pe mpst

00:00:33 #4509 [Verbose] >

00:00:33 #4510 [Verbose] > inl ball_radius () = 0.03

00:00:33 #4511 [Verbose] >

00:00:33 #4512 [Verbose] > inl billiard_forces k =

00:00:33 #4513 [Verbose] >     [[ InternalForce (0, 1, billiard_force k (2 * ball_radius ())) ]]

00:00:33 #4514 [Verbose] >

00:00:33 #4515 [Verbose] > inl billiard_update n_method k dt =

00:00:33 #4516 [Verbose] >     update_mps (n_method dt) (billiard_forces k)

00:00:33 #4517 [Verbose] >

00:00:33 #4518 [Verbose] > inl billiard_initial () =

00:00:33 #4519 [Verbose] >     inl ball_mass = 0.160

00:00:33 #4520 [Verbose] >     inl (particle_state default_particle_state') = default_particle_state ()

00:00:33 #4521 [Verbose] >     multi_particle_state [[

00:00:33 #4522 [Verbose] >         particle_state {

00:00:33 #4523 [Verbose] >             default_particle_state' with

00:00:33 #4524 [Verbose] >                 mass = ball_mass

00:00:33 #4525 [Verbose] >                 pos_vec = zero_vec ()

00:00:33 #4526 [Verbose] >                 velocity = 0.2 *^ i_hat ()

00:00:33 #4527 [Verbose] >         }

00:00:33 #4528 [Verbose] >         particle_state {

00:00:33 #4529 [Verbose] >             default_particle_state' with

00:00:33 #4530 [Verbose] >                 mass = ball_mass

00:00:33 #4531 [Verbose] >                 pos_vec = i_hat () ^+^ 0.02 *^ j_hat ()

00:00:33 #4532 [Verbose] >                 velocity = zero_vec ()

00:00:33 #4533 [Verbose] >         }

00:00:33 #4534 [Verbose] >     ]]

00:00:33 #4535 [Verbose] >

00:00:33 #4536 [Verbose] > inl billiard_states ~n_method k dt =

00:00:33 #4537 [Verbose] >     states_mps (n_method dt) (billiard_forces k) (billiard_initial ())

00:00:33 #4538 [Verbose] >

00:00:33 #4539 [Verbose] > inl billiard_states_finite n_method k dt =

00:00:33 #4540 [Verbose] >     billiard_states n_method k dt

00:00:33 #4541 [Verbose] >     >> Some

00:00:33 #4542 [Verbose] >     |> seq.take_while_ (fun (multi_particle_state mpst) (_ : i32) =>

00:00:33 #4543 [Verbose] >         (mpst |> listm'.item 0i32).time <= 10

00:00:33 #4544 [Verbose] >     )

00:00:33 #4545 [Verbose] >

00:00:33 #4546 [Verbose] > inl momentum (particle_state st) =

00:00:33 #4547 [Verbose] >     inl m = st.mass

00:00:33 #4548 [Verbose] >     inl v = st.velocity

00:00:33 #4549 [Verbose] >     m *^ v

00:00:33 #4550 [Verbose] >

00:00:33 #4551 [Verbose] > inl system_p (multi_particle_state sts) =

00:00:33 #4552 [Verbose] >     sts |> listm.map momentum |> sum_vec

00:00:33 #4553 [Verbose] >

00:00:33 #4554 [Verbose] >

00:00:33 #4555 [Verbose] > inl time_ke_ec_x, time_ke_ec_y =

00:00:33 #4556 [Verbose] >     billiard_states_finite euler_cromer_mps 30 0.03

00:00:33 #4557 [Verbose] >     |> listm.map (fun (multi_particle_state mpst) =>

00:00:33 #4558 [Verbose] >         (mpst |> listm'.item 0i32).time, system_ke (multi_particle_state mpst)

00:00:33 #4559 [Verbose] >     )

00:00:33 #4560 [Verbose] >     |> listm'.unzip

00:00:33 #4561 [Verbose] >

00:00:33 #4562 [Verbose] > inl time_ke_rk4_x, time_ke_rk4_y =

00:00:33 #4563 [Verbose] >     billiard_states_finite runge_kutta_4 30 0.03

00:00:33 #4564 [Verbose] >     |> listm.map (fun (multi_particle_state mpst) =>

00:00:33 #4565 [Verbose] >         (mpst |> listm'.item 0i32).time, system_ke (multi_particle_state mpst)

00:00:33 #4566 [Verbose] >     )

00:00:33 #4567 [Verbose] >     |> listm'.unzip

00:00:33 #4568 [Verbose] >

00:00:33 #4569 [Verbose] > inl time_ke_ec_x : a i32 _ = time_ke_ec_x |> listm.toArray

00:00:33 #4570 [Verbose] > inl time_ke_ec_y : a i32 _ = time_ke_ec_y |> listm.toArray

00:00:33 #4571 [Verbose] >

00:00:33 #4572 [Verbose] > inl time_ke_rk4_x : a i32 _ = time_ke_rk4_x |> listm.toArray

00:00:33 #4573 [Verbose] > inl time_ke_rk4_y : a i32 _ = time_ke_rk4_y |> listm.toArray

00:00:33 #4574 [Verbose] >

00:00:33 #4575 [Verbose] > "system kinetic energy versus time",

00:00:33 #4576 [Verbose] > "time (s)",

00:00:33 #4577 [Verbose] > "system kinetic energy (j)",

00:00:33 #4578 [Verbose] > ;[[

00:00:33 #4579 [Verbose] >     "euler-cromer", time_ke_ec_x, time_ke_ec_y

00:00:33 #4580 [Verbose] >     "runge-kutta 4", time_ke_rk4_x, time_ke_rk4_y

00:00:33 #4581 [Verbose] > ]]

00:00:33 #4582 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0905-0941-4116-48d00a73616a\main.spi

00:00:34 #4583 [Verbose] >

00:00:34 #4584 [Verbose] > ╭─[ 1.27s - return value ]─────────────────────────────────────────────────────╮

00:00:34 #4585 [Verbose] > │ <svg width="640" height="480" viewBox="0 0 640 480"                          │

00:00:34 #4586 [Verbose] > │ xmlns="http://www.w3.org/2000/svg">                                          │

00:00:34 #4587 [Verbose] > │ <rect x="0" y="0" width="640" height="480" opacity="1" fill="#141414"        │

00:00:34 #4588 [Verbose] > │ stroke="none"/>                                                              │

00:00:34 #4589 [Verbose] > │ <text x="320" y="10" dy="0.76em" text-anchor="middle"                        │

00:00:34 #4590 [Verbose] > │ font-family="sans-serif" font-size="9.67741935483871" opacity="1"            │

00:00:34 #4591 [Verbose] > │ fill="#FFFFFF">                                                              │

00:00:34 #4592 [Verbose] > │ system kinetic energy versus time                                            │

00:00:34 #4593 [Verbose] > │ </text>                                                                      │

00:00:34 #4594 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="59" y1="424" x2="59" │

00:00:34 #4595 [Verbose] > │ y2="75"/>                                                                    │

00:00:34 #4596 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="69" y1="424" x2="69" │

00:00:34 #4597 [Verbose] > │ y2="75"/>                                                                    │

00:00:34 #4598 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="79" y1="424" x2="79" │

00:00:34 #4599 [Verbose] > │ y2="75"/>                                                                    │

00:00:34 #4600 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="89" y1="424" x2="89" │

00:00:34 #4601 [Verbose] > │ y2="75"/>                                                                    │

00:00:34 #4602 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1...                        │

00:00:34 #4603 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:34 #4604 [Verbose] >

00:00:34 #4605 [Verbose] > ╭─[ 1.28s - stdout ]───────────────────────────────────────────────────────────╮

00:00:34 #4606 [Verbose] > │ type UH0 =                                                                   │

00:00:34 #4607 [Verbose] > │     | UH0_0 of float * float * float * float * float * float * float * float │

00:00:34 #4608 [Verbose] > │ * float * UH0                                                                │

00:00:34 #4609 [Verbose] > │     | UH0_1                                                                  │

00:00:34 #4610 [Verbose] > │ and UH1 =                                                                    │

00:00:34 #4611 [Verbose] > │     | UH1_0 of float * float * float * float * float * float * float * float │

00:00:34 #4612 [Verbose] > │ * float * UH1                                                                │

00:00:34 #4613 [Verbose] > │     | UH1_1                                                                  │

00:00:34 #4614 [Verbose] > │ and UH2 =                                                                    │

00:00:34 #4615 [Verbose] > │     | UH2_0 of float * float * float * float * float * float * float * float │

00:00:34 #4616 [Verbose] > │ * float * float * float * float * float * float * float * float * float *    │

00:00:34 #4617 [Verbose] > │ float * UH2                                                                  │

00:00:34 #4618 [Verbose] > │     | UH2_1                                                                  │

00:00:34 #4619 [Verbose] > │ and UH3 =                                                                    │

00:00:34 #4620 [Verbose] > │     | UH3_0 of int32 * float * float * float * float * float * float * float │

00:00:34 #4621 [Verbose] > │ * float * float * UH3                                                        │

00:00:34 #4622 [Verbose] > │     | UH3_1                                                                  │

00:00:34 #4623 [Verbose] > │ and [<Struct>] US0 =                                                         │

00:00:34 #4624 [Verbose] > │     | US0_0                                                                  │

00:00:34 #4625 [Verbose] > │     | US0_1 of f1_0 : float * f1_1 : float * f1_2 : float * f1_3 : float *   │

00:00:34 #4626 [Verbose] > │ f1_4 : float * f1_5 : float * f1_6 : float * f1_7 : float * f1_8 : float     │

00:00:34 #4627 [Verbose] > │ and UH4 =                                                                    │

00:00:34 #4628 [Verbose] > │     | UH4_0 of UH0 * UH4                                                     │

00:00:34 #4629 [Verbose] > │     | UH4_1                                                                  │

00:00:34 #4630 [Verbose] > │ and UH5 =                                                                    │

00:00:34 #4631 [Verbose] > │     | UH5_0 of float * float * UH5                                           │

00:00:34 #4632 [Verbose] > │     | UH5_1                                                                  │

00:00:34 #4633 [Verbose] > │ and UH6 =                                                                    │

00:00:34 #4634 [Verbose] > │     | UH6_0 of float * UH6                                                   │

00:00:34 #4635 [Verbose] > │     | UH6_1                                                                  │

00:00:34 #4636 [Verbose] > │ let rec method2 (v0 : UH0, v1 : UH0) : UH0 =                                 │

00:00:34 #4637 [Verbose] > │     match v0 with                                                            │

00:00:34 #4638 [Verbose] > │     | UH0_0(v2, v3, v4, v5, v6, v7, v8, v9, v10, v11) -> (* Cons *)          │

00:00:34 #4639 [Verbose] > │         let v12 : UH0 = UH0_0(v2, v3, v4, v5, v6, v7, v8, v9, v10, v1)       │

00:00:34 #4640 [Verbose] > │         method2(v11, v12)                                                    │

00:00:34 #4641 [Verbose] > │     | UH0_1 -> (* Nil *)                                                     │

00:00:34 #4642 [Verbose] > │         v1                                                                   │

00:00:34 #4643 [Verbose] > │ and method1 (v0 : float, v1 : UH0, v2 : UH1, v3 : UH0) : UH0 =               │

00:00:34 #4644 [Verbose] > │     match v2 with                                                            │

00:00:34 #4645 [Verbose] > │     | UH1_0(v4, v5, v6, v7, v8, v9, v10, v11, v12, v13) -> (* Cons *)        │

00:00:34 #4646 [Verbose] > │         match v3 with                                                        │

00:00:34 #4647 [Verbose] > │         | UH0_0(v14, v15, v16, v17, v18, v19, v20, v21, v22, v23) -> (* Cons │

00:00:34 #4648 [Verbose] > │ *)                                                                           │

00:00:34 #4649 [Verbose] > │             let v24 : float = v9 * v0                                        │

00:00:34 #4650 [Verbose] > │             let v25 : float = v19 + v24                                      │

00:00:34 #4651 [Verbose] > │             let v26 : float = v0 * v6                                        │

00:00:34 #4652 [Verbose] > │             let v27 : float = v0 * v7                                        │

00:00:34 #4653 [Verbose] > │             let v28 : float = v0 * v8                                        │

00:00:34 #4654 [Verbose] > │             let v29 : float = v16 + v26                                      │

00:00:34 #4655 [Verbose] > │             let v30 : float = v17 + v27                                      │

00:00:34 #4656 [Verbose] > │             let v31 : float = v18 + v28                                      │

00:00:34 #4657 [Verbose] > │             let v32 : float = v0 * v10                                       │

00:00:34 #4658 [Verbose] > │             let v33 : float = v0 * v11                                       │

00:00:34 #4659 [Verbose] > │             let v34 : float = v0 * v12                                       │

00:00:34 #4660 [Verbose] > │             let v35 : float = v20 + v32                                      │

00:00:34 #4661 [Verbose] > │             let v36 : float = v21 + v33                                      │

00:00:34 #4662 [Verbose] > │             let v37 : float = v22 + v34                                      │

00:00:34 #4663 [Verbose] > │             let v38 : UH0 = UH0_0(v14, v15, v29, v30, v31, v25, v35, v36,    │

00:00:34 #4664 [Verbose] > │ v37, v1)                                                                     │

00:00:34 #4665 [Verbose] > │             method1(v0, v38, v13, v23)                                       │

00:00:34 #4666 [Verbose] > │         | _ ->                                                               │

00:00:34 #4667 [Verbose] > │             let v40 : UH0 = UH0_1                                            │

00:00:34 #4668 [Verbose] > │             method2(v1, v40)                                                 │

00:00:34 #4669 [Verbose] > │     | _ ->                                                                   │

00:00:34 #4670 [Verbose] > │         let v43 : UH0 = UH0_1                                                │

00:00:34 #4671 [Verbose] > │         method2(v1, v43)                                                     │

00:00:34 #4672 [Verbose] > │ and method4 (v0 : UH2, v1 : UH2) : UH2 =                                     │

00:00:34 #4673 [Verbose] > │     match v0 with                                                            │

00:00:34 #4674 [Verbose] > │     | UH2_0(v2, v3, v4, v5, v6, v7, v8, v9, v10, v11, v12, v13, v14, v15,    │

00:00:34 #4675 [Verbose] > │ v16, v17, v18, v19, v20) -> (* Cons *)                                       │

00:00:34 #4676 [Verbose] > │         let v21 : UH2 = UH2_0(v2, v3, v4, v5, v6, v7, v8, v9, v10, v11, v12, │

00:00:34 #4677 [Verbose] > │ v13, v14, v15, v16, v17, v18, v19, v1)                                       │

00:00:34 #4678 [Verbose] > │         method4(v20, v21)                                                    │

00:00:34 #4679 [Verbose] > │     | UH2_1 -> (* Nil *)                                                     │

00:00:34 #4680 [Verbose] > │         v1                                                                   │

00:00:34 #4681 [Verbose] > │ and method3 (v0 : UH2, v1 : UH0, v2 : UH0) : UH2 =                           │

00:00:34 #4682 [Verbose] > │     match v1 with                                                            │

00:00:34 #4683 [Verbose] > │     | UH0_0(v3, v4, v5, v6, v7, v8, v9, v10, v11, v12) -> (* Cons *)         │

00:00:34 #4684 [Verbose] > │         match v2 with                                                        │

00:00:34 #4685 [Verbose] > │         | UH0_0(v13, v14, v15, v16, v17, v18, v19, v20, v21, v22) -> (* Cons │

00:00:34 #4686 [Verbose] > │ *)                                                                           │

00:00:34 #4687 [Verbose] > │             let v23 : UH2 = UH2_0(v3, v4, v5, v6, v7, v8, v9, v10, v11, v13, │

00:00:34 #4688 [Verbose] > │ v14, v15, v16, v17, v18, v19, v20, v21, v0)                                  │

00:00:34 #4689 [Verbose] > │             method3(v23, v12, v22)                                           │

00:00:34 #4690 [Verbose] > │         | _ ->                                                               │

00:00:34 #4691 [Verbose] > │             let v25 : UH2 = UH2_1                                            │

00:00:34 #4692 [Verbose] > │             method4(v0, v25)                                                 │

00:00:34 #4693 [Verbose] > │     | _ ->                                                                   │

00:00:34 #4694 [Verbose] > │         let v28 : UH2 = UH2_1                                                │

00:00:34 #4695 [Verbose] > │         method4(v0, v28)                                                     │

00:00:34 #4696 [Verbose] > │ and method5 (v0 : float, v1 : UH2, v2 : UH0) : UH0 =                         │

00:00:34 #4697 [Verbose] > │     match v1 with                                                            │

00:00:34 #4698 [Verbose] > │     | UH2_0(v3, v4, v5, v6, v7, v8, v9, v10, v11, v12, v13, v14, v15, v16,   │

00:00:34 #4699 [Verbose] > │ v17, v18, v19, v20, v21) -> (* Cons *)                                       │

00:00:34 #4700 [Verbose] > │         let v22 : UH0 = method5(v0, v21, v2)                                 │

00:00:34 #4701 [Verbose] > │         let v23 : float = v0 * v18                                           │

00:00:34 #4702 [Verbose] > │         let v24 : float = v0 * v19                                           │

00:00:34 #4703 [Verbose] > │         let v25 : float = v0 * v20                                           │

00:00:34 #4704 [Verbose] > │         let v26 : float = v5 + v23                                           │

00:00:34 #4705 [Verbose] > │         let v27 : float = v6 + v24                                           │

00:00:34 #4706 [Verbose] > │         let v28 : float = v7 + v25                                           │

00:00:34 #4707 [Verbose] > │         UH0_0(v12, v13, v26, v27, v28, v17, v18, v19, v20, v22)              │

00:00:34 #4708 [Verbose] > │     | UH2_1 -> (* Nil *)                                                     │

00:00:34 #4709 [Verbose] > │         v2                                                                   │

00:00:34 #4710 [Verbose] > │ and closure2 (v0 : float, v1 : (UH0 -> UH1)) (v2 : UH0) : UH0 =              │

00:00:34 #4711 [Verbose] > │     let v3 : UH1 = v1 v2                                                     │

00:00:34 #4712 [Verbose] > │     let v4 : UH0 = UH0_1                                                     │

00:00:34 #4713 [Verbose] > │     let v5 : UH0 = method1(v0, v4, v3, v2)                                   │

00:00:34 #4714 [Verbose] > │     let v6 : UH2 = UH2_1                                                     │

00:00:34 #4715 [Verbose] > │     let v7 : UH2 = method3(v6, v2, v5)                                       │

00:00:34 #4716 [Verbose] > │     let v8 : UH0 = UH0_1                                                     │

00:00:34 #4717 [Verbose] > │     let v9 : UH0 = method5(v0, v7, v8)                                       │

00:00:34 #4718 [Verbose] > │     v9                                                                       │

00:00:34 #4719 [Verbose] > │ and closure1 (v0 : float) (v1 : (UH0 -> UH1)) : (UH0 -> UH0) =               │

00:00:34 #4720 [Verbose] > │     closure2(v0, v1)                                                         │

00:00:34 #4721 [Verbose] > │ and closure0 () (v0 : float) : ((UH0 -> UH1) -> (UH0 -> UH0)) =              │

00:00:34 #4722 [Verbose] > │     closure1(v0)                                                             │

00:00:34 #4723 [Verbose] > │ and method6 (v0 : UH0, v1 : UH3, v2 : int32) : struct (UH3 * int32) =        │

00:00:34 #4724 [Verbose] > │     match v0 with                                                            │

00:00:34 #4725 [Verbose] > │     | UH0_0(v3, v4, v5, v6, v7, v8, v9, v10, v11, v12) -> (* Cons *)         │

00:00:34 #4726 [Verbose] > │         let v13 : int32 = v2 + 1                                             │

00:00:34 #4727 [Verbose] > │         let v14 : UH3 = UH3_0(v2, v3, v4, v5, v6, v7, v8, v9, v10, v11, v1)  │

00:00:34 #4728 [Verbose] > │         method6(v12, v14, v13)                                               │

00:00:34 #4729 [Verbose] > │     | UH0_1 -> (* Nil *)                                                     │

00:00:34 #4730 [Verbose] > │         struct (v1, v2)                                                      │

00:00:34 #4731 [Verbose] > │ and method7 (v0 : UH3, v1 : UH3) : UH3 =                                     │

00:00:34 #4732 [Verbose] > │     match v0 with                                                            │

00:00:34 #4733 [Verbose] > │     | UH3_0(v2, v3, v4, v5, v6, v7, v8, v9, v10, v11, v12) -> (* Cons *)     │

00:00:34 #4734 [Verbose] > │         let v13 : UH3 = UH3_0(v2, v3, v4, v5, v6, v7, v8, v9, v10, v11, v1)  │

00:00:34 #4735 [Verbose] > │         method7(v12, v13)                                                    │

00:00:34 #4736 [Verbose] > │     | UH3_1 -> (* Nil *)                                                     │

00:00:34 #4737 [Verbose] > │         v1                                                                   │

00:00:34 #4738 [Verbose] > │ and closure4 (v0 : float, v1 : float, v2 : float, v3 : float, v4 : float, v5 │

00:00:34 #4739 [Verbose] > │ : float, v6 : float, v7 : float, v8 : float) struct (v9 : float, v10 :       │

00:00:34 #4740 [Verbose] > │ float, v11 : float, v12 : float, v13 : float, v14 : float, v15 : float, v16  │

00:00:34 #4741 [Verbose] > │ : float, v17 : float) : struct (float * float * float) =                     │

00:00:34 #4742 [Verbose] > │     let v18 : float = -1.0 * v2                                              │

00:00:34 #4743 [Verbose] > │     let v19 : float = -1.0 * v3                                              │

00:00:34 #4744 [Verbose] > │     let v20 : float = -1.0 * v4                                              │

00:00:34 #4745 [Verbose] > │     let v21 : float = v11 + v18                                              │

00:00:34 #4746 [Verbose] > │     let v22 : float = v12 + v19                                              │

00:00:34 #4747 [Verbose] > │     let v23 : float = v13 + v20                                              │

00:00:34 #4748 [Verbose] > │     let v24 : float = v21 * v21                                              │

00:00:34 #4749 [Verbose] > │     let v25 : float = v22 * v22                                              │

00:00:34 #4750 [Verbose] > │     let v26 : float = v24 + v25                                              │

00:00:34 #4751 [Verbose] > │     let v27 : float = v23 * v23                                              │

00:00:34 #4752 [Verbose] > │     let v28 : float = v26 + v27                                              │

00:00:34 #4753 [Verbose] > │     let v29 : float = sqrt v28                                               │

00:00:34 #4754 [Verbose] > │     let v30 : bool = v29 >= 0.06                                             │

00:00:34 #4755 [Verbose] > │     let v33 : float =                                                        │

00:00:34 #4756 [Verbose] > │         if v30 then                                                          │

00:00:34 #4757 [Verbose] > │             0.0                                                              │

00:00:34 #4758 [Verbose] > │         else                                                                 │

00:00:34 #4759 [Verbose] > │             let v31 : float = v29 - 0.06                                     │

00:00:34 #4760 [Verbose] > │             let v32 : float = -30.0 * v31                                    │

00:00:34 #4761 [Verbose] > │             v32                                                              │

00:00:34 #4762 [Verbose] > │     let v34 : float = v33 * v21                                              │

00:00:34 #4763 [Verbose] > │     let v35 : float = v33 * v22                                              │

00:00:34 #4764 [Verbose] > │     let v36 : float = v33 * v23                                              │

00:00:34 #4765 [Verbose] > │     let v37 : float = v34 / v29                                              │

00:00:34 #4766 [Verbose] > │     let v38 : float = v35 / v29                                              │

00:00:34 #4767 [Verbose] > │     let v39 : float = v36 / v29                                              │

00:00:34 #4768 [Verbose] > │     struct (v37, v38, v39)                                                   │

00:00:34 #4769 [Verbose] > │ and closure5 () struct (v0 : float, v1 : float, v2 : float, v3 : float, v4 : │

00:00:34 #4770 [Verbose] > │ float, v5 : float, v6 : float, v7 : float, v8 : float) : struct (float *     │

00:00:34 #4771 [Verbose] > │ float * float) =                                                             │

00:00:34 #4772 [Verbose] > │     struct (0.0, 0.0, 0.0)                                                   │

00:00:34 #4773 [Verbose] > │ and method8 (v0 : UH0, v1 : UH3, v2 : UH1) : UH1 =                           │

00:00:34 #4774 [Verbose] > │     match v1 with                                                            │

00:00:34 #4775 [Verbose] > │     | UH3_0(v3, v4, v5, v6, v7, v8, v9, v10, v11, v12, v13) -> (* Cons *)    │

00:00:34 #4776 [Verbose] > │         let v14 : UH1 = method8(v0, v13, v2)                                 │

00:00:34 #4777 [Verbose] > │         let v15 : bool = v3 = 0                                              │

00:00:34 #4778 [Verbose] > │         let v134 : (struct (float * float * float * float * float * float *  │

00:00:34 #4779 [Verbose] > │ float * float * float) -> struct (float * float * float)) =                  │

00:00:34 #4780 [Verbose] > │             if v15 then                                                      │

00:00:34 #4781 [Verbose] > │                 let v42 : US0 =                                              │

00:00:34 #4782 [Verbose] > │                     match v0 with                                            │

00:00:34 #4783 [Verbose] > │                     | UH0_0(v16, v17, v18, v19, v20, v21, v22, v23, v24,     │

00:00:34 #4784 [Verbose] > │ v25) -> (* Cons *)                                                           │

00:00:34 #4785 [Verbose] > │                         match v25 with                                       │

00:00:34 #4786 [Verbose] > │                         | UH0_0(v26, v27, v28, v29, v30, v31, v32, v33, v34, │

00:00:34 #4787 [Verbose] > │ v35) -> (* Cons *)                                                           │

00:00:34 #4788 [Verbose] > │                             US0_1(v26, v27, v28, v29, v30, v31, v32, v33,    │

00:00:34 #4789 [Verbose] > │ v34)                                                                         │

00:00:34 #4790 [Verbose] > │                         | UH0_1 -> (* Nil *)                                 │

00:00:34 #4791 [Verbose] > │                             US0_0                                            │

00:00:34 #4792 [Verbose] > │                     | UH0_1 -> (* Nil *)                                     │

00:00:34 #4793 [Verbose] > │                         US0_0                                                │

00:00:34 #4794 [Verbose] > │                 let struct (v70 : float, v71 : float, v72 : float, v73 :     │

00:00:34 #4795 [Verbose] > │ float, v74 : float, v75 : float, v76 : float, v77 : float, v78 : float) =    │

00:00:34 #4796 [Verbose] > │                     match v42 with                                           │

00:00:34 #4797 [Verbose] > │                     | US0_0 -> (* None *)                                    │

00:00:34 #4798 [Verbose] > │                         failwith<struct (float * float * float * float *     │

00:00:34 #4799 [Verbose] > │ float * float * float * float * float)> "Option does not have a value."      │

00:00:34 #4800 [Verbose] > │                     | US0_1(v43, v44, v45, v46, v47, v48, v49, v50, v51) ->  │

00:00:34 #4801 [Verbose] > │ (* Some *)                                                                   │

00:00:34 #4802 [Verbose] > │                         struct (v43, v44, v45, v46, v47, v48, v49, v50, v51) │

00:00:34 #4803 [Verbose] > │                 closure4(v70, v71, v72, v73, v74, v75, v76, v77, v78)        │

00:00:34 #4804 [Verbose] > │             else                                                             │

00:00:34 #4805 [Verbose] > │                 let v80 : bool = v3 = 1                                      │

00:00:34 #4806 [Verbose] > │                 if v80 then                                                  │

00:00:34 #4807 [Verbose] > │                     let v94 : US0 =                                          │

00:00:34 #4808 [Verbose] > │                         match v0 with                                        │

00:00:34 #4809 [Verbose] > │                         | UH0_0(v81, v82, v83, v84, v85, v86, v87, v88, v89, │

00:00:34 #4810 [Verbose] > │ v90) -> (* Cons *)                                                           │

00:00:34 #4811 [Verbose] > │                             US0_1(v81, v82, v83, v84, v85, v86, v87, v88,    │

00:00:34 #4812 [Verbose] > │ v89)                                                                         │

00:00:34 #4813 [Verbose] > │                         | UH0_1 -> (* Nil *)                                 │

00:00:34 #4814 [Verbose] > │                             US0_0                                            │

00:00:34 #4815 [Verbose] > │                     let struct (v122 : float, v123 : float, v124 : float,    │

00:00:34 #4816 [Verbose] > │ v125 : float, v126 : float, v127 : float, v128 : float, v129 : float, v130 : │

00:00:34 #4817 [Verbose] > │ float) =                                                                     │

00:00:34 #4818 [Verbose] > │                         match v94 with                                       │

00:00:34 #4819 [Verbose] > │                         | US0_0 -> (* None *)                                │

00:00:34 #4820 [Verbose] > │                             failwith<struct (float * float * float * float * │

00:00:34 #4821 [Verbose] > │ float * float * float * float * float)> "Option does not have a value."      │

00:00:34 #4822 [Verbose] > │                         | US0_1(v95, v96, v97, v98, v99, v100, v101, v102,   │

00:00:34 #4823 [Verbose] > │ v103) -> (* Some *)                                                          │

00:00:34 #4824 [Verbose] > │                             struct (v95, v96, v97, v98, v99, v100, v101,     │

00:00:34 #4825 [Verbose] > │ v102, v103)                                                                  │

00:00:34 #4826 [Verbose] > │                     closure4(v122, v123, v124, v125, v126, v127, v128, v129, │

00:00:34 #4827 [Verbose] > │ v130)                                                                        │

00:00:34 #4828 [Verbose] > │                 else                                                         │

00:00:34 #4829 [Verbose] > │                     closure5()                                               │

00:00:34 #4830 [Verbose] > │         let struct (v135 : float, v136 : float, v137 : float) = v134 struct  │

00:00:34 #4831 [Verbose] > │ (v4, v5, v6, v7, v8, v9, v10, v11, v12)                                      │

00:00:34 #4832 [Verbose] > │         let v138 : float = v135 / v5                                         │

00:00:34 #4833 [Verbose] > │         let v139 : float = v136 / v5                                         │

00:00:34 #4834 [Verbose] > │         let v140 : float = v137 / v5                                         │

00:00:34 #4835 [Verbose] > │         UH1_0(0.0, 0.0, v10, v11, v12, 1.0, v138, v139, v140, v14)           │

00:00:34 #4836 [Verbose] > │     | UH3_1 -> (* Nil *)                                                     │

00:00:34 #4837 [Verbose] > │         v2                                                                   │

00:00:34 #4838 [Verbose] > │ and closure3 () (v0 : UH0) : UH1 =                                           │

00:00:34 #4839 [Verbose] > │     let v1 : UH3 = UH3_1                                                     │

00:00:34 #4840 [Verbose] > │     let v2 : int32 = 0                                                       │

00:00:34 #4841 [Verbose] > │     let struct (v3 : UH3, v4 : int32) = method6(v0, v1, v2)                  │

00:00:34 #4842 [Verbose] > │     let v5 : UH3 = UH3_1                                                     │

00:00:34 #4843 [Verbose] > │     let v6 : UH3 = method7(v3, v5)                                           │

00:00:34 #4844 [Verbose] > │     let v7 : UH1 = UH1_1                                                     │

00:00:34 #4845 [Verbose] > │     let v8 : UH1 = method8(v0, v6, v7)                                       │

00:00:34 #4846 [Verbose] > │     v8                                                                       │

00:00:34 #4847 [Verbose] > │ and method10 (v0 : (UH0 -> UH0), v1 : UH0, v2 : int32) : UH0 =               │

00:00:34 #4848 [Verbose] > │     let v3 : bool = v2 <= 0                                                  │

00:00:34 #4849 [Verbose] > │     if v3 then                                                               │

00:00:34 #4850 [Verbose] > │         v1                                                                   │

00:00:34 #4851 [Verbose] > │     else                                                                     │

00:00:34 #4852 [Verbose] > │         let v4 : UH0 = v0 v1                                                 │

00:00:34 #4853 [Verbose] > │         let v5 : int32 = v2 - 1                                              │

00:00:34 #4854 [Verbose] > │         method10(v0, v4, v5)                                                 │

00:00:34 #4855 [Verbose] > │ and method11 (v0 : UH4, v1 : UH4) : UH4 =                                    │

00:00:34 #4856 [Verbose] > │     match v0 with                                                            │

00:00:34 #4857 [Verbose] > │     | UH4_0(v2, v3) -> (* Cons *)                                            │

00:00:34 #4858 [Verbose] > │         let v4 : UH4 = UH4_0(v2, v1)                                         │

00:00:34 #4859 [Verbose] > │         method11(v3, v4)                                                     │

00:00:34 #4860 [Verbose] > │     | UH4_1 -> (* Nil *)                                                     │

00:00:34 #4861 [Verbose] > │         v1                                                                   │

00:00:34 #4862 [Verbose] > │ and method9 (v0 : (UH0 -> UH0), v1 : UH4, v2 : int32) : UH4 =                │

00:00:34 #4863 [Verbose] > │     let v3 : float = 0.0                                                     │

00:00:34 #4864 [Verbose] > │     let v4 : float = 0.16                                                    │

00:00:34 #4865 [Verbose] > │     let v5 : float = 0.0                                                     │

00:00:34 #4866 [Verbose] > │     let v6 : float = 0.0                                                     │

00:00:34 #4867 [Verbose] > │     let v7 : float = 0.0                                                     │

00:00:34 #4868 [Verbose] > │     let v8 : float = 0.0                                                     │

00:00:34 #4869 [Verbose] > │     let v9 : float = 0.2                                                     │

00:00:34 #4870 [Verbose] > │     let v10 : float = 0.0                                                    │

00:00:34 #4871 [Verbose] > │     let v11 : float = 0.0                                                    │

00:00:34 #4872 [Verbose] > │     let v12 : float = 1.0                                                    │

00:00:34 #4873 [Verbose] > │     let v13 : float = 0.02                                                   │

00:00:34 #4874 [Verbose] > │     let v14 : float = 0.0                                                    │

00:00:34 #4875 [Verbose] > │     let v15 : float = 0.0                                                    │

00:00:34 #4876 [Verbose] > │     let v16 : float = 0.0                                                    │

00:00:34 #4877 [Verbose] > │     let v17 : float = 0.0                                                    │

00:00:34 #4878 [Verbose] > │     let v18 : UH0 = UH0_1                                                    │

00:00:34 #4879 [Verbose] > │     let v19 : UH0 = UH0_0(v3, v4, v12, v13, v14, v8, v15, v16, v17, v18)     │

00:00:34 #4880 [Verbose] > │     let v20 : UH0 = UH0_0(v3, v4, v5, v6, v7, v8, v9, v10, v11, v19)         │

00:00:34 #4881 [Verbose] > │     let v21 : UH0 = method10(v0, v20, v2)                                    │

00:00:34 #4882 [Verbose] > │     let v35 : US0 =                                                          │

00:00:34 #4883 [Verbose] > │         match v21 with                                                       │

00:00:34 #4884 [Verbose] > │         | UH0_0(v22, v23, v24, v25, v26, v27, v28, v29, v30, v31) -> (* Cons │

00:00:34 #4885 [Verbose] > │ *)                                                                           │

00:00:34 #4886 [Verbose] > │             US0_1(v22, v23, v24, v25, v26, v27, v28, v29, v30)               │

00:00:34 #4887 [Verbose] > │         | UH0_1 -> (* Nil *)                                                 │

00:00:34 #4888 [Verbose] > │             US0_0                                                            │

00:00:34 #4889 [Verbose] > │     let struct (v63 : float, v64 : float, v65 : float, v66 : float, v67 :    │

00:00:34 #4890 [Verbose] > │ float, v68 : float, v69 : float, v70 : float, v71 : float) =                 │

00:00:34 #4891 [Verbose] > │         match v35 with                                                       │

00:00:34 #4892 [Verbose] > │         | US0_0 -> (* None *)                                                │

00:00:34 #4893 [Verbose] > │             failwith<struct (float * float * float * float * float * float * │

00:00:34 #4894 [Verbose] > │ float * float * float)> "Option does not have a value."                      │

00:00:34 #4895 [Verbose] > │         | US0_1(v36, v37, v38, v39, v40, v41, v42, v43, v44) -> (* Some *)   │

00:00:34 #4896 [Verbose] > │             struct (v36, v37, v38, v39, v40, v41, v42, v43, v44)             │

00:00:34 #4897 [Verbose] > │     let v72 : bool = v68 <= 10.0                                             │

00:00:34 #4898 [Verbose] > │     if v72 then                                                              │

00:00:34 #4899 [Verbose] > │         let v73 : UH4 = UH4_0(v21, v1)                                       │

00:00:34 #4900 [Verbose] > │         let v74 : int32 = v2 + 1                                             │

00:00:34 #4901 [Verbose] > │         method9(v0, v73, v74)                                                │

00:00:34 #4902 [Verbose] > │     else                                                                     │

00:00:34 #4903 [Verbose] > │         let v76 : UH4 = UH4_1                                                │

00:00:34 #4904 [Verbose] > │         method11(v1, v76)                                                    │

00:00:34 #4905 [Verbose] > │ and method13 (v0 : UH0, v1 : UH6) : UH6 =                                    │

00:00:34 #4906 [Verbose] > │     match v0 with                                                            │

00:00:34 #4907 [Verbose] > │     | UH0_0(v2, v3, v4, v5, v6, v7, v8, v9, v10, v11) -> (* Cons *)          │

00:00:34 #4908 [Verbose] > │         let v12 : UH6 = method13(v11, v1)                                    │

00:00:34 #4909 [Verbose] > │         let v13 : float = v8 * v8                                            │

00:00:34 #4910 [Verbose] > │         let v14 : float = v9 * v9                                            │

00:00:34 #4911 [Verbose] > │         let v15 : float = v13 + v14                                          │

00:00:34 #4912 [Verbose] > │         let v16 : float = v10 * v10                                          │

00:00:34 #4913 [Verbose] > │         let v17 : float = v15 + v16                                          │

00:00:34 #4914 [Verbose] > │         let v18 : float = sqrt v17                                           │

00:00:34 #4915 [Verbose] > │         let v19 : float = 0.5 * v3                                           │

00:00:34 #4916 [Verbose] > │         let v20 : float = v18 ** 2.0                                         │

00:00:34 #4917 [Verbose] > │         let v21 : float = v19 * v20                                          │

00:00:34 #4918 [Verbose] > │         UH6_0(v21, v12)                                                      │

00:00:34 #4919 [Verbose] > │     | UH0_1 -> (* Nil *)                                                     │

00:00:34 #4920 [Verbose] > │         v1                                                                   │

00:00:34 #4921 [Verbose] > │ and method14 (v0 : UH6, v1 : float) : float =                                │

00:00:34 #4922 [Verbose] > │     match v0 with                                                            │

00:00:34 #4923 [Verbose] > │     | UH6_0(v2, v3) -> (* Cons *)                                            │

00:00:34 #4924 [Verbose] > │         let v4 : float = v1 + v2                                             │

00:00:34 #4925 [Verbose] > │         method14(v3, v4)                                                     │

00:00:34 #4926 [Verbose] > │     | UH6_1 -> (* Nil *)                                                     │

00:00:34 #4927 [Verbose] > │         v1                                                                   │

00:00:34 #4928 [Verbose] > │ and method12 (v0 : UH4, v1 : UH5) : UH5 =                                    │

00:00:34 #4929 [Verbose] > │     match v0 with                                                            │

00:00:34 #4930 [Verbose] > │     | UH4_0(v2, v3) -> (* Cons *)                                            │

00:00:34 #4931 [Verbose] > │         let v4 : UH5 = method12(v3, v1)                                      │

00:00:34 #4932 [Verbose] > │         let v18 : US0 =                                                      │

00:00:34 #4933 [Verbose] > │             match v2 with                                                    │

00:00:34 #4934 [Verbose] > │             | UH0_0(v5, v6, v7, v8, v9, v10, v11, v12, v13, v14) -> (* Cons  │

00:00:34 #4935 [Verbose] > │ *)                                                                           │

00:00:34 #4936 [Verbose] > │                 US0_1(v5, v6, v7, v8, v9, v10, v11, v12, v13)                │

00:00:34 #4937 [Verbose] > │             | UH0_1 -> (* Nil *)                                             │

00:00:34 #4938 [Verbose] > │                 US0_0                                                        │

00:00:34 #4939 [Verbose] > │         let struct (v46 : float, v47 : float, v48 : float, v49 : float, v50  │

00:00:34 #4940 [Verbose] > │ : float, v51 : float, v52 : float, v53 : float, v54 : float) =               │

00:00:34 #4941 [Verbose] > │             match v18 with                                                   │

00:00:34 #4942 [Verbose] > │             | US0_0 -> (* None *)                                            │

00:00:34 #4943 [Verbose] > │                 failwith<struct (float * float * float * float * float *     │

00:00:34 #4944 [Verbose] > │ float * float * float * float)> "Option does not have a value."              │

00:00:34 #4945 [Verbose] > │             | US0_1(v19, v20, v21, v22, v23, v24, v25, v26, v27) -> (* Some  │

00:00:34 #4946 [Verbose] > │ *)                                                                           │

00:00:34 #4947 [Verbose] > │                 struct (v19, v20, v21, v22, v23, v24, v25, v26, v27)         │

00:00:34 #4948 [Verbose] > │         let v55 : UH6 = UH6_1                                                │

00:00:34 #4949 [Verbose] > │         let v56 : UH6 = method13(v2, v55)                                    │

00:00:34 #4950 [Verbose] > │         let v57 : float = 0.0                                                │

00:00:34 #4951 [Verbose] > │         let v58 : float = method14(v56, v57)                                 │

00:00:34 #4952 [Verbose] > │         UH5_0(v51, v58, v4)                                                  │

00:00:34 #4953 [Verbose] > │     | UH4_1 -> (* Nil *)                                                     │

00:00:34 #4954 [Verbose] > │         v1                                                                   │

00:00:34 #4955 [Verbose] > │ and method15 (v0 : UH5, v1 : UH6, v2 : UH6) : struct (UH6 * UH6) =           │

00:00:34 #4956 [Verbose] > │     match v0 with                                                            │

00:00:34 #4957 [Verbose] > │     | UH5_0(v3, v4, v5) -> (* Cons *)                                        │

00:00:34 #4958 [Verbose] > │         let v6 : UH6 = UH6_0(v3, v1)                                         │

00:00:34 #4959 [Verbose] > │         let v7 : UH6 = UH6_0(v4, v2)                                         │

00:00:34 #4960 [Verbose] > │         method15(v5, v6, v7)                                                 │

00:00:34 #4961 [Verbose] > │     | UH5_1 -> (* Nil *)                                                     │

00:00:34 #4962 [Verbose] > │         struct (v1, v2)                                                      │

00:00:34 #4963 [Verbose] > │ and method16 (v0 : UH6, v1 : UH6) : UH6 =                                    │

00:00:34 #4964 [Verbose] > │     match v0 with                                                            │

00:00:34 #4965 [Verbose] > │     | UH6_0(v2, v3) -> (* Cons *)                                            │

00:00:34 #4966 [Verbose] > │         let v4 : UH6 = UH6_0(v2, v1)                                         │

00:00:34 #4967 [Verbose] > │         method16(v3, v4)                                                     │

00:00:34 #4968 [Verbose] > │     | UH6_1 -> (* Nil *)                                                     │

00:00:34 #4969 [Verbose] > │         v1                                                                   │

00:00:34 #4970 [Verbose] > │ and method18 (v0 : UH1, v1 : UH1) : UH1 =                                    │

00:00:34 #4971 [Verbose] > │     match v0 with                                                            │

00:00:34 #4972 [Verbose] > │     | UH1_0(v2, v3, v4, v5, v6, v7, v8, v9, v10, v11) -> (* Cons *)          │

00:00:34 #4973 [Verbose] > │         let v12 : UH1 = UH1_0(v2, v3, v4, v5, v6, v7, v8, v9, v10, v1)       │

00:00:34 #4974 [Verbose] > │         method18(v11, v12)                                                   │

00:00:34 #4975 [Verbose] > │     | UH1_1 -> (* Nil *)                                                     │

00:00:34 #4976 [Verbose] > │         v1                                                                   │

00:00:34 #4977 [Verbose] > │ and method17 (v0 : UH1, v1 : UH1, v2 : UH1) : UH1 =                          │

00:00:34 #4978 [Verbose] > │     match v1 with                                                            │

00:00:34 #4979 [Verbose] > │     | UH1_0(v3, v4, v5, v6, v7, v8, v9, v10, v11, v12) -> (* Cons *)         │

00:00:34 #4980 [Verbose] > │         match v2 with                                                        │

00:00:34 #4981 [Verbose] > │         | UH1_0(v13, v14, v15, v16, v17, v18, v19, v20, v21, v22) -> (* Cons │

00:00:34 #4982 [Verbose] > │ *)                                                                           │

00:00:34 #4983 [Verbose] > │             let v23 : float = v3 + v13                                       │

00:00:34 #4984 [Verbose] > │             let v24 : float = v4 + v14                                       │

00:00:34 #4985 [Verbose] > │             let v25 : float = v8 + v18                                       │

00:00:34 #4986 [Verbose] > │             let v26 : float = v5 + v15                                       │

00:00:34 #4987 [Verbose] > │             let v27 : float = v6 + v16                                       │

00:00:34 #4988 [Verbose] > │             let v28 : float = v7 + v17                                       │

00:00:34 #4989 [Verbose] > │             let v29 : float = v9 + v19                                       │

00:00:34 #4990 [Verbose] > │             let v30 : float = v10 + v20                                      │

00:00:34 #4991 [Verbose] > │             let v31 : float = v11 + v21                                      │

00:00:34 #4992 [Verbose] > │             let v32 : UH1 = UH1_0(v23, v24, v26, v27, v28, v25, v29, v30,    │

00:00:34 #4993 [Verbose] > │ v31, v0)                                                                     │

00:00:34 #4994 [Verbose] > │             method17(v32, v12, v22)                                          │

00:00:34 #4995 [Verbose] > │         | _ ->                                                               │

00:00:34 #4996 [Verbose] > │             let v34 : UH1 = UH1_1                                            │

00:00:34 #4997 [Verbose] > │             method18(v0, v34)                                                │

00:00:34 #4998 [Verbose] > │     | _ ->                                                                   │

00:00:34 #4999 [Verbose] > │         let v37 : UH1 = UH1_1                                                │

00:00:34 #5000 [Verbose] > │         method18(v0, v37)                                                    │

00:00:34 #5001 [Verbose] > │ and closure8 (v0 : float, v1 : (UH0 -> UH1)) (v2 : UH0) : UH0 =              │

00:00:34 #5002 [Verbose] > │     let v3 : UH1 = v1 v2                                                     │

00:00:34 #5003 [Verbose] > │     let v4 : float = v0 / 2.0                                                │

00:00:34 #5004 [Verbose] > │     let v5 : UH0 = UH0_1                                                     │

00:00:34 #5005 [Verbose] > │     let v6 : UH0 = method1(v4, v5, v3, v2)                                   │

00:00:34 #5006 [Verbose] > │     let v7 : UH1 = v1 v6                                                     │

00:00:34 #5007 [Verbose] > │     let v8 : UH0 = UH0_1                                                     │

00:00:34 #5008 [Verbose] > │     let v9 : UH0 = method1(v4, v8, v7, v2)                                   │

00:00:34 #5009 [Verbose] > │     let v10 : UH1 = v1 v9                                                    │

00:00:34 #5010 [Verbose] > │     let v11 : UH0 = UH0_1                                                    │

00:00:34 #5011 [Verbose] > │     let v12 : UH0 = method1(v0, v11, v10, v2)                                │

00:00:34 #5012 [Verbose] > │     let v13 : UH1 = v1 v12                                                   │

00:00:34 #5013 [Verbose] > │     let v14 : float = v0 / 6.0                                               │

00:00:34 #5014 [Verbose] > │     let v15 : UH1 = UH1_1                                                    │

00:00:34 #5015 [Verbose] > │     let v16 : UH1 = method17(v15, v3, v7)                                    │

00:00:34 #5016 [Verbose] > │     let v17 : UH1 = UH1_1                                                    │

00:00:34 #5017 [Verbose] > │     let v18 : UH1 = method17(v17, v16, v7)                                   │

00:00:34 #5018 [Verbose] > │     let v19 : UH1 = UH1_1                                                    │

00:00:34 #5019 [Verbose] > │     let v20 : UH1 = method17(v19, v18, v10)                                  │

00:00:34 #5020 [Verbose] > │     let v21 : UH1 = UH1_1                                                    │

00:00:34 #5021 [Verbose] > │     let v22 : UH1 = method17(v21, v20, v10)                                  │

00:00:34 #5022 [Verbose] > │     let v23 : UH1 = UH1_1                                                    │

00:00:34 #5023 [Verbose] > │     let v24 : UH1 = method17(v23, v22, v13)                                  │

00:00:34 #5024 [Verbose] > │     let v25 : UH0 = UH0_1                                                    │

00:00:34 #5025 [Verbose] > │     let v26 : UH0 = method1(v14, v25, v24, v2)                               │

00:00:34 #5026 [Verbose] > │     v26                                                                      │

00:00:34 #5027 [Verbose] > │ and closure7 (v0 : float) (v1 : (UH0 -> UH1)) : (UH0 -> UH0) =               │

00:00:34 #5028 [Verbose] > │     closure8(v0, v1)                                                         │

00:00:34 #5029 [Verbose] > │ and closure6 () (v0 : float) : ((UH0 -> UH1) -> (UH0 -> UH0)) =              │

00:00:34 #5030 [Verbose] > │     closure7(v0)                                                             │

00:00:34 #5031 [Verbose] > │ and method19 (v0 : UH4, v1 : UH5) : UH5 =                                    │

00:00:34 #5032 [Verbose] > │     match v0 with                                                            │

00:00:34 #5033 [Verbose] > │     | UH4_0(v2, v3) -> (* Cons *)                                            │

00:00:34 #5034 [Verbose] > │         let v4 : UH5 = method19(v3, v1)                                      │

00:00:34 #5035 [Verbose] > │         let v18 : US0 =                                                      │

00:00:34 #5036 [Verbose] > │             match v2 with                                                    │

00:00:34 #5037 [Verbose] > │             | UH0_0(v5, v6, v7, v8, v9, v10, v11, v12, v13, v14) -> (* Cons  │

00:00:34 #5038 [Verbose] > │ *)                                                                           │

00:00:34 #5039 [Verbose] > │                 US0_1(v5, v6, v7, v8, v9, v10, v11, v12, v13)                │

00:00:34 #5040 [Verbose] > │             | UH0_1 -> (* Nil *)                                             │

00:00:34 #5041 [Verbose] > │                 US0_0                                                        │

00:00:34 #5042 [Verbose] > │         let struct (v46 : float, v47 : float, v48 : float, v49 : float, v50  │

00:00:34 #5043 [Verbose] > │ : float, v51 : float, v52 : float, v53 : float, v54 : float) =               │

00:00:34 #5044 [Verbose] > │             match v18 with                                                   │

00:00:34 #5045 [Verbose] > │             | US0_0 -> (* None *)                                            │

00:00:34 #5046 [Verbose] > │                 failwith<struct (float * float * float * float * float *     │

00:00:34 #5047 [Verbose] > │ float * float * float * float)> "Option does not have a value."              │

00:00:34 #5048 [Verbose] > │             | US0_1(v19, v20, v21, v22, v23, v24, v25, v26, v27) -> (* Some  │

00:00:34 #5049 [Verbose] > │ *)                                                                           │

00:00:34 #5050 [Verbose] > │                 struct (v19, v20, v21, v22, v23, v24, v25, v26, v27)         │

00:00:34 #5051 [Verbose] > │         let v55 : UH6 = UH6_1                                                │

00:00:34 #5052 [Verbose] > │         let v56 : UH6 = method13(v2, v55)                                    │

00:00:34 #5053 [Verbose] > │         let v57 : float = 0.0                                                │

00:00:34 #5054 [Verbose] > │         let v58 : float = method14(v56, v57)                                 │

00:00:34 #5055 [Verbose] > │         UH5_0(v51, v58, v4)                                                  │

00:00:34 #5056 [Verbose] > │     | UH4_1 -> (* Nil *)                                                     │

00:00:34 #5057 [Verbose] > │         v1                                                                   │

00:00:34 #5058 [Verbose] > │ and method21 (v0 : UH6, v1 : int32) : int32 =                                │

00:00:34 #5059 [Verbose] > │     match v0 with                                                            │

00:00:34 #5060 [Verbose] > │     | UH6_0(v2, v3) -> (* Cons *)                                            │

00:00:34 #5061 [Verbose] > │         let v4 : int32 = v1 + 1                                              │

00:00:34 #5062 [Verbose] > │         method21(v3, v4)                                                     │

00:00:34 #5063 [Verbose] > │     | UH6_1 -> (* Nil *)                                                     │

00:00:34 #5064 [Verbose] > │         v1                                                                   │

00:00:34 #5065 [Verbose] > │ and method22 (v0 : (float []), v1 : UH6, v2 : int32) : int32 =               │

00:00:34 #5066 [Verbose] > │     match v1 with                                                            │

00:00:34 #5067 [Verbose] > │     | UH6_0(v3, v4) -> (* Cons *)                                            │

00:00:34 #5068 [Verbose] > │         v0.[int v2] <- v3                                                    │

00:00:34 #5069 [Verbose] > │         let v5 : int32 = v2 + 1                                              │

00:00:34 #5070 [Verbose] > │         method22(v0, v4, v5)                                                 │

00:00:34 #5071 [Verbose] > │     | UH6_1 -> (* Nil *)                                                     │

00:00:34 #5072 [Verbose] > │         v2                                                                   │

00:00:34 #5073 [Verbose] > │ and method20 (v0 : UH6) : (float []) =                                       │

00:00:34 #5074 [Verbose] > │     let v1 : int32 = 0                                                       │

00:00:34 #5075 [Verbose] > │     let v2 : int32 = method21(v0, v1)                                        │

00:00:34 #5076 [Verbose] > │     let v3 : (float []) = Array.zeroCreate<float> (v2)                       │

00:00:34 #5077 [Verbose] > │     let v4 : int32 = 0                                                       │

00:00:34 #5078 [Verbose] > │     let v5 : int32 = method22(v3, v0, v4)                                    │

00:00:34 #5079 [Verbose] > │     v3                                                                       │

00:00:34 #5080 [Verbose] > │ and method23 (v0 : (struct (string * (float []) * (float [])) [])) : (struct │

00:00:34 #5081 [Verbose] > │ (string * (float []) * (float [])) []) =                                     │

00:00:34 #5082 [Verbose] > │     v0                                                                       │

00:00:34 #5083 [Verbose] > │ and method0 () : struct (string * string * string * (struct (string * (float │

00:00:34 #5084 [Verbose] > │ []) * (float [])) [])) =                                                     │

00:00:34 #5085 [Verbose] > │     let v0 : (float -> ((UH0 -> UH1) -> (UH0 -> UH0))) = closure0()          │

00:00:34 #5086 [Verbose] > │     let v1 : ((UH0 -> UH1) -> (UH0 -> UH0)) = v0 0.03                        │

00:00:34 #5087 [Verbose] > │     let v2 : (UH0 -> UH1) = closure3()                                       │

00:00:34 #5088 [Verbose] > │     let v3 : (UH0 -> UH0) = v1 v2                                            │

00:00:34 #5089 [Verbose] > │     let v4 : UH4 = UH4_1                                                     │

00:00:34 #5090 [Verbose] > │     let v5 : int32 = 0                                                       │

00:00:34 #5091 [Verbose] > │     let v6 : UH4 = method9(v3, v4, v5)                                       │

00:00:34 #5092 [Verbose] > │     let v7 : UH5 = UH5_1                                                     │

00:00:34 #5093 [Verbose] > │     let v8 : UH5 = method12(v6, v7)                                          │

00:00:34 #5094 [Verbose] > │     let v9 : UH6 = UH6_1                                                     │

00:00:34 #5095 [Verbose] > │     let v10 : UH6 = UH6_1                                                    │

00:00:34 #5096 [Verbose] > │     let struct (v11 : UH6, v12 : UH6) = method15(v8, v9, v10)                │

00:00:34 #5097 [Verbose] > │     let v13 : UH6 = UH6_1                                                    │

00:00:34 #5098 [Verbose] > │     let v14 : UH6 = method16(v11, v13)                                       │

00:00:34 #5099 [Verbose] > │     let v15 : UH6 = UH6_1                                                    │

00:00:34 #5100 [Verbose] > │     let v16 : UH6 = method16(v12, v15)                                       │

00:00:34 #5101 [Verbose] > │     let v17 : (float -> ((UH0 -> UH1) -> (UH0 -> UH0))) = closure6()         │

00:00:34 #5102 [Verbose] > │     let v18 : ((UH0 -> UH1) -> (UH0 -> UH0)) = v17 0.03                      │

00:00:34 #5103 [Verbose] > │     let v19 : (UH0 -> UH0) = v18 v2                                          │

00:00:34 #5104 [Verbose] > │     let v20 : UH4 = UH4_1                                                    │

00:00:34 #5105 [Verbose] > │     let v21 : int32 = 0                                                      │

00:00:34 #5106 [Verbose] > │     let v22 : UH4 = method9(v19, v20, v21)                                   │

00:00:34 #5107 [Verbose] > │     let v23 : UH5 = UH5_1                                                    │

00:00:34 #5108 [Verbose] > │     let v24 : UH5 = method19(v22, v23)                                       │

00:00:34 #5109 [Verbose] > │     let v25 : UH6 = UH6_1                                                    │

00:00:34 #5110 [Verbose] > │     let v26 : UH6 = UH6_1                                                    │

00:00:34 #5111 [Verbose] > │     let struct (v27 : UH6, v28 : UH6) = method15(v24, v25, v26)              │

00:00:34 #5112 [Verbose] > │     let v29 : UH6 = UH6_1                                                    │

00:00:34 #5113 [Verbose] > │     let v30 : UH6 = method16(v27, v29)                                       │

00:00:34 #5114 [Verbose] > │     let v31 : UH6 = UH6_1                                                    │

00:00:34 #5115 [Verbose] > │     let v32 : UH6 = method16(v28, v31)                                       │

00:00:34 #5116 [Verbose] > │     let v33 : (float []) = method20(v14)                                     │

00:00:34 #5117 [Verbose] > │     let v34 : (float []) = method20(v16)                                     │

00:00:34 #5118 [Verbose] > │     let v35 : (float []) = method20(v30)                                     │

00:00:34 #5119 [Verbose] > │     let v36 : (float []) = method20(v32)                                     │

00:00:34 #5120 [Verbose] > │     let v37 : string = "euler-cromer"                                        │

00:00:34 #5121 [Verbose] > │     let v38 : string = "runge-kutta 4"                                       │

00:00:34 #5122 [Verbose] > │     let v39 : (struct (string * (float []) * (float [])) []) = [|struct      │

00:00:34 #5123 [Verbose] > │ (v37, v33, v34); struct (v38, v35, v36)|]                                    │

00:00:34 #5124 [Verbose] > │     let v40 : (struct (string * (float []) * (float [])) []) = method23(v39) │

00:00:34 #5125 [Verbose] > │     let v41 : string = "system kinetic energy versus time"                   │

00:00:34 #5126 [Verbose] > │     let v42 : string = "time (s)"                                            │

00:00:34 #5127 [Verbose] > │     let v43 : string = "system kinetic energy (j)"                           │

00:00:34 #5128 [Verbose] > │     struct (v41, v42, v43, v40)                                              │

00:00:34 #5129 [Verbose] > │ method0()                                                                    │

00:00:34 #5130 [Verbose] > │                                                                              │

00:00:34 #5131 [Verbose] > │                                                                              │

00:00:34 #5132 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:34 #5133 [Verbose] >

00:00:34 #5134 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────

00:00:34 #5135 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮

00:00:34 #5136 [Verbose] > │ ### wave 1                                                                   │

00:00:34 #5137 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:34 #5138 [Verbose] >

00:00:34 #5139 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:34 #5140 [Verbose] > // // test

00:00:34 #5141 [Verbose] >

00:00:34 #5142 [Verbose] > inl linear_spring k re (particle_state st1) (particle_state st2) =

00:00:34 #5143 [Verbose] >     inl r1 = st1.pos_vec

00:00:34 #5144 [Verbose] >     inl r2 = st2.pos_vec

00:00:34 #5145 [Verbose] >     inl r21 = r2 ^-^ r1

00:00:34 #5146 [Verbose] >     inl r21mag = magnitude r21

00:00:34 #5147 [Verbose] >     -k * (r21mag - re) *^ r21 ^/ r21mag

00:00:34 #5148 [Verbose] >

00:00:34 #5149 [Verbose] > inl fixed_linear_spring k re r1 =

00:00:34 #5150 [Verbose] >     inl (particle_state default_particle_state') = default_particle_state ()

00:00:34 #5151 [Verbose] >     linear_spring k re (particle_state { default_particle_state' with pos_vec =

00:00:34 #5152 [Verbose] > r1 })

00:00:34 #5153 [Verbose] >

00:00:34 #5154 [Verbose] > inl forces_string () =

00:00:34 #5155 [Verbose] >     [[

00:00:34 #5156 [Verbose] >         ExternalForce (0, fixed_linear_spring 5384 0 (zero_vec ()))

00:00:34 #5157 [Verbose] >         ExternalForce (63, fixed_linear_spring 5384 0 (0.65 *^ i_hat ()))

00:00:34 #5158 [Verbose] >     ]] /@ (

00:00:34 #5159 [Verbose] >         listm'.init_series 0 59 1

00:00:34 #5160 [Verbose] >         |> listm.map (fun n => InternalForce (n, n + 1, linear_spring 5384 0))

00:00:34 #5161 [Verbose] >     )

00:00:34 #5162 [Verbose] >

00:00:34 #5163 [Verbose] > inl string_update dt =

00:00:34 #5164 [Verbose] >     update_mps (runge_kutta_4 dt) (forces_string ())

00:00:34 #5165 [Verbose] >

00:00:34 #5166 [Verbose] > inl string_initial_overtone n =

00:00:34 #5167 [Verbose] >     inl ball_mass = 0.0008293 * 0.65 / 64

00:00:34 #5168 [Verbose] >     inl (particle_state default_particle_state') = default_particle_state ()

00:00:34 #5169 [Verbose] >     listm'.init_series 0.01 0.64 0.01

00:00:34 #5170 [Verbose] >     |> listm.map (fun x =>

00:00:34 #5171 [Verbose] >         inl y = 0.005 * sin (conv n * pi * x / 0.65)

00:00:34 #5172 [Verbose] >         particle_state {

00:00:34 #5173 [Verbose] >             default_particle_state' with

00:00:34 #5174 [Verbose] >                 mass = ball_mass

00:00:34 #5175 [Verbose] >                 pos_vec = x *^ i_hat () ^+^ y *^ j_hat ()

00:00:34 #5176 [Verbose] >                 velocity = zero_vec ()

00:00:34 #5177 [Verbose] >         }

00:00:34 #5178 [Verbose] >     )

00:00:34 #5179 [Verbose] >     |> multi_particle_state

00:00:34 #5180 [Verbose] >

00:00:34 #5181 [Verbose] > inl string_initial_pluck () =

00:00:34 #5182 [Verbose] >     inl ball_mass = 0.0008293 * 0.65 / 64

00:00:34 #5183 [Verbose] >     inl (particle_state default_particle_state') = default_particle_state ()

00:00:34 #5184 [Verbose] >     listm'.init_series 0.01 0.64 0.01

00:00:34 #5185 [Verbose] >     |> listm.map (fun x =>

00:00:34 #5186 [Verbose] >         inl y =

00:00:34 #5187 [Verbose] >             inl n = if x <= 0.51 then 0 else 0.65

00:00:34 #5188 [Verbose] >             0.005 / (0.51 - n) * (x - n)

00:00:34 #5189 [Verbose] >         particle_state {

00:00:34 #5190 [Verbose] >             default_particle_state' with

00:00:34 #5191 [Verbose] >                 mass = ball_mass

00:00:34 #5192 [Verbose] >                 pos_vec = x *^ i_hat () ^+^ y *^ j_hat ()

00:00:34 #5193 [Verbose] >                 velocity = zero_vec ()

00:00:34 #5194 [Verbose] >         }

00:00:34 #5195 [Verbose] >     )

00:00:34 #5196 [Verbose] >     |> multi_particle_state

00:00:34 #5197 [Verbose] >

00:00:34 #5198 [Verbose] > let main () =

00:00:34 #5199 [Verbose] >     inl ~frames = listm'.init_series 0 9 1f64

00:00:34 #5200 [Verbose] >     inl initial_state = string_initial_overtone 3i32

00:00:34 #5201 [Verbose] >     inl frames =

00:00:34 #5202 [Verbose] >         frames

00:00:34 #5203 [Verbose] >         |> listm.map (fun n =>

00:00:34 #5204 [Verbose] >             inl (multi_particle_state sts) =

00:00:34 #5205 [Verbose] >                 seq.iterate' (string_update 0.000025) initial_state |> fun f =>

00:00:34 #5206 [Verbose] > f 0f64

00:00:34 #5207 [Verbose] >             inl rs =

00:00:34 #5208 [Verbose] >                 [[ zero_vec () ]]

00:00:34 #5209 [Verbose] >                 /@ (sts |> listm.map (fun (particle_state st) => st.pos_vec))

00:00:34 #5210 [Verbose] >                 /@ [[ 0.65 *^ i_hat () ]]

00:00:34 #5211 [Verbose] >             inl x, y =

00:00:34 #5212 [Verbose] >                 rs

00:00:34 #5213 [Verbose] >                 |> listm.map (fun r => r.x, r.y)

00:00:34 #5214 [Verbose] >                 |> listm'.unzip

00:00:34 #5215 [Verbose] >             inl x : a i32 _ = x |> listm.toArray

00:00:34 #5216 [Verbose] >             inl y : a i32 _ = y |> listm.toArray

00:00:34 #5217 [Verbose] >             x, y

00:00:34 #5218 [Verbose] >         )

00:00:34 #5219 [Verbose] >         |> listm.toArray : a i32 _

00:00:34 #5220 [Verbose] >

00:00:34 #5221 [Verbose] >     inl n = 0i32

00:00:34 #5222 [Verbose] >

00:00:34 #5223 [Verbose] >     inl x, y = index frames n

00:00:34 #5224 [Verbose] >

00:00:34 #5225 [Verbose] >     "wave",

00:00:34 #5226 [Verbose] >     "position (m)",

00:00:34 #5227 [Verbose] >     "displacement (m)",

00:00:34 #5228 [Verbose] >     ;[[

00:00:34 #5229 [Verbose] >         ($"$\"{!n}\"" : string), x, y

00:00:34 #5230 [Verbose] >     ]]

00:00:34 #5231 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0905-1088-8848-89cb3240423c\main.spi

00:00:35 #5232 [Verbose] >

00:00:35 #5233 [Verbose] > ╭─[ 425.70ms - return value ]──────────────────────────────────────────────────╮

00:00:35 #5234 [Verbose] > │ <svg width="640" height="480" viewBox="0 0 640 480"                          │

00:00:35 #5235 [Verbose] > │ xmlns="http://www.w3.org/2000/svg">                                          │

00:00:35 #5236 [Verbose] > │ <rect x="0" y="0" width="640" height="480" opacity="1" fill="#141414"        │

00:00:35 #5237 [Verbose] > │ stroke="none"/>                                                              │

00:00:35 #5238 [Verbose] > │ <text x="320" y="10" dy="0.76em" text-anchor="middle"                        │

00:00:35 #5239 [Verbose] > │ font-family="sans-serif" font-size="9.67741935483871" opacity="1"            │

00:00:35 #5240 [Verbose] > │ fill="#FFFFFF">                                                              │

00:00:35 #5241 [Verbose] > │ wave                                                                         │

00:00:35 #5242 [Verbose] > │ </text>                                                                      │

00:00:35 #5243 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="62" y1="424" x2="62" │

00:00:35 #5244 [Verbose] > │ y2="75"/>                                                                    │

00:00:35 #5245 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="69" y1="424" x2="69" │

00:00:35 #5246 [Verbose] > │ y2="75"/>                                                                    │

00:00:35 #5247 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="77" y1="424" x2="77" │

00:00:35 #5248 [Verbose] > │ y2="75"/>                                                                    │

00:00:35 #5249 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="85" y1="424" x2="85" │

00:00:35 #5250 [Verbose] > │ y2="75"/>                                                                    │

00:00:35 #5251 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="93" y1="424" x2="93" │

00:00:35 #5252 [Verbose] > │ y2...                                                                        │

00:00:35 #5253 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:35 #5254 [Verbose] >

00:00:35 #5255 [Verbose] > ╭─[ 439.65ms - stdout ]────────────────────────────────────────────────────────╮

00:00:35 #5256 [Verbose] > │ type UH0 =                                                                   │

00:00:35 #5257 [Verbose] > │     | UH0_0 of float * UH0                                                   │

00:00:35 #5258 [Verbose] > │     | UH0_1                                                                  │

00:00:35 #5259 [Verbose] > │ and UH1 =                                                                    │

00:00:35 #5260 [Verbose] > │     | UH1_0 of (float []) * (float []) * UH1                                 │

00:00:35 #5261 [Verbose] > │     | UH1_1                                                                  │

00:00:35 #5262 [Verbose] > │ let rec method3 (v0 : UH0, v1 : int32) : int32 =                             │

00:00:35 #5263 [Verbose] > │     match v0 with                                                            │

00:00:35 #5264 [Verbose] > │     | UH0_0(v2, v3) -> (* Cons *)                                            │

00:00:35 #5265 [Verbose] > │         let v4 : int32 = v1 + 1                                              │

00:00:35 #5266 [Verbose] > │         method3(v3, v4)                                                      │

00:00:35 #5267 [Verbose] > │     | UH0_1 -> (* Nil *)                                                     │

00:00:35 #5268 [Verbose] > │         v1                                                                   │

00:00:35 #5269 [Verbose] > │ and method4 (v0 : (float []), v1 : UH0, v2 : int32) : int32 =                │

00:00:35 #5270 [Verbose] > │     match v1 with                                                            │

00:00:35 #5271 [Verbose] > │     | UH0_0(v3, v4) -> (* Cons *)                                            │

00:00:35 #5272 [Verbose] > │         v0.[int v2] <- v3                                                    │

00:00:35 #5273 [Verbose] > │         let v5 : int32 = v2 + 1                                              │

00:00:35 #5274 [Verbose] > │         method4(v0, v4, v5)                                                  │

00:00:35 #5275 [Verbose] > │     | UH0_1 -> (* Nil *)                                                     │

00:00:35 #5276 [Verbose] > │         v2                                                                   │

00:00:35 #5277 [Verbose] > │ and method2 (v0 : UH0) : (float []) =                                        │

00:00:35 #5278 [Verbose] > │     let v1 : int32 = 0                                                       │

00:00:35 #5279 [Verbose] > │     let v2 : int32 = method3(v0, v1)                                         │

00:00:35 #5280 [Verbose] > │     let v3 : (float []) = Array.zeroCreate<float> (v2)                       │

00:00:35 #5281 [Verbose] > │     let v4 : int32 = 0                                                       │

00:00:35 #5282 [Verbose] > │     let v5 : int32 = method4(v3, v0, v4)                                     │

00:00:35 #5283 [Verbose] > │     v3                                                                       │

00:00:35 #5284 [Verbose] > │ and method1 (v0 : UH0, v1 : UH1) : UH1 =                                     │

00:00:35 #5285 [Verbose] > │     match v0 with                                                            │

00:00:35 #5286 [Verbose] > │     | UH0_0(v2, v3) -> (* Cons *)                                            │

00:00:35 #5287 [Verbose] > │         let v4 : UH1 = method1(v3, v1)                                       │

00:00:35 #5288 [Verbose] > │         let v5 : float = 0.0                                                 │

00:00:35 #5289 [Verbose] > │         let v6 : float = 0.01                                                │

00:00:35 #5290 [Verbose] > │         let v7 : float = 0.02                                                │

00:00:35 #5291 [Verbose] > │         let v8 : float = 0.03                                                │

00:00:35 #5292 [Verbose] > │         let v9 : float = 0.04                                                │

00:00:35 #5293 [Verbose] > │         let v10 : float = 0.05                                               │

00:00:35 #5294 [Verbose] > │         let v11 : float = 0.060000000000000005                               │

00:00:35 #5295 [Verbose] > │         let v12 : float = 0.06999999999999999                                │

00:00:35 #5296 [Verbose] > │         let v13 : float = 0.08                                               │

00:00:35 #5297 [Verbose] > │         let v14 : float = 0.09                                               │

00:00:35 #5298 [Verbose] > │         let v15 : float = 0.09999999999999999                                │

00:00:35 #5299 [Verbose] > │         let v16 : float = 0.11                                               │

00:00:35 #5300 [Verbose] > │         let v17 : float = 0.12                                               │

00:00:35 #5301 [Verbose] > │         let v18 : float = 0.13                                               │

00:00:35 #5302 [Verbose] > │         let v19 : float = 0.14                                               │

00:00:35 #5303 [Verbose] > │         let v20 : float = 0.15000000000000002                                │

00:00:35 #5304 [Verbose] > │         let v21 : float = 0.16                                               │

00:00:35 #5305 [Verbose] > │         let v22 : float = 0.17                                               │

00:00:35 #5306 [Verbose] > │         let v23 : float = 0.18000000000000002                                │

00:00:35 #5307 [Verbose] > │         let v24 : float = 0.19                                               │

00:00:35 #5308 [Verbose] > │         let v25 : float = 0.2                                                │

00:00:35 #5309 [Verbose] > │         let v26 : float = 0.21000000000000002                                │

00:00:35 #5310 [Verbose] > │         let v27 : float = 0.22                                               │

00:00:35 #5311 [Verbose] > │         let v28 : float = 0.23                                               │

00:00:35 #5312 [Verbose] > │         let v29 : float = 0.24000000000000002                                │

00:00:35 #5313 [Verbose] > │         let v30 : float = 0.25                                               │

00:00:35 #5314 [Verbose] > │         let v31 : float = 0.26                                               │

00:00:35 #5315 [Verbose] > │         let v32 : float = 0.27                                               │

00:00:35 #5316 [Verbose] > │         let v33 : float = 0.28                                               │

00:00:35 #5317 [Verbose] > │         let v34 : float = 0.29000000000000004                                │

00:00:35 #5318 [Verbose] > │         let v35 : float = 0.3                                                │

00:00:35 #5319 [Verbose] > │         let v36 : float = 0.31                                               │

00:00:35 #5320 [Verbose] > │         let v37 : float = 0.32                                               │

00:00:35 #5321 [Verbose] > │         let v38 : float = 0.33                                               │

00:00:35 #5322 [Verbose] > │         let v39 : float = 0.34                                               │

00:00:35 #5323 [Verbose] > │         let v40 : float = 0.35000000000000003                                │

00:00:35 #5324 [Verbose] > │         let v41 : float = 0.36000000000000004                                │

00:00:35 #5325 [Verbose] > │         let v42 : float = 0.37                                               │

00:00:35 #5326 [Verbose] > │         let v43 : float = 0.38                                               │

00:00:35 #5327 [Verbose] > │         let v44 : float = 0.39                                               │

00:00:35 #5328 [Verbose] > │         let v45 : float = 0.4                                                │

00:00:35 #5329 [Verbose] > │         let v46 : float = 0.41000000000000003                                │

00:00:35 #5330 [Verbose] > │         let v47 : float = 0.42000000000000004                                │

00:00:35 #5331 [Verbose] > │         let v48 : float = 0.43                                               │

00:00:35 #5332 [Verbose] > │         let v49 : float = 0.44                                               │

00:00:35 #5333 [Verbose] > │         let v50 : float = 0.45                                               │

00:00:35 #5334 [Verbose] > │         let v51 : float = 0.46                                               │

00:00:35 #5335 [Verbose] > │         let v52 : float = 0.47000000000000003                                │

00:00:35 #5336 [Verbose] > │         let v53 : float = 0.48000000000000004                                │

00:00:35 #5337 [Verbose] > │         let v54 : float = 0.49                                               │

00:00:35 #5338 [Verbose] > │         let v55 : float = 0.5                                                │

00:00:35 #5339 [Verbose] > │         let v56 : float = 0.51                                               │

00:00:35 #5340 [Verbose] > │         let v57 : float = 0.52                                               │

00:00:35 #5341 [Verbose] > │         let v58 : float = 0.53                                               │

00:00:35 #5342 [Verbose] > │         let v59 : float = 0.54                                               │

00:00:35 #5343 [Verbose] > │         let v60 : float = 0.55                                               │

00:00:35 #5344 [Verbose] > │         let v61 : float = 0.56                                               │

00:00:35 #5345 [Verbose] > │         let v62 : float = 0.5700000000000001                                 │

00:00:35 #5346 [Verbose] > │         let v63 : float = 0.5800000000000001                                 │

00:00:35 #5347 [Verbose] > │         let v64 : float = 0.59                                               │

00:00:35 #5348 [Verbose] > │         let v65 : float = 0.6                                                │

00:00:35 #5349 [Verbose] > │         let v66 : float = 0.61                                               │

00:00:35 #5350 [Verbose] > │         let v67 : float = 0.62                                               │

00:00:35 #5351 [Verbose] > │         let v68 : float = 0.63                                               │

00:00:35 #5352 [Verbose] > │         let v69 : float = 0.64                                               │

00:00:35 #5353 [Verbose] > │         let v70 : float = 0.65                                               │

00:00:35 #5354 [Verbose] > │         let v71 : UH0 = UH0_1                                                │

00:00:35 #5355 [Verbose] > │         let v72 : UH0 = UH0_0(v70, v71)                                      │

00:00:35 #5356 [Verbose] > │         let v73 : UH0 = UH0_0(v69, v72)                                      │

00:00:35 #5357 [Verbose] > │         let v74 : UH0 = UH0_0(v68, v73)                                      │

00:00:35 #5358 [Verbose] > │         let v75 : UH0 = UH0_0(v67, v74)                                      │

00:00:35 #5359 [Verbose] > │         let v76 : UH0 = UH0_0(v66, v75)                                      │

00:00:35 #5360 [Verbose] > │         let v77 : UH0 = UH0_0(v65, v76)                                      │

00:00:35 #5361 [Verbose] > │         let v78 : UH0 = UH0_0(v64, v77)                                      │

00:00:35 #5362 [Verbose] > │         let v79 : UH0 = UH0_0(v63, v78)                                      │

00:00:35 #5363 [Verbose] > │         let v80 : UH0 = UH0_0(v62, v79)                                      │

00:00:35 #5364 [Verbose] > │         let v81 : UH0 = UH0_0(v61, v80)                                      │

00:00:35 #5365 [Verbose] > │         let v82 : UH0 = UH0_0(v60, v81)                                      │

00:00:35 #5366 [Verbose] > │         let v83 : UH0 = UH0_0(v59, v82)                                      │

00:00:35 #5367 [Verbose] > │         let v84 : UH0 = UH0_0(v58, v83)                                      │

00:00:35 #5368 [Verbose] > │         let v85 : UH0 = UH0_0(v57, v84)                                      │

00:00:35 #5369 [Verbose] > │         let v86 : UH0 = UH0_0(v56, v85)                                      │

00:00:35 #5370 [Verbose] > │         let v87 : UH0 = UH0_0(v55, v86)                                      │

00:00:35 #5371 [Verbose] > │         let v88 : UH0 = UH0_0(v54, v87)                                      │

00:00:35 #5372 [Verbose] > │         let v89 : UH0 = UH0_0(v53, v88)                                      │

00:00:35 #5373 [Verbose] > │         let v90 : UH0 = UH0_0(v52, v89)                                      │

00:00:35 #5374 [Verbose] > │         let v91 : UH0 = UH0_0(v51, v90)                                      │

00:00:35 #5375 [Verbose] > │         let v92 : UH0 = UH0_0(v50, v91)                                      │

00:00:35 #5376 [Verbose] > │         let v93 : UH0 = UH0_0(v49, v92)                                      │

00:00:35 #5377 [Verbose] > │         let v94 : UH0 = UH0_0(v48, v93)                                      │

00:00:35 #5378 [Verbose] > │         let v95 : UH0 = UH0_0(v47, v94)                                      │

00:00:35 #5379 [Verbose] > │         let v96 : UH0 = UH0_0(v46, v95)                                      │

00:00:35 #5380 [Verbose] > │         let v97 : UH0 = UH0_0(v45, v96)                                      │

00:00:35 #5381 [Verbose] > │         let v98 : UH0 = UH0_0(v44, v97)                                      │

00:00:35 #5382 [Verbose] > │         let v99 : UH0 = UH0_0(v43, v98)                                      │

00:00:35 #5383 [Verbose] > │         let v100 : UH0 = UH0_0(v42, v99)                                     │

00:00:35 #5384 [Verbose] > │         let v101 : UH0 = UH0_0(v41, v100)                                    │

00:00:35 #5385 [Verbose] > │         let v102 : UH0 = UH0_0(v40, v101)                                    │

00:00:35 #5386 [Verbose] > │         let v103 : UH0 = UH0_0(v39, v102)                                    │

00:00:35 #5387 [Verbose] > │         let v104 : UH0 = UH0_0(v38, v103)                                    │

00:00:35 #5388 [Verbose] > │         let v105 : UH0 = UH0_0(v37, v104)                                    │

00:00:35 #5389 [Verbose] > │         let v106 : UH0 = UH0_0(v36, v105)                                    │

00:00:35 #5390 [Verbose] > │         let v107 : UH0 = UH0_0(v35, v106)                                    │

00:00:35 #5391 [Verbose] > │         let v108 : UH0 = UH0_0(v34, v107)                                    │

00:00:35 #5392 [Verbose] > │         let v109 : UH0 = UH0_0(v33, v108)                                    │

00:00:35 #5393 [Verbose] > │         let v110 : UH0 = UH0_0(v32, v109)                                    │

00:00:35 #5394 [Verbose] > │         let v111 : UH0 = UH0_0(v31, v110)                                    │

00:00:35 #5395 [Verbose] > │         let v112 : UH0 = UH0_0(v30, v111)                                    │

00:00:35 #5396 [Verbose] > │         let v113 : UH0 = UH0_0(v29, v112)                                    │

00:00:35 #5397 [Verbose] > │         let v114 : UH0 = UH0_0(v28, v113)                                    │

00:00:35 #5398 [Verbose] > │         let v115 : UH0 = UH0_0(v27, v114)                                    │

00:00:35 #5399 [Verbose] > │         let v116 : UH0 = UH0_0(v26, v115)                                    │

00:00:35 #5400 [Verbose] > │         let v117 : UH0 = UH0_0(v25, v116)                                    │

00:00:35 #5401 [Verbose] > │         let v118 : UH0 = UH0_0(v24, v117)                                    │

00:00:35 #5402 [Verbose] > │         let v119 : UH0 = UH0_0(v23, v118)                                    │

00:00:35 #5403 [Verbose] > │         let v120 : UH0 = UH0_0(v22, v119)                                    │

00:00:35 #5404 [Verbose] > │         let v121 : UH0 = UH0_0(v21, v120)                                    │

00:00:35 #5405 [Verbose] > │         let v122 : UH0 = UH0_0(v20, v121)                                    │

00:00:35 #5406 [Verbose] > │         let v123 : UH0 = UH0_0(v19, v122)                                    │

00:00:35 #5407 [Verbose] > │         let v124 : UH0 = UH0_0(v18, v123)                                    │

00:00:35 #5408 [Verbose] > │         let v125 : UH0 = UH0_0(v17, v124)                                    │

00:00:35 #5409 [Verbose] > │         let v126 : UH0 = UH0_0(v16, v125)                                    │

00:00:35 #5410 [Verbose] > │         let v127 : UH0 = UH0_0(v15, v126)                                    │

00:00:35 #5411 [Verbose] > │         let v128 : UH0 = UH0_0(v14, v127)                                    │

00:00:35 #5412 [Verbose] > │         let v129 : UH0 = UH0_0(v13, v128)                                    │

00:00:35 #5413 [Verbose] > │         let v130 : UH0 = UH0_0(v12, v129)                                    │

00:00:35 #5414 [Verbose] > │         let v131 : UH0 = UH0_0(v11, v130)                                    │

00:00:35 #5415 [Verbose] > │         let v132 : UH0 = UH0_0(v10, v131)                                    │

00:00:35 #5416 [Verbose] > │         let v133 : UH0 = UH0_0(v9, v132)                                     │

00:00:35 #5417 [Verbose] > │         let v134 : UH0 = UH0_0(v8, v133)                                     │

00:00:35 #5418 [Verbose] > │         let v135 : UH0 = UH0_0(v7, v134)                                     │

00:00:35 #5419 [Verbose] > │         let v136 : UH0 = UH0_0(v6, v135)                                     │

00:00:35 #5420 [Verbose] > │         let v137 : UH0 = UH0_0(v5, v136)                                     │

00:00:35 #5421 [Verbose] > │         let v138 : (float []) = method2(v137)                                │

00:00:35 #5422 [Verbose] > │         let v139 : float = 0.0                                               │

00:00:35 #5423 [Verbose] > │         let v140 : float = 0.0007224452478461068                             │

00:00:35 #5424 [Verbose] > │         let v141 : float = 0.0014297283919934465                             │

00:00:35 #5425 [Verbose] > │         let v142 : float = 0.0021070055388626454                             │

00:00:35 #5426 [Verbose] > │         let v143 : float = 0.00274006253677335                               │

00:00:35 #5427 [Verbose] > │         let v144 : float = 0.0033156132912039757                             │

00:00:35 #5428 [Verbose] > │         let v145 : float = 0.0038215786027292415                             │

00:00:35 #5429 [Verbose] > │         let v146 : float = 0.004247339675607605                              │

00:00:35 #5430 [Verbose] > │         let v147 : float = 0.004583960976582912                              │

00:00:35 #5431 [Verbose] > │         let v148 : float = 0.004824377766717757                              │

00:00:35 #5432 [Verbose] > │         let v149 : float = 0.00496354437049027                               │

00:00:35 #5433 [Verbose] > │         let v150 : float = 0.004998540070400965                              │

00:00:35 #5434 [Verbose] > │         let v151 : float = 0.004928630404658255                              │

00:00:35 #5435 [Verbose] > │         let v152 : float = 0.004755282581475768                              │

00:00:35 #5436 [Verbose] > │         let v153 : float = 0.004482134686478519                              │

00:00:35 #5437 [Verbose] > │         let v154 : float = 0.0041149193294682815                             │

00:00:35 #5438 [Verbose] > │         let v155 : float = 0.0036613433329888666                             │

00:00:35 #5439 [Verbose] > │         let v156 : float = 0.0031309259876915697                             │

00:00:35 #5440 [Verbose] > │         let v157 : float = 0.002534799269067951                              │

00:00:35 #5441 [Verbose] > │         let v158 : float = 0.0018854742084416015                             │

00:00:35 #5442 [Verbose] > │         let v159 : float = 0.0011965783214377905                             │

00:00:35 #5443 [Verbose] > │         let v160 : float = 0.00048256960457257535                            │

00:00:35 #5444 [Verbose] > │         let v161 : float = -0.00024156689762753317                           │

00:00:35 #5445 [Verbose] > │         let v162 : float = -0.0009606335867685418                            │

00:00:35 #5446 [Verbose] > │         let v163 : float = -0.001659539265642642                             │

00:00:35 #5447 [Verbose] > │         let v164 : float = -0.002323615860218842                             │

00:00:35 #5448 [Verbose] > │         let v165 : float = -0.0029389262614623636                            │

00:00:35 #5449 [Verbose] > │         let v166 : float = -0.003492556826244686                             │

00:00:35 #5450 [Verbose] > │         let v167 : float = -0.003972888398568771                             │

00:00:35 #5451 [Verbose] > │         let v168 : float = -0.00436984016313259                              │

00:00:35 #5452 [Verbose] > │         let v169 : float = -0.004675081213427074                             │

00:00:35 #5453 [Verbose] > │         let v170 : float = -0.004882205394146359                             │

00:00:35 #5454 [Verbose] > │         let v171 : float = -0.004986865748457456                             │

00:00:35 #5455 [Verbose] > │         let v172 : float = -0.004986865748457456                             │

00:00:35 #5456 [Verbose] > │         let v173 : float = -0.004882205394146361                             │

00:00:35 #5457 [Verbose] > │         let v174 : float = -0.004675081213427074                             │

00:00:35 #5458 [Verbose] > │         let v175 : float = -0.004369840163132589                             │

00:00:35 #5459 [Verbose] > │         let v176 : float = -0.003972888398568774                             │

00:00:35 #5460 [Verbose] > │         let v177 : float = -0.0034925568262446837                            │

00:00:35 #5461 [Verbose] > │         let v178 : float = -0.002938926261462367                             │

00:00:35 #5462 [Verbose] > │         let v179 : float = -0.002323615860218846                             │

00:00:35 #5463 [Verbose] > │         let v180 : float = -0.0016595392656426435                            │

00:00:35 #5464 [Verbose] > │         let v181 : float = -0.0009606335867685414                            │

00:00:35 #5465 [Verbose] > │         let v182 : float = -0.00024156689762753724                           │

00:00:35 #5466 [Verbose] > │         let v183 : float = 0.0004825696045725713                             │

00:00:35 #5467 [Verbose] > │         let v184 : float = 0.0011965783214377866                             │

00:00:35 #5468 [Verbose] > │         let v185 : float = 0.0018854742084416021                             │

00:00:35 #5469 [Verbose] > │         let v186 : float = 0.002534799269067953                              │

00:00:35 #5470 [Verbose] > │         let v187 : float = 0.003130925987691568                              │

00:00:35 #5471 [Verbose] > │         let v188 : float = 0.0036613433329888622                             │

00:00:35 #5472 [Verbose] > │         let v189 : float = 0.0041149193294682815                             │

00:00:35 #5473 [Verbose] > │         let v190 : float = 0.0044821346864785195                             │

00:00:35 #5474 [Verbose] > │         let v191 : float = 0.004755282581475766                              │

00:00:35 #5475 [Verbose] > │         let v192 : float = 0.004928630404658255                              │

00:00:35 #5476 [Verbose] > │         let v193 : float = 0.004998540070400965                              │

00:00:35 #5477 [Verbose] > │         let v194 : float = 0.004963544370490271                              │

00:00:35 #5478 [Verbose] > │         let v195 : float = 0.004824377766717758                              │

00:00:35 #5479 [Verbose] > │         let v196 : float = 0.004583960976582912                              │

00:00:35 #5480 [Verbose] > │         let v197 : float = 0.004247339675607605                              │

00:00:35 #5481 [Verbose] > │         let v198 : float = 0.003821578602729245                              │

00:00:35 #5482 [Verbose] > │         let v199 : float = 0.0033156132912039783                             │

00:00:35 #5483 [Verbose] > │         let v200 : float = 0.0027400625367733585                             │

00:00:35 #5484 [Verbose] > │         let v201 : float = 0.0021070055388626528                             │

00:00:35 #5485 [Verbose] > │         let v202 : float = 0.001429728391993452                              │

00:00:35 #5486 [Verbose] > │         let v203 : float = 0.0007224452478461016                             │

00:00:35 #5487 [Verbose] > │         let v204 : float = 0.0                                               │

00:00:35 #5488 [Verbose] > │         let v205 : UH0 = UH0_1                                               │

00:00:35 #5489 [Verbose] > │         let v206 : UH0 = UH0_0(v204, v205)                                   │

00:00:35 #5490 [Verbose] > │         let v207 : UH0 = UH0_0(v203, v206)                                   │

00:00:35 #5491 [Verbose] > │         let v208 : UH0 = UH0_0(v202, v207)                                   │

00:00:35 #5492 [Verbose] > │         let v209 : UH0 = UH0_0(v201, v208)                                   │

00:00:35 #5493 [Verbose] > │         let v210 : UH0 = UH0_0(v200, v209)                                   │

00:00:35 #5494 [Verbose] > │         let v211 : UH0 = UH0_0(v199, v210)                                   │

00:00:35 #5495 [Verbose] > │         let v212 : UH0 = UH0_0(v198, v211)                                   │

00:00:35 #5496 [Verbose] > │         let v213 : UH0 = UH0_0(v197, v212)                                   │

00:00:35 #5497 [Verbose] > │         let v214 : UH0 = UH0_0(v196, v213)                                   │

00:00:35 #5498 [Verbose] > │         let v215 : UH0 = UH0_0(v195, v214)                                   │

00:00:35 #5499 [Verbose] > │         let v216 : UH0 = UH0_0(v194, v215)                                   │

00:00:35 #5500 [Verbose] > │         let v217 : UH0 = UH0_0(v193, v216)                                   │

00:00:35 #5501 [Verbose] > │         let v218 : UH0 = UH0_0(v192, v217)                                   │

00:00:35 #5502 [Verbose] > │         let v219 : UH0 = UH0_0(v191, v218)                                   │

00:00:35 #5503 [Verbose] > │         let v220 : UH0 = UH0_0(v190, v219)                                   │

00:00:35 #5504 [Verbose] > │         let v221 : UH0 = UH0_0(v189, v220)                                   │

00:00:35 #5505 [Verbose] > │         let v222 : UH0 = UH0_0(v188, v221)                                   │

00:00:35 #5506 [Verbose] > │         let v223 : UH0 = UH0_0(v187, v222)                                   │

00:00:35 #5507 [Verbose] > │         let v224 : UH0 = UH0_0(v186, v223)                                   │

00:00:35 #5508 [Verbose] > │         let v225 : UH0 = UH0_0(v185, v224)                                   │

00:00:35 #5509 [Verbose] > │         let v226 : UH0 = UH0_0(v184, v225)                                   │

00:00:35 #5510 [Verbose] > │         let v227 : UH0 = UH0_0(v183, v226)                                   │

00:00:35 #5511 [Verbose] > │         let v228 : UH0 = UH0_0(v182, v227)                                   │

00:00:35 #5512 [Verbose] > │         let v229 : UH0 = UH0_0(v181, v228)                                   │

00:00:35 #5513 [Verbose] > │         let v230 : UH0 = UH0_0(v180, v229)                                   │

00:00:35 #5514 [Verbose] > │         let v231 : UH0 = UH0_0(v179, v230)                                   │

00:00:35 #5515 [Verbose] > │         let v232 : UH0 = UH0_0(v178, v231)                                   │

00:00:35 #5516 [Verbose] > │         let v233 : UH0 = UH0_0(v177, v232)                                   │

00:00:35 #5517 [Verbose] > │         let v234 : UH0 = UH0_0(v176, v233)                                   │

00:00:35 #5518 [Verbose] > │         let v235 : UH0 = UH0_0(v175, v234)                                   │

00:00:35 #5519 [Verbose] > │         let v236 : UH0 = UH0_0(v174, v235)                                   │

00:00:35 #5520 [Verbose] > │         let v237 : UH0 = UH0_0(v173, v236)                                   │

00:00:35 #5521 [Verbose] > │         let v238 : UH0 = UH0_0(v172, v237)                                   │

00:00:35 #5522 [Verbose] > │         let v239 : UH0 = UH0_0(v171, v238)                                   │

00:00:35 #5523 [Verbose] > │         let v240 : UH0 = UH0_0(v170, v239)                                   │

00:00:35 #5524 [Verbose] > │         let v241 : UH0 = UH0_0(v169, v240)                                   │

00:00:35 #5525 [Verbose] > │         let v242 : UH0 = UH0_0(v168, v241)                                   │

00:00:35 #5526 [Verbose] > │         let v243 : UH0 = UH0_0(v167, v242)                                   │

00:00:35 #5527 [Verbose] > │         let v244 : UH0 = UH0_0(v166, v243)                                   │

00:00:35 #5528 [Verbose] > │         let v245 : UH0 = UH0_0(v165, v244)                                   │

00:00:35 #5529 [Verbose] > │         let v246 : UH0 = UH0_0(v164, v245)                                   │

00:00:35 #5530 [Verbose] > │         let v247 : UH0 = UH0_0(v163, v246)                                   │

00:00:35 #5531 [Verbose] > │         let v248 : UH0 = UH0_0(v162, v247)                                   │

00:00:35 #5532 [Verbose] > │         let v249 : UH0 = UH0_0(v161, v248)                                   │

00:00:35 #5533 [Verbose] > │         let v250 : UH0 = UH0_0(v160, v249)                                   │

00:00:35 #5534 [Verbose] > │         let v251 : UH0 = UH0_0(v159, v250)                                   │

00:00:35 #5535 [Verbose] > │         let v252 : UH0 = UH0_0(v158, v251)                                   │

00:00:35 #5536 [Verbose] > │         let v253 : UH0 = UH0_0(v157, v252)                                   │

00:00:35 #5537 [Verbose] > │         let v254 : UH0 = UH0_0(v156, v253)                                   │

00:00:35 #5538 [Verbose] > │         let v255 : UH0 = UH0_0(v155, v254)                                   │

00:00:35 #5539 [Verbose] > │         let v256 : UH0 = UH0_0(v154, v255)                                   │

00:00:35 #5540 [Verbose] > │         let v257 : UH0 = UH0_0(v153, v256)                                   │

00:00:35 #5541 [Verbose] > │         let v258 : UH0 = UH0_0(v152, v257)                                   │

00:00:35 #5542 [Verbose] > │         let v259 : UH0 = UH0_0(v151, v258)                                   │

00:00:35 #5543 [Verbose] > │         let v260 : UH0 = UH0_0(v150, v259)                                   │

00:00:35 #5544 [Verbose] > │         let v261 : UH0 = UH0_0(v149, v260)                                   │

00:00:35 #5545 [Verbose] > │         let v262 : UH0 = UH0_0(v148, v261)                                   │

00:00:35 #5546 [Verbose] > │         let v263 : UH0 = UH0_0(v147, v262)                                   │

00:00:35 #5547 [Verbose] > │         let v264 : UH0 = UH0_0(v146, v263)                                   │

00:00:35 #5548 [Verbose] > │         let v265 : UH0 = UH0_0(v145, v264)                                   │

00:00:35 #5549 [Verbose] > │         let v266 : UH0 = UH0_0(v144, v265)                                   │

00:00:35 #5550 [Verbose] > │         let v267 : UH0 = UH0_0(v143, v266)                                   │

00:00:35 #5551 [Verbose] > │         let v268 : UH0 = UH0_0(v142, v267)                                   │

00:00:35 #5552 [Verbose] > │         let v269 : UH0 = UH0_0(v141, v268)                                   │

00:00:35 #5553 [Verbose] > │         let v270 : UH0 = UH0_0(v140, v269)                                   │

00:00:35 #5554 [Verbose] > │         let v271 : UH0 = UH0_0(v139, v270)                                   │

00:00:35 #5555 [Verbose] > │         let v272 : (float []) = method2(v271)                                │

00:00:35 #5556 [Verbose] > │         UH1_0(v138, v272, v4)                                                │

00:00:35 #5557 [Verbose] > │     | UH0_1 -> (* Nil *)                                                     │

00:00:35 #5558 [Verbose] > │         v1                                                                   │

00:00:35 #5559 [Verbose] > │ and method6 (v0 : UH1, v1 : int32) : int32 =                                 │

00:00:35 #5560 [Verbose] > │     match v0 with                                                            │

00:00:35 #5561 [Verbose] > │     | UH1_0(v2, v3, v4) -> (* Cons *)                                        │

00:00:35 #5562 [Verbose] > │         let v5 : int32 = v1 + 1                                              │

00:00:35 #5563 [Verbose] > │         method6(v4, v5)                                                      │

00:00:35 #5564 [Verbose] > │     | UH1_1 -> (* Nil *)                                                     │

00:00:35 #5565 [Verbose] > │         v1                                                                   │

00:00:35 #5566 [Verbose] > │ and method7 (v0 : (struct ((float []) * (float [])) []), v1 : UH1, v2 :      │

00:00:35 #5567 [Verbose] > │ int32) : int32 =                                                             │

00:00:35 #5568 [Verbose] > │     match v1 with                                                            │

00:00:35 #5569 [Verbose] > │     | UH1_0(v3, v4, v5) -> (* Cons *)                                        │

00:00:35 #5570 [Verbose] > │         v0.[int v2] <- struct (v3, v4)                                       │

00:00:35 #5571 [Verbose] > │         let v6 : int32 = v2 + 1                                              │

00:00:35 #5572 [Verbose] > │         method7(v0, v5, v6)                                                  │

00:00:35 #5573 [Verbose] > │     | UH1_1 -> (* Nil *)                                                     │

00:00:35 #5574 [Verbose] > │         v2                                                                   │

00:00:35 #5575 [Verbose] > │ and method5 (v0 : UH1) : (struct ((float []) * (float [])) []) =             │

00:00:35 #5576 [Verbose] > │     let v1 : int32 = 0                                                       │

00:00:35 #5577 [Verbose] > │     let v2 : int32 = method6(v0, v1)                                         │

00:00:35 #5578 [Verbose] > │     let v3 : (struct ((float []) * (float [])) []) = Array.zeroCreate<struct │

00:00:35 #5579 [Verbose] > │ ((float []) * (float []))> (v2)                                              │

00:00:35 #5580 [Verbose] > │     let v4 : int32 = 0                                                       │

00:00:35 #5581 [Verbose] > │     let v5 : int32 = method7(v3, v0, v4)                                     │

00:00:35 #5582 [Verbose] > │     v3                                                                       │

00:00:35 #5583 [Verbose] > │ and method8 (v0 : (struct (string * (float []) * (float [])) [])) : (struct  │

00:00:35 #5584 [Verbose] > │ (string * (float []) * (float [])) []) =                                     │

00:00:35 #5585 [Verbose] > │     v0                                                                       │

00:00:35 #5586 [Verbose] > │ and method0 () : struct (string * string * string * (struct (string * (float │

00:00:35 #5587 [Verbose] > │ []) * (float [])) [])) =                                                     │

00:00:35 #5588 [Verbose] > │     let v0 : float = 0.0                                                     │

00:00:35 #5589 [Verbose] > │     let v1 : float = 1.0                                                     │

00:00:35 #5590 [Verbose] > │     let v2 : float = 2.0                                                     │

00:00:35 #5591 [Verbose] > │     let v3 : float = 3.0                                                     │

00:00:35 #5592 [Verbose] > │     let v4 : float = 4.0                                                     │

00:00:35 #5593 [Verbose] > │     let v5 : float = 5.0                                                     │

00:00:35 #5594 [Verbose] > │     let v6 : float = 6.0                                                     │

00:00:35 #5595 [Verbose] > │     let v7 : float = 7.0                                                     │

00:00:35 #5596 [Verbose] > │     let v8 : float = 8.0                                                     │

00:00:35 #5597 [Verbose] > │     let v9 : float = 9.0                                                     │

00:00:35 #5598 [Verbose] > │     let v10 : UH0 = UH0_1                                                    │

00:00:35 #5599 [Verbose] > │     let v11 : UH0 = UH0_0(v9, v10)                                           │

00:00:35 #5600 [Verbose] > │     let v12 : UH0 = UH0_0(v8, v11)                                           │

00:00:35 #5601 [Verbose] > │     let v13 : UH0 = UH0_0(v7, v12)                                           │

00:00:35 #5602 [Verbose] > │     let v14 : UH0 = UH0_0(v6, v13)                                           │

00:00:35 #5603 [Verbose] > │     let v15 : UH0 = UH0_0(v5, v14)                                           │

00:00:35 #5604 [Verbose] > │     let v16 : UH0 = UH0_0(v4, v15)                                           │

00:00:35 #5605 [Verbose] > │     let v17 : UH0 = UH0_0(v3, v16)                                           │

00:00:35 #5606 [Verbose] > │     let v18 : UH0 = UH0_0(v2, v17)                                           │

00:00:35 #5607 [Verbose] > │     let v19 : UH0 = UH0_0(v1, v18)                                           │

00:00:35 #5608 [Verbose] > │     let v20 : UH0 = UH0_0(v0, v19)                                           │

00:00:35 #5609 [Verbose] > │     let v21 : UH1 = UH1_1                                                    │

00:00:35 #5610 [Verbose] > │     let v22 : UH1 = method1(v20, v21)                                        │

00:00:35 #5611 [Verbose] > │     let v23 : (struct ((float []) * (float [])) []) = method5(v22)           │

00:00:35 #5612 [Verbose] > │     let struct (v24 : (float []), v25 : (float [])) = v23.[int 0]            │

00:00:35 #5613 [Verbose] > │     let v26 : string = $"{0}"                                                │

00:00:35 #5614 [Verbose] > │     let v27 : (struct (string * (float []) * (float [])) []) = [|struct      │

00:00:35 #5615 [Verbose] > │ (v26, v24, v25)|]                                                            │

00:00:35 #5616 [Verbose] > │     let v28 : (struct (string * (float []) * (float [])) []) = method8(v27)  │

00:00:35 #5617 [Verbose] > │     let v29 : string = "wave"                                                │

00:00:35 #5618 [Verbose] > │     let v30 : string = "position (m)"                                        │

00:00:35 #5619 [Verbose] > │     let v31 : string = "displacement (m)"                                    │

00:00:35 #5620 [Verbose] > │     struct (v29, v30, v31, v28)                                              │

00:00:35 #5621 [Verbose] > │ method0()                                                                    │

00:00:35 #5622 [Verbose] > │                                                                              │

00:00:35 #5623 [Verbose] > │                                                                              │

00:00:35 #5624 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:35 #5625 [Verbose] >

00:00:35 #5626 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────

00:00:35 #5627 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮

00:00:35 #5628 [Verbose] > │ ### system kinetic energy versus time 2                                      │

00:00:35 #5629 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:35 #5630 [Verbose] >

00:00:35 #5631 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:35 #5632 [Verbose] > // // test

00:00:35 #5633 [Verbose] >

00:00:35 #5634 [Verbose] > inl central_force f (particle_state st1) (particle_state st2) =

00:00:35 #5635 [Verbose] >     inl r1 = st1.pos_vec

00:00:35 #5636 [Verbose] >     inl r2 = st2.pos_vec

00:00:35 #5637 [Verbose] >     inl r21 = r2 ^-^ r1

00:00:35 #5638 [Verbose] >     inl r21mag = magnitude r21

00:00:35 #5639 [Verbose] >     f r21mag *^ r21 ^/ r21mag

00:00:35 #5640 [Verbose] >

00:00:35 #5641 [Verbose] > inl billiard_force k re =

00:00:35 #5642 [Verbose] >     inl f r =

00:00:35 #5643 [Verbose] >         if r >= re

00:00:35 #5644 [Verbose] >         then 0

00:00:35 #5645 [Verbose] >         else -k * (r - re)

00:00:35 #5646 [Verbose] >     central_force f

00:00:35 #5647 [Verbose] >

00:00:35 #5648 [Verbose] > type force_vector = vec

00:00:35 #5649 [Verbose] > type two_body_force = particle_state -> particle_state -> force_vector

00:00:35 #5650 [Verbose] >

00:00:35 #5651 [Verbose] > union force t =

00:00:35 #5652 [Verbose] >     | ExternalForce : t * one_body_force

00:00:35 #5653 [Verbose] >     | InternalForce : t * t * two_body_force

00:00:35 #5654 [Verbose] >

00:00:35 #5655 [Verbose] > nominal multi_particle_state = stream.stream particle_state

00:00:35 #5656 [Verbose] >

00:00:35 #5657 [Verbose] > nominal d_multi_particle_state = stream.stream d_particle_state

00:00:35 #5658 [Verbose] >

00:00:35 #5659 [Verbose] > inl force_on n s force =

00:00:35 #5660 [Verbose] >     match force with

00:00:35 #5661 [Verbose] >     | ExternalForce (n0, f_one_body) =>

00:00:35 #5662 [Verbose] >         if n = n0

00:00:35 #5663 [Verbose] >         then f_one_body

00:00:35 #5664 [Verbose] >         else fun _ => zero_vec ()

00:00:35 #5665 [Verbose] >     | InternalForce (n0, n1, f_two_body) =>

00:00:35 #5666 [Verbose] >         if n = n0

00:00:35 #5667 [Verbose] >         then s |> stream.try_item n1 |> optionm.map f_two_body

00:00:35 #5668 [Verbose] >         elif n = n1

00:00:35 #5669 [Verbose] >         then s |> stream.try_item n0 |> optionm.map f_two_body

00:00:35 #5670 [Verbose] >         else None

00:00:35 #5671 [Verbose] >         |> optionm'.default_value (fun _ => zero_vec ())

00:00:35 #5672 [Verbose] >

00:00:35 #5673 [Verbose] > inl forces_on n (multi_particle_state sts) fs =

00:00:35 #5674 [Verbose] >     fs

00:00:35 #5675 [Verbose] >     |> listm.map (force_on n sts)

00:00:35 #5676 [Verbose] >

00:00:35 #5677 [Verbose] > inl newton_second_mps fs ((multi_particle_state sts) as mpst) =

00:00:35 #5678 [Verbose] >     inl deriv (n, st) =

00:00:35 #5679 [Verbose] >         newton_second_ps (forces_on n mpst fs) st

00:00:35 #5680 [Verbose] >     sts |> stream.indexed |> stream.map deriv |> d_multi_particle_state

00:00:35 #5681 [Verbose] >

00:00:35 #5682 [Verbose] > instance (+++) d_multi_particle_state =

00:00:35 #5683 [Verbose] >     fun (d_multi_particle_state dsts1) (d_multi_particle_state dsts2) =>

00:00:35 #5684 [Verbose] >         (dsts1, dsts2)

00:00:35 #5685 [Verbose] >         ||> stream.zip_with (+++)

00:00:35 #5686 [Verbose] >         |> d_multi_particle_state

00:00:35 #5687 [Verbose] >

00:00:35 #5688 [Verbose] > instance scale d_multi_particle_state = fun w (d_multi_particle_state dsts) =>

00:00:35 #5689 [Verbose] >     dsts

00:00:35 #5690 [Verbose] >     |> stream.map (scale w)

00:00:35 #5691 [Verbose] >     |> d_multi_particle_state

00:00:35 #5692 [Verbose] >

00:00:35 #5693 [Verbose] > instance shift multi_particle_state = fun dt dsts (multi_particle_state sts) =>

00:00:35 #5694 [Verbose] >     inl (d_multi_particle_state dsts) =

00:00:35 #5695 [Verbose] >         real

00:00:35 #5696 [Verbose] >             match dsts with

00:00:35 #5697 [Verbose] >             | d_multi_particle_state _ => dsts

00:00:35 #5698 [Verbose] >     (dsts, sts)

00:00:35 #5699 [Verbose] >     ||> stream.zip_with (shift dt)

00:00:35 #5700 [Verbose] >     |> stream.memoize

00:00:35 #5701 [Verbose] >     |> fun x => x ()

00:00:35 #5702 [Verbose] >     |> multi_particle_state

00:00:35 #5703 [Verbose] >

00:00:35 #5704 [Verbose] > inl euler_cromer_mps dt : numerical_method multi_particle_state

00:00:35 #5705 [Verbose] > d_multi_particle_state =

00:00:35 #5706 [Verbose] >     fun deriv ((multi_particle_state sts0) as mpst0) =>

00:00:35 #5707 [Verbose] >         inl (multi_particle_state sts1) = euler dt deriv mpst0

00:00:35 #5708 [Verbose] >         (sts0, sts1)

00:00:35 #5709 [Verbose] >         ||> stream.zip

00:00:35 #5710 [Verbose] >         |> stream.map (fun ((particle_state st0), (particle_state st1)) =>

00:00:35 #5711 [Verbose] >             particle_state {

00:00:35 #5712 [Verbose] >                 st1 with

00:00:35 #5713 [Verbose] >                     pos_vec = st0.pos_vec ^+^ st1.velocity ^* dt

00:00:35 #5714 [Verbose] >             }

00:00:35 #5715 [Verbose] >         )

00:00:35 #5716 [Verbose] >         |> multi_particle_state

00:00:35 #5717 [Verbose] >

00:00:35 #5718 [Verbose] > inl update_mps (method : numerical_method multi_particle_state

00:00:35 #5719 [Verbose] > d_multi_particle_state) =

00:00:35 #5720 [Verbose] >     newton_second_mps >> method

00:00:35 #5721 [Verbose] >

00:00:35 #5722 [Verbose] > inl states_mps (method : numerical_method multi_particle_state

00:00:35 #5723 [Verbose] > d_multi_particle_state) =

00:00:35 #5724 [Verbose] >     newton_second_mps

00:00:35 #5725 [Verbose] >     >> method

00:00:35 #5726 [Verbose] >     >> (fun x (multi_particle_state y) =>

00:00:35 #5727 [Verbose] >         y

00:00:35 #5728 [Verbose] >         |> stream.memoize

00:00:35 #5729 [Verbose] >         |> (fun x => x ())

00:00:35 #5730 [Verbose] >         |> multi_particle_state |> x

00:00:35 #5731 [Verbose] >     )

00:00:35 #5732 [Verbose] >     // >> stream.iterate

00:00:35 #5733 [Verbose] >     >> seq.iterate'

00:00:35 #5734 [Verbose] >

00:00:35 #5735 [Verbose] > inl kinetic_energy (particle_state st) =

00:00:35 #5736 [Verbose] >     inl m = st.mass

00:00:35 #5737 [Verbose] >     inl v = magnitude st.velocity

00:00:35 #5738 [Verbose] >     0.5 * m * v ** 2

00:00:35 #5739 [Verbose] >

00:00:35 #5740 [Verbose] > inl system_ke (multi_particle_state sts) =

00:00:35 #5741 [Verbose] >     sts

00:00:35 #5742 [Verbose] >     |> stream.map kinetic_energy

00:00:35 #5743 [Verbose] >     |> stream.sum

00:00:35 #5744 [Verbose] >

00:00:35 #5745 [Verbose] > inl linear_spring_pe k re (particle_state st1) (particle_state st2) =

00:00:35 #5746 [Verbose] >     inl r1 = st1.pos_vec

00:00:35 #5747 [Verbose] >     inl r2 = st2.pos_vec

00:00:35 #5748 [Verbose] >     inl r21 = r2 ^-^ r1

00:00:35 #5749 [Verbose] >     inl r21mag = magnitude r21

00:00:35 #5750 [Verbose] >     k * (r21mag - re) ** 2 / 2

00:00:35 #5751 [Verbose] >

00:00:35 #5752 [Verbose] > inl earth_surface_gravity_pe (particle_state st) =

00:00:35 #5753 [Verbose] >     inl g = 9.80665

00:00:35 #5754 [Verbose] >     inl m = st.mass

00:00:35 #5755 [Verbose] >     inl z = st.pos_vec.z

00:00:35 #5756 [Verbose] >     m * g * z

00:00:35 #5757 [Verbose] >

00:00:35 #5758 [Verbose] > inl ball_radius () = 0.03

00:00:35 #5759 [Verbose] >

00:00:35 #5760 [Verbose] > inl billiard_forces k =

00:00:35 #5761 [Verbose] >     [[ InternalForce (0i32, 1, billiard_force k (2 * ball_radius ())) ]]

00:00:35 #5762 [Verbose] >

00:00:35 #5763 [Verbose] > inl billiard_initial () =

00:00:35 #5764 [Verbose] >     inl ball_mass = 0.160

00:00:35 #5765 [Verbose] >     inl (particle_state default_particle_state') = default_particle_state ()

00:00:35 #5766 [Verbose] >     [[

00:00:35 #5767 [Verbose] >         particle_state {

00:00:35 #5768 [Verbose] >             default_particle_state' with

00:00:35 #5769 [Verbose] >                 mass = ball_mass

00:00:35 #5770 [Verbose] >                 pos_vec = zero_vec ()

00:00:35 #5771 [Verbose] >                 velocity = 0.2 *^ i_hat ()

00:00:35 #5772 [Verbose] >         }

00:00:35 #5773 [Verbose] >         particle_state {

00:00:35 #5774 [Verbose] >             default_particle_state' with

00:00:35 #5775 [Verbose] >                 mass = ball_mass

00:00:35 #5776 [Verbose] >                 pos_vec = i_hat () ^+^ 0.02 *^ j_hat ()

00:00:35 #5777 [Verbose] >                 velocity = zero_vec ()

00:00:35 #5778 [Verbose] >         }

00:00:35 #5779 [Verbose] >     ]]

00:00:35 #5780 [Verbose] >     |> stream.from_list

00:00:35 #5781 [Verbose] >     |> multi_particle_state

00:00:35 #5782 [Verbose] >

00:00:35 #5783 [Verbose] > inl billiard_states ~n_method k dt =

00:00:35 #5784 [Verbose] >     states_mps (n_method dt) (billiard_forces k) (billiard_initial ())

00:00:35 #5785 [Verbose] >

00:00:35 #5786 [Verbose] > inl billiard_states_finite n_method k dt =

00:00:35 #5787 [Verbose] >     billiard_states n_method k dt

00:00:35 #5788 [Verbose] >     >> Some

00:00:35 #5789 [Verbose] >     |> seq.take_while_ (fun (multi_particle_state mpst) (_ : i32) =>

00:00:35 #5790 [Verbose] >         match mpst |> stream.try_item 0i32 with

00:00:35 #5791 [Verbose] >         | Some st =>

00:00:35 #5792 [Verbose] >             st.time <= 10

00:00:35 #5793 [Verbose] >         | None => false

00:00:35 #5794 [Verbose] >     )

00:00:35 #5795 [Verbose] >

00:00:35 #5796 [Verbose] > inl momentum (particle_state st) =

00:00:35 #5797 [Verbose] >     inl m = st.mass

00:00:35 #5798 [Verbose] >     inl v = st.velocity

00:00:35 #5799 [Verbose] >     m *^ v

00:00:35 #5800 [Verbose] >

00:00:35 #5801 [Verbose] > inl system_p (multi_particle_state sts) =

00:00:35 #5802 [Verbose] >     sts

00:00:35 #5803 [Verbose] >     |> stream.map momentum

00:00:35 #5804 [Verbose] >     |> stream.fold (^+^) (zero_vec ())

00:00:35 #5805 [Verbose] >

00:00:35 #5806 [Verbose] > inl time_ke_ec_x, time_ke_ec_y =

00:00:35 #5807 [Verbose] >     billiard_states_finite euler_cromer_mps 30 0.03

00:00:35 #5808 [Verbose] >     |> listm.map (fun (multi_particle_state mpst) =>

00:00:35 #5809 [Verbose] >         mpst |> stream.try_item 0i32

00:00:35 #5810 [Verbose] >         |> optionm.map (fun st =>

00:00:35 #5811 [Verbose] >             st.time, system_ke (multi_particle_state mpst)

00:00:35 #5812 [Verbose] >         )

00:00:35 #5813 [Verbose] >     )

00:00:35 #5814 [Verbose] >     // |> stream.to_list

00:00:35 #5815 [Verbose] >     |> listm'.choose id

00:00:35 #5816 [Verbose] >     |> listm'.unzip

00:00:35 #5817 [Verbose] >

00:00:35 #5818 [Verbose] > inl time_ke_rk4_x, time_ke_rk4_y =

00:00:35 #5819 [Verbose] >     billiard_states_finite runge_kutta_4 30 0.03

00:00:35 #5820 [Verbose] >     |> listm.map (fun (multi_particle_state mpst) =>

00:00:35 #5821 [Verbose] >         mpst |> stream.try_item 0i32

00:00:35 #5822 [Verbose] >         |> optionm.map (fun st =>

00:00:35 #5823 [Verbose] >             st.time, system_ke (multi_particle_state mpst)

00:00:35 #5824 [Verbose] >         )

00:00:35 #5825 [Verbose] >     )

00:00:35 #5826 [Verbose] >     // |> stream.to_list

00:00:35 #5827 [Verbose] >     |> listm'.choose id

00:00:35 #5828 [Verbose] >     |> listm'.unzip

00:00:35 #5829 [Verbose] >

00:00:35 #5830 [Verbose] > inl time_ke_ec_x : a i32 _ = time_ke_ec_x |> listm.toArray

00:00:35 #5831 [Verbose] > inl time_ke_ec_y : a i32 _ = time_ke_ec_y |> listm.toArray

00:00:35 #5832 [Verbose] >

00:00:35 #5833 [Verbose] > inl time_ke_rk4_x : a i32 _ = time_ke_rk4_x |> listm.toArray

00:00:35 #5834 [Verbose] > inl time_ke_rk4_y : a i32 _ = time_ke_rk4_y |> listm.toArray

00:00:35 #5835 [Verbose] >

00:00:35 #5836 [Verbose] > "system kinetic energy versus time",

00:00:35 #5837 [Verbose] > "time (s)",

00:00:35 #5838 [Verbose] > "system kinetic energy (j)",

00:00:35 #5839 [Verbose] > ;[[

00:00:35 #5840 [Verbose] >     "euler-cromer", time_ke_ec_x, time_ke_ec_y

00:00:35 #5841 [Verbose] >     "runge-kutta 4", time_ke_rk4_x, time_ke_rk4_y

00:00:35 #5842 [Verbose] > ]]

00:00:35 #5843 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0905-1145-4521-4f2ceadaecc7\main.spi

00:00:37 #5844 [Verbose] >

00:00:37 #5845 [Verbose] > ╭─[ 2.20s - return value ]─────────────────────────────────────────────────────╮

00:00:37 #5846 [Verbose] > │ <svg width="640" height="480" viewBox="0 0 640 480"                          │

00:00:37 #5847 [Verbose] > │ xmlns="http://www.w3.org/2000/svg">                                          │

00:00:37 #5848 [Verbose] > │ <rect x="0" y="0" width="640" height="480" opacity="1" fill="#141414"        │

00:00:37 #5849 [Verbose] > │ stroke="none"/>                                                              │

00:00:37 #5850 [Verbose] > │ <text x="320" y="10" dy="0.76em" text-anchor="middle"                        │

00:00:37 #5851 [Verbose] > │ font-family="sans-serif" font-size="9.67741935483871" opacity="1"            │

00:00:37 #5852 [Verbose] > │ fill="#FFFFFF">                                                              │

00:00:37 #5853 [Verbose] > │ system kinetic energy versus time                                            │

00:00:37 #5854 [Verbose] > │ </text>                                                                      │

00:00:37 #5855 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="59" y1="424" x2="59" │

00:00:37 #5856 [Verbose] > │ y2="75"/>                                                                    │

00:00:37 #5857 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="69" y1="424" x2="69" │

00:00:37 #5858 [Verbose] > │ y2="75"/>                                                                    │

00:00:37 #5859 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="79" y1="424" x2="79" │

00:00:37 #5860 [Verbose] > │ y2="75"/>                                                                    │

00:00:37 #5861 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="89" y1="424" x2="89" │

00:00:37 #5862 [Verbose] > │ y2="75"/>                                                                    │

00:00:37 #5863 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1...                        │

00:00:37 #5864 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:37 #5865 [Verbose] >

00:00:37 #5866 [Verbose] > ╭─[ 2.21s - stdout ]───────────────────────────────────────────────────────────╮

00:00:37 #5867 [Verbose] > │ type UH0 =                                                                   │

00:00:37 #5868 [Verbose] > │     | UH0_0 of float * float * float * float * float * float * float * float │

00:00:37 #5869 [Verbose] > │ * float * (unit -> UH0)                                                      │

00:00:37 #5870 [Verbose] > │     | UH0_1                                                                  │

00:00:37 #5871 [Verbose] > │ and UH1 =                                                                    │

00:00:37 #5872 [Verbose] > │     | UH1_0 of float * float * float * float * float * float * float * float │

00:00:37 #5873 [Verbose] > │ * float * (unit -> UH1)                                                      │

00:00:37 #5874 [Verbose] > │     | UH1_1                                                                  │

00:00:37 #5875 [Verbose] > │ and [<Struct>] US0 =                                                         │

00:00:37 #5876 [Verbose] > │     | US0_0 of f0_0 : UH0                                                    │

00:00:37 #5877 [Verbose] > │     | US0_1 of f1_0 : (unit -> UH0)                                          │

00:00:37 #5878 [Verbose] > │ and Mut0 = {mutable l0 : US0}                                                │

00:00:37 #5879 [Verbose] > │ and UH2 =                                                                    │

00:00:37 #5880 [Verbose] > │     | UH2_0 of float * float * float * float * float * float * float * float │

00:00:37 #5881 [Verbose] > │ * float * float * float * float * float * float * float * float * float *    │

00:00:37 #5882 [Verbose] > │ float * (unit -> UH2)                                                        │

00:00:37 #5883 [Verbose] > │     | UH2_1                                                                  │

00:00:37 #5884 [Verbose] > │ and UH3 =                                                                    │

00:00:37 #5885 [Verbose] > │     | UH3_0 of int32 * float * float * float * float * float * float * float │

00:00:37 #5886 [Verbose] > │ * float * float * (unit -> UH3)                                              │

00:00:37 #5887 [Verbose] > │     | UH3_1                                                                  │

00:00:37 #5888 [Verbose] > │ and [<Struct>] US1 =                                                         │

00:00:37 #5889 [Verbose] > │     | US1_0                                                                  │

00:00:37 #5890 [Verbose] > │     | US1_1 of f1_0 : (struct (float * float * float * float * float * float │

00:00:37 #5891 [Verbose] > │ * float * float * float) -> struct (float * float * float))                  │

00:00:37 #5892 [Verbose] > │ and [<Struct>] US2 =                                                         │

00:00:37 #5893 [Verbose] > │     | US2_0                                                                  │

00:00:37 #5894 [Verbose] > │     | US2_1 of f1_0 : float * f1_1 : float * f1_2 : float * f1_3 : float *   │

00:00:37 #5895 [Verbose] > │ f1_4 : float * f1_5 : float * f1_6 : float * f1_7 : float * f1_8 : float     │

00:00:37 #5896 [Verbose] > │ and UH4 =                                                                    │

00:00:37 #5897 [Verbose] > │     | UH4_0 of UH0 * UH4                                                     │

00:00:37 #5898 [Verbose] > │     | UH4_1                                                                  │

00:00:37 #5899 [Verbose] > │ and UH5 =                                                                    │

00:00:37 #5900 [Verbose] > │     | UH5_0 of int32 * UH5                                                   │

00:00:37 #5901 [Verbose] > │     | UH5_1                                                                  │

00:00:37 #5902 [Verbose] > │ and [<Struct>] US3 =                                                         │

00:00:37 #5903 [Verbose] > │     | US3_0                                                                  │

00:00:37 #5904 [Verbose] > │     | US3_1 of f1_0 : float * f1_1 : float                                   │

00:00:37 #5905 [Verbose] > │ and UH6 =                                                                    │

00:00:37 #5906 [Verbose] > │     | UH6_0 of US3 * UH6                                                     │

00:00:37 #5907 [Verbose] > │     | UH6_1                                                                  │

00:00:37 #5908 [Verbose] > │ and UH7 =                                                                    │

00:00:37 #5909 [Verbose] > │     | UH7_0 of float * (unit -> UH7)                                         │

00:00:37 #5910 [Verbose] > │     | UH7_1                                                                  │

00:00:37 #5911 [Verbose] > │ and UH8 =                                                                    │

00:00:37 #5912 [Verbose] > │     | UH8_0 of float * float * UH8                                           │

00:00:37 #5913 [Verbose] > │     | UH8_1                                                                  │

00:00:37 #5914 [Verbose] > │ and UH9 =                                                                    │

00:00:37 #5915 [Verbose] > │     | UH9_0 of float * UH9                                                   │

00:00:37 #5916 [Verbose] > │     | UH9_1                                                                  │

00:00:37 #5917 [Verbose] > │ let rec closure3 (v0 : float, v1 : (unit -> UH0), v2 : (unit -> UH1)) () :   │

00:00:37 #5918 [Verbose] > │ UH0 =                                                                        │

00:00:37 #5919 [Verbose] > │     let v3 : UH1 = v2 ()                                                     │

00:00:37 #5920 [Verbose] > │     let v4 : UH0 = v1 ()                                                     │

00:00:37 #5921 [Verbose] > │     match v3 with                                                            │

00:00:37 #5922 [Verbose] > │     | UH1_0(v5, v6, v7, v8, v9, v10, v11, v12, v13, v14) -> (* StreamCons *) │

00:00:37 #5923 [Verbose] > │         match v4 with                                                        │

00:00:37 #5924 [Verbose] > │         | UH0_0(v15, v16, v17, v18, v19, v20, v21, v22, v23, v24) -> (*      │

00:00:37 #5925 [Verbose] > │ StreamCons *)                                                                │

00:00:37 #5926 [Verbose] > │             let v25 : float = v10 * v0                                       │

00:00:37 #5927 [Verbose] > │             let v26 : float = v20 + v25                                      │

00:00:37 #5928 [Verbose] > │             let v27 : float = v0 * v7                                        │

00:00:37 #5929 [Verbose] > │             let v28 : float = v0 * v8                                        │

00:00:37 #5930 [Verbose] > │             let v29 : float = v0 * v9                                        │

00:00:37 #5931 [Verbose] > │             let v30 : float = v17 + v27                                      │

00:00:37 #5932 [Verbose] > │             let v31 : float = v18 + v28                                      │

00:00:37 #5933 [Verbose] > │             let v32 : float = v19 + v29                                      │

00:00:37 #5934 [Verbose] > │             let v33 : float = v0 * v11                                       │

00:00:37 #5935 [Verbose] > │             let v34 : float = v0 * v12                                       │

00:00:37 #5936 [Verbose] > │             let v35 : float = v0 * v13                                       │

00:00:37 #5937 [Verbose] > │             let v36 : float = v21 + v33                                      │

00:00:37 #5938 [Verbose] > │             let v37 : float = v22 + v34                                      │

00:00:37 #5939 [Verbose] > │             let v38 : float = v23 + v35                                      │

00:00:37 #5940 [Verbose] > │             let v39 : (unit -> UH0) = closure3(v0, v24, v14)                 │

00:00:37 #5941 [Verbose] > │             UH0_0(v15, v16, v30, v31, v32, v26, v36, v37, v38, v39)          │

00:00:37 #5942 [Verbose] > │         | UH0_1 -> (* StreamNil *)                                           │

00:00:37 #5943 [Verbose] > │             UH0_1                                                            │

00:00:37 #5944 [Verbose] > │     | UH1_1 -> (* StreamNil *)                                               │

00:00:37 #5945 [Verbose] > │         UH0_1                                                                │

00:00:37 #5946 [Verbose] > │ and closure4 (v0 : UH0) () : UH0 =                                           │

00:00:37 #5947 [Verbose] > │     v0                                                                       │

00:00:37 #5948 [Verbose] > │ and closure5 (v0 : UH0, v1 : Mut0) () : UH0 =                                │

00:00:37 #5949 [Verbose] > │     let v2 : US0 = v1.l0                                                     │

00:00:37 #5950 [Verbose] > │     match v2 with                                                            │

00:00:37 #5951 [Verbose] > │     | US0_0(v3) -> (* Computed *)                                            │

00:00:37 #5952 [Verbose] > │         v3                                                                   │

00:00:37 #5953 [Verbose] > │     | US0_1(v4) -> (* NotComputed *)                                         │

00:00:37 #5954 [Verbose] > │         let v5 : UH0 = v4 ()                                                 │

00:00:37 #5955 [Verbose] > │         let v20 : UH0 =                                                      │

00:00:37 #5956 [Verbose] > │             match v5 with                                                    │

00:00:37 #5957 [Verbose] > │             | UH0_0(v7, v8, v9, v10, v11, v12, v13, v14, v15, v16) -> (*     │

00:00:37 #5958 [Verbose] > │ StreamCons *)                                                                │

00:00:37 #5959 [Verbose] > │                 let v17 : (unit -> UH0) = method1(v0, v16)                   │

00:00:37 #5960 [Verbose] > │                 UH0_0(v7, v8, v9, v10, v11, v12, v13, v14, v15, v17)         │

00:00:37 #5961 [Verbose] > │             | UH0_1 -> (* StreamNil *)                                       │

00:00:37 #5962 [Verbose] > │                 UH0_1                                                        │

00:00:37 #5963 [Verbose] > │         let v21 : US0 = US0_0(v20)                                           │

00:00:37 #5964 [Verbose] > │         v1.l0 <- v21                                                         │

00:00:37 #5965 [Verbose] > │         v20                                                                  │

00:00:37 #5966 [Verbose] > │ and method1 (v0 : UH0, v1 : (unit -> UH0)) : (unit -> UH0) =                 │

00:00:37 #5967 [Verbose] > │     let v2 : US0 = US0_1(v1)                                                 │

00:00:37 #5968 [Verbose] > │     let v3 : Mut0 = {l0 = v2} : Mut0                                         │

00:00:37 #5969 [Verbose] > │     closure5(v0, v3)                                                         │

00:00:37 #5970 [Verbose] > │ and closure6 (v0 : (unit -> UH0), v1 : (unit -> UH0)) () : UH2 =             │

00:00:37 #5971 [Verbose] > │     let v2 : UH0 = v1 ()                                                     │

00:00:37 #5972 [Verbose] > │     let v3 : UH0 = v0 ()                                                     │

00:00:37 #5973 [Verbose] > │     match v2 with                                                            │

00:00:37 #5974 [Verbose] > │     | UH0_0(v4, v5, v6, v7, v8, v9, v10, v11, v12, v13) -> (* StreamCons *)  │

00:00:37 #5975 [Verbose] > │         match v3 with                                                        │

00:00:37 #5976 [Verbose] > │         | UH0_0(v14, v15, v16, v17, v18, v19, v20, v21, v22, v23) -> (*      │

00:00:37 #5977 [Verbose] > │ StreamCons *)                                                                │

00:00:37 #5978 [Verbose] > │             let v24 : (unit -> UH2) = closure6(v23, v13)                     │

00:00:37 #5979 [Verbose] > │             UH2_0(v4, v5, v6, v7, v8, v9, v10, v11, v12, v14, v15, v16, v17, │

00:00:37 #5980 [Verbose] > │ v18, v19, v20, v21, v22, v24)                                                │

00:00:37 #5981 [Verbose] > │         | UH0_1 -> (* StreamNil *)                                           │

00:00:37 #5982 [Verbose] > │             UH2_1                                                            │

00:00:37 #5983 [Verbose] > │     | UH0_1 -> (* StreamNil *)                                               │

00:00:37 #5984 [Verbose] > │         UH2_1                                                                │

00:00:37 #5985 [Verbose] > │ and closure7 (v0 : UH0) () : UH0 =                                           │

00:00:37 #5986 [Verbose] > │     v0                                                                       │

00:00:37 #5987 [Verbose] > │ and method2 (v0 : float, v1 : UH2, v2 : UH0) : UH0 =                         │

00:00:37 #5988 [Verbose] > │     match v1 with                                                            │

00:00:37 #5989 [Verbose] > │     | UH2_0(v3, v4, v5, v6, v7, v8, v9, v10, v11, v12, v13, v14, v15, v16,   │

00:00:37 #5990 [Verbose] > │ v17, v18, v19, v20, v21) -> (* StreamCons *)                                 │

00:00:37 #5991 [Verbose] > │         let v22 : UH2 = v21 ()                                               │

00:00:37 #5992 [Verbose] > │         let v23 : UH0 = method2(v0, v22, v2)                                 │

00:00:37 #5993 [Verbose] > │         let v24 : float = v0 * v18                                           │

00:00:37 #5994 [Verbose] > │         let v25 : float = v0 * v19                                           │

00:00:37 #5995 [Verbose] > │         let v26 : float = v0 * v20                                           │

00:00:37 #5996 [Verbose] > │         let v27 : float = v5 + v24                                           │

00:00:37 #5997 [Verbose] > │         let v28 : float = v6 + v25                                           │

00:00:37 #5998 [Verbose] > │         let v29 : float = v7 + v26                                           │

00:00:37 #5999 [Verbose] > │         let v30 : (unit -> UH0) = closure7(v23)                              │

00:00:37 #6000 [Verbose] > │         UH0_0(v12, v13, v27, v28, v29, v17, v18, v19, v20, v30)              │

00:00:37 #6001 [Verbose] > │     | UH2_1 -> (* StreamNil *)                                               │

00:00:37 #6002 [Verbose] > │         v2                                                                   │

00:00:37 #6003 [Verbose] > │ and closure2 (v0 : float, v1 : (UH0 -> UH1)) (v2 : UH0) : UH0 =              │

00:00:37 #6004 [Verbose] > │     let v3 : UH1 = v1 v2                                                     │

00:00:37 #6005 [Verbose] > │     let v45 : UH0 =                                                          │

00:00:37 #6006 [Verbose] > │         match v3 with                                                        │

00:00:37 #6007 [Verbose] > │         | UH1_0(v4, v5, v6, v7, v8, v9, v10, v11, v12, v13) -> (* StreamCons │

00:00:37 #6008 [Verbose] > │ *)                                                                           │

00:00:37 #6009 [Verbose] > │             match v2 with                                                    │

00:00:37 #6010 [Verbose] > │             | UH0_0(v14, v15, v16, v17, v18, v19, v20, v21, v22, v23) -> (*  │

00:00:37 #6011 [Verbose] > │ StreamCons *)                                                                │

00:00:37 #6012 [Verbose] > │                 let v24 : float = v9 * v0                                    │

00:00:37 #6013 [Verbose] > │                 let v25 : float = v19 + v24                                  │

00:00:37 #6014 [Verbose] > │                 let v26 : float = v0 * v6                                    │

00:00:37 #6015 [Verbose] > │                 let v27 : float = v0 * v7                                    │

00:00:37 #6016 [Verbose] > │                 let v28 : float = v0 * v8                                    │

00:00:37 #6017 [Verbose] > │                 let v29 : float = v16 + v26                                  │

00:00:37 #6018 [Verbose] > │                 let v30 : float = v17 + v27                                  │

00:00:37 #6019 [Verbose] > │                 let v31 : float = v18 + v28                                  │

00:00:37 #6020 [Verbose] > │                 let v32 : float = v0 * v10                                   │

00:00:37 #6021 [Verbose] > │                 let v33 : float = v0 * v11                                   │

00:00:37 #6022 [Verbose] > │                 let v34 : float = v0 * v12                                   │

00:00:37 #6023 [Verbose] > │                 let v35 : float = v20 + v32                                  │

00:00:37 #6024 [Verbose] > │                 let v36 : float = v21 + v33                                  │

00:00:37 #6025 [Verbose] > │                 let v37 : float = v22 + v34                                  │

00:00:37 #6026 [Verbose] > │                 let v38 : (unit -> UH0) = closure3(v0, v23, v13)             │

00:00:37 #6027 [Verbose] > │                 UH0_0(v14, v15, v29, v30, v31, v25, v35, v36, v37, v38)      │

00:00:37 #6028 [Verbose] > │             | UH0_1 -> (* StreamNil *)                                       │

00:00:37 #6029 [Verbose] > │                 UH0_1                                                        │

00:00:37 #6030 [Verbose] > │         | UH1_1 -> (* StreamNil *)                                           │

00:00:37 #6031 [Verbose] > │             UH0_1                                                            │

00:00:37 #6032 [Verbose] > │     let v46 : (unit -> UH0) = closure4(v45)                                  │

00:00:37 #6033 [Verbose] > │     let v47 : (unit -> UH0) = method1(v45, v46)                              │

00:00:37 #6034 [Verbose] > │     let v48 : UH0 = v47 ()                                                   │

00:00:37 #6035 [Verbose] > │     let v76 : UH2 =                                                          │

00:00:37 #6036 [Verbose] > │         match v2 with                                                        │

00:00:37 #6037 [Verbose] > │         | UH0_0(v49, v50, v51, v52, v53, v54, v55, v56, v57, v58) -> (*      │

00:00:37 #6038 [Verbose] > │ StreamCons *)                                                                │

00:00:37 #6039 [Verbose] > │             match v48 with                                                   │

00:00:37 #6040 [Verbose] > │             | UH0_0(v59, v60, v61, v62, v63, v64, v65, v66, v67, v68) -> (*  │

00:00:37 #6041 [Verbose] > │ StreamCons *)                                                                │

00:00:37 #6042 [Verbose] > │                 let v69 : (unit -> UH2) = closure6(v68, v58)                 │

00:00:37 #6043 [Verbose] > │                 UH2_0(v49, v50, v51, v52, v53, v54, v55, v56, v57, v59, v60, │

00:00:37 #6044 [Verbose] > │ v61, v62, v63, v64, v65, v66, v67, v69)                                      │

00:00:37 #6045 [Verbose] > │             | UH0_1 -> (* StreamNil *)                                       │

00:00:37 #6046 [Verbose] > │                 UH2_1                                                        │

00:00:37 #6047 [Verbose] > │         | UH0_1 -> (* StreamNil *)                                           │

00:00:37 #6048 [Verbose] > │             UH2_1                                                            │

00:00:37 #6049 [Verbose] > │     let v77 : UH0 = UH0_1                                                    │

00:00:37 #6050 [Verbose] > │     let v78 : UH0 = method2(v0, v76, v77)                                    │

00:00:37 #6051 [Verbose] > │     v78                                                                      │

00:00:37 #6052 [Verbose] > │ and closure1 (v0 : float) (v1 : (UH0 -> UH1)) : (UH0 -> UH0) =               │

00:00:37 #6053 [Verbose] > │     closure2(v0, v1)                                                         │

00:00:37 #6054 [Verbose] > │ and closure0 () (v0 : float) : ((UH0 -> UH1) -> (UH0 -> UH0)) =              │

00:00:37 #6055 [Verbose] > │     closure1(v0)                                                             │

00:00:37 #6056 [Verbose] > │ and closure9 (v0 : UH3) () : UH3 =                                           │

00:00:37 #6057 [Verbose] > │     v0                                                                       │

00:00:37 #6058 [Verbose] > │ and method3 (v0 : UH0, v1 : UH3, v2 : int32) : struct (UH3 * int32) =        │

00:00:37 #6059 [Verbose] > │     match v0 with                                                            │

00:00:37 #6060 [Verbose] > │     | UH0_0(v3, v4, v5, v6, v7, v8, v9, v10, v11, v12) -> (* StreamCons *)   │

00:00:37 #6061 [Verbose] > │         let v13 : int32 = v2 + 1                                             │

00:00:37 #6062 [Verbose] > │         let v14 : UH0 = v12 ()                                               │

00:00:37 #6063 [Verbose] > │         let v15 : (unit -> UH3) = closure9(v1)                               │

00:00:37 #6064 [Verbose] > │         let v16 : UH3 = UH3_0(v2, v3, v4, v5, v6, v7, v8, v9, v10, v11, v15) │

00:00:37 #6065 [Verbose] > │         method3(v14, v16, v13)                                               │

00:00:37 #6066 [Verbose] > │     | UH0_1 -> (* StreamNil *)                                               │

00:00:37 #6067 [Verbose] > │         struct (v1, v2)                                                      │

00:00:37 #6068 [Verbose] > │ and closure10 (v0 : UH3) () : UH3 =                                          │

00:00:37 #6069 [Verbose] > │     v0                                                                       │

00:00:37 #6070 [Verbose] > │ and method4 (v0 : UH3, v1 : UH3) : UH3 =                                     │

00:00:37 #6071 [Verbose] > │     match v0 with                                                            │

00:00:37 #6072 [Verbose] > │     | UH3_0(v2, v3, v4, v5, v6, v7, v8, v9, v10, v11, v12) -> (* StreamCons  │

00:00:37 #6073 [Verbose] > │ *)                                                                           │

00:00:37 #6074 [Verbose] > │         let v13 : UH3 = v12 ()                                               │

00:00:37 #6075 [Verbose] > │         let v14 : (unit -> UH3) = closure10(v1)                              │

00:00:37 #6076 [Verbose] > │         let v15 : UH3 = UH3_0(v2, v3, v4, v5, v6, v7, v8, v9, v10, v11, v14) │

00:00:37 #6077 [Verbose] > │         method4(v13, v15)                                                    │

00:00:37 #6078 [Verbose] > │     | UH3_1 -> (* StreamNil *)                                               │

00:00:37 #6079 [Verbose] > │         v1                                                                   │

00:00:37 #6080 [Verbose] > │ and method6 (v0 : int32, v1 : UH0) : US2 =                                   │

00:00:37 #6081 [Verbose] > │     match v1 with                                                            │

00:00:37 #6082 [Verbose] > │     | UH0_0(v2, v3, v4, v5, v6, v7, v8, v9, v10, v11) -> (* StreamCons *)    │

00:00:37 #6083 [Verbose] > │         let v12 : bool = v0 <= 0                                             │

00:00:37 #6084 [Verbose] > │         if v12 then                                                          │

00:00:37 #6085 [Verbose] > │             US2_1(v2, v3, v4, v5, v6, v7, v8, v9, v10)                       │

00:00:37 #6086 [Verbose] > │         else                                                                 │

00:00:37 #6087 [Verbose] > │             let v14 : int32 = v0 - 1                                         │

00:00:37 #6088 [Verbose] > │             let v15 : UH0 = v11 ()                                           │

00:00:37 #6089 [Verbose] > │             method6(v14, v15)                                                │

00:00:37 #6090 [Verbose] > │     | UH0_1 -> (* StreamNil *)                                               │

00:00:37 #6091 [Verbose] > │         US2_0                                                                │

00:00:37 #6092 [Verbose] > │ and closure11 (v0 : float, v1 : float, v2 : float, v3 : float, v4 : float,   │

00:00:37 #6093 [Verbose] > │ v5 : float, v6 : float, v7 : float, v8 : float) struct (v9 : float, v10 :    │

00:00:37 #6094 [Verbose] > │ float, v11 : float, v12 : float, v13 : float, v14 : float, v15 : float, v16  │

00:00:37 #6095 [Verbose] > │ : float, v17 : float) : struct (float * float * float) =                     │

00:00:37 #6096 [Verbose] > │     let v18 : float = -1.0 * v2                                              │

00:00:37 #6097 [Verbose] > │     let v19 : float = -1.0 * v3                                              │

00:00:37 #6098 [Verbose] > │     let v20 : float = -1.0 * v4                                              │

00:00:37 #6099 [Verbose] > │     let v21 : float = v11 + v18                                              │

00:00:37 #6100 [Verbose] > │     let v22 : float = v12 + v19                                              │

00:00:37 #6101 [Verbose] > │     let v23 : float = v13 + v20                                              │

00:00:37 #6102 [Verbose] > │     let v24 : float = v21 * v21                                              │

00:00:37 #6103 [Verbose] > │     let v25 : float = v22 * v22                                              │

00:00:37 #6104 [Verbose] > │     let v26 : float = v24 + v25                                              │

00:00:37 #6105 [Verbose] > │     let v27 : float = v23 * v23                                              │

00:00:37 #6106 [Verbose] > │     let v28 : float = v26 + v27                                              │

00:00:37 #6107 [Verbose] > │     let v29 : float = sqrt v28                                               │

00:00:37 #6108 [Verbose] > │     let v30 : bool = v29 >= 0.06                                             │

00:00:37 #6109 [Verbose] > │     let v33 : float =                                                        │

00:00:37 #6110 [Verbose] > │         if v30 then                                                          │

00:00:37 #6111 [Verbose] > │             0.0                                                              │

00:00:37 #6112 [Verbose] > │         else                                                                 │

00:00:37 #6113 [Verbose] > │             let v31 : float = v29 - 0.06                                     │

00:00:37 #6114 [Verbose] > │             let v32 : float = -30.0 * v31                                    │

00:00:37 #6115 [Verbose] > │             v32                                                              │

00:00:37 #6116 [Verbose] > │     let v34 : float = v33 * v21                                              │

00:00:37 #6117 [Verbose] > │     let v35 : float = v33 * v22                                              │

00:00:37 #6118 [Verbose] > │     let v36 : float = v33 * v23                                              │

00:00:37 #6119 [Verbose] > │     let v37 : float = v34 / v29                                              │

00:00:37 #6120 [Verbose] > │     let v38 : float = v35 / v29                                              │

00:00:37 #6121 [Verbose] > │     let v39 : float = v36 / v29                                              │

00:00:37 #6122 [Verbose] > │     struct (v37, v38, v39)                                                   │

00:00:37 #6123 [Verbose] > │ and closure12 () struct (v0 : float, v1 : float, v2 : float, v3 : float, v4  │

00:00:37 #6124 [Verbose] > │ : float, v5 : float, v6 : float, v7 : float, v8 : float) : struct (float *   │

00:00:37 #6125 [Verbose] > │ float * float) =                                                             │

00:00:37 #6126 [Verbose] > │     struct (0.0, 0.0, 0.0)                                                   │

00:00:37 #6127 [Verbose] > │ and closure13 (v0 : UH1) () : UH1 =                                          │

00:00:37 #6128 [Verbose] > │     v0                                                                       │

00:00:37 #6129 [Verbose] > │ and method5 (v0 : UH0, v1 : UH3, v2 : UH1) : UH1 =                           │

00:00:37 #6130 [Verbose] > │     match v1 with                                                            │

00:00:37 #6131 [Verbose] > │     | UH3_0(v3, v4, v5, v6, v7, v8, v9, v10, v11, v12, v13) -> (* StreamCons │

00:00:37 #6132 [Verbose] > │ *)                                                                           │

00:00:37 #6133 [Verbose] > │         let v14 : UH3 = v13 ()                                               │

00:00:37 #6134 [Verbose] > │         let v15 : UH1 = method5(v0, v14, v2)                                 │

00:00:37 #6135 [Verbose] > │         let v16 : bool = v3 = 0                                              │

00:00:37 #6136 [Verbose] > │         let v52 : US1 =                                                      │

00:00:37 #6137 [Verbose] > │             if v16 then                                                      │

00:00:37 #6138 [Verbose] > │                 let v17 : int32 = 1                                          │

00:00:37 #6139 [Verbose] > │                 let v18 : US2 = method6(v17, v0)                             │

00:00:37 #6140 [Verbose] > │                 match v18 with                                               │

00:00:37 #6141 [Verbose] > │                 | US2_0 -> (* None *)                                        │

00:00:37 #6142 [Verbose] > │                     US1_0                                                    │

00:00:37 #6143 [Verbose] > │                 | US2_1(v19, v20, v21, v22, v23, v24, v25, v26, v27) -> (*   │

00:00:37 #6144 [Verbose] > │ Some *)                                                                      │

00:00:37 #6145 [Verbose] > │                     let v28 : (struct (float * float * float * float * float │

00:00:37 #6146 [Verbose] > │ * float * float * float * float) -> struct (float * float * float)) =        │

00:00:37 #6147 [Verbose] > │ closure11(v19, v20, v21, v22, v23, v24, v25, v26, v27)                       │

00:00:37 #6148 [Verbose] > │                     US1_1(v28)                                               │

00:00:37 #6149 [Verbose] > │             else                                                             │

00:00:37 #6150 [Verbose] > │                 let v33 : bool = v3 = 1                                      │

00:00:37 #6151 [Verbose] > │                 if v33 then                                                  │

00:00:37 #6152 [Verbose] > │                     let v34 : int32 = 0                                      │

00:00:37 #6153 [Verbose] > │                     let v35 : US2 = method6(v34, v0)                         │

00:00:37 #6154 [Verbose] > │                     match v35 with                                           │

00:00:37 #6155 [Verbose] > │                     | US2_0 -> (* None *)                                    │

00:00:37 #6156 [Verbose] > │                         US1_0                                                │

00:00:37 #6157 [Verbose] > │                     | US2_1(v36, v37, v38, v39, v40, v41, v42, v43, v44) ->  │

00:00:37 #6158 [Verbose] > │ (* Some *)                                                                   │

00:00:37 #6159 [Verbose] > │                         let v45 : (struct (float * float * float * float *   │

00:00:37 #6160 [Verbose] > │ float * float * float * float * float) -> struct (float * float * float)) =  │

00:00:37 #6161 [Verbose] > │ closure11(v36, v37, v38, v39, v40, v41, v42, v43, v44)                       │

00:00:37 #6162 [Verbose] > │                         US1_1(v45)                                           │

00:00:37 #6163 [Verbose] > │                 else                                                         │

00:00:37 #6164 [Verbose] > │                     US1_0                                                    │

00:00:37 #6165 [Verbose] > │         let v56 : (struct (float * float * float * float * float * float *   │

00:00:37 #6166 [Verbose] > │ float * float * float) -> struct (float * float * float)) =                  │

00:00:37 #6167 [Verbose] > │             match v52 with                                                   │

00:00:37 #6168 [Verbose] > │             | US1_0 -> (* None *)                                            │

00:00:37 #6169 [Verbose] > │                 closure12()                                                  │

00:00:37 #6170 [Verbose] > │             | US1_1(v53) -> (* Some *)                                       │

00:00:37 #6171 [Verbose] > │                 v53                                                          │

00:00:37 #6172 [Verbose] > │         let struct (v57 : float, v58 : float, v59 : float) = v56 struct (v4, │

00:00:37 #6173 [Verbose] > │ v5, v6, v7, v8, v9, v10, v11, v12)                                           │

00:00:37 #6174 [Verbose] > │         let v60 : float = v57 / v5                                           │

00:00:37 #6175 [Verbose] > │         let v61 : float = v58 / v5                                           │

00:00:37 #6176 [Verbose] > │         let v62 : float = v59 / v5                                           │

00:00:37 #6177 [Verbose] > │         let v63 : (unit -> UH1) = closure13(v15)                             │

00:00:37 #6178 [Verbose] > │         UH1_0(0.0, 0.0, v10, v11, v12, 1.0, v60, v61, v62, v63)              │

00:00:37 #6179 [Verbose] > │     | UH3_1 -> (* StreamNil *)                                               │

00:00:37 #6180 [Verbose] > │         v2                                                                   │

00:00:37 #6181 [Verbose] > │ and closure8 () (v0 : UH0) : UH1 =                                           │

00:00:37 #6182 [Verbose] > │     let v1 : UH3 = UH3_1                                                     │

00:00:37 #6183 [Verbose] > │     let v2 : int32 = 0                                                       │

00:00:37 #6184 [Verbose] > │     let struct (v3 : UH3, v4 : int32) = method3(v0, v1, v2)                  │

00:00:37 #6185 [Verbose] > │     let v5 : UH3 = UH3_1                                                     │

00:00:37 #6186 [Verbose] > │     let v6 : UH3 = method4(v3, v5)                                           │

00:00:37 #6187 [Verbose] > │     let v7 : UH1 = UH1_1                                                     │

00:00:37 #6188 [Verbose] > │     let v8 : UH1 = method5(v0, v6, v7)                                       │

00:00:37 #6189 [Verbose] > │     v8                                                                       │

00:00:37 #6190 [Verbose] > │ and method8 (v0 : int32, v1 : int32) : UH5 =                                 │

00:00:37 #6191 [Verbose] > │     let v2 : bool = v1 < v0                                                  │

00:00:37 #6192 [Verbose] > │     if v2 then                                                               │

00:00:37 #6193 [Verbose] > │         let v3 : int32 = v1 + 1                                              │

00:00:37 #6194 [Verbose] > │         let v4 : UH5 = method8(v0, v3)                                       │

00:00:37 #6195 [Verbose] > │         UH5_0(v1, v4)                                                        │

00:00:37 #6196 [Verbose] > │     else                                                                     │

00:00:37 #6197 [Verbose] > │         UH5_1                                                                │

00:00:37 #6198 [Verbose] > │ and closure15 () () : UH0 =                                                  │

00:00:37 #6199 [Verbose] > │     UH0_1                                                                    │

00:00:37 #6200 [Verbose] > │ and closure14 () () : UH0 =                                                  │

00:00:37 #6201 [Verbose] > │     let v0 : (unit -> UH0) = closure15()                                     │

00:00:37 #6202 [Verbose] > │     UH0_0(0.0, 0.16, 1.0, 0.02, 0.0, 0.0, 0.0, 0.0, 0.0, v0)                 │

00:00:37 #6203 [Verbose] > │ and method9 (v0 : (UH0 -> UH0), v1 : UH5, v2 : UH0) : UH0 =                  │

00:00:37 #6204 [Verbose] > │     match v1 with                                                            │

00:00:37 #6205 [Verbose] > │     | UH5_0(v3, v4) -> (* Cons *)                                            │

00:00:37 #6206 [Verbose] > │         let v5 : (unit -> UH0) = closure4(v2)                                │

00:00:37 #6207 [Verbose] > │         let v6 : (unit -> UH0) = method1(v2, v5)                             │

00:00:37 #6208 [Verbose] > │         let v7 : UH0 = v6 ()                                                 │

00:00:37 #6209 [Verbose] > │         let v8 : UH0 = v0 v7                                                 │

00:00:37 #6210 [Verbose] > │         method9(v0, v4, v8)                                                  │

00:00:37 #6211 [Verbose] > │     | UH5_1 -> (* Nil *)                                                     │

00:00:37 #6212 [Verbose] > │         v2                                                                   │

00:00:37 #6213 [Verbose] > │ and method10 (v0 : UH4, v1 : UH4) : UH4 =                                    │

00:00:37 #6214 [Verbose] > │     match v0 with                                                            │

00:00:37 #6215 [Verbose] > │     | UH4_0(v2, v3) -> (* Cons *)                                            │

00:00:37 #6216 [Verbose] > │         let v4 : UH4 = UH4_0(v2, v1)                                         │

00:00:37 #6217 [Verbose] > │         method10(v3, v4)                                                     │

00:00:37 #6218 [Verbose] > │     | UH4_1 -> (* Nil *)                                                     │

00:00:37 #6219 [Verbose] > │         v1                                                                   │

00:00:37 #6220 [Verbose] > │ and method7 (v0 : (UH0 -> UH0), v1 : UH4, v2 : int32) : UH4 =                │

00:00:37 #6221 [Verbose] > │     let v3 : int32 = 0                                                       │

00:00:37 #6222 [Verbose] > │     let v4 : UH5 = method8(v2, v3)                                           │

00:00:37 #6223 [Verbose] > │     let v5 : float = 0.0                                                     │

00:00:37 #6224 [Verbose] > │     let v6 : float = 0.16                                                    │

00:00:37 #6225 [Verbose] > │     let v7 : float = 0.0                                                     │

00:00:37 #6226 [Verbose] > │     let v8 : float = 0.0                                                     │

00:00:37 #6227 [Verbose] > │     let v9 : float = 0.0                                                     │

00:00:37 #6228 [Verbose] > │     let v10 : float = 0.0                                                    │

00:00:37 #6229 [Verbose] > │     let v11 : float = 0.2                                                    │

00:00:37 #6230 [Verbose] > │     let v12 : float = 0.0                                                    │

00:00:37 #6231 [Verbose] > │     let v13 : float = 0.0                                                    │

00:00:37 #6232 [Verbose] > │     let v14 : (unit -> UH0) = closure14()                                    │

00:00:37 #6233 [Verbose] > │     let v15 : UH0 = UH0_0(v5, v6, v7, v8, v9, v10, v11, v12, v13, v14)       │

00:00:37 #6234 [Verbose] > │     let v16 : UH0 = method9(v0, v4, v15)                                     │

00:00:37 #6235 [Verbose] > │     let v17 : int32 = 0                                                      │

00:00:37 #6236 [Verbose] > │     let v18 : US2 = method6(v17, v16)                                        │

00:00:37 #6237 [Verbose] > │     let v30 : bool =                                                         │

00:00:37 #6238 [Verbose] > │         match v18 with                                                       │

00:00:37 #6239 [Verbose] > │         | US2_0 -> (* None *)                                                │

00:00:37 #6240 [Verbose] > │             false                                                            │

00:00:37 #6241 [Verbose] > │         | US2_1(v19, v20, v21, v22, v23, v24, v25, v26, v27) -> (* Some *)   │

00:00:37 #6242 [Verbose] > │             let v28 : bool = v24 <= 10.0                                     │

00:00:37 #6243 [Verbose] > │             v28                                                              │

00:00:37 #6244 [Verbose] > │     if v30 then                                                              │

00:00:37 #6245 [Verbose] > │         let v31 : UH4 = UH4_0(v16, v1)                                       │

00:00:37 #6246 [Verbose] > │         let v32 : int32 = v2 + 1                                             │

00:00:37 #6247 [Verbose] > │         method7(v0, v31, v32)                                                │

00:00:37 #6248 [Verbose] > │     else                                                                     │

00:00:37 #6249 [Verbose] > │         let v34 : UH4 = UH4_1                                                │

00:00:37 #6250 [Verbose] > │         method10(v1, v34)                                                    │

00:00:37 #6251 [Verbose] > │ and closure16 (v0 : UH7) () : UH7 =                                          │

00:00:37 #6252 [Verbose] > │     v0                                                                       │

00:00:37 #6253 [Verbose] > │ and method12 (v0 : UH0, v1 : UH7) : UH7 =                                    │

00:00:37 #6254 [Verbose] > │     match v0 with                                                            │

00:00:37 #6255 [Verbose] > │     | UH0_0(v2, v3, v4, v5, v6, v7, v8, v9, v10, v11) -> (* StreamCons *)    │

00:00:37 #6256 [Verbose] > │         let v12 : UH0 = v11 ()                                               │

00:00:37 #6257 [Verbose] > │         let v13 : UH7 = method12(v12, v1)                                    │

00:00:37 #6258 [Verbose] > │         let v14 : float = v8 * v8                                            │

00:00:37 #6259 [Verbose] > │         let v15 : float = v9 * v9                                            │

00:00:37 #6260 [Verbose] > │         let v16 : float = v14 + v15                                          │

00:00:37 #6261 [Verbose] > │         let v17 : float = v10 * v10                                          │

00:00:37 #6262 [Verbose] > │         let v18 : float = v16 + v17                                          │

00:00:37 #6263 [Verbose] > │         let v19 : float = sqrt v18                                           │

00:00:37 #6264 [Verbose] > │         let v20 : float = 0.5 * v3                                           │

00:00:37 #6265 [Verbose] > │         let v21 : float = v19 ** 2.0                                         │

00:00:37 #6266 [Verbose] > │         let v22 : float = v20 * v21                                          │

00:00:37 #6267 [Verbose] > │         let v23 : (unit -> UH7) = closure16(v13)                             │

00:00:37 #6268 [Verbose] > │         UH7_0(v22, v23)                                                      │

00:00:37 #6269 [Verbose] > │     | UH0_1 -> (* StreamNil *)                                               │

00:00:37 #6270 [Verbose] > │         v1                                                                   │

00:00:37 #6271 [Verbose] > │ and method13 (v0 : UH7, v1 : float) : float =                                │

00:00:37 #6272 [Verbose] > │     match v0 with                                                            │

00:00:37 #6273 [Verbose] > │     | UH7_0(v2, v3) -> (* StreamCons *)                                      │

00:00:37 #6274 [Verbose] > │         let v4 : float = v1 + v2                                             │

00:00:37 #6275 [Verbose] > │         let v5 : UH7 = v3 ()                                                 │

00:00:37 #6276 [Verbose] > │         method13(v5, v4)                                                     │

00:00:37 #6277 [Verbose] > │     | UH7_1 -> (* StreamNil *)                                               │

00:00:37 #6278 [Verbose] > │         v1                                                                   │

00:00:37 #6279 [Verbose] > │ and method11 (v0 : UH4, v1 : UH6) : UH6 =                                    │

00:00:37 #6280 [Verbose] > │     match v0 with                                                            │

00:00:37 #6281 [Verbose] > │     | UH4_0(v2, v3) -> (* Cons *)                                            │

00:00:37 #6282 [Verbose] > │         let v4 : UH6 = method11(v3, v1)                                      │

00:00:37 #6283 [Verbose] > │         let v5 : int32 = 0                                                   │

00:00:37 #6284 [Verbose] > │         let v6 : US2 = method6(v5, v2)                                       │

00:00:37 #6285 [Verbose] > │         let v23 : US3 =                                                      │

00:00:37 #6286 [Verbose] > │             match v6 with                                                    │

00:00:37 #6287 [Verbose] > │             | US2_0 -> (* None *)                                            │

00:00:37 #6288 [Verbose] > │                 US3_0                                                        │

00:00:37 #6289 [Verbose] > │             | US2_1(v7, v8, v9, v10, v11, v12, v13, v14, v15) -> (* Some *)  │

00:00:37 #6290 [Verbose] > │                 let v16 : UH7 = UH7_1                                        │

00:00:37 #6291 [Verbose] > │                 let v17 : UH7 = method12(v2, v16)                            │

00:00:37 #6292 [Verbose] > │                 let v18 : float = 0.0                                        │

00:00:37 #6293 [Verbose] > │                 let v19 : float = method13(v17, v18)                         │

00:00:37 #6294 [Verbose] > │                 US3_1(v12, v19)                                              │

00:00:37 #6295 [Verbose] > │         UH6_0(v23, v4)                                                       │

00:00:37 #6296 [Verbose] > │     | UH4_1 -> (* Nil *)                                                     │

00:00:37 #6297 [Verbose] > │         v1                                                                   │

00:00:37 #6298 [Verbose] > │ and method14 (v0 : UH6, v1 : UH8) : UH8 =                                    │

00:00:37 #6299 [Verbose] > │     match v0 with                                                            │

00:00:37 #6300 [Verbose] > │     | UH6_0(v2, v3) -> (* Cons *)                                            │

00:00:37 #6301 [Verbose] > │         let v4 : UH8 = method14(v3, v1)                                      │

00:00:37 #6302 [Verbose] > │         match v2 with                                                        │

00:00:37 #6303 [Verbose] > │         | US3_0 -> (* None *)                                                │

00:00:37 #6304 [Verbose] > │             v4                                                               │

00:00:37 #6305 [Verbose] > │         | US3_1(v5, v6) -> (* Some *)                                        │

00:00:37 #6306 [Verbose] > │             UH8_0(v5, v6, v4)                                                │

00:00:37 #6307 [Verbose] > │     | UH6_1 -> (* Nil *)                                                     │

00:00:37 #6308 [Verbose] > │         v1                                                                   │

00:00:37 #6309 [Verbose] > │ and method15 (v0 : UH8, v1 : UH9, v2 : UH9) : struct (UH9 * UH9) =           │

00:00:37 #6310 [Verbose] > │     match v0 with                                                            │

00:00:37 #6311 [Verbose] > │     | UH8_0(v3, v4, v5) -> (* Cons *)                                        │

00:00:37 #6312 [Verbose] > │         let v6 : UH9 = UH9_0(v3, v1)                                         │

00:00:37 #6313 [Verbose] > │         let v7 : UH9 = UH9_0(v4, v2)                                         │

00:00:37 #6314 [Verbose] > │         method15(v5, v6, v7)                                                 │

00:00:37 #6315 [Verbose] > │     | UH8_1 -> (* Nil *)                                                     │

00:00:37 #6316 [Verbose] > │         struct (v1, v2)                                                      │

00:00:37 #6317 [Verbose] > │ and method16 (v0 : UH9, v1 : UH9) : UH9 =                                    │

00:00:37 #6318 [Verbose] > │     match v0 with                                                            │

00:00:37 #6319 [Verbose] > │     | UH9_0(v2, v3) -> (* Cons *)                                            │

00:00:37 #6320 [Verbose] > │         let v4 : UH9 = UH9_0(v2, v1)                                         │

00:00:37 #6321 [Verbose] > │         method16(v3, v4)                                                     │

00:00:37 #6322 [Verbose] > │     | UH9_1 -> (* Nil *)                                                     │

00:00:37 #6323 [Verbose] > │         v1                                                                   │

00:00:37 #6324 [Verbose] > │ and closure20 (v0 : (unit -> UH1), v1 : (unit -> UH1)) () : UH1 =            │

00:00:37 #6325 [Verbose] > │     let v2 : UH1 = v1 ()                                                     │

00:00:37 #6326 [Verbose] > │     let v3 : UH1 = v0 ()                                                     │

00:00:37 #6327 [Verbose] > │     match v2 with                                                            │

00:00:37 #6328 [Verbose] > │     | UH1_0(v4, v5, v6, v7, v8, v9, v10, v11, v12, v13) -> (* StreamCons *)  │

00:00:37 #6329 [Verbose] > │         match v3 with                                                        │

00:00:37 #6330 [Verbose] > │         | UH1_0(v14, v15, v16, v17, v18, v19, v20, v21, v22, v23) -> (*      │

00:00:37 #6331 [Verbose] > │ StreamCons *)                                                                │

00:00:37 #6332 [Verbose] > │             let v24 : float = v4 + v14                                       │

00:00:37 #6333 [Verbose] > │             let v25 : float = v5 + v15                                       │

00:00:37 #6334 [Verbose] > │             let v26 : float = v9 + v19                                       │

00:00:37 #6335 [Verbose] > │             let v27 : float = v6 + v16                                       │

00:00:37 #6336 [Verbose] > │             let v28 : float = v7 + v17                                       │

00:00:37 #6337 [Verbose] > │             let v29 : float = v8 + v18                                       │

00:00:37 #6338 [Verbose] > │             let v30 : float = v10 + v20                                      │

00:00:37 #6339 [Verbose] > │             let v31 : float = v11 + v21                                      │

00:00:37 #6340 [Verbose] > │             let v32 : float = v12 + v22                                      │

00:00:37 #6341 [Verbose] > │             let v33 : (unit -> UH1) = closure20(v23, v13)                    │

00:00:37 #6342 [Verbose] > │             UH1_0(v24, v25, v27, v28, v29, v26, v30, v31, v32, v33)          │

00:00:37 #6343 [Verbose] > │         | UH1_1 -> (* StreamNil *)                                           │

00:00:37 #6344 [Verbose] > │             UH1_1                                                            │

00:00:37 #6345 [Verbose] > │     | UH1_1 -> (* StreamNil *)                                               │

00:00:37 #6346 [Verbose] > │         UH1_1                                                                │

00:00:37 #6347 [Verbose] > │ and closure19 (v0 : float, v1 : (UH0 -> UH1)) (v2 : UH0) : UH0 =             │

00:00:37 #6348 [Verbose] > │     let v3 : UH1 = v1 v2                                                     │

00:00:37 #6349 [Verbose] > │     let v4 : float = v0 / 2.0                                                │

00:00:37 #6350 [Verbose] > │     let v46 : UH0 =                                                          │

00:00:37 #6351 [Verbose] > │         match v3 with                                                        │

00:00:37 #6352 [Verbose] > │         | UH1_0(v5, v6, v7, v8, v9, v10, v11, v12, v13, v14) -> (*           │

00:00:37 #6353 [Verbose] > │ StreamCons *)                                                                │

00:00:37 #6354 [Verbose] > │             match v2 with                                                    │

00:00:37 #6355 [Verbose] > │             | UH0_0(v15, v16, v17, v18, v19, v20, v21, v22, v23, v24) -> (*  │

00:00:37 #6356 [Verbose] > │ StreamCons *)                                                                │

00:00:37 #6357 [Verbose] > │                 let v25 : float = v10 * v4                                   │

00:00:37 #6358 [Verbose] > │                 let v26 : float = v20 + v25                                  │

00:00:37 #6359 [Verbose] > │                 let v27 : float = v4 * v7                                    │

00:00:37 #6360 [Verbose] > │                 let v28 : float = v4 * v8                                    │

00:00:37 #6361 [Verbose] > │                 let v29 : float = v4 * v9                                    │

00:00:37 #6362 [Verbose] > │                 let v30 : float = v17 + v27                                  │

00:00:37 #6363 [Verbose] > │                 let v31 : float = v18 + v28                                  │

00:00:37 #6364 [Verbose] > │                 let v32 : float = v19 + v29                                  │

00:00:37 #6365 [Verbose] > │                 let v33 : float = v4 * v11                                   │

00:00:37 #6366 [Verbose] > │                 let v34 : float = v4 * v12                                   │

00:00:37 #6367 [Verbose] > │                 let v35 : float = v4 * v13                                   │

00:00:37 #6368 [Verbose] > │                 let v36 : float = v21 + v33                                  │

00:00:37 #6369 [Verbose] > │                 let v37 : float = v22 + v34                                  │

00:00:37 #6370 [Verbose] > │                 let v38 : float = v23 + v35                                  │

00:00:37 #6371 [Verbose] > │                 let v39 : (unit -> UH0) = closure3(v4, v24, v14)             │

00:00:37 #6372 [Verbose] > │                 UH0_0(v15, v16, v30, v31, v32, v26, v36, v37, v38, v39)      │

00:00:37 #6373 [Verbose] > │             | UH0_1 -> (* StreamNil *)                                       │

00:00:37 #6374 [Verbose] > │                 UH0_1                                                        │

00:00:37 #6375 [Verbose] > │         | UH1_1 -> (* StreamNil *)                                           │

00:00:37 #6376 [Verbose] > │             UH0_1                                                            │

00:00:37 #6377 [Verbose] > │     let v47 : (unit -> UH0) = closure4(v46)                                  │

00:00:37 #6378 [Verbose] > │     let v48 : (unit -> UH0) = method1(v46, v47)                              │

00:00:37 #6379 [Verbose] > │     let v49 : UH0 = v48 ()                                                   │

00:00:37 #6380 [Verbose] > │     let v50 : UH1 = v1 v49                                                   │

00:00:37 #6381 [Verbose] > │     let v92 : UH0 =                                                          │

00:00:37 #6382 [Verbose] > │         match v50 with                                                       │

00:00:37 #6383 [Verbose] > │         | UH1_0(v51, v52, v53, v54, v55, v56, v57, v58, v59, v60) -> (*      │

00:00:37 #6384 [Verbose] > │ StreamCons *)                                                                │

00:00:37 #6385 [Verbose] > │             match v2 with                                                    │

00:00:37 #6386 [Verbose] > │             | UH0_0(v61, v62, v63, v64, v65, v66, v67, v68, v69, v70) -> (*  │

00:00:37 #6387 [Verbose] > │ StreamCons *)                                                                │

00:00:37 #6388 [Verbose] > │                 let v71 : float = v56 * v4                                   │

00:00:37 #6389 [Verbose] > │                 let v72 : float = v66 + v71                                  │

00:00:37 #6390 [Verbose] > │                 let v73 : float = v4 * v53                                   │

00:00:37 #6391 [Verbose] > │                 let v74 : float = v4 * v54                                   │

00:00:37 #6392 [Verbose] > │                 let v75 : float = v4 * v55                                   │

00:00:37 #6393 [Verbose] > │                 let v76 : float = v63 + v73                                  │

00:00:37 #6394 [Verbose] > │                 let v77 : float = v64 + v74                                  │

00:00:37 #6395 [Verbose] > │                 let v78 : float = v65 + v75                                  │

00:00:37 #6396 [Verbose] > │                 let v79 : float = v4 * v57                                   │

00:00:37 #6397 [Verbose] > │                 let v80 : float = v4 * v58                                   │

00:00:37 #6398 [Verbose] > │                 let v81 : float = v4 * v59                                   │

00:00:37 #6399 [Verbose] > │                 let v82 : float = v67 + v79                                  │

00:00:37 #6400 [Verbose] > │                 let v83 : float = v68 + v80                                  │

00:00:37 #6401 [Verbose] > │                 let v84 : float = v69 + v81                                  │

00:00:37 #6402 [Verbose] > │                 let v85 : (unit -> UH0) = closure3(v4, v70, v60)             │

00:00:37 #6403 [Verbose] > │                 UH0_0(v61, v62, v76, v77, v78, v72, v82, v83, v84, v85)      │

00:00:37 #6404 [Verbose] > │             | UH0_1 -> (* StreamNil *)                                       │

00:00:37 #6405 [Verbose] > │                 UH0_1                                                        │

00:00:37 #6406 [Verbose] > │         | UH1_1 -> (* StreamNil *)                                           │

00:00:37 #6407 [Verbose] > │             UH0_1                                                            │

00:00:37 #6408 [Verbose] > │     let v93 : (unit -> UH0) = closure4(v92)                                  │

00:00:37 #6409 [Verbose] > │     let v94 : (unit -> UH0) = method1(v92, v93)                              │

00:00:37 #6410 [Verbose] > │     let v95 : UH0 = v94 ()                                                   │

00:00:37 #6411 [Verbose] > │     let v96 : UH1 = v1 v95                                                   │

00:00:37 #6412 [Verbose] > │     let v138 : UH0 =                                                         │

00:00:37 #6413 [Verbose] > │         match v96 with                                                       │

00:00:37 #6414 [Verbose] > │         | UH1_0(v97, v98, v99, v100, v101, v102, v103, v104, v105, v106) ->  │

00:00:37 #6415 [Verbose] > │ (* StreamCons *)                                                             │

00:00:37 #6416 [Verbose] > │             match v2 with                                                    │

00:00:37 #6417 [Verbose] > │             | UH0_0(v107, v108, v109, v110, v111, v112, v113, v114, v115,    │

00:00:37 #6418 [Verbose] > │ v116) -> (* StreamCons *)                                                    │

00:00:37 #6419 [Verbose] > │                 let v117 : float = v102 * v0                                 │

00:00:37 #6420 [Verbose] > │                 let v118 : float = v112 + v117                               │

00:00:37 #6421 [Verbose] > │                 let v119 : float = v0 * v99                                  │

00:00:37 #6422 [Verbose] > │                 let v120 : float = v0 * v100                                 │

00:00:37 #6423 [Verbose] > │                 let v121 : float = v0 * v101                                 │

00:00:37 #6424 [Verbose] > │                 let v122 : float = v109 + v119                               │

00:00:37 #6425 [Verbose] > │                 let v123 : float = v110 + v120                               │

00:00:37 #6426 [Verbose] > │                 let v124 : float = v111 + v121                               │

00:00:37 #6427 [Verbose] > │                 let v125 : float = v0 * v103                                 │

00:00:37 #6428 [Verbose] > │                 let v126 : float = v0 * v104                                 │

00:00:37 #6429 [Verbose] > │                 let v127 : float = v0 * v105                                 │

00:00:37 #6430 [Verbose] > │                 let v128 : float = v113 + v125                               │

00:00:37 #6431 [Verbose] > │                 let v129 : float = v114 + v126                               │

00:00:37 #6432 [Verbose] > │                 let v130 : float = v115 + v127                               │

00:00:37 #6433 [Verbose] > │                 let v131 : (unit -> UH0) = closure3(v0, v116, v106)          │

00:00:37 #6434 [Verbose] > │                 UH0_0(v107, v108, v122, v123, v124, v118, v128, v129, v130,  │

00:00:37 #6435 [Verbose] > │ v131)                                                                        │

00:00:37 #6436 [Verbose] > │             | UH0_1 -> (* StreamNil *)                                       │

00:00:37 #6437 [Verbose] > │                 UH0_1                                                        │

00:00:37 #6438 [Verbose] > │         | UH1_1 -> (* StreamNil *)                                           │

00:00:37 #6439 [Verbose] > │             UH0_1                                                            │

00:00:37 #6440 [Verbose] > │     let v139 : (unit -> UH0) = closure4(v138)                                │

00:00:37 #6441 [Verbose] > │     let v140 : (unit -> UH0) = method1(v138, v139)                           │

00:00:37 #6442 [Verbose] > │     let v141 : UH0 = v140 ()                                                 │

00:00:37 #6443 [Verbose] > │     let v142 : UH1 = v1 v141                                                 │

00:00:37 #6444 [Verbose] > │     let v143 : float = v0 / 6.0                                              │

00:00:37 #6445 [Verbose] > │     let v180 : UH1 =                                                         │

00:00:37 #6446 [Verbose] > │         match v3 with                                                        │

00:00:37 #6447 [Verbose] > │         | UH1_0(v144, v145, v146, v147, v148, v149, v150, v151, v152, v153)  │

00:00:37 #6448 [Verbose] > │ -> (* StreamCons *)                                                          │

00:00:37 #6449 [Verbose] > │             match v50 with                                                   │

00:00:37 #6450 [Verbose] > │             | UH1_0(v154, v155, v156, v157, v158, v159, v160, v161, v162,    │

00:00:37 #6451 [Verbose] > │ v163) -> (* StreamCons *)                                                    │

00:00:37 #6452 [Verbose] > │                 let v164 : float = v144 + v154                               │

00:00:37 #6453 [Verbose] > │                 let v165 : float = v145 + v155                               │

00:00:37 #6454 [Verbose] > │                 let v166 : float = v149 + v159                               │

00:00:37 #6455 [Verbose] > │                 let v167 : float = v146 + v156                               │

00:00:37 #6456 [Verbose] > │                 let v168 : float = v147 + v157                               │

00:00:37 #6457 [Verbose] > │                 let v169 : float = v148 + v158                               │

00:00:37 #6458 [Verbose] > │                 let v170 : float = v150 + v160                               │

00:00:37 #6459 [Verbose] > │                 let v171 : float = v151 + v161                               │

00:00:37 #6460 [Verbose] > │                 let v172 : float = v152 + v162                               │

00:00:37 #6461 [Verbose] > │                 let v173 : (unit -> UH1) = closure20(v163, v153)             │

00:00:37 #6462 [Verbose] > │                 UH1_0(v164, v165, v167, v168, v169, v166, v170, v171, v172,  │

00:00:37 #6463 [Verbose] > │ v173)                                                                        │

00:00:37 #6464 [Verbose] > │             | UH1_1 -> (* StreamNil *)                                       │

00:00:37 #6465 [Verbose] > │                 UH1_1                                                        │

00:00:37 #6466 [Verbose] > │         | UH1_1 -> (* StreamNil *)                                           │

00:00:37 #6467 [Verbose] > │             UH1_1                                                            │

00:00:37 #6468 [Verbose] > │     let v217 : UH1 =                                                         │

00:00:37 #6469 [Verbose] > │         match v180 with                                                      │

00:00:37 #6470 [Verbose] > │         | UH1_0(v181, v182, v183, v184, v185, v186, v187, v188, v189, v190)  │

00:00:37 #6471 [Verbose] > │ -> (* StreamCons *)                                                          │

00:00:37 #6472 [Verbose] > │             match v50 with                                                   │

00:00:37 #6473 [Verbose] > │             | UH1_0(v191, v192, v193, v194, v195, v196, v197, v198, v199,    │

00:00:37 #6474 [Verbose] > │ v200) -> (* StreamCons *)                                                    │

00:00:37 #6475 [Verbose] > │                 let v201 : float = v181 + v191                               │

00:00:37 #6476 [Verbose] > │                 let v202 : float = v182 + v192                               │

00:00:37 #6477 [Verbose] > │                 let v203 : float = v186 + v196                               │

00:00:37 #6478 [Verbose] > │                 let v204 : float = v183 + v193                               │

00:00:37 #6479 [Verbose] > │                 let v205 : float = v184 + v194                               │

00:00:37 #6480 [Verbose] > │                 let v206 : float = v185 + v195                               │

00:00:37 #6481 [Verbose] > │                 let v207 : float = v187 + v197                               │

00:00:37 #6482 [Verbose] > │                 let v208 : float = v188 + v198                               │

00:00:37 #6483 [Verbose] > │                 let v209 : float = v189 + v199                               │

00:00:37 #6484 [Verbose] > │                 let v210 : (unit -> UH1) = closure20(v200, v190)             │

00:00:37 #6485 [Verbose] > │                 UH1_0(v201, v202, v204, v205, v206, v203, v207, v208, v209,  │

00:00:37 #6486 [Verbose] > │ v210)                                                                        │

00:00:37 #6487 [Verbose] > │             | UH1_1 -> (* StreamNil *)                                       │

00:00:37 #6488 [Verbose] > │                 UH1_1                                                        │

00:00:37 #6489 [Verbose] > │         | UH1_1 -> (* StreamNil *)                                           │

00:00:37 #6490 [Verbose] > │             UH1_1                                                            │

00:00:37 #6491 [Verbose] > │     let v254 : UH1 =                                                         │

00:00:37 #6492 [Verbose] > │         match v217 with                                                      │

00:00:37 #6493 [Verbose] > │         | UH1_0(v218, v219, v220, v221, v222, v223, v224, v225, v226, v227)  │

00:00:37 #6494 [Verbose] > │ -> (* StreamCons *)                                                          │

00:00:37 #6495 [Verbose] > │             match v96 with                                                   │

00:00:37 #6496 [Verbose] > │             | UH1_0(v228, v229, v230, v231, v232, v233, v234, v235, v236,    │

00:00:37 #6497 [Verbose] > │ v237) -> (* StreamCons *)                                                    │

00:00:37 #6498 [Verbose] > │                 let v238 : float = v218 + v228                               │

00:00:37 #6499 [Verbose] > │                 let v239 : float = v219 + v229                               │

00:00:37 #6500 [Verbose] > │                 let v240 : float = v223 + v233                               │

00:00:37 #6501 [Verbose] > │                 let v241 : float = v220 + v230                               │

00:00:37 #6502 [Verbose] > │                 let v242 : float = v221 + v231                               │

00:00:37 #6503 [Verbose] > │                 let v243 : float = v222 + v232                               │

00:00:37 #6504 [Verbose] > │                 let v244 : float = v224 + v234                               │

00:00:37 #6505 [Verbose] > │                 let v245 : float = v225 + v235                               │

00:00:37 #6506 [Verbose] > │                 let v246 : float = v226 + v236                               │

00:00:37 #6507 [Verbose] > │                 let v247 : (unit -> UH1) = closure20(v237, v227)             │

00:00:37 #6508 [Verbose] > │                 UH1_0(v238, v239, v241, v242, v243, v240, v244, v245, v246,  │

00:00:37 #6509 [Verbose] > │ v247)                                                                        │

00:00:37 #6510 [Verbose] > │             | UH1_1 -> (* StreamNil *)                                       │

00:00:37 #6511 [Verbose] > │                 UH1_1                                                        │

00:00:37 #6512 [Verbose] > │         | UH1_1 -> (* StreamNil *)                                           │

00:00:37 #6513 [Verbose] > │             UH1_1                                                            │

00:00:37 #6514 [Verbose] > │     let v291 : UH1 =                                                         │

00:00:37 #6515 [Verbose] > │         match v254 with                                                      │

00:00:37 #6516 [Verbose] > │         | UH1_0(v255, v256, v257, v258, v259, v260, v261, v262, v263, v264)  │

00:00:37 #6517 [Verbose] > │ -> (* StreamCons *)                                                          │

00:00:37 #6518 [Verbose] > │             match v96 with                                                   │

00:00:37 #6519 [Verbose] > │             | UH1_0(v265, v266, v267, v268, v269, v270, v271, v272, v273,    │

00:00:37 #6520 [Verbose] > │ v274) -> (* StreamCons *)                                                    │

00:00:37 #6521 [Verbose] > │                 let v275 : float = v255 + v265                               │

00:00:37 #6522 [Verbose] > │                 let v276 : float = v256 + v266                               │

00:00:37 #6523 [Verbose] > │                 let v277 : float = v260 + v270                               │

00:00:37 #6524 [Verbose] > │                 let v278 : float = v257 + v267                               │

00:00:37 #6525 [Verbose] > │                 let v279 : float = v258 + v268                               │

00:00:37 #6526 [Verbose] > │                 let v280 : float = v259 + v269                               │

00:00:37 #6527 [Verbose] > │                 let v281 : float = v261 + v271                               │

00:00:37 #6528 [Verbose] > │                 let v282 : float = v262 + v272                               │

00:00:37 #6529 [Verbose] > │                 let v283 : float = v263 + v273                               │

00:00:37 #6530 [Verbose] > │                 let v284 : (unit -> UH1) = closure20(v274, v264)             │

00:00:37 #6531 [Verbose] > │                 UH1_0(v275, v276, v278, v279, v280, v277, v281, v282, v283,  │

00:00:37 #6532 [Verbose] > │ v284)                                                                        │

00:00:37 #6533 [Verbose] > │             | UH1_1 -> (* StreamNil *)                                       │

00:00:37 #6534 [Verbose] > │                 UH1_1                                                        │

00:00:37 #6535 [Verbose] > │         | UH1_1 -> (* StreamNil *)                                           │

00:00:37 #6536 [Verbose] > │             UH1_1                                                            │

00:00:37 #6537 [Verbose] > │     let v328 : UH1 =                                                         │

00:00:37 #6538 [Verbose] > │         match v291 with                                                      │

00:00:37 #6539 [Verbose] > │         | UH1_0(v292, v293, v294, v295, v296, v297, v298, v299, v300, v301)  │

00:00:37 #6540 [Verbose] > │ -> (* StreamCons *)                                                          │

00:00:37 #6541 [Verbose] > │             match v142 with                                                  │

00:00:37 #6542 [Verbose] > │             | UH1_0(v302, v303, v304, v305, v306, v307, v308, v309, v310,    │

00:00:37 #6543 [Verbose] > │ v311) -> (* StreamCons *)                                                    │

00:00:37 #6544 [Verbose] > │                 let v312 : float = v292 + v302                               │

00:00:37 #6545 [Verbose] > │                 let v313 : float = v293 + v303                               │

00:00:37 #6546 [Verbose] > │                 let v314 : float = v297 + v307                               │

00:00:37 #6547 [Verbose] > │                 let v315 : float = v294 + v304                               │

00:00:37 #6548 [Verbose] > │                 let v316 : float = v295 + v305                               │

00:00:37 #6549 [Verbose] > │                 let v317 : float = v296 + v306                               │

00:00:37 #6550 [Verbose] > │                 let v318 : float = v298 + v308                               │

00:00:37 #6551 [Verbose] > │                 let v319 : float = v299 + v309                               │

00:00:37 #6552 [Verbose] > │                 let v320 : float = v300 + v310                               │

00:00:37 #6553 [Verbose] > │                 let v321 : (unit -> UH1) = closure20(v311, v301)             │

00:00:37 #6554 [Verbose] > │                 UH1_0(v312, v313, v315, v316, v317, v314, v318, v319, v320,  │

00:00:37 #6555 [Verbose] > │ v321)                                                                        │

00:00:37 #6556 [Verbose] > │             | UH1_1 -> (* StreamNil *)                                       │

00:00:37 #6557 [Verbose] > │                 UH1_1                                                        │

00:00:37 #6558 [Verbose] > │         | UH1_1 -> (* StreamNil *)                                           │

00:00:37 #6559 [Verbose] > │             UH1_1                                                            │

00:00:37 #6560 [Verbose] > │     let v370 : UH0 =                                                         │

00:00:37 #6561 [Verbose] > │         match v328 with                                                      │

00:00:37 #6562 [Verbose] > │         | UH1_0(v329, v330, v331, v332, v333, v334, v335, v336, v337, v338)  │

00:00:37 #6563 [Verbose] > │ -> (* StreamCons *)                                                          │

00:00:37 #6564 [Verbose] > │             match v2 with                                                    │

00:00:37 #6565 [Verbose] > │             | UH0_0(v339, v340, v341, v342, v343, v344, v345, v346, v347,    │

00:00:37 #6566 [Verbose] > │ v348) -> (* StreamCons *)                                                    │

00:00:37 #6567 [Verbose] > │                 let v349 : float = v334 * v143                               │

00:00:37 #6568 [Verbose] > │                 let v350 : float = v344 + v349                               │

00:00:37 #6569 [Verbose] > │                 let v351 : float = v143 * v331                               │

00:00:37 #6570 [Verbose] > │                 let v352 : float = v143 * v332                               │

00:00:37 #6571 [Verbose] > │                 let v353 : float = v143 * v333                               │

00:00:37 #6572 [Verbose] > │                 let v354 : float = v341 + v351                               │

00:00:37 #6573 [Verbose] > │                 let v355 : float = v342 + v352                               │

00:00:37 #6574 [Verbose] > │                 let v356 : float = v343 + v353                               │

00:00:37 #6575 [Verbose] > │                 let v357 : float = v143 * v335                               │

00:00:37 #6576 [Verbose] > │                 let v358 : float = v143 * v336                               │

00:00:37 #6577 [Verbose] > │                 let v359 : float = v143 * v337                               │

00:00:37 #6578 [Verbose] > │                 let v360 : float = v345 + v357                               │

00:00:37 #6579 [Verbose] > │                 let v361 : float = v346 + v358                               │

00:00:37 #6580 [Verbose] > │                 let v362 : float = v347 + v359                               │

00:00:37 #6581 [Verbose] > │                 let v363 : (unit -> UH0) = closure3(v143, v348, v338)        │

00:00:37 #6582 [Verbose] > │                 UH0_0(v339, v340, v354, v355, v356, v350, v360, v361, v362,  │

00:00:37 #6583 [Verbose] > │ v363)                                                                        │

00:00:37 #6584 [Verbose] > │             | UH0_1 -> (* StreamNil *)                                       │

00:00:37 #6585 [Verbose] > │                 UH0_1                                                        │

00:00:37 #6586 [Verbose] > │         | UH1_1 -> (* StreamNil *)                                           │

00:00:37 #6587 [Verbose] > │             UH0_1                                                            │

00:00:37 #6588 [Verbose] > │     let v371 : (unit -> UH0) = closure4(v370)                                │

00:00:37 #6589 [Verbose] > │     let v372 : (unit -> UH0) = method1(v370, v371)                           │

00:00:37 #6590 [Verbose] > │     let v373 : UH0 = v372 ()                                                 │

00:00:37 #6591 [Verbose] > │     v373                                                                     │

00:00:37 #6592 [Verbose] > │ and closure18 (v0 : float) (v1 : (UH0 -> UH1)) : (UH0 -> UH0) =              │

00:00:37 #6593 [Verbose] > │     closure19(v0, v1)                                                        │

00:00:37 #6594 [Verbose] > │ and closure17 () (v0 : float) : ((UH0 -> UH1) -> (UH0 -> UH0)) =             │

00:00:37 #6595 [Verbose] > │     closure18(v0)                                                            │

00:00:37 #6596 [Verbose] > │ and method17 (v0 : UH4, v1 : UH6) : UH6 =                                    │

00:00:37 #6597 [Verbose] > │     match v0 with                                                            │

00:00:37 #6598 [Verbose] > │     | UH4_0(v2, v3) -> (* Cons *)                                            │

00:00:37 #6599 [Verbose] > │         let v4 : UH6 = method17(v3, v1)                                      │

00:00:37 #6600 [Verbose] > │         let v5 : int32 = 0                                                   │

00:00:37 #6601 [Verbose] > │         let v6 : US2 = method6(v5, v2)                                       │

00:00:37 #6602 [Verbose] > │         let v23 : US3 =                                                      │

00:00:37 #6603 [Verbose] > │             match v6 with                                                    │

00:00:37 #6604 [Verbose] > │             | US2_0 -> (* None *)                                            │

00:00:37 #6605 [Verbose] > │                 US3_0                                                        │

00:00:37 #6606 [Verbose] > │             | US2_1(v7, v8, v9, v10, v11, v12, v13, v14, v15) -> (* Some *)  │

00:00:37 #6607 [Verbose] > │                 let v16 : UH7 = UH7_1                                        │

00:00:37 #6608 [Verbose] > │                 let v17 : UH7 = method12(v2, v16)                            │

00:00:37 #6609 [Verbose] > │                 let v18 : float = 0.0                                        │

00:00:37 #6610 [Verbose] > │                 let v19 : float = method13(v17, v18)                         │

00:00:37 #6611 [Verbose] > │                 US3_1(v12, v19)                                              │

00:00:37 #6612 [Verbose] > │         UH6_0(v23, v4)                                                       │

00:00:37 #6613 [Verbose] > │     | UH4_1 -> (* Nil *)                                                     │

00:00:37 #6614 [Verbose] > │         v1                                                                   │

00:00:37 #6615 [Verbose] > │ and method19 (v0 : UH9, v1 : int32) : int32 =                                │

00:00:37 #6616 [Verbose] > │     match v0 with                                                            │

00:00:37 #6617 [Verbose] > │     | UH9_0(v2, v3) -> (* Cons *)                                            │

00:00:37 #6618 [Verbose] > │         let v4 : int32 = v1 + 1                                              │

00:00:37 #6619 [Verbose] > │         method19(v3, v4)                                                     │

00:00:37 #6620 [Verbose] > │     | UH9_1 -> (* Nil *)                                                     │

00:00:37 #6621 [Verbose] > │         v1                                                                   │

00:00:37 #6622 [Verbose] > │ and method20 (v0 : (float []), v1 : UH9, v2 : int32) : int32 =               │

00:00:37 #6623 [Verbose] > │     match v1 with                                                            │

00:00:37 #6624 [Verbose] > │     | UH9_0(v3, v4) -> (* Cons *)                                            │

00:00:37 #6625 [Verbose] > │         v0.[int v2] <- v3                                                    │

00:00:37 #6626 [Verbose] > │         let v5 : int32 = v2 + 1                                              │

00:00:37 #6627 [Verbose] > │         method20(v0, v4, v5)                                                 │

00:00:37 #6628 [Verbose] > │     | UH9_1 -> (* Nil *)                                                     │

00:00:37 #6629 [Verbose] > │         v2                                                                   │

00:00:37 #6630 [Verbose] > │ and method18 (v0 : UH9) : (float []) =                                       │

00:00:37 #6631 [Verbose] > │     let v1 : int32 = 0                                                       │

00:00:37 #6632 [Verbose] > │     let v2 : int32 = method19(v0, v1)                                        │

00:00:37 #6633 [Verbose] > │     let v3 : (float []) = Array.zeroCreate<float> (v2)                       │

00:00:37 #6634 [Verbose] > │     let v4 : int32 = 0                                                       │

00:00:37 #6635 [Verbose] > │     let v5 : int32 = method20(v3, v0, v4)                                    │

00:00:37 #6636 [Verbose] > │     v3                                                                       │

00:00:37 #6637 [Verbose] > │ and method21 (v0 : (struct (string * (float []) * (float [])) [])) : (struct │

00:00:37 #6638 [Verbose] > │ (string * (float []) * (float [])) []) =                                     │

00:00:37 #6639 [Verbose] > │     v0                                                                       │

00:00:37 #6640 [Verbose] > │ and method0 () : struct (string * string * string * (struct (string * (float │

00:00:37 #6641 [Verbose] > │ []) * (float [])) [])) =                                                     │

00:00:37 #6642 [Verbose] > │     let v0 : (float -> ((UH0 -> UH1) -> (UH0 -> UH0))) = closure0()          │

00:00:37 #6643 [Verbose] > │     let v1 : ((UH0 -> UH1) -> (UH0 -> UH0)) = v0 0.03                        │

00:00:37 #6644 [Verbose] > │     let v2 : (UH0 -> UH1) = closure8()                                       │

00:00:37 #6645 [Verbose] > │     let v3 : (UH0 -> UH0) = v1 v2                                            │

00:00:37 #6646 [Verbose] > │     let v4 : UH4 = UH4_1                                                     │

00:00:37 #6647 [Verbose] > │     let v5 : int32 = 0                                                       │

00:00:37 #6648 [Verbose] > │     let v6 : UH4 = method7(v3, v4, v5)                                       │

00:00:37 #6649 [Verbose] > │     let v7 : UH6 = UH6_1                                                     │

00:00:37 #6650 [Verbose] > │     let v8 : UH6 = method11(v6, v7)                                          │

00:00:37 #6651 [Verbose] > │     let v9 : UH8 = UH8_1                                                     │

00:00:37 #6652 [Verbose] > │     let v10 : UH8 = method14(v8, v9)                                         │

00:00:37 #6653 [Verbose] > │     let v11 : UH9 = UH9_1                                                    │

00:00:37 #6654 [Verbose] > │     let v12 : UH9 = UH9_1                                                    │

00:00:37 #6655 [Verbose] > │     let struct (v13 : UH9, v14 : UH9) = method15(v10, v11, v12)              │

00:00:37 #6656 [Verbose] > │     let v15 : UH9 = UH9_1                                                    │

00:00:37 #6657 [Verbose] > │     let v16 : UH9 = method16(v13, v15)                                       │

00:00:37 #6658 [Verbose] > │     let v17 : UH9 = UH9_1                                                    │

00:00:37 #6659 [Verbose] > │     let v18 : UH9 = method16(v14, v17)                                       │

00:00:37 #6660 [Verbose] > │     let v19 : (float -> ((UH0 -> UH1) -> (UH0 -> UH0))) = closure17()        │

00:00:37 #6661 [Verbose] > │     let v20 : ((UH0 -> UH1) -> (UH0 -> UH0)) = v19 0.03                      │

00:00:37 #6662 [Verbose] > │     let v21 : (UH0 -> UH0) = v20 v2                                          │

00:00:37 #6663 [Verbose] > │     let v22 : UH4 = UH4_1                                                    │

00:00:37 #6664 [Verbose] > │     let v23 : int32 = 0                                                      │

00:00:37 #6665 [Verbose] > │     let v24 : UH4 = method7(v21, v22, v23)                                   │

00:00:37 #6666 [Verbose] > │     let v25 : UH6 = UH6_1                                                    │

00:00:37 #6667 [Verbose] > │     let v26 : UH6 = method17(v24, v25)                                       │

00:00:37 #6668 [Verbose] > │     let v27 : UH8 = UH8_1                                                    │

00:00:37 #6669 [Verbose] > │     let v28 : UH8 = method14(v26, v27)                                       │

00:00:37 #6670 [Verbose] > │     let v29 : UH9 = UH9_1                                                    │

00:00:37 #6671 [Verbose] > │     let v30 : UH9 = UH9_1                                                    │

00:00:37 #6672 [Verbose] > │     let struct (v31 : UH9, v32 : UH9) = method15(v28, v29, v30)              │

00:00:37 #6673 [Verbose] > │     let v33 : UH9 = UH9_1                                                    │

00:00:37 #6674 [Verbose] > │     let v34 : UH9 = method16(v31, v33)                                       │

00:00:37 #6675 [Verbose] > │     let v35 : UH9 = UH9_1                                                    │

00:00:37 #6676 [Verbose] > │     let v36 : UH9 = method16(v32, v35)                                       │

00:00:37 #6677 [Verbose] > │     let v37 : (float []) = method18(v16)                                     │

00:00:37 #6678 [Verbose] > │     let v38 : (float []) = method18(v18)                                     │

00:00:37 #6679 [Verbose] > │     let v39 : (float []) = method18(v34)                                     │

00:00:37 #6680 [Verbose] > │     let v40 : (float []) = method18(v36)                                     │

00:00:37 #6681 [Verbose] > │     let v41 : string = "euler-cromer"                                        │

00:00:37 #6682 [Verbose] > │     let v42 : string = "runge-kutta 4"                                       │

00:00:37 #6683 [Verbose] > │     let v43 : (struct (string * (float []) * (float [])) []) = [|struct      │

00:00:37 #6684 [Verbose] > │ (v41, v37, v38); struct (v42, v39, v40)|]                                    │

00:00:37 #6685 [Verbose] > │     let v44 : (struct (string * (float []) * (float [])) []) = method21(v43) │

00:00:37 #6686 [Verbose] > │     let v45 : string = "system kinetic energy versus time"                   │

00:00:37 #6687 [Verbose] > │     let v46 : string = "time (s)"                                            │

00:00:37 #6688 [Verbose] > │     let v47 : string = "system kinetic energy (j)"                           │

00:00:37 #6689 [Verbose] > │     struct (v45, v46, v47, v44)                                              │

00:00:37 #6690 [Verbose] > │ method0()                                                                    │

00:00:37 #6691 [Verbose] > │                                                                              │

00:00:37 #6692 [Verbose] > │                                                                              │

00:00:37 #6693 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:37 #6694 [Verbose] >

00:00:37 #6695 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────

00:00:37 #6696 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮

00:00:37 #6697 [Verbose] > │ ### wave 2                                                                   │

00:00:37 #6698 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:37 #6699 [Verbose] >

00:00:37 #6700 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:37 #6701 [Verbose] > // // test

00:00:37 #6702 [Verbose] >

00:00:37 #6703 [Verbose] > inl linear_spring k re (particle_state st1) (particle_state st2) =

00:00:37 #6704 [Verbose] >     inl r1 = st1.pos_vec

00:00:37 #6705 [Verbose] >     inl r2 = st2.pos_vec

00:00:37 #6706 [Verbose] >     inl r21 = r2 ^-^ r1

00:00:37 #6707 [Verbose] >     inl r21mag = magnitude r21

00:00:37 #6708 [Verbose] >     -k * (r21mag - re) *^ r21 ^/ r21mag

00:00:37 #6709 [Verbose] >

00:00:37 #6710 [Verbose] > inl fixed_linear_spring k re r1 =

00:00:37 #6711 [Verbose] >     inl (particle_state default_particle_state') = default_particle_state ()

00:00:37 #6712 [Verbose] >     linear_spring k re (particle_state { default_particle_state' with pos_vec =

00:00:37 #6713 [Verbose] > r1 })

00:00:37 #6714 [Verbose] >

00:00:37 #6715 [Verbose] > inl forces_string () =

00:00:37 #6716 [Verbose] >     [[

00:00:37 #6717 [Verbose] >         ExternalForce (0i32, fixed_linear_spring 5384 0 (zero_vec ()))

00:00:37 #6718 [Verbose] >         ExternalForce (63, fixed_linear_spring 5384 0 (0.65 *^ i_hat ()))

00:00:37 #6719 [Verbose] >     ]] /@ (

00:00:37 #6720 [Verbose] >         listm'.init_series 0 59 1

00:00:37 #6721 [Verbose] >         |> listm.map (fun n => InternalForce (n, n + 1, linear_spring 5384 0))

00:00:37 #6722 [Verbose] >     )

00:00:37 #6723 [Verbose] >

00:00:37 #6724 [Verbose] > inl string_update dt =

00:00:37 #6725 [Verbose] >     update_mps (join runge_kutta_4 dt) (join forces_string ())

00:00:37 #6726 [Verbose] >

00:00:37 #6727 [Verbose] > inl string_initial_overtone n =

00:00:37 #6728 [Verbose] >     inl ball_mass = 0.0008293 * 0.65 / 64

00:00:37 #6729 [Verbose] >     inl (particle_state default_particle_state') = default_particle_state ()

00:00:37 #6730 [Verbose] >     listm'.init_series 0.01 0.64 0.01

00:00:37 #6731 [Verbose] >     |> listm.map (fun x =>

00:00:37 #6732 [Verbose] >         inl y = 0.005 * sin (conv n * pi * x / 0.65)

00:00:37 #6733 [Verbose] >         particle_state {

00:00:37 #6734 [Verbose] >             default_particle_state' with

00:00:37 #6735 [Verbose] >                 mass = ball_mass

00:00:37 #6736 [Verbose] >                 pos_vec = x *^ i_hat () ^+^ y *^ j_hat ()

00:00:37 #6737 [Verbose] >                 velocity = zero_vec ()

00:00:37 #6738 [Verbose] >         }

00:00:37 #6739 [Verbose] >     )

00:00:37 #6740 [Verbose] >     |> stream.from_list

00:00:37 #6741 [Verbose] >     |> multi_particle_state

00:00:37 #6742 [Verbose] >

00:00:37 #6743 [Verbose] > let main () =

00:00:37 #6744 [Verbose] >     inl ~frames = listm'.init_series 0 65 1f64 |> stream.from_list

00:00:37 #6745 [Verbose] >     inl ~initial_state = string_initial_overtone 3i32

00:00:37 #6746 [Verbose] >     inl frames =

00:00:37 #6747 [Verbose] >         frames

00:00:37 #6748 [Verbose] >         |> stream.map (fun n =>

00:00:37 #6749 [Verbose] >             inl (multi_particle_state sts) =

00:00:37 #6750 [Verbose] >                 stream.iterate (string_update 0.000025) initial_state |>

00:00:37 #6751 [Verbose] > stream.item n

00:00:37 #6752 [Verbose] >             inl x, y =

00:00:37 #6753 [Verbose] >                 [[ zero_vec () ]]

00:00:37 #6754 [Verbose] >                 /@ (sts |> stream.map (fun (particle_state st) => st.pos_vec) |>

00:00:37 #6755 [Verbose] > stream.to_list)

00:00:37 #6756 [Verbose] >                 /@ [[ 0.65 *^ i_hat () ]]

00:00:37 #6757 [Verbose] >                 |> listm.map (fun r => r.x, r.y)

00:00:37 #6758 [Verbose] >                 |> stream.from_list

00:00:37 #6759 [Verbose] >                 |> stream.unzip

00:00:37 #6760 [Verbose] >             inl x : a i32 _ = x |> stream.to_list |> listm.toArray

00:00:37 #6761 [Verbose] >             inl y : a i32 _ = y |> stream.to_list |> listm.toArray

00:00:37 #6762 [Verbose] >             x, y

00:00:37 #6763 [Verbose] >         )

00:00:37 #6764 [Verbose] >

00:00:37 #6765 [Verbose] >     inl plots =

00:00:37 #6766 [Verbose] >         frames

00:00:37 #6767 [Verbose] >         |> stream.indexed

00:00:37 #6768 [Verbose] >         |> stream.map (fun ((n : i32), (x, y)) =>

00:00:37 #6769 [Verbose] >             "wave",

00:00:37 #6770 [Verbose] >             "position (m)",

00:00:37 #6771 [Verbose] >             "displacement (m)",

00:00:37 #6772 [Verbose] >             ;[[

00:00:37 #6773 [Verbose] >                 ($"$\"{!n}\"" : string), x, y

00:00:37 #6774 [Verbose] >             ]]

00:00:37 #6775 [Verbose] >         )

00:00:37 #6776 [Verbose] >

00:00:37 #6777 [Verbose] >     plots |> stream.to_list |> listm.toArray : a i32 _

00:00:37 #6778 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0905-1394-9428-924537b56414\main.spi

00:00:44 #6779 [Verbose] >

00:00:44 #6780 [Verbose] > ╭─[ 6.44s - return value ]─────────────────────────────────────────────────────╮

00:00:44 #6781 [Verbose] > │ <table><thead><tr><th><i>index</i></th><th>value</th></tr></thead><tbody><tr │

00:00:44 #6782 [Verbose] > │ ><td>0</td><td><svg width="640" height="480" viewBox="0 0 640 480"           │

00:00:44 #6783 [Verbose] > │ xmlns="http://www.w3.org/2000/svg">                                          │

00:00:44 #6784 [Verbose] > │ <rect x="0" y="0" width="640" height="480" opacity="1" fill="#141414"        │

00:00:44 #6785 [Verbose] > │ stroke="none"/>                                                              │

00:00:44 #6786 [Verbose] > │ <text x="320" y="10" dy="0.76em" text-anchor="middle"                        │

00:00:44 #6787 [Verbose] > │ font-family="sans-serif" font-size="9.67741935483871" opacity="1"            │

00:00:44 #6788 [Verbose] > │ fill="#FFFFFF">                                                              │

00:00:44 #6789 [Verbose] > │ wave                                                                         │

00:00:44 #6790 [Verbose] > │ </text>                                                                      │

00:00:44 #6791 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="62" y1="424" x2="62" │

00:00:44 #6792 [Verbose] > │ y2="75"/>                                                                    │

00:00:44 #6793 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="69" y1="424" x2="69" │

00:00:44 #6794 [Verbose] > │ y2="75"/>                                                                    │

00:00:44 #6795 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="77" y1="424" x2="77" │

00:00:44 #6796 [Verbose] > │ y2="75"/>                                                                    │

00:00:44 #6797 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="85" y1="424"         │

00:00:44 #6798 [Verbose] > │ x2="85...                                                                    │

00:00:44 #6799 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:44 #6800 [Verbose] >

00:00:44 #6801 [Verbose] > ╭─[ 6.47s - stdout ]───────────────────────────────────────────────────────────╮

00:00:44 #6802 [Verbose] > │ type UH0 =                                                                   │

00:00:44 #6803 [Verbose] > │     | UH0_0 of float * (unit -> UH0)                                         │

00:00:44 #6804 [Verbose] > │     | UH0_1                                                                  │

00:00:44 #6805 [Verbose] > │ and UH1 =                                                                    │

00:00:44 #6806 [Verbose] > │     | UH1_0 of float * float * float * float * float * float * float * float │

00:00:44 #6807 [Verbose] > │ * float * (unit -> UH1)                                                      │

00:00:44 #6808 [Verbose] > │     | UH1_1                                                                  │

00:00:44 #6809 [Verbose] > │ and UH2 =                                                                    │

00:00:44 #6810 [Verbose] > │     | UH2_0 of (float []) * (float []) * (unit -> UH2)                       │

00:00:44 #6811 [Verbose] > │     | UH2_1                                                                  │

00:00:44 #6812 [Verbose] > │ and UH3 =                                                                    │

00:00:44 #6813 [Verbose] > │     | UH3_0 of float * float * float * float * float * float * float * float │

00:00:44 #6814 [Verbose] > │ * float * (unit -> UH3)                                                      │

00:00:44 #6815 [Verbose] > │     | UH3_1                                                                  │

00:00:44 #6816 [Verbose] > │ and [<Struct>] US0 =                                                         │

00:00:44 #6817 [Verbose] > │     | US0_0 of f0_0 : UH1                                                    │

00:00:44 #6818 [Verbose] > │     | US0_1 of f1_0 : (unit -> UH1)                                          │

00:00:44 #6819 [Verbose] > │ and Mut0 = {mutable l0 : US0}                                                │

00:00:44 #6820 [Verbose] > │ and [<Struct>] US1 =                                                         │

00:00:44 #6821 [Verbose] > │     | US1_0 of f0_0 : int32 * f0_1 : (struct (float * float * float * float  │

00:00:44 #6822 [Verbose] > │ * float * float * float * float * float) -> struct (float * float * float))  │

00:00:44 #6823 [Verbose] > │     | US1_1 of f1_0 : int32 * f1_1 : int32 * f1_2 : (struct (float * float * │

00:00:44 #6824 [Verbose] > │ float * float * float * float * float * float * float) -> (struct (float *   │

00:00:44 #6825 [Verbose] > │ float * float * float * float * float * float * float * float) -> struct     │

00:00:44 #6826 [Verbose] > │ (float * float * float)))                                                    │

00:00:44 #6827 [Verbose] > │ and UH4 =                                                                    │

00:00:44 #6828 [Verbose] > │     | UH4_0 of US1 * UH4                                                     │

00:00:44 #6829 [Verbose] > │     | UH4_1                                                                  │

00:00:44 #6830 [Verbose] > │ and UH5 =                                                                    │

00:00:44 #6831 [Verbose] > │     | UH5_0 of int32 * float * float * float * float * float * float * float │

00:00:44 #6832 [Verbose] > │ * float * float * (unit -> UH5)                                              │

00:00:44 #6833 [Verbose] > │     | UH5_1                                                                  │

00:00:44 #6834 [Verbose] > │ and UH6 =                                                                    │

00:00:44 #6835 [Verbose] > │     | UH6_0 of (struct (float * float * float * float * float * float *      │

00:00:44 #6836 [Verbose] > │ float * float * float) -> struct (float * float * float)) * UH6              │

00:00:44 #6837 [Verbose] > │     | UH6_1                                                                  │

00:00:44 #6838 [Verbose] > │ and [<Struct>] US2 =                                                         │

00:00:44 #6839 [Verbose] > │     | US2_0                                                                  │

00:00:44 #6840 [Verbose] > │     | US2_1 of f1_0 : (struct (float * float * float * float * float * float │

00:00:44 #6841 [Verbose] > │ * float * float * float) -> struct (float * float * float))                  │

00:00:44 #6842 [Verbose] > │ and [<Struct>] US3 =                                                         │

00:00:44 #6843 [Verbose] > │     | US3_0                                                                  │

00:00:44 #6844 [Verbose] > │     | US3_1 of f1_0 : float * f1_1 : float * f1_2 : float * f1_3 : float *   │

00:00:44 #6845 [Verbose] > │ f1_4 : float * f1_5 : float * f1_6 : float * f1_7 : float * f1_8 : float     │

00:00:44 #6846 [Verbose] > │ and UH7 =                                                                    │

00:00:44 #6847 [Verbose] > │     | UH7_0 of float * float * float * UH7                                   │

00:00:44 #6848 [Verbose] > │     | UH7_1                                                                  │

00:00:44 #6849 [Verbose] > │ and UH8 =                                                                    │

00:00:44 #6850 [Verbose] > │     | UH8_0 of UH1 * (unit -> UH8)                                           │

00:00:44 #6851 [Verbose] > │     | UH8_1                                                                  │

00:00:44 #6852 [Verbose] > │ and [<Struct>] US4 =                                                         │

00:00:44 #6853 [Verbose] > │     | US4_0                                                                  │

00:00:44 #6854 [Verbose] > │     | US4_1 of f1_0 : UH1                                                    │

00:00:44 #6855 [Verbose] > │ and UH9 =                                                                    │

00:00:44 #6856 [Verbose] > │     | UH9_0 of float * float * float * (unit -> UH9)                         │

00:00:44 #6857 [Verbose] > │     | UH9_1                                                                  │

00:00:44 #6858 [Verbose] > │ and UH10 =                                                                   │

00:00:44 #6859 [Verbose] > │     | UH10_0 of float * float * UH10                                         │

00:00:44 #6860 [Verbose] > │     | UH10_1                                                                 │

00:00:44 #6861 [Verbose] > │ and UH11 =                                                                   │

00:00:44 #6862 [Verbose] > │     | UH11_0 of float * float * (unit -> UH11)                               │

00:00:44 #6863 [Verbose] > │     | UH11_1                                                                 │

00:00:44 #6864 [Verbose] > │ and UH12 =                                                                   │

00:00:44 #6865 [Verbose] > │     | UH12_0 of float * UH12                                                 │

00:00:44 #6866 [Verbose] > │     | UH12_1                                                                 │

00:00:44 #6867 [Verbose] > │ and UH13 =                                                                   │

00:00:44 #6868 [Verbose] > │     | UH13_0 of int32 * (float []) * (float []) * (unit -> UH13)             │

00:00:44 #6869 [Verbose] > │     | UH13_1                                                                 │

00:00:44 #6870 [Verbose] > │ and UH14 =                                                                   │

00:00:44 #6871 [Verbose] > │     | UH14_0 of string * string * string * (struct (string * (float []) *    │

00:00:44 #6872 [Verbose] > │ (float [])) []) * (unit -> UH14)                                             │

00:00:44 #6873 [Verbose] > │     | UH14_1                                                                 │

00:00:44 #6874 [Verbose] > │ and UH15 =                                                                   │

00:00:44 #6875 [Verbose] > │     | UH15_0 of string * string * string * (struct (string * (float []) *    │

00:00:44 #6876 [Verbose] > │ (float [])) []) * UH15                                                       │

00:00:44 #6877 [Verbose] > │     | UH15_1                                                                 │

00:00:44 #6878 [Verbose] > │ let rec closure65 () () : UH0 =                                              │

00:00:44 #6879 [Verbose] > │     UH0_1                                                                    │

00:00:44 #6880 [Verbose] > │ and closure64 () () : UH0 =                                                  │

00:00:44 #6881 [Verbose] > │     let v0 : (unit -> UH0) = closure65()                                     │

00:00:44 #6882 [Verbose] > │     UH0_0(65.0, v0)                                                          │

00:00:44 #6883 [Verbose] > │ and closure63 () () : UH0 =                                                  │

00:00:44 #6884 [Verbose] > │     let v0 : (unit -> UH0) = closure64()                                     │

00:00:44 #6885 [Verbose] > │     UH0_0(64.0, v0)                                                          │

00:00:44 #6886 [Verbose] > │ and closure62 () () : UH0 =                                                  │

00:00:44 #6887 [Verbose] > │     let v0 : (unit -> UH0) = closure63()                                     │

00:00:44 #6888 [Verbose] > │     UH0_0(63.0, v0)                                                          │

00:00:44 #6889 [Verbose] > │ and closure61 () () : UH0 =                                                  │

00:00:44 #6890 [Verbose] > │     let v0 : (unit -> UH0) = closure62()                                     │

00:00:44 #6891 [Verbose] > │     UH0_0(62.0, v0)                                                          │

00:00:44 #6892 [Verbose] > │ and closure60 () () : UH0 =                                                  │

00:00:44 #6893 [Verbose] > │     let v0 : (unit -> UH0) = closure61()                                     │

00:00:44 #6894 [Verbose] > │     UH0_0(61.0, v0)                                                          │

00:00:44 #6895 [Verbose] > │ and closure59 () () : UH0 =                                                  │

00:00:44 #6896 [Verbose] > │     let v0 : (unit -> UH0) = closure60()                                     │

00:00:44 #6897 [Verbose] > │     UH0_0(60.0, v0)                                                          │

00:00:44 #6898 [Verbose] > │ and closure58 () () : UH0 =                                                  │

00:00:44 #6899 [Verbose] > │     let v0 : (unit -> UH0) = closure59()                                     │

00:00:44 #6900 [Verbose] > │     UH0_0(59.0, v0)                                                          │

00:00:44 #6901 [Verbose] > │ and closure57 () () : UH0 =                                                  │

00:00:44 #6902 [Verbose] > │     let v0 : (unit -> UH0) = closure58()                                     │

00:00:44 #6903 [Verbose] > │     UH0_0(58.0, v0)                                                          │

00:00:44 #6904 [Verbose] > │ and closure56 () () : UH0 =                                                  │

00:00:44 #6905 [Verbose] > │     let v0 : (unit -> UH0) = closure57()                                     │

00:00:44 #6906 [Verbose] > │     UH0_0(57.0, v0)                                                          │

00:00:44 #6907 [Verbose] > │ and closure55 () () : UH0 =                                                  │

00:00:44 #6908 [Verbose] > │     let v0 : (unit -> UH0) = closure56()                                     │

00:00:44 #6909 [Verbose] > │     UH0_0(56.0, v0)                                                          │

00:00:44 #6910 [Verbose] > │ and closure54 () () : UH0 =                                                  │

00:00:44 #6911 [Verbose] > │     let v0 : (unit -> UH0) = closure55()                                     │

00:00:44 #6912 [Verbose] > │     UH0_0(55.0, v0)                                                          │

00:00:44 #6913 [Verbose] > │ and closure53 () () : UH0 =                                                  │

00:00:44 #6914 [Verbose] > │     let v0 : (unit -> UH0) = closure54()                                     │

00:00:44 #6915 [Verbose] > │     UH0_0(54.0, v0)                                                          │

00:00:44 #6916 [Verbose] > │ and closure52 () () : UH0 =                                                  │

00:00:44 #6917 [Verbose] > │     let v0 : (unit -> UH0) = closure53()                                     │

00:00:44 #6918 [Verbose] > │     UH0_0(53.0, v0)                                                          │

00:00:44 #6919 [Verbose] > │ and closure51 () () : UH0 =                                                  │

00:00:44 #6920 [Verbose] > │     let v0 : (unit -> UH0) = closure52()                                     │

00:00:44 #6921 [Verbose] > │     UH0_0(52.0, v0)                                                          │

00:00:44 #6922 [Verbose] > │ and closure50 () () : UH0 =                                                  │

00:00:44 #6923 [Verbose] > │     let v0 : (unit -> UH0) = closure51()                                     │

00:00:44 #6924 [Verbose] > │     UH0_0(51.0, v0)                                                          │

00:00:44 #6925 [Verbose] > │ and closure49 () () : UH0 =                                                  │

00:00:44 #6926 [Verbose] > │     let v0 : (unit -> UH0) = closure50()                                     │

00:00:44 #6927 [Verbose] > │     UH0_0(50.0, v0)                                                          │

00:00:44 #6928 [Verbose] > │ and closure48 () () : UH0 =                                                  │

00:00:44 #6929 [Verbose] > │     let v0 : (unit -> UH0) = closure49()                                     │

00:00:44 #6930 [Verbose] > │     UH0_0(49.0, v0)                                                          │

00:00:44 #6931 [Verbose] > │ and closure47 () () : UH0 =                                                  │

00:00:44 #6932 [Verbose] > │     let v0 : (unit -> UH0) = closure48()                                     │

00:00:44 #6933 [Verbose] > │     UH0_0(48.0, v0)                                                          │

00:00:44 #6934 [Verbose] > │ and closure46 () () : UH0 =                                                  │

00:00:44 #6935 [Verbose] > │     let v0 : (unit -> UH0) = closure47()                                     │

00:00:44 #6936 [Verbose] > │     UH0_0(47.0, v0)                                                          │

00:00:44 #6937 [Verbose] > │ and closure45 () () : UH0 =                                                  │

00:00:44 #6938 [Verbose] > │     let v0 : (unit -> UH0) = closure46()                                     │

00:00:44 #6939 [Verbose] > │     UH0_0(46.0, v0)                                                          │

00:00:44 #6940 [Verbose] > │ and closure44 () () : UH0 =                                                  │

00:00:44 #6941 [Verbose] > │     let v0 : (unit -> UH0) = closure45()                                     │

00:00:44 #6942 [Verbose] > │     UH0_0(45.0, v0)                                                          │

00:00:44 #6943 [Verbose] > │ and closure43 () () : UH0 =                                                  │

00:00:44 #6944 [Verbose] > │     let v0 : (unit -> UH0) = closure44()                                     │

00:00:44 #6945 [Verbose] > │     UH0_0(44.0, v0)                                                          │

00:00:44 #6946 [Verbose] > │ and closure42 () () : UH0 =                                                  │

00:00:44 #6947 [Verbose] > │     let v0 : (unit -> UH0) = closure43()                                     │

00:00:44 #6948 [Verbose] > │     UH0_0(43.0, v0)                                                          │

00:00:44 #6949 [Verbose] > │ and closure41 () () : UH0 =                                                  │

00:00:44 #6950 [Verbose] > │     let v0 : (unit -> UH0) = closure42()                                     │

00:00:44 #6951 [Verbose] > │     UH0_0(42.0, v0)                                                          │

00:00:44 #6952 [Verbose] > │ and closure40 () () : UH0 =                                                  │

00:00:44 #6953 [Verbose] > │     let v0 : (unit -> UH0) = closure41()                                     │

00:00:44 #6954 [Verbose] > │     UH0_0(41.0, v0)                                                          │

00:00:44 #6955 [Verbose] > │ and closure39 () () : UH0 =                                                  │

00:00:44 #6956 [Verbose] > │     let v0 : (unit -> UH0) = closure40()                                     │

00:00:44 #6957 [Verbose] > │     UH0_0(40.0, v0)                                                          │

00:00:44 #6958 [Verbose] > │ and closure38 () () : UH0 =                                                  │

00:00:44 #6959 [Verbose] > │     let v0 : (unit -> UH0) = closure39()                                     │

00:00:44 #6960 [Verbose] > │     UH0_0(39.0, v0)                                                          │

00:00:44 #6961 [Verbose] > │ and closure37 () () : UH0 =                                                  │

00:00:44 #6962 [Verbose] > │     let v0 : (unit -> UH0) = closure38()                                     │

00:00:44 #6963 [Verbose] > │     UH0_0(38.0, v0)                                                          │

00:00:44 #6964 [Verbose] > │ and closure36 () () : UH0 =                                                  │

00:00:44 #6965 [Verbose] > │     let v0 : (unit -> UH0) = closure37()                                     │

00:00:44 #6966 [Verbose] > │     UH0_0(37.0, v0)                                                          │

00:00:44 #6967 [Verbose] > │ and closure35 () () : UH0 =                                                  │

00:00:44 #6968 [Verbose] > │     let v0 : (unit -> UH0) = closure36()                                     │

00:00:44 #6969 [Verbose] > │     UH0_0(36.0, v0)                                                          │

00:00:44 #6970 [Verbose] > │ and closure34 () () : UH0 =                                                  │

00:00:44 #6971 [Verbose] > │     let v0 : (unit -> UH0) = closure35()                                     │

00:00:44 #6972 [Verbose] > │     UH0_0(35.0, v0)                                                          │

00:00:44 #6973 [Verbose] > │ and closure33 () () : UH0 =                                                  │

00:00:44 #6974 [Verbose] > │     let v0 : (unit -> UH0) = closure34()                                     │

00:00:44 #6975 [Verbose] > │     UH0_0(34.0, v0)                                                          │

00:00:44 #6976 [Verbose] > │ and closure32 () () : UH0 =                                                  │

00:00:44 #6977 [Verbose] > │     let v0 : (unit -> UH0) = closure33()                                     │

00:00:44 #6978 [Verbose] > │     UH0_0(33.0, v0)                                                          │

00:00:44 #6979 [Verbose] > │ and closure31 () () : UH0 =                                                  │

00:00:44 #6980 [Verbose] > │     let v0 : (unit -> UH0) = closure32()                                     │

00:00:44 #6981 [Verbose] > │     UH0_0(32.0, v0)                                                          │

00:00:44 #6982 [Verbose] > │ and closure30 () () : UH0 =                                                  │

00:00:44 #6983 [Verbose] > │     let v0 : (unit -> UH0) = closure31()                                     │

00:00:44 #6984 [Verbose] > │     UH0_0(31.0, v0)                                                          │

00:00:44 #6985 [Verbose] > │ and closure29 () () : UH0 =                                                  │

00:00:44 #6986 [Verbose] > │     let v0 : (unit -> UH0) = closure30()                                     │

00:00:44 #6987 [Verbose] > │     UH0_0(30.0, v0)                                                          │

00:00:44 #6988 [Verbose] > │ and closure28 () () : UH0 =                                                  │

00:00:44 #6989 [Verbose] > │     let v0 : (unit -> UH0) = closure29()                                     │

00:00:44 #6990 [Verbose] > │     UH0_0(29.0, v0)                                                          │

00:00:44 #6991 [Verbose] > │ and closure27 () () : UH0 =                                                  │

00:00:44 #6992 [Verbose] > │     let v0 : (unit -> UH0) = closure28()                                     │

00:00:44 #6993 [Verbose] > │     UH0_0(28.0, v0)                                                          │

00:00:44 #6994 [Verbose] > │ and closure26 () () : UH0 =                                                  │

00:00:44 #6995 [Verbose] > │     let v0 : (unit -> UH0) = closure27()                                     │

00:00:44 #6996 [Verbose] > │     UH0_0(27.0, v0)                                                          │

00:00:44 #6997 [Verbose] > │ and closure25 () () : UH0 =                                                  │

00:00:44 #6998 [Verbose] > │     let v0 : (unit -> UH0) = closure26()                                     │

00:00:44 #6999 [Verbose] > │     UH0_0(26.0, v0)                                                          │

00:00:44 #7000 [Verbose] > │ and closure24 () () : UH0 =                                                  │

00:00:44 #7001 [Verbose] > │     let v0 : (unit -> UH0) = closure25()                                     │

00:00:44 #7002 [Verbose] > │     UH0_0(25.0, v0)                                                          │

00:00:44 #7003 [Verbose] > │ and closure23 () () : UH0 =                                                  │

00:00:44 #7004 [Verbose] > │     let v0 : (unit -> UH0) = closure24()                                     │

00:00:44 #7005 [Verbose] > │     UH0_0(24.0, v0)                                                          │

00:00:44 #7006 [Verbose] > │ and closure22 () () : UH0 =                                                  │

00:00:44 #7007 [Verbose] > │     let v0 : (unit -> UH0) = closure23()                                     │

00:00:44 #7008 [Verbose] > │     UH0_0(23.0, v0)                                                          │

00:00:44 #7009 [Verbose] > │ and closure21 () () : UH0 =                                                  │

00:00:44 #7010 [Verbose] > │     let v0 : (unit -> UH0) = closure22()                                     │

00:00:44 #7011 [Verbose] > │     UH0_0(22.0, v0)                                                          │

00:00:44 #7012 [Verbose] > │ and closure20 () () : UH0 =                                                  │

00:00:44 #7013 [Verbose] > │     let v0 : (unit -> UH0) = closure21()                                     │

00:00:44 #7014 [Verbose] > │     UH0_0(21.0, v0)                                                          │

00:00:44 #7015 [Verbose] > │ and closure19 () () : UH0 =                                                  │

00:00:44 #7016 [Verbose] > │     let v0 : (unit -> UH0) = closure20()                                     │

00:00:44 #7017 [Verbose] > │     UH0_0(20.0, v0)                                                          │

00:00:44 #7018 [Verbose] > │ and closure18 () () : UH0 =                                                  │

00:00:44 #7019 [Verbose] > │     let v0 : (unit -> UH0) = closure19()                                     │

00:00:44 #7020 [Verbose] > │     UH0_0(19.0, v0)                                                          │

00:00:44 #7021 [Verbose] > │ and closure17 () () : UH0 =                                                  │

00:00:44 #7022 [Verbose] > │     let v0 : (unit -> UH0) = closure18()                                     │

00:00:44 #7023 [Verbose] > │     UH0_0(18.0, v0)                                                          │

00:00:44 #7024 [Verbose] > │ and closure16 () () : UH0 =                                                  │

00:00:44 #7025 [Verbose] > │     let v0 : (unit -> UH0) = closure17()                                     │

00:00:44 #7026 [Verbose] > │     UH0_0(17.0, v0)                                                          │

00:00:44 #7027 [Verbose] > │ and closure15 () () : UH0 =                                                  │

00:00:44 #7028 [Verbose] > │     let v0 : (unit -> UH0) = closure16()                                     │

00:00:44 #7029 [Verbose] > │     UH0_0(16.0, v0)                                                          │

00:00:44 #7030 [Verbose] > │ and closure14 () () : UH0 =                                                  │

00:00:44 #7031 [Verbose] > │     let v0 : (unit -> UH0) = closure15()                                     │

00:00:44 #7032 [Verbose] > │     UH0_0(15.0, v0)                                                          │

00:00:44 #7033 [Verbose] > │ and closure13 () () : UH0 =                                                  │

00:00:44 #7034 [Verbose] > │     let v0 : (unit -> UH0) = closure14()                                     │

00:00:44 #7035 [Verbose] > │     UH0_0(14.0, v0)                                                          │

00:00:44 #7036 [Verbose] > │ and closure12 () () : UH0 =                                                  │

00:00:44 #7037 [Verbose] > │     let v0 : (unit -> UH0) = closure13()                                     │

00:00:44 #7038 [Verbose] > │     UH0_0(13.0, v0)                                                          │

00:00:44 #7039 [Verbose] > │ and closure11 () () : UH0 =                                                  │

00:00:44 #7040 [Verbose] > │     let v0 : (unit -> UH0) = closure12()                                     │

00:00:44 #7041 [Verbose] > │     UH0_0(12.0, v0)                                                          │

00:00:44 #7042 [Verbose] > │ and closure10 () () : UH0 =                                                  │

00:00:44 #7043 [Verbose] > │     let v0 : (unit -> UH0) = closure11()                                     │

00:00:44 #7044 [Verbose] > │     UH0_0(11.0, v0)                                                          │

00:00:44 #7045 [Verbose] > │ and closure9 () () : UH0 =                                                   │

00:00:44 #7046 [Verbose] > │     let v0 : (unit -> UH0) = closure10()                                     │

00:00:44 #7047 [Verbose] > │     UH0_0(10.0, v0)                                                          │

00:00:44 #7048 [Verbose] > │ and closure8 () () : UH0 =                                                   │

00:00:44 #7049 [Verbose] > │     let v0 : (unit -> UH0) = closure9()                                      │

00:00:44 #7050 [Verbose] > │     UH0_0(9.0, v0)                                                           │

00:00:44 #7051 [Verbose] > │ and closure7 () () : UH0 =                                                   │

00:00:44 #7052 [Verbose] > │     let v0 : (unit -> UH0) = closure8()                                      │

00:00:44 #7053 [Verbose] > │     UH0_0(8.0, v0)                                                           │

00:00:44 #7054 [Verbose] > │ and closure6 () () : UH0 =                                                   │

00:00:44 #7055 [Verbose] > │     let v0 : (unit -> UH0) = closure7()                                      │

00:00:44 #7056 [Verbose] > │     UH0_0(7.0, v0)                                                           │

00:00:44 #7057 [Verbose] > │ and closure5 () () : UH0 =                                                   │

00:00:44 #7058 [Verbose] > │     let v0 : (unit -> UH0) = closure6()                                      │

00:00:44 #7059 [Verbose] > │     UH0_0(6.0, v0)                                                           │

00:00:44 #7060 [Verbose] > │ and closure4 () () : UH0 =                                                   │

00:00:44 #7061 [Verbose] > │     let v0 : (unit -> UH0) = closure5()                                      │

00:00:44 #7062 [Verbose] > │     UH0_0(5.0, v0)                                                           │

00:00:44 #7063 [Verbose] > │ and closure3 () () : UH0 =                                                   │

00:00:44 #7064 [Verbose] > │     let v0 : (unit -> UH0) = closure4()                                      │

00:00:44 #7065 [Verbose] > │     UH0_0(4.0, v0)                                                           │

00:00:44 #7066 [Verbose] > │ and closure2 () () : UH0 =                                                   │

00:00:44 #7067 [Verbose] > │     let v0 : (unit -> UH0) = closure3()                                      │

00:00:44 #7068 [Verbose] > │     UH0_0(3.0, v0)                                                           │

00:00:44 #7069 [Verbose] > │ and closure1 () () : UH0 =                                                   │

00:00:44 #7070 [Verbose] > │     let v0 : (unit -> UH0) = closure2()                                      │

00:00:44 #7071 [Verbose] > │     UH0_0(2.0, v0)                                                           │

00:00:44 #7072 [Verbose] > │ and closure0 () () : UH0 =                                                   │

00:00:44 #7073 [Verbose] > │     let v0 : (unit -> UH0) = closure1()                                      │

00:00:44 #7074 [Verbose] > │     UH0_0(1.0, v0)                                                           │

00:00:44 #7075 [Verbose] > │ and closure129 () () : UH1 =                                                 │

00:00:44 #7076 [Verbose] > │     UH1_1                                                                    │

00:00:44 #7077 [Verbose] > │ and closure128 () () : UH1 =                                                 │

00:00:44 #7078 [Verbose] > │     let v0 : (unit -> UH1) = closure129()                                    │

00:00:44 #7079 [Verbose] > │     UH1_0(0.0, 8.422578125E-06, 0.64, 0.0007224452478461016, 0.0, 0.0, 0.0,  │

00:00:44 #7080 [Verbose] > │ 0.0, 0.0, v0)                                                                │

00:00:44 #7081 [Verbose] > │ and closure127 () () : UH1 =                                                 │

00:00:44 #7082 [Verbose] > │     let v0 : (unit -> UH1) = closure128()                                    │

00:00:44 #7083 [Verbose] > │     UH1_0(0.0, 8.422578125E-06, 0.63, 0.001429728391993452, 0.0, 0.0, 0.0,   │

00:00:44 #7084 [Verbose] > │ 0.0, 0.0, v0)                                                                │

00:00:44 #7085 [Verbose] > │ and closure126 () () : UH1 =                                                 │

00:00:44 #7086 [Verbose] > │     let v0 : (unit -> UH1) = closure127()                                    │

00:00:44 #7087 [Verbose] > │     UH1_0(0.0, 8.422578125E-06, 0.62, 0.0021070055388626528, 0.0, 0.0, 0.0,  │

00:00:44 #7088 [Verbose] > │ 0.0, 0.0, v0)                                                                │

00:00:44 #7089 [Verbose] > │ and closure125 () () : UH1 =                                                 │

00:00:44 #7090 [Verbose] > │     let v0 : (unit -> UH1) = closure126()                                    │

00:00:44 #7091 [Verbose] > │     UH1_0(0.0, 8.422578125E-06, 0.61, 0.0027400625367733585, 0.0, 0.0, 0.0,  │

00:00:44 #7092 [Verbose] > │ 0.0, 0.0, v0)                                                                │

00:00:44 #7093 [Verbose] > │ and closure124 () () : UH1 =                                                 │

00:00:44 #7094 [Verbose] > │     let v0 : (unit -> UH1) = closure125()                                    │

00:00:44 #7095 [Verbose] > │     UH1_0(0.0, 8.422578125E-06, 0.6, 0.0033156132912039783, 0.0, 0.0, 0.0,   │

00:00:44 #7096 [Verbose] > │ 0.0, 0.0, v0)                                                                │

00:00:44 #7097 [Verbose] > │ and closure123 () () : UH1 =                                                 │

00:00:44 #7098 [Verbose] > │     let v0 : (unit -> UH1) = closure124()                                    │

00:00:44 #7099 [Verbose] > │     UH1_0(0.0, 8.422578125E-06, 0.59, 0.003821578602729245, 0.0, 0.0, 0.0,   │

00:00:44 #7100 [Verbose] > │ 0.0, 0.0, v0)                                                                │

00:00:44 #7101 [Verbose] > │ and closure122 () () : UH1 =                                                 │

00:00:44 #7102 [Verbose] > │     let v0 : (unit -> UH1) = closure123()                                    │

00:00:44 #7103 [Verbose] > │     UH1_0(0.0, 8.422578125E-06, 0.5800000000000001, 0.004247339675607605,    │

00:00:44 #7104 [Verbose] > │ 0.0, 0.0, 0.0, 0.0, 0.0, v0)                                                 │

00:00:44 #7105 [Verbose] > │ and closure121 () () : UH1 =                                                 │

00:00:44 #7106 [Verbose] > │     let v0 : (unit -> UH1) = closure122()                                    │

00:00:44 #7107 [Verbose] > │     UH1_0(0.0, 8.422578125E-06, 0.5700000000000001, 0.004583960976582912,    │

00:00:44 #7108 [Verbose] > │ 0.0, 0.0, 0.0, 0.0, 0.0, v0)                                                 │

00:00:44 #7109 [Verbose] > │ and closure120 () () : UH1 =                                                 │

00:00:44 #7110 [Verbose] > │     let v0 : (unit -> UH1) = closure121()                                    │

00:00:44 #7111 [Verbose] > │     UH1_0(0.0, 8.422578125E-06, 0.56, 0.004824377766717758, 0.0, 0.0, 0.0,   │

00:00:44 #7112 [Verbose] > │ 0.0, 0.0, v0)                                                                │

00:00:44 #7113 [Verbose] > │ and closure119 () () : UH1 =                                                 │

00:00:44 #7114 [Verbose] > │     let v0 : (unit -> UH1) = closure120()                                    │

00:00:44 #7115 [Verbose] > │     UH1_0(0.0, 8.422578125E-06, 0.55, 0.004963544370490271, 0.0, 0.0, 0.0,   │

00:00:44 #7116 [Verbose] > │ 0.0, 0.0, v0)                                                                │

00:00:44 #7117 [Verbose] > │ and closure118 () () : UH1 =                                                 │

00:00:44 #7118 [Verbose] > │     let v0 : (unit -> UH1) = closure119()                                    │

00:00:44 #7119 [Verbose] > │     UH1_0(0.0, 8.422578125E-06, 0.54, 0.004998540070400965, 0.0, 0.0, 0.0,   │

00:00:44 #7120 [Verbose] > │ 0.0, 0.0, v0)                                                                │

00:00:44 #7121 [Verbose] > │ and closure117 () () : UH1 =                                                 │

00:00:44 #7122 [Verbose] > │     let v0 : (unit -> UH1) = closure118()                                    │

00:00:44 #7123 [Verbose] > │     UH1_0(0.0, 8.422578125E-06, 0.53, 0.004928630404658255, 0.0, 0.0, 0.0,   │

00:00:44 #7124 [Verbose] > │ 0.0, 0.0, v0)                                                                │

00:00:44 #7125 [Verbose] > │ and closure116 () () : UH1 =                                                 │

00:00:44 #7126 [Verbose] > │     let v0 : (unit -> UH1) = closure117()                                    │

00:00:44 #7127 [Verbose] > │     UH1_0(0.0, 8.422578125E-06, 0.52, 0.004755282581475766, 0.0, 0.0, 0.0,   │

00:00:44 #7128 [Verbose] > │ 0.0, 0.0, v0)                                                                │

00:00:44 #7129 [Verbose] > │ and closure115 () () : UH1 =                                                 │

00:00:44 #7130 [Verbose] > │     let v0 : (unit -> UH1) = closure116()                                    │

00:00:44 #7131 [Verbose] > │     UH1_0(0.0, 8.422578125E-06, 0.51, 0.0044821346864785195, 0.0, 0.0, 0.0,  │

00:00:44 #7132 [Verbose] > │ 0.0, 0.0, v0)                                                                │

00:00:44 #7133 [Verbose] > │ and closure114 () () : UH1 =                                                 │

00:00:44 #7134 [Verbose] > │     let v0 : (unit -> UH1) = closure115()                                    │

00:00:44 #7135 [Verbose] > │     UH1_0(0.0, 8.422578125E-06, 0.5, 0.0041149193294682815, 0.0, 0.0, 0.0,   │

00:00:44 #7136 [Verbose] > │ 0.0, 0.0, v0)                                                                │

00:00:44 #7137 [Verbose] > │ and closure113 () () : UH1 =                                                 │

00:00:44 #7138 [Verbose] > │     let v0 : (unit -> UH1) = closure114()                                    │

00:00:44 #7139 [Verbose] > │     UH1_0(0.0, 8.422578125E-06, 0.49, 0.0036613433329888622, 0.0, 0.0, 0.0,  │

00:00:44 #7140 [Verbose] > │ 0.0, 0.0, v0)                                                                │

00:00:44 #7141 [Verbose] > │ and closure112 () () : UH1 =                                                 │

00:00:44 #7142 [Verbose] > │     let v0 : (unit -> UH1) = closure113()                                    │

00:00:44 #7143 [Verbose] > │     UH1_0(0.0, 8.422578125E-06, 0.48000000000000004, 0.003130925987691568,   │

00:00:44 #7144 [Verbose] > │ 0.0, 0.0, 0.0, 0.0, 0.0, v0)                                                 │

00:00:44 #7145 [Verbose] > │ and closure111 () () : UH1 =                                                 │

00:00:44 #7146 [Verbose] > │     let v0 : (unit -> UH1) = closure112()                                    │

00:00:44 #7147 [Verbose] > │     UH1_0(0.0, 8.422578125E-06, 0.47000000000000003, 0.002534799269067953,   │

00:00:44 #7148 [Verbose] > │ 0.0, 0.0, 0.0, 0.0, 0.0, v0)                                                 │

00:00:44 #7149 [Verbose] > │ and closure110 () () : UH1 =                                                 │

00:00:44 #7150 [Verbose] > │     let v0 : (unit -> UH1) = closure111()                                    │

00:00:44 #7151 [Verbose] > │     UH1_0(0.0, 8.422578125E-06, 0.46, 0.0018854742084416021, 0.0, 0.0, 0.0,  │

00:00:44 #7152 [Verbose] > │ 0.0, 0.0, v0)                                                                │

00:00:44 #7153 [Verbose] > │ and closure109 () () : UH1 =                                                 │

00:00:44 #7154 [Verbose] > │     let v0 : (unit -> UH1) = closure110()                                    │

00:00:44 #7155 [Verbose] > │     UH1_0(0.0, 8.422578125E-06, 0.45, 0.0011965783214377866, 0.0, 0.0, 0.0,  │

00:00:44 #7156 [Verbose] > │ 0.0, 0.0, v0)                                                                │

00:00:44 #7157 [Verbose] > │ and closure108 () () : UH1 =                                                 │

00:00:44 #7158 [Verbose] > │     let v0 : (unit -> UH1) = closure109()                                    │

00:00:44 #7159 [Verbose] > │     UH1_0(0.0, 8.422578125E-06, 0.44, 0.0004825696045725713, 0.0, 0.0, 0.0,  │

00:00:44 #7160 [Verbose] > │ 0.0, 0.0, v0)                                                                │

00:00:44 #7161 [Verbose] > │ and closure107 () () : UH1 =                                                 │

00:00:44 #7162 [Verbose] > │     let v0 : (unit -> UH1) = closure108()                                    │

00:00:44 #7163 [Verbose] > │     UH1_0(0.0, 8.422578125E-06, 0.43, -0.00024156689762753724, 0.0, 0.0,     │

00:00:44 #7164 [Verbose] > │ 0.0, 0.0, 0.0, v0)                                                           │

00:00:44 #7165 [Verbose] > │ and closure106 () () : UH1 =                                                 │

00:00:44 #7166 [Verbose] > │     let v0 : (unit -> UH1) = closure107()                                    │

00:00:44 #7167 [Verbose] > │     UH1_0(0.0, 8.422578125E-06, 0.42000000000000004, -0.0009606335867685414, │

00:00:44 #7168 [Verbose] > │ 0.0, 0.0, 0.0, 0.0, 0.0, v0)                                                 │

00:00:44 #7169 [Verbose] > │ and closure105 () () : UH1 =                                                 │

00:00:44 #7170 [Verbose] > │     let v0 : (unit -> UH1) = closure106()                                    │

00:00:44 #7171 [Verbose] > │     UH1_0(0.0, 8.422578125E-06, 0.41000000000000003, -0.0016595392656426435, │

00:00:44 #7172 [Verbose] > │ 0.0, 0.0, 0.0, 0.0, 0.0, v0)                                                 │

00:00:44 #7173 [Verbose] > │ and closure104 () () : UH1 =                                                 │

00:00:44 #7174 [Verbose] > │     let v0 : (unit -> UH1) = closure105()                                    │

00:00:44 #7175 [Verbose] > │     UH1_0(0.0, 8.422578125E-06, 0.4, -0.002323615860218846, 0.0, 0.0, 0.0,   │

00:00:44 #7176 [Verbose] > │ 0.0, 0.0, v0)                                                                │

00:00:44 #7177 [Verbose] > │ and closure103 () () : UH1 =                                                 │

00:00:44 #7178 [Verbose] > │     let v0 : (unit -> UH1) = closure104()                                    │

00:00:44 #7179 [Verbose] > │     UH1_0(0.0, 8.422578125E-06, 0.39, -0.002938926261462367, 0.0, 0.0, 0.0,  │

00:00:44 #7180 [Verbose] > │ 0.0, 0.0, v0)                                                                │

00:00:44 #7181 [Verbose] > │ and closure102 () () : UH1 =                                                 │

00:00:44 #7182 [Verbose] > │     let v0 : (unit -> UH1) = closure103()                                    │

00:00:44 #7183 [Verbose] > │     UH1_0(0.0, 8.422578125E-06, 0.38, -0.0034925568262446837, 0.0, 0.0, 0.0, │

00:00:44 #7184 [Verbose] > │ 0.0, 0.0, v0)                                                                │

00:00:44 #7185 [Verbose] > │ and closure101 () () : UH1 =                                                 │

00:00:44 #7186 [Verbose] > │     let v0 : (unit -> UH1) = closure102()                                    │

00:00:44 #7187 [Verbose] > │     UH1_0(0.0, 8.422578125E-06, 0.37, -0.003972888398568774, 0.0, 0.0, 0.0,  │

00:00:44 #7188 [Verbose] > │ 0.0, 0.0, v0)                                                                │

00:00:44 #7189 [Verbose] > │ and closure100 () () : UH1 =                                                 │

00:00:44 #7190 [Verbose] > │     let v0 : (unit -> UH1) = closure101()                                    │

00:00:44 #7191 [Verbose] > │     UH1_0(0.0, 8.422578125E-06, 0.36000000000000004, -0.004369840163132589,  │

00:00:44 #7192 [Verbose] > │ 0.0, 0.0, 0.0, 0.0, 0.0, v0)                                                 │

00:00:44 #7193 [Verbose] > │ and closure99 () () : UH1 =                                                  │

00:00:44 #7194 [Verbose] > │     let v0 : (unit -> UH1) = closure100()                                    │

00:00:44 #7195 [Verbose] > │     UH1_0(0.0, 8.422578125E-06, 0.35000000000000003, -0.004675081213427074,  │

00:00:44 #7196 [Verbose] > │ 0.0, 0.0, 0.0, 0.0, 0.0, v0)                                                 │

00:00:44 #7197 [Verbose] > │ and closure98 () () : UH1 =                                                  │

00:00:44 #7198 [Verbose] > │     let v0 : (unit -> UH1) = closure99()                                     │

00:00:44 #7199 [Verbose] > │     UH1_0(0.0, 8.422578125E-06, 0.34, -0.004882205394146361, 0.0, 0.0, 0.0,  │

00:00:44 #7200 [Verbose] > │ 0.0, 0.0, v0)                                                                │

00:00:44 #7201 [Verbose] > │ and closure97 () () : UH1 =                                                  │

00:00:44 #7202 [Verbose] > │     let v0 : (unit -> UH1) = closure98()                                     │

00:00:44 #7203 [Verbose] > │     UH1_0(0.0, 8.422578125E-06, 0.33, -0.004986865748457456, 0.0, 0.0, 0.0,  │

00:00:44 #7204 [Verbose] > │ 0.0, 0.0, v0)                                                                │

00:00:44 #7205 [Verbose] > │ and closure96 () () : UH1 =                                                  │

00:00:44 #7206 [Verbose] > │     let v0 : (unit -> UH1) = closure97()                                     │

00:00:44 #7207 [Verbose] > │     UH1_0(0.0, 8.422578125E-06, 0.32, -0.004986865748457456, 0.0, 0.0, 0.0,  │

00:00:44 #7208 [Verbose] > │ 0.0, 0.0, v0)                                                                │

00:00:44 #7209 [Verbose] > │ and closure95 () () : UH1 =                                                  │

00:00:44 #7210 [Verbose] > │     let v0 : (unit -> UH1) = closure96()                                     │

00:00:44 #7211 [Verbose] > │     UH1_0(0.0, 8.422578125E-06, 0.31, -0.004882205394146359, 0.0, 0.0, 0.0,  │

00:00:44 #7212 [Verbose] > │ 0.0, 0.0, v0)                                                                │

00:00:44 #7213 [Verbose] > │ and closure94 () () : UH1 =                                                  │

00:00:44 #7214 [Verbose] > │     let v0 : (unit -> UH1) = closure95()                                     │

00:00:44 #7215 [Verbose] > │     UH1_0(0.0, 8.422578125E-06, 0.3, -0.004675081213427074, 0.0, 0.0, 0.0,   │

00:00:44 #7216 [Verbose] > │ 0.0, 0.0, v0)                                                                │

00:00:44 #7217 [Verbose] > │ and closure93 () () : UH1 =                                                  │

00:00:44 #7218 [Verbose] > │     let v0 : (unit -> UH1) = closure94()                                     │

00:00:44 #7219 [Verbose] > │     UH1_0(0.0, 8.422578125E-06, 0.29000000000000004, -0.00436984016313259,   │

00:00:44 #7220 [Verbose] > │ 0.0, 0.0, 0.0, 0.0, 0.0, v0)                                                 │

00:00:44 #7221 [Verbose] > │ and closure92 () () : UH1 =                                                  │

00:00:44 #7222 [Verbose] > │     let v0 : (unit -> UH1) = closure93()                                     │

00:00:44 #7223 [Verbose] > │     UH1_0(0.0, 8.422578125E-06, 0.28, -0.003972888398568771, 0.0, 0.0, 0.0,  │

00:00:44 #7224 [Verbose] > │ 0.0, 0.0, v0)                                                                │

00:00:44 #7225 [Verbose] > │ and closure91 () () : UH1 =                                                  │

00:00:44 #7226 [Verbose] > │     let v0 : (unit -> UH1) = closure92()                                     │

00:00:44 #7227 [Verbose] > │     UH1_0(0.0, 8.422578125E-06, 0.27, -0.003492556826244686, 0.0, 0.0, 0.0,  │

00:00:44 #7228 [Verbose] > │ 0.0, 0.0, v0)                                                                │

00:00:44 #7229 [Verbose] > │ and closure90 () () : UH1 =                                                  │

00:00:44 #7230 [Verbose] > │     let v0 : (unit -> UH1) = closure91()                                     │

00:00:44 #7231 [Verbose] > │     UH1_0(0.0, 8.422578125E-06, 0.26, -0.0029389262614623636, 0.0, 0.0, 0.0, │

00:00:44 #7232 [Verbose] > │ 0.0, 0.0, v0)                                                                │

00:00:44 #7233 [Verbose] > │ and closure89 () () : UH1 =                                                  │

00:00:44 #7234 [Verbose] > │     let v0 : (unit -> UH1) = closure90()                                     │

00:00:44 #7235 [Verbose] > │     UH1_0(0.0, 8.422578125E-06, 0.25, -0.002323615860218842, 0.0, 0.0, 0.0,  │

00:00:44 #7236 [Verbose] > │ 0.0, 0.0, v0)                                                                │

00:00:44 #7237 [Verbose] > │ and closure88 () () : UH1 =                                                  │

00:00:44 #7238 [Verbose] > │     let v0 : (unit -> UH1) = closure89()                                     │

00:00:44 #7239 [Verbose] > │     UH1_0(0.0, 8.422578125E-06, 0.24000000000000002, -0.001659539265642642,  │

00:00:44 #7240 [Verbose] > │ 0.0, 0.0, 0.0, 0.0, 0.0, v0)                                                 │

00:00:44 #7241 [Verbose] > │ and closure87 () () : UH1 =                                                  │

00:00:44 #7242 [Verbose] > │     let v0 : (unit -> UH1) = closure88()                                     │

00:00:44 #7243 [Verbose] > │     UH1_0(0.0, 8.422578125E-06, 0.23, -0.0009606335867685418, 0.0, 0.0, 0.0, │

00:00:44 #7244 [Verbose] > │ 0.0, 0.0, v0)                                                                │

00:00:44 #7245 [Verbose] > │ and closure86 () () : UH1 =                                                  │

00:00:44 #7246 [Verbose] > │     let v0 : (unit -> UH1) = closure87()                                     │

00:00:44 #7247 [Verbose] > │     UH1_0(0.0, 8.422578125E-06, 0.22, -0.00024156689762753317, 0.0, 0.0,     │

00:00:44 #7248 [Verbose] > │ 0.0, 0.0, 0.0, v0)                                                           │

00:00:44 #7249 [Verbose] > │ and closure85 () () : UH1 =                                                  │

00:00:44 #7250 [Verbose] > │     let v0 : (unit -> UH1) = closure86()                                     │

00:00:44 #7251 [Verbose] > │     UH1_0(0.0, 8.422578125E-06, 0.21000000000000002, 0.00048256960457257535, │

00:00:44 #7252 [Verbose] > │ 0.0, 0.0, 0.0, 0.0, 0.0, v0)                                                 │

00:00:44 #7253 [Verbose] > │ and closure84 () () : UH1 =                                                  │

00:00:44 #7254 [Verbose] > │     let v0 : (unit -> UH1) = closure85()                                     │

00:00:44 #7255 [Verbose] > │     UH1_0(0.0, 8.422578125E-06, 0.2, 0.0011965783214377905, 0.0, 0.0, 0.0,   │

00:00:44 #7256 [Verbose] > │ 0.0, 0.0, v0)                                                                │

00:00:44 #7257 [Verbose] > │ and closure83 () () : UH1 =                                                  │

00:00:44 #7258 [Verbose] > │     let v0 : (unit -> UH1) = closure84()                                     │

00:00:44 #7259 [Verbose] > │     UH1_0(0.0, 8.422578125E-06, 0.19, 0.0018854742084416015, 0.0, 0.0, 0.0,  │

00:00:44 #7260 [Verbose] > │ 0.0, 0.0, v0)                                                                │

00:00:44 #7261 [Verbose] > │ and closure82 () () : UH1 =                                                  │

00:00:44 #7262 [Verbose] > │     let v0 : (unit -> UH1) = closure83()                                     │

00:00:44 #7263 [Verbose] > │     UH1_0(0.0, 8.422578125E-06, 0.18000000000000002, 0.002534799269067951,   │

00:00:44 #7264 [Verbose] > │ 0.0, 0.0, 0.0, 0.0, 0.0, v0)                                                 │

00:00:44 #7265 [Verbose] > │ and closure81 () () : UH1 =                                                  │

00:00:44 #7266 [Verbose] > │     let v0 : (unit -> UH1) = closure82()                                     │

00:00:44 #7267 [Verbose] > │     UH1_0(0.0, 8.422578125E-06, 0.17, 0.0031309259876915697, 0.0, 0.0, 0.0,  │

00:00:44 #7268 [Verbose] > │ 0.0, 0.0, v0)                                                                │

00:00:44 #7269 [Verbose] > │ and closure80 () () : UH1 =                                                  │

00:00:44 #7270 [Verbose] > │     let v0 : (unit -> UH1) = closure81()                                     │

00:00:44 #7271 [Verbose] > │     UH1_0(0.0, 8.422578125E-06, 0.16, 0.0036613433329888666, 0.0, 0.0, 0.0,  │

00:00:44 #7272 [Verbose] > │ 0.0, 0.0, v0)                                                                │

00:00:44 #7273 [Verbose] > │ and closure79 () () : UH1 =                                                  │

00:00:44 #7274 [Verbose] > │     let v0 : (unit -> UH1) = closure80()                                     │

00:00:44 #7275 [Verbose] > │     UH1_0(0.0, 8.422578125E-06, 0.15000000000000002, 0.0041149193294682815,  │

00:00:44 #7276 [Verbose] > │ 0.0, 0.0, 0.0, 0.0, 0.0, v0)                                                 │

00:00:44 #7277 [Verbose] > │ and closure78 () () : UH1 =                                                  │

00:00:44 #7278 [Verbose] > │     let v0 : (unit -> UH1) = closure79()                                     │

00:00:44 #7279 [Verbose] > │     UH1_0(0.0, 8.422578125E-06, 0.14, 0.004482134686478519, 0.0, 0.0, 0.0,   │

00:00:44 #7280 [Verbose] > │ 0.0, 0.0, v0)                                                                │

00:00:44 #7281 [Verbose] > │ and closure77 () () : UH1 =                                                  │

00:00:44 #7282 [Verbose] > │     let v0 : (unit -> UH1) = closure78()                                     │

00:00:44 #7283 [Verbose] > │     UH1_0(0.0, 8.422578125E-06, 0.13, 0.004755282581475768, 0.0, 0.0, 0.0,   │

00:00:44 #7284 [Verbose] > │ 0.0, 0.0, v0)                                                                │

00:00:44 #7285 [Verbose] > │ and closure76 () () : UH1 =                                                  │

00:00:44 #7286 [Verbose] > │     let v0 : (unit -> UH1) = closure77()                                     │

00:00:44 #7287 [Verbose] > │     UH1_0(0.0, 8.422578125E-06, 0.12, 0.004928630404658255, 0.0, 0.0, 0.0,   │

00:00:44 #7288 [Verbose] > │ 0.0, 0.0, v0)                                                                │

00:00:44 #7289 [Verbose] > │ and closure75 () () : UH1 =                                                  │

00:00:44 #7290 [Verbose] > │     let v0 : (unit -> UH1) = closure76()                                     │

00:00:44 #7291 [Verbose] > │     UH1_0(0.0, 8.422578125E-06, 0.11, 0.004998540070400965, 0.0, 0.0, 0.0,   │

00:00:44 #7292 [Verbose] > │ 0.0, 0.0, v0)                                                                │

00:00:44 #7293 [Verbose] > │ and closure74 () () : UH1 =                                                  │

00:00:44 #7294 [Verbose] > │     let v0 : (unit -> UH1) = closure75()                                     │

00:00:44 #7295 [Verbose] > │     UH1_0(0.0, 8.422578125E-06, 0.09999999999999999, 0.00496354437049027,    │

00:00:44 #7296 [Verbose] > │ 0.0, 0.0, 0.0, 0.0, 0.0, v0)                                                 │

00:00:44 #7297 [Verbose] > │ and closure73 () () : UH1 =                                                  │

00:00:44 #7298 [Verbose] > │     let v0 : (unit -> UH1) = closure74()                                     │

00:00:44 #7299 [Verbose] > │     UH1_0(0.0, 8.422578125E-06, 0.09, 0.004824377766717757, 0.0, 0.0, 0.0,   │

00:00:44 #7300 [Verbose] > │ 0.0, 0.0, v0)                                                                │

00:00:44 #7301 [Verbose] > │ and closure72 () () : UH1 =                                                  │

00:00:44 #7302 [Verbose] > │     let v0 : (unit -> UH1) = closure73()                                     │

00:00:44 #7303 [Verbose] > │     UH1_0(0.0, 8.422578125E-06, 0.08, 0.004583960976582912, 0.0, 0.0, 0.0,   │

00:00:44 #7304 [Verbose] > │ 0.0, 0.0, v0)                                                                │

00:00:44 #7305 [Verbose] > │ and closure71 () () : UH1 =                                                  │

00:00:44 #7306 [Verbose] > │     let v0 : (unit -> UH1) = closure72()                                     │

00:00:44 #7307 [Verbose] > │     UH1_0(0.0, 8.422578125E-06, 0.06999999999999999, 0.004247339675607605,   │

00:00:44 #7308 [Verbose] > │ 0.0, 0.0, 0.0, 0.0, 0.0, v0)                                                 │

00:00:44 #7309 [Verbose] > │ and closure70 () () : UH1 =                                                  │

00:00:44 #7310 [Verbose] > │     let v0 : (unit -> UH1) = closure71()                                     │

00:00:44 #7311 [Verbose] > │     UH1_0(0.0, 8.422578125E-06, 0.060000000000000005, 0.0038215786027292415, │

00:00:44 #7312 [Verbose] > │ 0.0, 0.0, 0.0, 0.0, 0.0, v0)                                                 │

00:00:44 #7313 [Verbose] > │ and closure69 () () : UH1 =                                                  │

00:00:44 #7314 [Verbose] > │     let v0 : (unit -> UH1) = closure70()                                     │

00:00:44 #7315 [Verbose] > │     UH1_0(0.0, 8.422578125E-06, 0.05, 0.0033156132912039757, 0.0, 0.0, 0.0,  │

00:00:44 #7316 [Verbose] > │ 0.0, 0.0, v0)                                                                │

00:00:44 #7317 [Verbose] > │ and closure68 () () : UH1 =                                                  │

00:00:44 #7318 [Verbose] > │     let v0 : (unit -> UH1) = closure69()                                     │

00:00:44 #7319 [Verbose] > │     UH1_0(0.0, 8.422578125E-06, 0.04, 0.00274006253677335, 0.0, 0.0, 0.0,    │

00:00:44 #7320 [Verbose] > │ 0.0, 0.0, v0)                                                                │

00:00:44 #7321 [Verbose] > │ and closure67 () () : UH1 =                                                  │

00:00:44 #7322 [Verbose] > │     let v0 : (unit -> UH1) = closure68()                                     │

00:00:44 #7323 [Verbose] > │     UH1_0(0.0, 8.422578125E-06, 0.03, 0.0021070055388626454, 0.0, 0.0, 0.0,  │

00:00:44 #7324 [Verbose] > │ 0.0, 0.0, v0)                                                                │

00:00:44 #7325 [Verbose] > │ and closure66 () () : UH1 =                                                  │

00:00:44 #7326 [Verbose] > │     let v0 : (unit -> UH1) = closure67()                                     │

00:00:44 #7327 [Verbose] > │     UH1_0(0.0, 8.422578125E-06, 0.02, 0.0014297283919934465, 0.0, 0.0, 0.0,  │

00:00:44 #7328 [Verbose] > │ 0.0, 0.0, v0)                                                                │

00:00:44 #7329 [Verbose] > │ and closure132 (v0 : (unit -> UH1), v1 : (unit -> UH3)) () : UH1 =           │

00:00:44 #7330 [Verbose] > │     let v2 : UH3 = v1 ()                                                     │

00:00:44 #7331 [Verbose] > │     let v3 : UH1 = v0 ()                                                     │

00:00:44 #7332 [Verbose] > │     match v2 with                                                            │

00:00:44 #7333 [Verbose] > │     | UH3_0(v4, v5, v6, v7, v8, v9, v10, v11, v12, v13) -> (* StreamCons *)  │

00:00:44 #7334 [Verbose] > │         match v3 with                                                        │

00:00:44 #7335 [Verbose] > │         | UH1_0(v14, v15, v16, v17, v18, v19, v20, v21, v22, v23) -> (*      │

00:00:44 #7336 [Verbose] > │ StreamCons *)                                                                │

00:00:44 #7337 [Verbose] > │             let v24 : float = v9 * 1.25E-05                                  │

00:00:44 #7338 [Verbose] > │             let v25 : float = v19 + v24                                      │

00:00:44 #7339 [Verbose] > │             let v26 : float = 1.25E-05 * v6                                  │

00:00:44 #7340 [Verbose] > │             let v27 : float = 1.25E-05 * v7                                  │

00:00:44 #7341 [Verbose] > │             let v28 : float = 1.25E-05 * v8                                  │

00:00:44 #7342 [Verbose] > │             let v29 : float = v16 + v26                                      │

00:00:44 #7343 [Verbose] > │             let v30 : float = v17 + v27                                      │

00:00:44 #7344 [Verbose] > │             let v31 : float = v18 + v28                                      │

00:00:44 #7345 [Verbose] > │             let v32 : float = 1.25E-05 * v10                                 │

00:00:44 #7346 [Verbose] > │             let v33 : float = 1.25E-05 * v11                                 │

00:00:44 #7347 [Verbose] > │             let v34 : float = 1.25E-05 * v12                                 │

00:00:44 #7348 [Verbose] > │             let v35 : float = v20 + v32                                      │

00:00:44 #7349 [Verbose] > │             let v36 : float = v21 + v33                                      │

00:00:44 #7350 [Verbose] > │             let v37 : float = v22 + v34                                      │

00:00:44 #7351 [Verbose] > │             let v38 : (unit -> UH1) = closure132(v23, v13)                   │

00:00:44 #7352 [Verbose] > │             UH1_0(v14, v15, v29, v30, v31, v25, v35, v36, v37, v38)          │

00:00:44 #7353 [Verbose] > │         | UH1_1 -> (* StreamNil *)                                           │

00:00:44 #7354 [Verbose] > │             UH1_1                                                            │

00:00:44 #7355 [Verbose] > │     | UH3_1 -> (* StreamNil *)                                               │

00:00:44 #7356 [Verbose] > │         UH1_1                                                                │

00:00:44 #7357 [Verbose] > │ and closure133 (v0 : UH1) () : UH1 =                                         │

00:00:44 #7358 [Verbose] > │     v0                                                                       │

00:00:44 #7359 [Verbose] > │ and closure134 (v0 : UH1, v1 : Mut0) () : UH1 =                              │

00:00:44 #7360 [Verbose] > │     let v2 : US0 = v1.l0                                                     │

00:00:44 #7361 [Verbose] > │     match v2 with                                                            │

00:00:44 #7362 [Verbose] > │     | US0_0(v3) -> (* Computed *)                                            │

00:00:44 #7363 [Verbose] > │         v3                                                                   │

00:00:44 #7364 [Verbose] > │     | US0_1(v4) -> (* NotComputed *)                                         │

00:00:44 #7365 [Verbose] > │         let v5 : UH1 = v4 ()                                                 │

00:00:44 #7366 [Verbose] > │         let v20 : UH1 =                                                      │

00:00:44 #7367 [Verbose] > │             match v5 with                                                    │

00:00:44 #7368 [Verbose] > │             | UH1_0(v7, v8, v9, v10, v11, v12, v13, v14, v15, v16) -> (*     │

00:00:44 #7369 [Verbose] > │ StreamCons *)                                                                │

00:00:44 #7370 [Verbose] > │                 let v17 : (unit -> UH1) = method3(v0, v16)                   │

00:00:44 #7371 [Verbose] > │                 UH1_0(v7, v8, v9, v10, v11, v12, v13, v14, v15, v17)         │

00:00:44 #7372 [Verbose] > │             | UH1_1 -> (* StreamNil *)                                       │

00:00:44 #7373 [Verbose] > │                 UH1_1                                                        │

00:00:44 #7374 [Verbose] > │         let v21 : US0 = US0_0(v20)                                           │

00:00:44 #7375 [Verbose] > │         v1.l0 <- v21                                                         │

00:00:44 #7376 [Verbose] > │         v20                                                                  │

00:00:44 #7377 [Verbose] > │ and method3 (v0 : UH1, v1 : (unit -> UH1)) : (unit -> UH1) =                 │

00:00:44 #7378 [Verbose] > │     let v2 : US0 = US0_1(v1)                                                 │

00:00:44 #7379 [Verbose] > │     let v3 : Mut0 = {l0 = v2} : Mut0                                         │

00:00:44 #7380 [Verbose] > │     closure134(v0, v3)                                                       │

00:00:44 #7381 [Verbose] > │ and closure135 (v0 : (unit -> UH1), v1 : (unit -> UH3)) () : UH1 =           │

00:00:44 #7382 [Verbose] > │     let v2 : UH3 = v1 ()                                                     │

00:00:44 #7383 [Verbose] > │     let v3 : UH1 = v0 ()                                                     │

00:00:44 #7384 [Verbose] > │     match v2 with                                                            │

00:00:44 #7385 [Verbose] > │     | UH3_0(v4, v5, v6, v7, v8, v9, v10, v11, v12, v13) -> (* StreamCons *)  │

00:00:44 #7386 [Verbose] > │         match v3 with                                                        │

00:00:44 #7387 [Verbose] > │         | UH1_0(v14, v15, v16, v17, v18, v19, v20, v21, v22, v23) -> (*      │

00:00:44 #7388 [Verbose] > │ StreamCons *)                                                                │

00:00:44 #7389 [Verbose] > │             let v24 : float = v9 * 2.5E-05                                   │

00:00:44 #7390 [Verbose] > │             let v25 : float = v19 + v24                                      │

00:00:44 #7391 [Verbose] > │             let v26 : float = 2.5E-05 * v6                                   │

00:00:44 #7392 [Verbose] > │             let v27 : float = 2.5E-05 * v7                                   │

00:00:44 #7393 [Verbose] > │             let v28 : float = 2.5E-05 * v8                                   │

00:00:44 #7394 [Verbose] > │             let v29 : float = v16 + v26                                      │

00:00:44 #7395 [Verbose] > │             let v30 : float = v17 + v27                                      │

00:00:44 #7396 [Verbose] > │             let v31 : float = v18 + v28                                      │

00:00:44 #7397 [Verbose] > │             let v32 : float = 2.5E-05 * v10                                  │

00:00:44 #7398 [Verbose] > │             let v33 : float = 2.5E-05 * v11                                  │

00:00:44 #7399 [Verbose] > │             let v34 : float = 2.5E-05 * v12                                  │

00:00:44 #7400 [Verbose] > │             let v35 : float = v20 + v32                                      │

00:00:44 #7401 [Verbose] > │             let v36 : float = v21 + v33                                      │

00:00:44 #7402 [Verbose] > │             let v37 : float = v22 + v34                                      │

00:00:44 #7403 [Verbose] > │             let v38 : (unit -> UH1) = closure135(v23, v13)                   │

00:00:44 #7404 [Verbose] > │             UH1_0(v14, v15, v29, v30, v31, v25, v35, v36, v37, v38)          │

00:00:44 #7405 [Verbose] > │         | UH1_1 -> (* StreamNil *)                                           │

00:00:44 #7406 [Verbose] > │             UH1_1                                                            │

00:00:44 #7407 [Verbose] > │     | UH3_1 -> (* StreamNil *)                                               │

00:00:44 #7408 [Verbose] > │         UH1_1                                                                │

00:00:44 #7409 [Verbose] > │ and closure136 (v0 : (unit -> UH3), v1 : (unit -> UH3)) () : UH3 =           │

00:00:44 #7410 [Verbose] > │     let v2 : UH3 = v1 ()                                                     │

00:00:44 #7411 [Verbose] > │     let v3 : UH3 = v0 ()                                                     │

00:00:44 #7412 [Verbose] > │     match v2 with                                                            │

00:00:44 #7413 [Verbose] > │     | UH3_0(v4, v5, v6, v7, v8, v9, v10, v11, v12, v13) -> (* StreamCons *)  │

00:00:44 #7414 [Verbose] > │         match v3 with                                                        │

00:00:44 #7415 [Verbose] > │         | UH3_0(v14, v15, v16, v17, v18, v19, v20, v21, v22, v23) -> (*      │

00:00:44 #7416 [Verbose] > │ StreamCons *)                                                                │

00:00:44 #7417 [Verbose] > │             let v24 : float = v4 + v14                                       │

00:00:44 #7418 [Verbose] > │             let v25 : float = v5 + v15                                       │

00:00:44 #7419 [Verbose] > │             let v26 : float = v9 + v19                                       │

00:00:44 #7420 [Verbose] > │             let v27 : float = v6 + v16                                       │

00:00:44 #7421 [Verbose] > │             let v28 : float = v7 + v17                                       │

00:00:44 #7422 [Verbose] > │             let v29 : float = v8 + v18                                       │

00:00:44 #7423 [Verbose] > │             let v30 : float = v10 + v20                                      │

00:00:44 #7424 [Verbose] > │             let v31 : float = v11 + v21                                      │

00:00:44 #7425 [Verbose] > │             let v32 : float = v12 + v22                                      │

00:00:44 #7426 [Verbose] > │             let v33 : (unit -> UH3) = closure136(v23, v13)                   │

00:00:44 #7427 [Verbose] > │             UH3_0(v24, v25, v27, v28, v29, v26, v30, v31, v32, v33)          │

00:00:44 #7428 [Verbose] > │         | UH3_1 -> (* StreamNil *)                                           │

00:00:44 #7429 [Verbose] > │             UH3_1                                                            │

00:00:44 #7430 [Verbose] > │     | UH3_1 -> (* StreamNil *)                                               │

00:00:44 #7431 [Verbose] > │         UH3_1                                                                │

00:00:44 #7432 [Verbose] > │ and closure137 (v0 : (unit -> UH1), v1 : (unit -> UH3)) () : UH1 =           │

00:00:44 #7433 [Verbose] > │     let v2 : UH3 = v1 ()                                                     │

00:00:44 #7434 [Verbose] > │     let v3 : UH1 = v0 ()                                                     │

00:00:44 #7435 [Verbose] > │     match v2 with                                                            │

00:00:44 #7436 [Verbose] > │     | UH3_0(v4, v5, v6, v7, v8, v9, v10, v11, v12, v13) -> (* StreamCons *)  │

00:00:44 #7437 [Verbose] > │         match v3 with                                                        │

00:00:44 #7438 [Verbose] > │         | UH1_0(v14, v15, v16, v17, v18, v19, v20, v21, v22, v23) -> (*      │

00:00:44 #7439 [Verbose] > │ StreamCons *)                                                                │

00:00:44 #7440 [Verbose] > │             let v24 : float = v9 * 4.166666666666667E-06                     │

00:00:44 #7441 [Verbose] > │             let v25 : float = v19 + v24                                      │

00:00:44 #7442 [Verbose] > │             let v26 : float = 4.166666666666667E-06 * v6                     │

00:00:44 #7443 [Verbose] > │             let v27 : float = 4.166666666666667E-06 * v7                     │

00:00:44 #7444 [Verbose] > │             let v28 : float = 4.166666666666667E-06 * v8                     │

00:00:44 #7445 [Verbose] > │             let v29 : float = v16 + v26                                      │

00:00:44 #7446 [Verbose] > │             let v30 : float = v17 + v27                                      │

00:00:44 #7447 [Verbose] > │             let v31 : float = v18 + v28                                      │

00:00:44 #7448 [Verbose] > │             let v32 : float = 4.166666666666667E-06 * v10                    │

00:00:44 #7449 [Verbose] > │             let v33 : float = 4.166666666666667E-06 * v11                    │

00:00:44 #7450 [Verbose] > │             let v34 : float = 4.166666666666667E-06 * v12                    │

00:00:44 #7451 [Verbose] > │             let v35 : float = v20 + v32                                      │

00:00:44 #7452 [Verbose] > │             let v36 : float = v21 + v33                                      │

00:00:44 #7453 [Verbose] > │             let v37 : float = v22 + v34                                      │

00:00:44 #7454 [Verbose] > │             let v38 : (unit -> UH1) = closure137(v23, v13)                   │

00:00:44 #7455 [Verbose] > │             UH1_0(v14, v15, v29, v30, v31, v25, v35, v36, v37, v38)          │

00:00:44 #7456 [Verbose] > │         | UH1_1 -> (* StreamNil *)                                           │

00:00:44 #7457 [Verbose] > │             UH1_1                                                            │

00:00:44 #7458 [Verbose] > │     | UH3_1 -> (* StreamNil *)                                               │

00:00:44 #7459 [Verbose] > │         UH1_1                                                                │

00:00:44 #7460 [Verbose] > │ and closure131 (v0 : (UH1 -> UH3)) (v1 : UH1) : UH1 =                        │

00:00:44 #7461 [Verbose] > │     let v2 : UH3 = v0 v1                                                     │

00:00:44 #7462 [Verbose] > │     let v44 : UH1 =                                                          │

00:00:44 #7463 [Verbose] > │         match v2 with                                                        │

00:00:44 #7464 [Verbose] > │         | UH3_0(v3, v4, v5, v6, v7, v8, v9, v10, v11, v12) -> (* StreamCons  │

00:00:44 #7465 [Verbose] > │ *)                                                                           │

00:00:44 #7466 [Verbose] > │             match v1 with                                                    │

00:00:44 #7467 [Verbose] > │             | UH1_0(v13, v14, v15, v16, v17, v18, v19, v20, v21, v22) -> (*  │

00:00:44 #7468 [Verbose] > │ StreamCons *)                                                                │

00:00:44 #7469 [Verbose] > │                 let v23 : float = v8 * 1.25E-05                              │

00:00:44 #7470 [Verbose] > │                 let v24 : float = v18 + v23                                  │

00:00:44 #7471 [Verbose] > │                 let v25 : float = 1.25E-05 * v5                              │

00:00:44 #7472 [Verbose] > │                 let v26 : float = 1.25E-05 * v6                              │

00:00:44 #7473 [Verbose] > │                 let v27 : float = 1.25E-05 * v7                              │

00:00:44 #7474 [Verbose] > │                 let v28 : float = v15 + v25                                  │

00:00:44 #7475 [Verbose] > │                 let v29 : float = v16 + v26                                  │

00:00:44 #7476 [Verbose] > │                 let v30 : float = v17 + v27                                  │

00:00:44 #7477 [Verbose] > │                 let v31 : float = 1.25E-05 * v9                              │

00:00:44 #7478 [Verbose] > │                 let v32 : float = 1.25E-05 * v10                             │

00:00:44 #7479 [Verbose] > │                 let v33 : float = 1.25E-05 * v11                             │

00:00:44 #7480 [Verbose] > │                 let v34 : float = v19 + v31                                  │

00:00:44 #7481 [Verbose] > │                 let v35 : float = v20 + v32                                  │

00:00:44 #7482 [Verbose] > │                 let v36 : float = v21 + v33                                  │

00:00:44 #7483 [Verbose] > │                 let v37 : (unit -> UH1) = closure132(v22, v12)               │

00:00:44 #7484 [Verbose] > │                 UH1_0(v13, v14, v28, v29, v30, v24, v34, v35, v36, v37)      │

00:00:44 #7485 [Verbose] > │             | UH1_1 -> (* StreamNil *)                                       │

00:00:44 #7486 [Verbose] > │                 UH1_1                                                        │

00:00:44 #7487 [Verbose] > │         | UH3_1 -> (* StreamNil *)                                           │

00:00:44 #7488 [Verbose] > │             UH1_1                                                            │

00:00:44 #7489 [Verbose] > │     let v45 : (unit -> UH1) = closure133(v44)                                │

00:00:44 #7490 [Verbose] > │     let v46 : (unit -> UH1) = method3(v44, v45)                              │

00:00:44 #7491 [Verbose] > │     let v47 : UH1 = v46 ()                                                   │

00:00:44 #7492 [Verbose] > │     let v48 : UH3 = v0 v47                                                   │

00:00:44 #7493 [Verbose] > │     let v90 : UH1 =                                                          │

00:00:44 #7494 [Verbose] > │         match v48 with                                                       │

00:00:44 #7495 [Verbose] > │         | UH3_0(v49, v50, v51, v52, v53, v54, v55, v56, v57, v58) -> (*      │

00:00:44 #7496 [Verbose] > │ StreamCons *)                                                                │

00:00:44 #7497 [Verbose] > │             match v1 with                                                    │

00:00:44 #7498 [Verbose] > │             | UH1_0(v59, v60, v61, v62, v63, v64, v65, v66, v67, v68) -> (*  │

00:00:44 #7499 [Verbose] > │ StreamCons *)                                                                │

00:00:44 #7500 [Verbose] > │                 let v69 : float = v54 * 1.25E-05                             │

00:00:44 #7501 [Verbose] > │                 let v70 : float = v64 + v69                                  │

00:00:44 #7502 [Verbose] > │                 let v71 : float = 1.25E-05 * v51                             │

00:00:44 #7503 [Verbose] > │                 let v72 : float = 1.25E-05 * v52                             │

00:00:44 #7504 [Verbose] > │                 let v73 : float = 1.25E-05 * v53                             │

00:00:44 #7505 [Verbose] > │                 let v74 : float = v61 + v71                                  │

00:00:44 #7506 [Verbose] > │                 let v75 : float = v62 + v72                                  │

00:00:44 #7507 [Verbose] > │                 let v76 : float = v63 + v73                                  │

00:00:44 #7508 [Verbose] > │                 let v77 : float = 1.25E-05 * v55                             │

00:00:44 #7509 [Verbose] > │                 let v78 : float = 1.25E-05 * v56                             │

00:00:44 #7510 [Verbose] > │                 let v79 : float = 1.25E-05 * v57                             │

00:00:44 #7511 [Verbose] > │                 let v80 : float = v65 + v77                                  │

00:00:44 #7512 [Verbose] > │                 let v81 : float = v66 + v78                                  │

00:00:44 #7513 [Verbose] > │                 let v82 : float = v67 + v79                                  │

00:00:44 #7514 [Verbose] > │                 let v83 : (unit -> UH1) = closure132(v68, v58)               │

00:00:44 #7515 [Verbose] > │                 UH1_0(v59, v60, v74, v75, v76, v70, v80, v81, v82, v83)      │

00:00:44 #7516 [Verbose] > │             | UH1_1 -> (* StreamNil *)                                       │

00:00:44 #7517 [Verbose] > │                 UH1_1                                                        │

00:00:44 #7518 [Verbose] > │         | UH3_1 -> (* StreamNil *)                                           │

00:00:44 #7519 [Verbose] > │             UH1_1                                                            │

00:00:44 #7520 [Verbose] > │     let v91 : (unit -> UH1) = closure133(v90)                                │

00:00:44 #7521 [Verbose] > │     let v92 : (unit -> UH1) = method3(v90, v91)                              │

00:00:44 #7522 [Verbose] > │     let v93 : UH1 = v92 ()                                                   │

00:00:44 #7523 [Verbose] > │     let v94 : UH3 = v0 v93                                                   │

00:00:44 #7524 [Verbose] > │     let v136 : UH1 =                                                         │

00:00:44 #7525 [Verbose] > │         match v94 with                                                       │

00:00:44 #7526 [Verbose] > │         | UH3_0(v95, v96, v97, v98, v99, v100, v101, v102, v103, v104) -> (* │

00:00:44 #7527 [Verbose] > │ StreamCons *)                                                                │

00:00:44 #7528 [Verbose] > │             match v1 with                                                    │

00:00:44 #7529 [Verbose] > │             | UH1_0(v105, v106, v107, v108, v109, v110, v111, v112, v113,    │

00:00:44 #7530 [Verbose] > │ v114) -> (* StreamCons *)                                                    │

00:00:44 #7531 [Verbose] > │                 let v115 : float = v100 * 2.5E-05                            │

00:00:44 #7532 [Verbose] > │                 let v116 : float = v110 + v115                               │

00:00:44 #7533 [Verbose] > │                 let v117 : float = 2.5E-05 * v97                             │

00:00:44 #7534 [Verbose] > │                 let v118 : float = 2.5E-05 * v98                             │

00:00:44 #7535 [Verbose] > │                 let v119 : float = 2.5E-05 * v99                             │

00:00:44 #7536 [Verbose] > │                 let v120 : float = v107 + v117                               │

00:00:44 #7537 [Verbose] > │                 let v121 : float = v108 + v118                               │

00:00:44 #7538 [Verbose] > │                 let v122 : float = v109 + v119                               │

00:00:44 #7539 [Verbose] > │                 let v123 : float = 2.5E-05 * v101                            │

00:00:44 #7540 [Verbose] > │                 let v124 : float = 2.5E-05 * v102                            │

00:00:44 #7541 [Verbose] > │                 let v125 : float = 2.5E-05 * v103                            │

00:00:44 #7542 [Verbose] > │                 let v126 : float = v111 + v123                               │

00:00:44 #7543 [Verbose] > │                 let v127 : float = v112 + v124                               │

00:00:44 #7544 [Verbose] > │                 let v128 : float = v113 + v125                               │

00:00:44 #7545 [Verbose] > │                 let v129 : (unit -> UH1) = closure135(v114, v104)            │

00:00:44 #7546 [Verbose] > │                 UH1_0(v105, v106, v120, v121, v122, v116, v126, v127, v128,  │

00:00:44 #7547 [Verbose] > │ v129)                                                                        │

00:00:44 #7548 [Verbose] > │             | UH1_1 -> (* StreamNil *)                                       │

00:00:44 #7549 [Verbose] > │                 UH1_1                                                        │

00:00:44 #7550 [Verbose] > │         | UH3_1 -> (* StreamNil *)                                           │

00:00:44 #7551 [Verbose] > │             UH1_1                                                            │

00:00:44 #7552 [Verbose] > │     let v137 : (unit -> UH1) = closure133(v136)                              │

00:00:44 #7553 [Verbose] > │     let v138 : (unit -> UH1) = method3(v136, v137)                           │

00:00:44 #7554 [Verbose] > │     let v139 : UH1 = v138 ()                                                 │

00:00:44 #7555 [Verbose] > │     let v140 : UH3 = v0 v139                                                 │

00:00:44 #7556 [Verbose] > │     let v177 : UH3 =                                                         │

00:00:44 #7557 [Verbose] > │         match v2 with                                                        │

00:00:44 #7558 [Verbose] > │         | UH3_0(v141, v142, v143, v144, v145, v146, v147, v148, v149, v150)  │

00:00:44 #7559 [Verbose] > │ -> (* StreamCons *)                                                          │

00:00:44 #7560 [Verbose] > │             match v48 with                                                   │

00:00:44 #7561 [Verbose] > │             | UH3_0(v151, v152, v153, v154, v155, v156, v157, v158, v159,    │

00:00:44 #7562 [Verbose] > │ v160) -> (* StreamCons *)                                                    │

00:00:44 #7563 [Verbose] > │                 let v161 : float = v141 + v151                               │

00:00:44 #7564 [Verbose] > │                 let v162 : float = v142 + v152                               │

00:00:44 #7565 [Verbose] > │                 let v163 : float = v146 + v156                               │

00:00:44 #7566 [Verbose] > │                 let v164 : float = v143 + v153                               │

00:00:44 #7567 [Verbose] > │                 let v165 : float = v144 + v154                               │

00:00:44 #7568 [Verbose] > │                 let v166 : float = v145 + v155                               │

00:00:44 #7569 [Verbose] > │                 let v167 : float = v147 + v157                               │

00:00:44 #7570 [Verbose] > │                 let v168 : float = v148 + v158                               │

00:00:44 #7571 [Verbose] > │                 let v169 : float = v149 + v159                               │

00:00:44 #7572 [Verbose] > │                 let v170 : (unit -> UH3) = closure136(v160, v150)            │

00:00:44 #7573 [Verbose] > │                 UH3_0(v161, v162, v164, v165, v166, v163, v167, v168, v169,  │

00:00:44 #7574 [Verbose] > │ v170)                                                                        │

00:00:44 #7575 [Verbose] > │             | UH3_1 -> (* StreamNil *)                                       │

00:00:44 #7576 [Verbose] > │                 UH3_1                                                        │

00:00:44 #7577 [Verbose] > │         | UH3_1 -> (* StreamNil *)                                           │

00:00:44 #7578 [Verbose] > │             UH3_1                                                            │

00:00:44 #7579 [Verbose] > │     let v214 : UH3 =                                                         │

00:00:44 #7580 [Verbose] > │         match v177 with                                                      │

00:00:44 #7581 [Verbose] > │         | UH3_0(v178, v179, v180, v181, v182, v183, v184, v185, v186, v187)  │

00:00:44 #7582 [Verbose] > │ -> (* StreamCons *)                                                          │

00:00:44 #7583 [Verbose] > │             match v48 with                                                   │

00:00:44 #7584 [Verbose] > │             | UH3_0(v188, v189, v190, v191, v192, v193, v194, v195, v196,    │

00:00:44 #7585 [Verbose] > │ v197) -> (* StreamCons *)                                                    │

00:00:44 #7586 [Verbose] > │                 let v198 : float = v178 + v188                               │

00:00:44 #7587 [Verbose] > │                 let v199 : float = v179 + v189                               │

00:00:44 #7588 [Verbose] > │                 let v200 : float = v183 + v193                               │

00:00:44 #7589 [Verbose] > │                 let v201 : float = v180 + v190                               │

00:00:44 #7590 [Verbose] > │                 let v202 : float = v181 + v191                               │

00:00:44 #7591 [Verbose] > │                 let v203 : float = v182 + v192                               │

00:00:44 #7592 [Verbose] > │                 let v204 : float = v184 + v194                               │

00:00:44 #7593 [Verbose] > │                 let v205 : float = v185 + v195                               │

00:00:44 #7594 [Verbose] > │                 let v206 : float = v186 + v196                               │

00:00:44 #7595 [Verbose] > │                 let v207 : (unit -> UH3) = closure136(v197, v187)            │

00:00:44 #7596 [Verbose] > │                 UH3_0(v198, v199, v201, v202, v203, v200, v204, v205, v206,  │

00:00:44 #7597 [Verbose] > │ v207)                                                                        │

00:00:44 #7598 [Verbose] > │             | UH3_1 -> (* StreamNil *)                                       │

00:00:44 #7599 [Verbose] > │                 UH3_1                                                        │

00:00:44 #7600 [Verbose] > │         | UH3_1 -> (* StreamNil *)                                           │

00:00:44 #7601 [Verbose] > │             UH3_1                                                            │

00:00:44 #7602 [Verbose] > │     let v251 : UH3 =                                                         │

00:00:44 #7603 [Verbose] > │         match v214 with                                                      │

00:00:44 #7604 [Verbose] > │         | UH3_0(v215, v216, v217, v218, v219, v220, v221, v222, v223, v224)  │

00:00:44 #7605 [Verbose] > │ -> (* StreamCons *)                                                          │

00:00:44 #7606 [Verbose] > │             match v94 with                                                   │

00:00:44 #7607 [Verbose] > │             | UH3_0(v225, v226, v227, v228, v229, v230, v231, v232, v233,    │

00:00:44 #7608 [Verbose] > │ v234) -> (* StreamCons *)                                                    │

00:00:44 #7609 [Verbose] > │                 let v235 : float = v215 + v225                               │

00:00:44 #7610 [Verbose] > │                 let v236 : float = v216 + v226                               │

00:00:44 #7611 [Verbose] > │                 let v237 : float = v220 + v230                               │

00:00:44 #7612 [Verbose] > │                 let v238 : float = v217 + v227                               │

00:00:44 #7613 [Verbose] > │                 let v239 : float = v218 + v228                               │

00:00:44 #7614 [Verbose] > │                 let v240 : float = v219 + v229                               │

00:00:44 #7615 [Verbose] > │                 let v241 : float = v221 + v231                               │

00:00:44 #7616 [Verbose] > │                 let v242 : float = v222 + v232                               │

00:00:44 #7617 [Verbose] > │                 let v243 : float = v223 + v233                               │

00:00:44 #7618 [Verbose] > │                 let v244 : (unit -> UH3) = closure136(v234, v224)            │

00:00:44 #7619 [Verbose] > │                 UH3_0(v235, v236, v238, v239, v240, v237, v241, v242, v243,  │

00:00:44 #7620 [Verbose] > │ v244)                                                                        │

00:00:44 #7621 [Verbose] > │             | UH3_1 -> (* StreamNil *)                                       │

00:00:44 #7622 [Verbose] > │                 UH3_1                                                        │

00:00:44 #7623 [Verbose] > │         | UH3_1 -> (* StreamNil *)                                           │

00:00:44 #7624 [Verbose] > │             UH3_1                                                            │

00:00:44 #7625 [Verbose] > │     let v288 : UH3 =                                                         │

00:00:44 #7626 [Verbose] > │         match v251 with                                                      │

00:00:44 #7627 [Verbose] > │         | UH3_0(v252, v253, v254, v255, v256, v257, v258, v259, v260, v261)  │

00:00:44 #7628 [Verbose] > │ -> (* StreamCons *)                                                          │

00:00:44 #7629 [Verbose] > │             match v94 with                                                   │

00:00:44 #7630 [Verbose] > │             | UH3_0(v262, v263, v264, v265, v266, v267, v268, v269, v270,    │

00:00:44 #7631 [Verbose] > │ v271) -> (* StreamCons *)                                                    │

00:00:44 #7632 [Verbose] > │                 let v272 : float = v252 + v262                               │

00:00:44 #7633 [Verbose] > │                 let v273 : float = v253 + v263                               │

00:00:44 #7634 [Verbose] > │                 let v274 : float = v257 + v267                               │

00:00:44 #7635 [Verbose] > │                 let v275 : float = v254 + v264                               │

00:00:44 #7636 [Verbose] > │                 let v276 : float = v255 + v265                               │

00:00:44 #7637 [Verbose] > │                 let v277 : float = v256 + v266                               │

00:00:44 #7638 [Verbose] > │                 let v278 : float = v258 + v268                               │

00:00:44 #7639 [Verbose] > │                 let v279 : float = v259 + v269                               │

00:00:44 #7640 [Verbose] > │                 let v280 : float = v260 + v270                               │

00:00:44 #7641 [Verbose] > │                 let v281 : (unit -> UH3) = closure136(v271, v261)            │

00:00:44 #7642 [Verbose] > │                 UH3_0(v272, v273, v275, v276, v277, v274, v278, v279, v280,  │

00:00:44 #7643 [Verbose] > │ v281)                                                                        │

00:00:44 #7644 [Verbose] > │             | UH3_1 -> (* StreamNil *)                                       │

00:00:44 #7645 [Verbose] > │                 UH3_1                                                        │

00:00:44 #7646 [Verbose] > │         | UH3_1 -> (* StreamNil *)                                           │

00:00:44 #7647 [Verbose] > │             UH3_1                                                            │

00:00:44 #7648 [Verbose] > │     let v325 : UH3 =                                                         │

00:00:44 #7649 [Verbose] > │         match v288 with                                                      │

00:00:44 #7650 [Verbose] > │         | UH3_0(v289, v290, v291, v292, v293, v294, v295, v296, v297, v298)  │

00:00:44 #7651 [Verbose] > │ -> (* StreamCons *)                                                          │

00:00:44 #7652 [Verbose] > │             match v140 with                                                  │

00:00:44 #7653 [Verbose] > │             | UH3_0(v299, v300, v301, v302, v303, v304, v305, v306, v307,    │

00:00:44 #7654 [Verbose] > │ v308) -> (* StreamCons *)                                                    │

00:00:44 #7655 [Verbose] > │                 let v309 : float = v289 + v299                               │

00:00:44 #7656 [Verbose] > │                 let v310 : float = v290 + v300                               │

00:00:44 #7657 [Verbose] > │                 let v311 : float = v294 + v304                               │

00:00:44 #7658 [Verbose] > │                 let v312 : float = v291 + v301                               │

00:00:44 #7659 [Verbose] > │                 let v313 : float = v292 + v302                               │

00:00:44 #7660 [Verbose] > │                 let v314 : float = v293 + v303                               │

00:00:44 #7661 [Verbose] > │                 let v315 : float = v295 + v305                               │

00:00:44 #7662 [Verbose] > │                 let v316 : float = v296 + v306                               │

00:00:44 #7663 [Verbose] > │                 let v317 : float = v297 + v307                               │

00:00:44 #7664 [Verbose] > │                 let v318 : (unit -> UH3) = closure136(v308, v298)            │

00:00:44 #7665 [Verbose] > │                 UH3_0(v309, v310, v312, v313, v314, v311, v315, v316, v317,  │

00:00:44 #7666 [Verbose] > │ v318)                                                                        │

00:00:44 #7667 [Verbose] > │             | UH3_1 -> (* StreamNil *)                                       │

00:00:44 #7668 [Verbose] > │                 UH3_1                                                        │

00:00:44 #7669 [Verbose] > │         | UH3_1 -> (* StreamNil *)                                           │

00:00:44 #7670 [Verbose] > │             UH3_1                                                            │

00:00:44 #7671 [Verbose] > │     let v367 : UH1 =                                                         │

00:00:44 #7672 [Verbose] > │         match v325 with                                                      │

00:00:44 #7673 [Verbose] > │         | UH3_0(v326, v327, v328, v329, v330, v331, v332, v333, v334, v335)  │

00:00:44 #7674 [Verbose] > │ -> (* StreamCons *)                                                          │

00:00:44 #7675 [Verbose] > │             match v1 with                                                    │

00:00:44 #7676 [Verbose] > │             | UH1_0(v336, v337, v338, v339, v340, v341, v342, v343, v344,    │

00:00:44 #7677 [Verbose] > │ v345) -> (* StreamCons *)                                                    │

00:00:44 #7678 [Verbose] > │                 let v346 : float = v331 * 4.166666666666667E-06              │

00:00:44 #7679 [Verbose] > │                 let v347 : float = v341 + v346                               │

00:00:44 #7680 [Verbose] > │                 let v348 : float = 4.166666666666667E-06 * v328              │

00:00:44 #7681 [Verbose] > │                 let v349 : float = 4.166666666666667E-06 * v329              │

00:00:44 #7682 [Verbose] > │                 let v350 : float = 4.166666666666667E-06 * v330              │

00:00:44 #7683 [Verbose] > │                 let v351 : float = v338 + v348                               │

00:00:44 #7684 [Verbose] > │                 let v352 : float = v339 + v349                               │

00:00:44 #7685 [Verbose] > │                 let v353 : float = v340 + v350                               │

00:00:44 #7686 [Verbose] > │                 let v354 : float = 4.166666666666667E-06 * v332              │

00:00:44 #7687 [Verbose] > │                 let v355 : float = 4.166666666666667E-06 * v333              │

00:00:44 #7688 [Verbose] > │                 let v356 : float = 4.166666666666667E-06 * v334              │

00:00:44 #7689 [Verbose] > │                 let v357 : float = v342 + v354                               │

00:00:44 #7690 [Verbose] > │                 let v358 : float = v343 + v355                               │

00:00:44 #7691 [Verbose] > │                 let v359 : float = v344 + v356                               │

00:00:44 #7692 [Verbose] > │                 let v360 : (unit -> UH1) = closure137(v345, v335)            │

00:00:44 #7693 [Verbose] > │                 UH1_0(v336, v337, v351, v352, v353, v347, v357, v358, v359,  │

00:00:44 #7694 [Verbose] > │ v360)                                                                        │

00:00:44 #7695 [Verbose] > │             | UH1_1 -> (* StreamNil *)                                       │

00:00:44 #7696 [Verbose] > │                 UH1_1                                                        │

00:00:44 #7697 [Verbose] > │         | UH3_1 -> (* StreamNil *)                                           │

00:00:44 #7698 [Verbose] > │             UH1_1                                                            │

00:00:44 #7699 [Verbose] > │     let v368 : (unit -> UH1) = closure133(v367)                              │

00:00:44 #7700 [Verbose] > │     let v369 : (unit -> UH1) = method3(v367, v368)                           │

00:00:44 #7701 [Verbose] > │     let v370 : UH1 = v369 ()                                                 │

00:00:44 #7702 [Verbose] > │     v370                                                                     │

00:00:44 #7703 [Verbose] > │ and closure130 () (v0 : (UH1 -> UH3)) : (UH1 -> UH1) =                       │

00:00:44 #7704 [Verbose] > │     closure131(v0)                                                           │

00:00:44 #7705 [Verbose] > │ and method2 () : ((UH1 -> UH3) -> (UH1 -> UH1)) =                            │

00:00:44 #7706 [Verbose] > │     closure130()                                                             │

00:00:44 #7707 [Verbose] > │ and closure138 () struct (v0 : float, v1 : float, v2 : float, v3 : float, v4 │

00:00:44 #7708 [Verbose] > │ : float, v5 : float, v6 : float, v7 : float, v8 : float) : struct (float *   │

00:00:44 #7709 [Verbose] > │ float * float) =                                                             │

00:00:44 #7710 [Verbose] > │     let v9 : float = v2 * v2                                                 │

00:00:44 #7711 [Verbose] > │     let v10 : float = v3 * v3                                                │

00:00:44 #7712 [Verbose] > │     let v11 : float = v9 + v10                                               │

00:00:44 #7713 [Verbose] > │     let v12 : float = v4 * v4                                                │

00:00:44 #7714 [Verbose] > │     let v13 : float = v11 + v12                                              │

00:00:44 #7715 [Verbose] > │     let v14 : float = sqrt v13                                               │

00:00:44 #7716 [Verbose] > │     let v15 : float = -5384.0 * v14                                          │

00:00:44 #7717 [Verbose] > │     let v16 : float = v15 * v2                                               │

00:00:44 #7718 [Verbose] > │     let v17 : float = v15 * v3                                               │

00:00:44 #7719 [Verbose] > │     let v18 : float = v15 * v4                                               │

00:00:44 #7720 [Verbose] > │     let v19 : float = v16 / v14                                              │

00:00:44 #7721 [Verbose] > │     let v20 : float = v17 / v14                                              │

00:00:44 #7722 [Verbose] > │     let v21 : float = v18 / v14                                              │

00:00:44 #7723 [Verbose] > │     struct (v19, v20, v21)                                                   │

00:00:44 #7724 [Verbose] > │ and closure139 () struct (v0 : float, v1 : float, v2 : float, v3 : float, v4 │

00:00:44 #7725 [Verbose] > │ : float, v5 : float, v6 : float, v7 : float, v8 : float) : struct (float *   │

00:00:44 #7726 [Verbose] > │ float * float) =                                                             │

00:00:44 #7727 [Verbose] > │     let v9 : float = v2 + -0.65                                              │

00:00:44 #7728 [Verbose] > │     let v10 : float = v9 * v9                                                │

00:00:44 #7729 [Verbose] > │     let v11 : float = v3 * v3                                                │

00:00:44 #7730 [Verbose] > │     let v12 : float = v10 + v11                                              │

00:00:44 #7731 [Verbose] > │     let v13 : float = v4 * v4                                                │

00:00:44 #7732 [Verbose] > │     let v14 : float = v12 + v13                                              │

00:00:44 #7733 [Verbose] > │     let v15 : float = sqrt v14                                               │

00:00:44 #7734 [Verbose] > │     let v16 : float = -5384.0 * v15                                          │

00:00:44 #7735 [Verbose] > │     let v17 : float = v16 * v9                                               │

00:00:44 #7736 [Verbose] > │     let v18 : float = v16 * v3                                               │

00:00:44 #7737 [Verbose] > │     let v19 : float = v16 * v4                                               │

00:00:44 #7738 [Verbose] > │     let v20 : float = v17 / v15                                              │

00:00:44 #7739 [Verbose] > │     let v21 : float = v18 / v15                                              │

00:00:44 #7740 [Verbose] > │     let v22 : float = v19 / v15                                              │

00:00:44 #7741 [Verbose] > │     struct (v20, v21, v22)                                                   │

00:00:44 #7742 [Verbose] > │ and closure141 (v0 : float, v1 : float, v2 : float, v3 : float, v4 : float,  │

00:00:44 #7743 [Verbose] > │ v5 : float, v6 : float, v7 : float, v8 : float) struct (v9 : float, v10 :    │

00:00:44 #7744 [Verbose] > │ float, v11 : float, v12 : float, v13 : float, v14 : float, v15 : float, v16  │

00:00:44 #7745 [Verbose] > │ : float, v17 : float) : struct (float * float * float) =                     │

00:00:44 #7746 [Verbose] > │     let v18 : float = -1.0 * v2                                              │

00:00:44 #7747 [Verbose] > │     let v19 : float = -1.0 * v3                                              │

00:00:44 #7748 [Verbose] > │     let v20 : float = -1.0 * v4                                              │

00:00:44 #7749 [Verbose] > │     let v21 : float = v11 + v18                                              │

00:00:44 #7750 [Verbose] > │     let v22 : float = v12 + v19                                              │

00:00:44 #7751 [Verbose] > │     let v23 : float = v13 + v20                                              │

00:00:44 #7752 [Verbose] > │     let v24 : float = v21 * v21                                              │

00:00:44 #7753 [Verbose] > │     let v25 : float = v22 * v22                                              │

00:00:44 #7754 [Verbose] > │     let v26 : float = v24 + v25                                              │

00:00:44 #7755 [Verbose] > │     let v27 : float = v23 * v23                                              │

00:00:44 #7756 [Verbose] > │     let v28 : float = v26 + v27                                              │

00:00:44 #7757 [Verbose] > │     let v29 : float = sqrt v28                                               │

00:00:44 #7758 [Verbose] > │     let v30 : float = -5384.0 * v29                                          │

00:00:44 #7759 [Verbose] > │     let v31 : float = v30 * v21                                              │

00:00:44 #7760 [Verbose] > │     let v32 : float = v30 * v22                                              │

00:00:44 #7761 [Verbose] > │     let v33 : float = v30 * v23                                              │

00:00:44 #7762 [Verbose] > │     let v34 : float = v31 / v29                                              │

00:00:44 #7763 [Verbose] > │     let v35 : float = v32 / v29                                              │

00:00:44 #7764 [Verbose] > │     let v36 : float = v33 / v29                                              │

00:00:44 #7765 [Verbose] > │     struct (v34, v35, v36)                                                   │

00:00:44 #7766 [Verbose] > │ and closure140 () struct (v0 : float, v1 : float, v2 : float, v3 : float, v4 │

00:00:44 #7767 [Verbose] > │ : float, v5 : float, v6 : float, v7 : float, v8 : float) : (struct (float *  │

00:00:44 #7768 [Verbose] > │ float * float * float * float * float * float * float * float) -> struct     │

00:00:44 #7769 [Verbose] > │ (float * float * float)) =                                                   │

00:00:44 #7770 [Verbose] > │     closure141(v0, v1, v2, v3, v4, v5, v6, v7, v8)                           │

00:00:44 #7771 [Verbose] > │ and method4 () : UH4 =                                                       │

00:00:44 #7772 [Verbose] > │     let v0 : (struct (float * float * float * float * float * float * float  │

00:00:44 #7773 [Verbose] > │ * float * float) -> struct (float * float * float)) = closure138()           │

00:00:44 #7774 [Verbose] > │     let v1 : US1 = US1_0(0, v0)                                              │

00:00:44 #7775 [Verbose] > │     let v2 : (struct (float * float * float * float * float * float * float  │

00:00:44 #7776 [Verbose] > │ * float * float) -> struct (float * float * float)) = closure139()           │

00:00:44 #7777 [Verbose] > │     let v3 : US1 = US1_0(63, v2)                                             │

00:00:44 #7778 [Verbose] > │     let v4 : (struct (float * float * float * float * float * float * float  │

00:00:44 #7779 [Verbose] > │ * float * float) -> (struct (float * float * float * float * float * float * │

00:00:44 #7780 [Verbose] > │ float * float * float) -> struct (float * float * float))) = closure140()    │

00:00:44 #7781 [Verbose] > │     let v5 : US1 = US1_1(0, 1, v4)                                           │

00:00:44 #7782 [Verbose] > │     let v6 : US1 = US1_1(1, 2, v4)                                           │

00:00:44 #7783 [Verbose] > │     let v7 : US1 = US1_1(2, 3, v4)                                           │

00:00:44 #7784 [Verbose] > │     let v8 : US1 = US1_1(3, 4, v4)                                           │

00:00:44 #7785 [Verbose] > │     let v9 : US1 = US1_1(4, 5, v4)                                           │

00:00:44 #7786 [Verbose] > │     let v10 : US1 = US1_1(5, 6, v4)                                          │

00:00:44 #7787 [Verbose] > │     let v11 : US1 = US1_1(6, 7, v4)                                          │

00:00:44 #7788 [Verbose] > │     let v12 : US1 = US1_1(7, 8, v4)                                          │

00:00:44 #7789 [Verbose] > │     let v13 : US1 = US1_1(8, 9, v4)                                          │

00:00:44 #7790 [Verbose] > │     let v14 : US1 = US1_1(9, 10, v4)                                         │

00:00:44 #7791 [Verbose] > │     let v15 : US1 = US1_1(10, 11, v4)                                        │

00:00:44 #7792 [Verbose] > │     let v16 : US1 = US1_1(11, 12, v4)                                        │

00:00:44 #7793 [Verbose] > │     let v17 : US1 = US1_1(12, 13, v4)                                        │

00:00:44 #7794 [Verbose] > │     let v18 : US1 = US1_1(13, 14, v4)                                        │

00:00:44 #7795 [Verbose] > │     let v19 : US1 = US1_1(14, 15, v4)                                        │

00:00:44 #7796 [Verbose] > │     let v20 : US1 = US1_1(15, 16, v4)                                        │

00:00:44 #7797 [Verbose] > │     let v21 : US1 = US1_1(16, 17, v4)                                        │

00:00:44 #7798 [Verbose] > │     let v22 : US1 = US1_1(17, 18, v4)                                        │

00:00:44 #7799 [Verbose] > │     let v23 : US1 = US1_1(18, 19, v4)                                        │

00:00:44 #7800 [Verbose] > │     let v24 : US1 = US1_1(19, 20, v4)                                        │

00:00:44 #7801 [Verbose] > │     let v25 : US1 = US1_1(20, 21, v4)                                        │

00:00:44 #7802 [Verbose] > │     let v26 : US1 = US1_1(21, 22, v4)                                        │

00:00:44 #7803 [Verbose] > │     let v27 : US1 = US1_1(22, 23, v4)                                        │

00:00:44 #7804 [Verbose] > │     let v28 : US1 = US1_1(23, 24, v4)                                        │

00:00:44 #7805 [Verbose] > │     let v29 : US1 = US1_1(24, 25, v4)                                        │

00:00:44 #7806 [Verbose] > │     let v30 : US1 = US1_1(25, 26, v4)                                        │

00:00:44 #7807 [Verbose] > │     let v31 : US1 = US1_1(26, 27, v4)                                        │

00:00:44 #7808 [Verbose] > │     let v32 : US1 = US1_1(27, 28, v4)                                        │

00:00:44 #7809 [Verbose] > │     let v33 : US1 = US1_1(28, 29, v4)                                        │

00:00:44 #7810 [Verbose] > │     let v34 : US1 = US1_1(29, 30, v4)                                        │

00:00:44 #7811 [Verbose] > │     let v35 : US1 = US1_1(30, 31, v4)                                        │

00:00:44 #7812 [Verbose] > │     let v36 : US1 = US1_1(31, 32, v4)                                        │

00:00:44 #7813 [Verbose] > │     let v37 : US1 = US1_1(32, 33, v4)                                        │

00:00:44 #7814 [Verbose] > │     let v38 : US1 = US1_1(33, 34, v4)                                        │

00:00:44 #7815 [Verbose] > │     let v39 : US1 = US1_1(34, 35, v4)                                        │

00:00:44 #7816 [Verbose] > │     let v40 : US1 = US1_1(35, 36, v4)                                        │

00:00:44 #7817 [Verbose] > │     let v41 : US1 = US1_1(36, 37, v4)                                        │

00:00:44 #7818 [Verbose] > │     let v42 : US1 = US1_1(37, 38, v4)                                        │

00:00:44 #7819 [Verbose] > │     let v43 : US1 = US1_1(38, 39, v4)                                        │

00:00:44 #7820 [Verbose] > │     let v44 : US1 = US1_1(39, 40, v4)                                        │

00:00:44 #7821 [Verbose] > │     let v45 : US1 = US1_1(40, 41, v4)                                        │

00:00:44 #7822 [Verbose] > │     let v46 : US1 = US1_1(41, 42, v4)                                        │

00:00:44 #7823 [Verbose] > │     let v47 : US1 = US1_1(42, 43, v4)                                        │

00:00:44 #7824 [Verbose] > │     let v48 : US1 = US1_1(43, 44, v4)                                        │

00:00:44 #7825 [Verbose] > │     let v49 : US1 = US1_1(44, 45, v4)                                        │

00:00:44 #7826 [Verbose] > │     let v50 : US1 = US1_1(45, 46, v4)                                        │

00:00:44 #7827 [Verbose] > │     let v51 : US1 = US1_1(46, 47, v4)                                        │

00:00:44 #7828 [Verbose] > │     let v52 : US1 = US1_1(47, 48, v4)                                        │

00:00:44 #7829 [Verbose] > │     let v53 : US1 = US1_1(48, 49, v4)                                        │

00:00:44 #7830 [Verbose] > │     let v54 : US1 = US1_1(49, 50, v4)                                        │

00:00:44 #7831 [Verbose] > │     let v55 : US1 = US1_1(50, 51, v4)                                        │

00:00:44 #7832 [Verbose] > │     let v56 : US1 = US1_1(51, 52, v4)                                        │

00:00:44 #7833 [Verbose] > │     let v57 : US1 = US1_1(52, 53, v4)                                        │

00:00:44 #7834 [Verbose] > │     let v58 : US1 = US1_1(53, 54, v4)                                        │

00:00:44 #7835 [Verbose] > │     let v59 : US1 = US1_1(54, 55, v4)                                        │

00:00:44 #7836 [Verbose] > │     let v60 : US1 = US1_1(55, 56, v4)                                        │

00:00:44 #7837 [Verbose] > │     let v61 : US1 = US1_1(56, 57, v4)                                        │

00:00:44 #7838 [Verbose] > │     let v62 : US1 = US1_1(57, 58, v4)                                        │

00:00:44 #7839 [Verbose] > │     let v63 : US1 = US1_1(58, 59, v4)                                        │

00:00:44 #7840 [Verbose] > │     let v64 : US1 = US1_1(59, 60, v4)                                        │

00:00:44 #7841 [Verbose] > │     let v65 : UH4 = UH4_1                                                    │

00:00:44 #7842 [Verbose] > │     let v66 : UH4 = UH4_0(v64, v65)                                          │

00:00:44 #7843 [Verbose] > │     let v67 : UH4 = UH4_0(v63, v66)                                          │

00:00:44 #7844 [Verbose] > │     let v68 : UH4 = UH4_0(v62, v67)                                          │

00:00:44 #7845 [Verbose] > │     let v69 : UH4 = UH4_0(v61, v68)                                          │

00:00:44 #7846 [Verbose] > │     let v70 : UH4 = UH4_0(v60, v69)                                          │

00:00:44 #7847 [Verbose] > │     let v71 : UH4 = UH4_0(v59, v70)                                          │

00:00:44 #7848 [Verbose] > │     let v72 : UH4 = UH4_0(v58, v71)                                          │

00:00:44 #7849 [Verbose] > │     let v73 : UH4 = UH4_0(v57, v72)                                          │

00:00:44 #7850 [Verbose] > │     let v74 : UH4 = UH4_0(v56, v73)                                          │

00:00:44 #7851 [Verbose] > │     let v75 : UH4 = UH4_0(v55, v74)                                          │

00:00:44 #7852 [Verbose] > │     let v76 : UH4 = UH4_0(v54, v75)                                          │

00:00:44 #7853 [Verbose] > │     let v77 : UH4 = UH4_0(v53, v76)                                          │

00:00:44 #7854 [Verbose] > │     let v78 : UH4 = UH4_0(v52, v77)                                          │

00:00:44 #7855 [Verbose] > │     let v79 : UH4 = UH4_0(v51, v78)                                          │

00:00:44 #7856 [Verbose] > │     let v80 : UH4 = UH4_0(v50, v79)                                          │

00:00:44 #7857 [Verbose] > │     let v81 : UH4 = UH4_0(v49, v80)                                          │

00:00:44 #7858 [Verbose] > │     let v82 : UH4 = UH4_0(v48, v81)                                          │

00:00:44 #7859 [Verbose] > │     let v83 : UH4 = UH4_0(v47, v82)                                          │

00:00:44 #7860 [Verbose] > │     let v84 : UH4 = UH4_0(v46, v83)                                          │

00:00:44 #7861 [Verbose] > │     let v85 : UH4 = UH4_0(v45, v84)                                          │

00:00:44 #7862 [Verbose] > │     let v86 : UH4 = UH4_0(v44, v85)                                          │

00:00:44 #7863 [Verbose] > │     let v87 : UH4 = UH4_0(v43, v86)                                          │

00:00:44 #7864 [Verbose] > │     let v88 : UH4 = UH4_0(v42, v87)                                          │

00:00:44 #7865 [Verbose] > │     let v89 : UH4 = UH4_0(v41, v88)                                          │

00:00:44 #7866 [Verbose] > │     let v90 : UH4 = UH4_0(v40, v89)                                          │

00:00:44 #7867 [Verbose] > │     let v91 : UH4 = UH4_0(v39, v90)                                          │

00:00:44 #7868 [Verbose] > │     let v92 : UH4 = UH4_0(v38, v91)                                          │

00:00:44 #7869 [Verbose] > │     let v93 : UH4 = UH4_0(v37, v92)                                          │

00:00:44 #7870 [Verbose] > │     let v94 : UH4 = UH4_0(v36, v93)                                          │

00:00:44 #7871 [Verbose] > │     let v95 : UH4 = UH4_0(v35, v94)                                          │

00:00:44 #7872 [Verbose] > │     let v96 : UH4 = UH4_0(v34, v95)                                          │

00:00:44 #7873 [Verbose] > │     let v97 : UH4 = UH4_0(v33, v96)                                          │

00:00:44 #7874 [Verbose] > │     let v98 : UH4 = UH4_0(v32, v97)                                          │

00:00:44 #7875 [Verbose] > │     let v99 : UH4 = UH4_0(v31, v98)                                          │

00:00:44 #7876 [Verbose] > │     let v100 : UH4 = UH4_0(v30, v99)                                         │

00:00:44 #7877 [Verbose] > │     let v101 : UH4 = UH4_0(v29, v100)                                        │

00:00:44 #7878 [Verbose] > │     let v102 : UH4 = UH4_0(v28, v101)                                        │

00:00:44 #7879 [Verbose] > │     let v103 : UH4 = UH4_0(v27, v102)                                        │

00:00:44 #7880 [Verbose] > │     let v104 : UH4 = UH4_0(v26, v103)                                        │

00:00:44 #7881 [Verbose] > │     let v105 : UH4 = UH4_0(v25, v104)                                        │

00:00:44 #7882 [Verbose] > │     let v106 : UH4 = UH4_0(v24, v105)                                        │

00:00:44 #7883 [Verbose] > │     let v107 : UH4 = UH4_0(v23, v106)                                        │

00:00:44 #7884 [Verbose] > │     let v108 : UH4 = UH4_0(v22, v107)                                        │

00:00:44 #7885 [Verbose] > │     let v109 : UH4 = UH4_0(v21, v108)                                        │

00:00:44 #7886 [Verbose] > │     let v110 : UH4 = UH4_0(v20, v109)                                        │

00:00:44 #7887 [Verbose] > │     let v111 : UH4 = UH4_0(v19, v110)                                        │

00:00:44 #7888 [Verbose] > │     let v112 : UH4 = UH4_0(v18, v111)                                        │

00:00:44 #7889 [Verbose] > │     let v113 : UH4 = UH4_0(v17, v112)                                        │

00:00:44 #7890 [Verbose] > │     let v114 : UH4 = UH4_0(v16, v113)                                        │

00:00:44 #7891 [Verbose] > │     let v115 : UH4 = UH4_0(v15, v114)                                        │

00:00:44 #7892 [Verbose] > │     let v116 : UH4 = UH4_0(v14, v115)                                        │

00:00:44 #7893 [Verbose] > │     let v117 : UH4 = UH4_0(v13, v116)                                        │

00:00:44 #7894 [Verbose] > │     let v118 : UH4 = UH4_0(v12, v117)                                        │

00:00:44 #7895 [Verbose] > │     let v119 : UH4 = UH4_0(v11, v118)                                        │

00:00:44 #7896 [Verbose] > │     let v120 : UH4 = UH4_0(v10, v119)                                        │

00:00:44 #7897 [Verbose] > │     let v121 : UH4 = UH4_0(v9, v120)                                         │

00:00:44 #7898 [Verbose] > │     let v122 : UH4 = UH4_0(v8, v121)                                         │

00:00:44 #7899 [Verbose] > │     let v123 : UH4 = UH4_0(v7, v122)                                         │

00:00:44 #7900 [Verbose] > │     let v124 : UH4 = UH4_0(v6, v123)                                         │

00:00:44 #7901 [Verbose] > │     let v125 : UH4 = UH4_0(v5, v124)                                         │

00:00:44 #7902 [Verbose] > │     let v126 : UH4 = UH4_0(v3, v125)                                         │

00:00:44 #7903 [Verbose] > │     UH4_0(v1, v126)                                                          │

00:00:44 #7904 [Verbose] > │ and closure143 (v0 : UH5) () : UH5 =                                         │

00:00:44 #7905 [Verbose] > │     v0                                                                       │

00:00:44 #7906 [Verbose] > │ and method5 (v0 : UH1, v1 : UH5, v2 : int32) : struct (UH5 * int32) =        │

00:00:44 #7907 [Verbose] > │     match v0 with                                                            │

00:00:44 #7908 [Verbose] > │     | UH1_0(v3, v4, v5, v6, v7, v8, v9, v10, v11, v12) -> (* StreamCons *)   │

00:00:44 #7909 [Verbose] > │         let v13 : int32 = v2 + 1                                             │

00:00:44 #7910 [Verbose] > │         let v14 : UH1 = v12 ()                                               │

00:00:44 #7911 [Verbose] > │         let v15 : (unit -> UH5) = closure143(v1)                             │

00:00:44 #7912 [Verbose] > │         let v16 : UH5 = UH5_0(v2, v3, v4, v5, v6, v7, v8, v9, v10, v11, v15) │

00:00:44 #7913 [Verbose] > │         method5(v14, v16, v13)                                               │

00:00:44 #7914 [Verbose] > │     | UH1_1 -> (* StreamNil *)                                               │

00:00:44 #7915 [Verbose] > │         struct (v1, v2)                                                      │

00:00:44 #7916 [Verbose] > │ and closure144 (v0 : UH5) () : UH5 =                                         │

00:00:44 #7917 [Verbose] > │     v0                                                                       │

00:00:44 #7918 [Verbose] > │ and method6 (v0 : UH5, v1 : UH5) : UH5 =                                     │

00:00:44 #7919 [Verbose] > │     match v0 with                                                            │

00:00:44 #7920 [Verbose] > │     | UH5_0(v2, v3, v4, v5, v6, v7, v8, v9, v10, v11, v12) -> (* StreamCons  │

00:00:44 #7921 [Verbose] > │ *)                                                                           │

00:00:44 #7922 [Verbose] > │         let v13 : UH5 = v12 ()                                               │

00:00:44 #7923 [Verbose] > │         let v14 : (unit -> UH5) = closure144(v1)                             │

00:00:44 #7924 [Verbose] > │         let v15 : UH5 = UH5_0(v2, v3, v4, v5, v6, v7, v8, v9, v10, v11, v14) │

00:00:44 #7925 [Verbose] > │         method6(v13, v15)                                                    │

00:00:44 #7926 [Verbose] > │     | UH5_1 -> (* StreamNil *)                                               │

00:00:44 #7927 [Verbose] > │         v1                                                                   │

00:00:44 #7928 [Verbose] > │ and closure145 () struct (v0 : float, v1 : float, v2 : float, v3 : float, v4 │

00:00:44 #7929 [Verbose] > │ : float, v5 : float, v6 : float, v7 : float, v8 : float) : struct (float *   │

00:00:44 #7930 [Verbose] > │ float * float) =                                                             │

00:00:44 #7931 [Verbose] > │     struct (0.0, 0.0, 0.0)                                                   │

00:00:44 #7932 [Verbose] > │ and method9 (v0 : int32, v1 : UH1) : US3 =                                   │

00:00:44 #7933 [Verbose] > │     match v1 with                                                            │

00:00:44 #7934 [Verbose] > │     | UH1_0(v2, v3, v4, v5, v6, v7, v8, v9, v10, v11) -> (* StreamCons *)    │

00:00:44 #7935 [Verbose] > │         let v12 : bool = v0 <= 0                                             │

00:00:44 #7936 [Verbose] > │         if v12 then                                                          │

00:00:44 #7937 [Verbose] > │             US3_1(v2, v3, v4, v5, v6, v7, v8, v9, v10)                       │

00:00:44 #7938 [Verbose] > │         else                                                                 │

00:00:44 #7939 [Verbose] > │             let v14 : int32 = v0 - 1                                         │

00:00:44 #7940 [Verbose] > │             let v15 : UH1 = v11 ()                                           │

00:00:44 #7941 [Verbose] > │             method9(v14, v15)                                                │

00:00:44 #7942 [Verbose] > │     | UH1_1 -> (* StreamNil *)                                               │

00:00:44 #7943 [Verbose] > │         US3_0                                                                │

00:00:44 #7944 [Verbose] > │ and closure146 () struct (v0 : float, v1 : float, v2 : float, v3 : float, v4 │

00:00:44 #7945 [Verbose] > │ : float, v5 : float, v6 : float, v7 : float, v8 : float) : struct (float *   │

00:00:44 #7946 [Verbose] > │ float * float) =                                                             │

00:00:44 #7947 [Verbose] > │     struct (0.0, 0.0, 0.0)                                                   │

00:00:44 #7948 [Verbose] > │ and method8 (v0 : int32, v1 : UH1, v2 : UH4, v3 : UH6) : UH6 =               │

00:00:44 #7949 [Verbose] > │     match v2 with                                                            │

00:00:44 #7950 [Verbose] > │     | UH4_0(v4, v5) -> (* Cons *)                                            │

00:00:44 #7951 [Verbose] > │         let v6 : UH6 = method8(v0, v1, v5, v3)                               │

00:00:44 #7952 [Verbose] > │         let v55 : (struct (float * float * float * float * float * float *   │

00:00:44 #7953 [Verbose] > │ float * float * float) -> struct (float * float * float)) =                  │

00:00:44 #7954 [Verbose] > │             match v4 with                                                    │

00:00:44 #7955 [Verbose] > │             | US1_0(v7, v8) -> (* ExternalForce *)                           │

00:00:44 #7956 [Verbose] > │                 let v9 : bool = v0 = v7                                      │

00:00:44 #7957 [Verbose] > │                 if v9 then                                                   │

00:00:44 #7958 [Verbose] > │                     v8                                                       │

00:00:44 #7959 [Verbose] > │                 else                                                         │

00:00:44 #7960 [Verbose] > │                     closure145()                                             │

00:00:44 #7961 [Verbose] > │             | US1_1(v12, v13, v14) -> (* InternalForce *)                    │

00:00:44 #7962 [Verbose] > │                 let v15 : bool = v0 = v12                                    │

00:00:44 #7963 [Verbose] > │                 let v49 : US2 =                                              │

00:00:44 #7964 [Verbose] > │                     if v15 then                                              │

00:00:44 #7965 [Verbose] > │                         let v16 : US3 = method9(v13, v1)                     │

00:00:44 #7966 [Verbose] > │                         match v16 with                                       │

00:00:44 #7967 [Verbose] > │                         | US3_0 -> (* None *)                                │

00:00:44 #7968 [Verbose] > │                             US2_0                                            │

00:00:44 #7969 [Verbose] > │                         | US3_1(v17, v18, v19, v20, v21, v22, v23, v24, v25) │

00:00:44 #7970 [Verbose] > │ -> (* Some *)                                                                │

00:00:44 #7971 [Verbose] > │                             let v26 : (struct (float * float * float * float │

00:00:44 #7972 [Verbose] > │ * float * float * float * float * float) -> struct (float * float * float))  │

00:00:44 #7973 [Verbose] > │ = v14 struct (v17, v18, v19, v20, v21, v22, v23, v24, v25)                   │

00:00:44 #7974 [Verbose] > │                             US2_1(v26)                                       │

00:00:44 #7975 [Verbose] > │                     else                                                     │

00:00:44 #7976 [Verbose] > │                         let v31 : bool = v0 = v13                            │

00:00:44 #7977 [Verbose] > │                         if v31 then                                          │

00:00:44 #7978 [Verbose] > │                             let v32 : US3 = method9(v12, v1)                 │

00:00:44 #7979 [Verbose] > │                             match v32 with                                   │

00:00:44 #7980 [Verbose] > │                             | US3_0 -> (* None *)                            │

00:00:44 #7981 [Verbose] > │                                 US2_0                                        │

00:00:44 #7982 [Verbose] > │                             | US3_1(v33, v34, v35, v36, v37, v38, v39, v40,  │

00:00:44 #7983 [Verbose] > │ v41) -> (* Some *)                                                           │

00:00:44 #7984 [Verbose] > │                                 let v42 : (struct (float * float * float *   │

00:00:44 #7985 [Verbose] > │ float * float * float * float * float * float) -> struct (float * float *    │

00:00:44 #7986 [Verbose] > │ float)) = v14 struct (v33, v34, v35, v36, v37, v38, v39, v40, v41)           │

00:00:44 #7987 [Verbose] > │                                 US2_1(v42)                                   │

00:00:44 #7988 [Verbose] > │                         else                                                 │

00:00:44 #7989 [Verbose] > │                             US2_0                                            │

00:00:44 #7990 [Verbose] > │                 match v49 with                                               │

00:00:44 #7991 [Verbose] > │                 | US2_0 -> (* None *)                                        │

00:00:44 #7992 [Verbose] > │                     closure146()                                             │

00:00:44 #7993 [Verbose] > │                 | US2_1(v50) -> (* Some *)                                   │

00:00:44 #7994 [Verbose] > │                     v50                                                      │

00:00:44 #7995 [Verbose] > │         UH6_0(v55, v6)                                                       │

00:00:44 #7996 [Verbose] > │     | UH4_1 -> (* Nil *)                                                     │

00:00:44 #7997 [Verbose] > │         v3                                                                   │

00:00:44 #7998 [Verbose] > │ and method10 (v0 : float, v1 : float, v2 : float, v3 : float, v4 : float, v5 │

00:00:44 #7999 [Verbose] > │ : float, v6 : float, v7 : float, v8 : float, v9 : UH6, v10 : UH7) : UH7 =    │

00:00:44 #8000 [Verbose] > │     match v9 with                                                            │

00:00:44 #8001 [Verbose] > │     | UH6_0(v11, v12) -> (* Cons *)                                          │

00:00:44 #8002 [Verbose] > │         let v13 : UH7 = method10(v0, v1, v2, v3, v4, v5, v6, v7, v8, v12,    │

00:00:44 #8003 [Verbose] > │ v10)                                                                         │

00:00:44 #8004 [Verbose] > │         let struct (v14 : float, v15 : float, v16 : float) = v11 struct (v0, │

00:00:44 #8005 [Verbose] > │ v1, v2, v3, v4, v5, v6, v7, v8)                                              │

00:00:44 #8006 [Verbose] > │         UH7_0(v14, v15, v16, v13)                                            │

00:00:44 #8007 [Verbose] > │     | UH6_1 -> (* Nil *)                                                     │

00:00:44 #8008 [Verbose] > │         v10                                                                  │

00:00:44 #8009 [Verbose] > │ and method11 (v0 : UH7, v1 : float, v2 : float, v3 : float) : struct (float  │

00:00:44 #8010 [Verbose] > │ * float * float) =                                                           │

00:00:44 #8011 [Verbose] > │     match v0 with                                                            │

00:00:44 #8012 [Verbose] > │     | UH7_0(v4, v5, v6, v7) -> (* Cons *)                                    │

00:00:44 #8013 [Verbose] > │         let v8 : float = v1 + v4                                             │

00:00:44 #8014 [Verbose] > │         let v9 : float = v2 + v5                                             │

00:00:44 #8015 [Verbose] > │         let v10 : float = v3 + v6                                            │

00:00:44 #8016 [Verbose] > │         method11(v7, v8, v9, v10)                                            │

00:00:44 #8017 [Verbose] > │     | UH7_1 -> (* Nil *)                                                     │

00:00:44 #8018 [Verbose] > │         struct (v1, v2, v3)                                                  │

00:00:44 #8019 [Verbose] > │ and closure147 (v0 : UH3) () : UH3 =                                         │

00:00:44 #8020 [Verbose] > │     v0                                                                       │

00:00:44 #8021 [Verbose] > │ and method7 (v0 : UH4, v1 : UH1, v2 : UH5, v3 : UH3) : UH3 =                 │

00:00:44 #8022 [Verbose] > │     match v2 with                                                            │

00:00:44 #8023 [Verbose] > │     | UH5_0(v4, v5, v6, v7, v8, v9, v10, v11, v12, v13, v14) -> (*           │

00:00:44 #8024 [Verbose] > │ StreamCons *)                                                                │

00:00:44 #8025 [Verbose] > │         let v15 : UH5 = v14 ()                                               │

00:00:44 #8026 [Verbose] > │         let v16 : UH3 = method7(v0, v1, v15, v3)                             │

00:00:44 #8027 [Verbose] > │         let v17 : UH6 = UH6_1                                                │

00:00:44 #8028 [Verbose] > │         let v18 : UH6 = method8(v4, v1, v0, v17)                             │

00:00:44 #8029 [Verbose] > │         let v19 : UH7 = UH7_1                                                │

00:00:44 #8030 [Verbose] > │         let v20 : UH7 = method10(v5, v6, v7, v8, v9, v10, v11, v12, v13,     │

00:00:44 #8031 [Verbose] > │ v18, v19)                                                                    │

00:00:44 #8032 [Verbose] > │         let v21 : float = 0.0                                                │

00:00:44 #8033 [Verbose] > │         let v22 : float = 0.0                                                │

00:00:44 #8034 [Verbose] > │         let v23 : float = 0.0                                                │

00:00:44 #8035 [Verbose] > │         let struct (v24 : float, v25 : float, v26 : float) = method11(v20,   │

00:00:44 #8036 [Verbose] > │ v21, v22, v23)                                                               │

00:00:44 #8037 [Verbose] > │         let v27 : float = v24 / v6                                           │

00:00:44 #8038 [Verbose] > │         let v28 : float = v25 / v6                                           │

00:00:44 #8039 [Verbose] > │         let v29 : float = v26 / v6                                           │

00:00:44 #8040 [Verbose] > │         let v30 : (unit -> UH3) = closure147(v16)                            │

00:00:44 #8041 [Verbose] > │         UH3_0(0.0, 0.0, v11, v12, v13, 1.0, v27, v28, v29, v30)              │

00:00:44 #8042 [Verbose] > │     | UH5_1 -> (* StreamNil *)                                               │

00:00:44 #8043 [Verbose] > │         v3                                                                   │

00:00:44 #8044 [Verbose] > │ and closure142 (v0 : UH4) (v1 : UH1) : UH3 =                                 │

00:00:44 #8045 [Verbose] > │     let v2 : UH5 = UH5_1                                                     │

00:00:44 #8046 [Verbose] > │     let v3 : int32 = 0                                                       │

00:00:44 #8047 [Verbose] > │     let struct (v4 : UH5, v5 : int32) = method5(v1, v2, v3)                  │

00:00:44 #8048 [Verbose] > │     let v6 : UH5 = UH5_1                                                     │

00:00:44 #8049 [Verbose] > │     let v7 : UH5 = method6(v4, v6)                                           │

00:00:44 #8050 [Verbose] > │     let v8 : UH3 = UH3_1                                                     │

00:00:44 #8051 [Verbose] > │     let v9 : UH3 = method7(v0, v1, v7, v8)                                   │

00:00:44 #8052 [Verbose] > │     v9                                                                       │

00:00:44 #8053 [Verbose] > │ and closure148 (v0 : (UH1 -> UH1), v1 : UH1, v2 : UH1) () : UH8 =            │

00:00:44 #8054 [Verbose] > │     let v3 : UH1 = v0 v2                                                     │

00:00:44 #8055 [Verbose] > │     let v4 : (unit -> UH8) = closure148(v0, v1, v3)                          │

00:00:44 #8056 [Verbose] > │     UH8_0(v2, v4)                                                            │

00:00:44 #8057 [Verbose] > │ and method12 (v0 : float, v1 : UH8) : US4 =                                  │

00:00:44 #8058 [Verbose] > │     match v1 with                                                            │

00:00:44 #8059 [Verbose] > │     | UH8_0(v2, v3) -> (* StreamCons *)                                      │

00:00:44 #8060 [Verbose] > │         let v4 : bool = v0 <= 0.0                                            │

00:00:44 #8061 [Verbose] > │         if v4 then                                                           │

00:00:44 #8062 [Verbose] > │             US4_1(v2)                                                        │

00:00:44 #8063 [Verbose] > │         else                                                                 │

00:00:44 #8064 [Verbose] > │             let v6 : float = v0 - 1.0                                        │

00:00:44 #8065 [Verbose] > │             let v7 : UH8 = v3 ()                                             │

00:00:44 #8066 [Verbose] > │             method12(v6, v7)                                                 │

00:00:44 #8067 [Verbose] > │     | UH8_1 -> (* StreamNil *)                                               │

00:00:44 #8068 [Verbose] > │         US4_0                                                                │

00:00:44 #8069 [Verbose] > │ and closure149 (v0 : UH9) () : UH9 =                                         │

00:00:44 #8070 [Verbose] > │     v0                                                                       │

00:00:44 #8071 [Verbose] > │ and method13 (v0 : UH1, v1 : UH9) : UH9 =                                    │

00:00:44 #8072 [Verbose] > │     match v0 with                                                            │

00:00:44 #8073 [Verbose] > │     | UH1_0(v2, v3, v4, v5, v6, v7, v8, v9, v10, v11) -> (* StreamCons *)    │

00:00:44 #8074 [Verbose] > │         let v12 : UH1 = v11 ()                                               │

00:00:44 #8075 [Verbose] > │         let v13 : UH9 = method13(v12, v1)                                    │

00:00:44 #8076 [Verbose] > │         let v14 : (unit -> UH9) = closure149(v13)                            │

00:00:44 #8077 [Verbose] > │         UH9_0(v4, v5, v6, v14)                                               │

00:00:44 #8078 [Verbose] > │     | UH1_1 -> (* StreamNil *)                                               │

00:00:44 #8079 [Verbose] > │         v1                                                                   │

00:00:44 #8080 [Verbose] > │ and method14 (v0 : UH9, v1 : UH7) : UH7 =                                    │

00:00:44 #8081 [Verbose] > │     match v0 with                                                            │

00:00:44 #8082 [Verbose] > │     | UH9_0(v2, v3, v4, v5) -> (* StreamCons *)                              │

00:00:44 #8083 [Verbose] > │         let v6 : UH9 = v5 ()                                                 │

00:00:44 #8084 [Verbose] > │         let v7 : UH7 = method14(v6, v1)                                      │

00:00:44 #8085 [Verbose] > │         UH7_0(v2, v3, v4, v7)                                                │

00:00:44 #8086 [Verbose] > │     | UH9_1 -> (* StreamNil *)                                               │

00:00:44 #8087 [Verbose] > │         v1                                                                   │

00:00:44 #8088 [Verbose] > │ and method15 (v0 : UH7, v1 : UH7) : UH7 =                                    │

00:00:44 #8089 [Verbose] > │     match v0 with                                                            │

00:00:44 #8090 [Verbose] > │     | UH7_0(v2, v3, v4, v5) -> (* Cons *)                                    │

00:00:44 #8091 [Verbose] > │         let v6 : UH7 = method15(v5, v1)                                      │

00:00:44 #8092 [Verbose] > │         UH7_0(v2, v3, v4, v6)                                                │

00:00:44 #8093 [Verbose] > │     | UH7_1 -> (* Nil *)                                                     │

00:00:44 #8094 [Verbose] > │         v1                                                                   │

00:00:44 #8095 [Verbose] > │ and method16 (v0 : UH7, v1 : UH10) : UH10 =                                  │

00:00:44 #8096 [Verbose] > │     match v0 with                                                            │

00:00:44 #8097 [Verbose] > │     | UH7_0(v2, v3, v4, v5) -> (* Cons *)                                    │

00:00:44 #8098 [Verbose] > │         let v6 : UH10 = method16(v5, v1)                                     │

00:00:44 #8099 [Verbose] > │         UH10_0(v2, v3, v6)                                                   │

00:00:44 #8100 [Verbose] > │     | UH7_1 -> (* Nil *)                                                     │

00:00:44 #8101 [Verbose] > │         v1                                                                   │

00:00:44 #8102 [Verbose] > │ and closure150 (v0 : UH11) () : UH11 =                                       │

00:00:44 #8103 [Verbose] > │     v0                                                                       │

00:00:44 #8104 [Verbose] > │ and method17 (v0 : UH10, v1 : UH11) : UH11 =                                 │

00:00:44 #8105 [Verbose] > │     match v0 with                                                            │

00:00:44 #8106 [Verbose] > │     | UH10_0(v2, v3, v4) -> (* Cons *)                                       │

00:00:44 #8107 [Verbose] > │         let v5 : UH11 = method17(v4, v1)                                     │

00:00:44 #8108 [Verbose] > │         let v6 : (unit -> UH11) = closure150(v5)                             │

00:00:44 #8109 [Verbose] > │         UH11_0(v2, v3, v6)                                                   │

00:00:44 #8110 [Verbose] > │     | UH10_1 -> (* Nil *)                                                    │

00:00:44 #8111 [Verbose] > │         v1                                                                   │

00:00:44 #8112 [Verbose] > │ and closure151 (v0 : UH0) () : UH0 =                                         │

00:00:44 #8113 [Verbose] > │     v0                                                                       │

00:00:44 #8114 [Verbose] > │ and closure152 (v0 : UH0) () : UH0 =                                         │

00:00:44 #8115 [Verbose] > │     v0                                                                       │

00:00:44 #8116 [Verbose] > │ and method18 (v0 : UH11) : struct (UH0 * UH0) =                              │

00:00:44 #8117 [Verbose] > │     match v0 with                                                            │

00:00:44 #8118 [Verbose] > │     | UH11_0(v1, v2, v3) -> (* StreamCons *)                                 │

00:00:44 #8119 [Verbose] > │         let v4 : UH11 = v3 ()                                                │

00:00:44 #8120 [Verbose] > │         let struct (v5 : UH0, v6 : UH0) = method18(v4)                       │

00:00:44 #8121 [Verbose] > │         let v7 : (unit -> UH0) = closure151(v5)                              │

00:00:44 #8122 [Verbose] > │         let v8 : UH0 = UH0_0(v1, v7)                                         │

00:00:44 #8123 [Verbose] > │         let v9 : (unit -> UH0) = closure152(v6)                              │

00:00:44 #8124 [Verbose] > │         let v10 : UH0 = UH0_0(v2, v9)                                        │

00:00:44 #8125 [Verbose] > │         struct (v8, v10)                                                     │

00:00:44 #8126 [Verbose] > │     | UH11_1 -> (* StreamNil *)                                              │

00:00:44 #8127 [Verbose] > │         let v11 : UH0 = UH0_1                                                │

00:00:44 #8128 [Verbose] > │         let v12 : UH0 = UH0_1                                                │

00:00:44 #8129 [Verbose] > │         struct (v11, v12)                                                    │

00:00:44 #8130 [Verbose] > │ and method19 (v0 : UH0, v1 : UH12) : UH12 =                                  │

00:00:44 #8131 [Verbose] > │     match v0 with                                                            │

00:00:44 #8132 [Verbose] > │     | UH0_0(v2, v3) -> (* StreamCons *)                                      │

00:00:44 #8133 [Verbose] > │         let v4 : UH0 = v3 ()                                                 │

00:00:44 #8134 [Verbose] > │         let v5 : UH12 = method19(v4, v1)                                     │

00:00:44 #8135 [Verbose] > │         UH12_0(v2, v5)                                                       │

00:00:44 #8136 [Verbose] > │     | UH0_1 -> (* StreamNil *)                                               │

00:00:44 #8137 [Verbose] > │         v1                                                                   │

00:00:44 #8138 [Verbose] > │ and method21 (v0 : UH12, v1 : int32) : int32 =                               │

00:00:44 #8139 [Verbose] > │     match v0 with                                                            │

00:00:44 #8140 [Verbose] > │     | UH12_0(v2, v3) -> (* Cons *)                                           │

00:00:44 #8141 [Verbose] > │         let v4 : int32 = v1 + 1                                              │

00:00:44 #8142 [Verbose] > │         method21(v3, v4)                                                     │

00:00:44 #8143 [Verbose] > │     | UH12_1 -> (* Nil *)                                                    │

00:00:44 #8144 [Verbose] > │         v1                                                                   │

00:00:44 #8145 [Verbose] > │ and method22 (v0 : (float []), v1 : UH12, v2 : int32) : int32 =              │

00:00:44 #8146 [Verbose] > │     match v1 with                                                            │

00:00:44 #8147 [Verbose] > │     | UH12_0(v3, v4) -> (* Cons *)                                           │

00:00:44 #8148 [Verbose] > │         v0.[int v2] <- v3                                                    │

00:00:44 #8149 [Verbose] > │         let v5 : int32 = v2 + 1                                              │

00:00:44 #8150 [Verbose] > │         method22(v0, v4, v5)                                                 │

00:00:44 #8151 [Verbose] > │     | UH12_1 -> (* Nil *)                                                    │

00:00:44 #8152 [Verbose] > │         v2                                                                   │

00:00:44 #8153 [Verbose] > │ and method20 (v0 : UH12) : (float []) =                                      │

00:00:44 #8154 [Verbose] > │     let v1 : int32 = 0                                                       │

00:00:44 #8155 [Verbose] > │     let v2 : int32 = method21(v0, v1)                                        │

00:00:44 #8156 [Verbose] > │     let v3 : (float []) = Array.zeroCreate<float> (v2)                       │

00:00:44 #8157 [Verbose] > │     let v4 : int32 = 0                                                       │

00:00:44 #8158 [Verbose] > │     let v5 : int32 = method22(v3, v0, v4)                                    │

00:00:44 #8159 [Verbose] > │     v3                                                                       │

00:00:44 #8160 [Verbose] > │ and closure153 (v0 : UH2) () : UH2 =                                         │

00:00:44 #8161 [Verbose] > │     v0                                                                       │

00:00:44 #8162 [Verbose] > │ and method1 (v0 : UH1, v1 : UH0, v2 : UH2) : UH2 =                           │

00:00:44 #8163 [Verbose] > │     match v1 with                                                            │

00:00:44 #8164 [Verbose] > │     | UH0_0(v3, v4) -> (* StreamCons *)                                      │

00:00:44 #8165 [Verbose] > │         let v5 : UH0 = v4 ()                                                 │

00:00:44 #8166 [Verbose] > │         let v6 : UH2 = method1(v0, v5, v2)                                   │

00:00:44 #8167 [Verbose] > │         let v7 : ((UH1 -> UH3) -> (UH1 -> UH1)) = method2()                  │

00:00:44 #8168 [Verbose] > │         let v8 : UH4 = method4()                                             │

00:00:44 #8169 [Verbose] > │         let v9 : (UH1 -> UH3) = closure142(v8)                               │

00:00:44 #8170 [Verbose] > │         let v10 : (UH1 -> UH1) = v7 v9                                       │

00:00:44 #8171 [Verbose] > │         let v11 : UH1 = v10 v0                                               │

00:00:44 #8172 [Verbose] > │         let v12 : (unit -> UH8) = closure148(v10, v0, v11)                   │

00:00:44 #8173 [Verbose] > │         let v13 : UH8 = UH8_0(v0, v12)                                       │

00:00:44 #8174 [Verbose] > │         let v14 : US4 = method12(v3, v13)                                    │

00:00:44 #8175 [Verbose] > │         let v18 : UH1 =                                                      │

00:00:44 #8176 [Verbose] > │             match v14 with                                                   │

00:00:44 #8177 [Verbose] > │             | US4_0 -> (* None *)                                            │

00:00:44 #8178 [Verbose] > │                 failwith<UH1> "Option does not have a value."                │

00:00:44 #8179 [Verbose] > │             | US4_1(v15) -> (* Some *)                                       │

00:00:44 #8180 [Verbose] > │                 v15                                                          │

00:00:44 #8181 [Verbose] > │         let v19 : UH9 = UH9_1                                                │

00:00:44 #8182 [Verbose] > │         let v20 : UH9 = method13(v18, v19)                                   │

00:00:44 #8183 [Verbose] > │         let v21 : UH7 = UH7_1                                                │

00:00:44 #8184 [Verbose] > │         let v22 : UH7 = method14(v20, v21)                                   │

00:00:44 #8185 [Verbose] > │         let v23 : float = 0.65                                               │

00:00:44 #8186 [Verbose] > │         let v24 : float = 0.0                                                │

00:00:44 #8187 [Verbose] > │         let v25 : float = 0.0                                                │

00:00:44 #8188 [Verbose] > │         let v26 : UH7 = UH7_1                                                │

00:00:44 #8189 [Verbose] > │         let v27 : UH7 = UH7_0(v23, v24, v25, v26)                            │

00:00:44 #8190 [Verbose] > │         let v28 : UH7 = method15(v22, v27)                                   │

00:00:44 #8191 [Verbose] > │         let v29 : UH10 = UH10_1                                              │

00:00:44 #8192 [Verbose] > │         let v30 : UH10 = method16(v28, v29)                                  │

00:00:44 #8193 [Verbose] > │         let v31 : UH11 = UH11_1                                              │

00:00:44 #8194 [Verbose] > │         let v32 : UH11 = method17(v30, v31)                                  │

00:00:44 #8195 [Verbose] > │         let struct (v33 : UH0, v34 : UH0) = method18(v32)                    │

00:00:44 #8196 [Verbose] > │         let v35 : UH12 = UH12_1                                              │

00:00:44 #8197 [Verbose] > │         let v36 : UH12 = method19(v33, v35)                                  │

00:00:44 #8198 [Verbose] > │         let v37 : float = 0.0                                                │

00:00:44 #8199 [Verbose] > │         let v38 : UH12 = UH12_0(v37, v36)                                    │

00:00:44 #8200 [Verbose] > │         let v39 : (float []) = method20(v38)                                 │

00:00:44 #8201 [Verbose] > │         let v40 : UH12 = UH12_1                                              │

00:00:44 #8202 [Verbose] > │         let v41 : UH12 = method19(v34, v40)                                  │

00:00:44 #8203 [Verbose] > │         let v42 : float = 0.0                                                │

00:00:44 #8204 [Verbose] > │         let v43 : UH12 = UH12_0(v42, v41)                                    │

00:00:44 #8205 [Verbose] > │         let v44 : (float []) = method20(v43)                                 │

00:00:44 #8206 [Verbose] > │         let v45 : (unit -> UH2) = closure153(v6)                             │

00:00:44 #8207 [Verbose] > │         UH2_0(v39, v44, v45)                                                 │

00:00:44 #8208 [Verbose] > │     | UH0_1 -> (* StreamNil *)                                               │

00:00:44 #8209 [Verbose] > │         v2                                                                   │

00:00:44 #8210 [Verbose] > │ and closure154 (v0 : UH13) () : UH13 =                                       │

00:00:44 #8211 [Verbose] > │     v0                                                                       │

00:00:44 #8212 [Verbose] > │ and method23 (v0 : UH2, v1 : UH13, v2 : int32) : struct (UH13 * int32) =     │

00:00:44 #8213 [Verbose] > │     match v0 with                                                            │

00:00:44 #8214 [Verbose] > │     | UH2_0(v3, v4, v5) -> (* StreamCons *)                                  │

00:00:44 #8215 [Verbose] > │         let v6 : int32 = v2 + 1                                              │

00:00:44 #8216 [Verbose] > │         let v7 : UH2 = v5 ()                                                 │

00:00:44 #8217 [Verbose] > │         let v8 : (unit -> UH13) = closure154(v1)                             │

00:00:44 #8218 [Verbose] > │         let v9 : UH13 = UH13_0(v2, v3, v4, v8)                               │

00:00:44 #8219 [Verbose] > │         method23(v7, v9, v6)                                                 │

00:00:44 #8220 [Verbose] > │     | UH2_1 -> (* StreamNil *)                                               │

00:00:44 #8221 [Verbose] > │         struct (v1, v2)                                                      │

00:00:44 #8222 [Verbose] > │ and closure155 (v0 : UH13) () : UH13 =                                       │

00:00:44 #8223 [Verbose] > │     v0                                                                       │

00:00:44 #8224 [Verbose] > │ and method24 (v0 : UH13, v1 : UH13) : UH13 =                                 │

00:00:44 #8225 [Verbose] > │     match v0 with                                                            │

00:00:44 #8226 [Verbose] > │     | UH13_0(v2, v3, v4, v5) -> (* StreamCons *)                             │

00:00:44 #8227 [Verbose] > │         let v6 : UH13 = v5 ()                                                │

00:00:44 #8228 [Verbose] > │         let v7 : (unit -> UH13) = closure155(v1)                             │

00:00:44 #8229 [Verbose] > │         let v8 : UH13 = UH13_0(v2, v3, v4, v7)                               │

00:00:44 #8230 [Verbose] > │         method24(v6, v8)                                                     │

00:00:44 #8231 [Verbose] > │     | UH13_1 -> (* StreamNil *)                                              │

00:00:44 #8232 [Verbose] > │         v1                                                                   │

00:00:44 #8233 [Verbose] > │ and method26 (v0 : (struct (string * (float []) * (float [])) [])) : (struct │

00:00:44 #8234 [Verbose] > │ (string * (float []) * (float [])) []) =                                     │

00:00:44 #8235 [Verbose] > │     v0                                                                       │

00:00:44 #8236 [Verbose] > │ and closure156 (v0 : UH14) () : UH14 =                                       │

00:00:44 #8237 [Verbose] > │     v0                                                                       │

00:00:44 #8238 [Verbose] > │ and method25 (v0 : UH13, v1 : UH14) : UH14 =                                 │

00:00:44 #8239 [Verbose] > │     match v0 with                                                            │

00:00:44 #8240 [Verbose] > │     | UH13_0(v2, v3, v4, v5) -> (* StreamCons *)                             │

00:00:44 #8241 [Verbose] > │         let v6 : UH13 = v5 ()                                                │

00:00:44 #8242 [Verbose] > │         let v7 : UH14 = method25(v6, v1)                                     │

00:00:44 #8243 [Verbose] > │         let v8 : string = $"{v2}"                                            │

00:00:44 #8244 [Verbose] > │         let v9 : (struct (string * (float []) * (float [])) []) = [|struct   │

00:00:44 #8245 [Verbose] > │ (v8, v3, v4)|]                                                               │

00:00:44 #8246 [Verbose] > │         let v10 : (struct (string * (float []) * (float [])) []) =           │

00:00:44 #8247 [Verbose] > │ method26(v9)                                                                 │

00:00:44 #8248 [Verbose] > │         let v11 : string = "wave"                                            │

00:00:44 #8249 [Verbose] > │         let v12 : string = "position (m)"                                    │

00:00:44 #8250 [Verbose] > │         let v13 : string = "displacement (m)"                                │

00:00:44 #8251 [Verbose] > │         let v14 : (unit -> UH14) = closure156(v7)                            │

00:00:44 #8252 [Verbose] > │         UH14_0(v11, v12, v13, v10, v14)                                      │

00:00:44 #8253 [Verbose] > │     | UH13_1 -> (* StreamNil *)                                              │

00:00:44 #8254 [Verbose] > │         v1                                                                   │

00:00:44 #8255 [Verbose] > │ and method27 (v0 : UH14, v1 : UH15) : UH15 =                                 │

00:00:44 #8256 [Verbose] > │     match v0 with                                                            │

00:00:44 #8257 [Verbose] > │     | UH14_0(v2, v3, v4, v5, v6) -> (* StreamCons *)                         │

00:00:44 #8258 [Verbose] > │         let v7 : UH14 = v6 ()                                                │

00:00:44 #8259 [Verbose] > │         let v8 : UH15 = method27(v7, v1)                                     │

00:00:44 #8260 [Verbose] > │         UH15_0(v2, v3, v4, v5, v8)                                           │

00:00:44 #8261 [Verbose] > │     | UH14_1 -> (* StreamNil *)                                              │

00:00:44 #8262 [Verbose] > │         v1                                                                   │

00:00:44 #8263 [Verbose] > │ and method29 (v0 : UH15, v1 : int32) : int32 =                               │

00:00:44 #8264 [Verbose] > │     match v0 with                                                            │

00:00:44 #8265 [Verbose] > │     | UH15_0(v2, v3, v4, v5, v6) -> (* Cons *)                               │

00:00:44 #8266 [Verbose] > │         let v7 : int32 = v1 + 1                                              │

00:00:44 #8267 [Verbose] > │         method29(v6, v7)                                                     │

00:00:44 #8268 [Verbose] > │     | UH15_1 -> (* Nil *)                                                    │

00:00:44 #8269 [Verbose] > │         v1                                                                   │

00:00:44 #8270 [Verbose] > │ and method30 (v0 : (struct (string * string * string * (struct (string *     │

00:00:44 #8271 [Verbose] > │ (float []) * (float [])) [])) []), v1 : UH15, v2 : int32) : int32 =          │

00:00:44 #8272 [Verbose] > │     match v1 with                                                            │

00:00:44 #8273 [Verbose] > │     | UH15_0(v3, v4, v5, v6, v7) -> (* Cons *)                               │

00:00:44 #8274 [Verbose] > │         v0.[int v2] <- struct (v3, v4, v5, v6)                               │

00:00:44 #8275 [Verbose] > │         let v8 : int32 = v2 + 1                                              │

00:00:44 #8276 [Verbose] > │         method30(v0, v7, v8)                                                 │

00:00:44 #8277 [Verbose] > │     | UH15_1 -> (* Nil *)                                                    │

00:00:44 #8278 [Verbose] > │         v2                                                                   │

00:00:44 #8279 [Verbose] > │ and method28 (v0 : UH15) : (struct (string * string * string * (struct       │

00:00:44 #8280 [Verbose] > │ (string * (float []) * (float [])) [])) []) =                                │

00:00:44 #8281 [Verbose] > │     let v1 : int32 = 0                                                       │

00:00:44 #8282 [Verbose] > │     let v2 : int32 = method29(v0, v1)                                        │

00:00:44 #8283 [Verbose] > │     let v3 : (struct (string * string * string * (struct (string * (float [  │

00:00:44 #8284 [Verbose] > │ ]) * (float [])) [])) []) = Array.zeroCreate<struct (string * string *       │

00:00:44 #8285 [Verbose] > │ string * (struct (string * (float []) * (float [])) []))> (v2)               │

00:00:44 #8286 [Verbose] > │     let v4 : int32 = 0                                                       │

00:00:44 #8287 [Verbose] > │     let v5 : int32 = method30(v3, v0, v4)                                    │

00:00:44 #8288 [Verbose] > │     v3                                                                       │

00:00:44 #8289 [Verbose] > │ and method0 () : (struct (string * string * string * (struct (string *       │

00:00:44 #8290 [Verbose] > │ (float []) * (float [])) [])) []) =                                          │

00:00:44 #8291 [Verbose] > │     let v0 : float = 0.0                                                     │

00:00:44 #8292 [Verbose] > │     let v1 : (unit -> UH0) = closure0()                                      │

00:00:44 #8293 [Verbose] > │     let v2 : UH0 = UH0_0(v0, v1)                                             │

00:00:44 #8294 [Verbose] > │     let v3 : float = 0.0                                                     │

00:00:44 #8295 [Verbose] > │     let v4 : float = 8.422578125E-06                                         │

00:00:44 #8296 [Verbose] > │     let v5 : float = 0.01                                                    │

00:00:44 #8297 [Verbose] > │     let v6 : float = 0.0007224452478461068                                   │

00:00:44 #8298 [Verbose] > │     let v7 : float = 0.0                                                     │

00:00:44 #8299 [Verbose] > │     let v8 : float = 0.0                                                     │

00:00:44 #8300 [Verbose] > │     let v9 : float = 0.0                                                     │

00:00:44 #8301 [Verbose] > │     let v10 : float = 0.0                                                    │

00:00:44 #8302 [Verbose] > │     let v11 : float = 0.0                                                    │

00:00:44 #8303 [Verbose] > │     let v12 : (unit -> UH1) = closure66()                                    │

00:00:44 #8304 [Verbose] > │     let v13 : UH1 = UH1_0(v3, v4, v5, v6, v7, v8, v9, v10, v11, v12)         │

00:00:44 #8305 [Verbose] > │     let v14 : UH2 = UH2_1                                                    │

00:00:44 #8306 [Verbose] > │     let v15 : UH2 = method1(v13, v2, v14)                                    │

00:00:44 #8307 [Verbose] > │     let v16 : UH13 = UH13_1                                                  │

00:00:44 #8308 [Verbose] > │     let v17 : int32 = 0                                                      │

00:00:44 #8309 [Verbose] > │     let struct (v18 : UH13, v19 : int32) = method23(v15, v16, v17)           │

00:00:44 #8310 [Verbose] > │     let v20 : UH13 = UH13_1                                                  │

00:00:44 #8311 [Verbose] > │     let v21 : UH13 = method24(v18, v20)                                      │

00:00:44 #8312 [Verbose] > │     let v22 : UH14 = UH14_1                                                  │

00:00:44 #8313 [Verbose] > │     let v23 : UH14 = method25(v21, v22)                                      │

00:00:44 #8314 [Verbose] > │     let v24 : UH15 = UH15_1                                                  │

00:00:44 #8315 [Verbose] > │     let v25 : UH15 = method27(v23, v24)                                      │

00:00:44 #8316 [Verbose] > │     method28(v25)                                                            │

00:00:44 #8317 [Verbose] > │ method0()                                                                    │

00:00:44 #8318 [Verbose] > │                                                                              │

00:00:44 #8319 [Verbose] > │                                                                              │

00:00:44 #8320 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:44 #8321 [Verbose] >

00:00:44 #8322 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────

00:00:44 #8323 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮

00:00:44 #8324 [Verbose] > │ ## end                                                                       │

00:00:44 #8325 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:46 #8326 [Verbose] > [NbConvertApp] Converting notebook physics.dib.ipynb to html

00:00:46 #8327 [Verbose] > C:\Users\i574n\scoop\apps\python\current\Lib\site-packages\nbformat\__init__.py:93: MissingIDFieldWarning: Code cell is missing an id field, this will become a hard error in future nbformat versions. You may want to use `normalize()` on your notebooks before validations (available since nbformat 5.1.4). Previous versions of nbformat are fixing this issue transparently, and will stop doing so in the future.

00:00:46 #8328 [Verbose] >   validate(nb)

00:00:47 #8329 [Verbose] > C:\Users\i574n\scoop\apps\python\current\Lib\site-packages\nbconvert\filters\highlight.py:71: UserWarning: IPython3 lexer unavailable, falling back on Python 3

00:00:47 #8330 [Verbose] >   return _pygments_highlight(

00:00:50 #8331 [Verbose] > [NbConvertApp] Writing 2731137 bytes to physics.dib.html

00:00:51 #8332 [Debug] executeAsync / exitCode: 0 / output.Length: 568877

00:00:51 #8333 [Debug] main / executeCommand / exitCode: 0

00:00:00 #1 [Debug] writeDibCode / output: Spi / path: am'.dib

00:00:00 #1 [Debug] writeDibCode / output: Spi / path: testing.dib

00:00:00 #1 [Debug] writeDibCode / output: Spi / path: optionm'.dib

00:00:00 #1 [Debug] writeDibCode / output: Spi / path: math.dib

00:00:00 #1 [Debug] writeDibCode / output: Spi / path: console.dib

00:00:00 #1 [Debug] writeDibCode / output: Spi / path: listm'.dib

00:00:00 #1 [Debug] writeDibCode / output: Spi / path: common.dib

00:00:00 #1 [Debug] writeDibCode / output: Spi / path: benchmark.dib

00:00:00 #6 [Debug] parseDibCode / output: Spi / file: common.dib

00:00:00 #6 [Debug] parseDibCode / output: Spi / file: testing.dib

00:00:00 #6 [Debug] parseDibCode / output: Spi / file: console.dib

00:00:00 #6 [Debug] parseDibCode / output: Spi / file: math.dib

00:00:00 #7 [Debug] parseDibCode / output: Spi / file: listm'.dib

00:00:00 #6 [Debug] parseDibCode / output: Spi / file: am'.dib

00:00:00 #9 [Debug] parseDibCode / output: Spi / file: benchmark.dib

00:00:00 #8 [Debug] parseDibCode / output: Spi / file: optionm'.dib

00:00:00 #10 [Debug] writeDibCode / output: Spi / path: seq.dib

00:00:00 #10 [Debug] writeDibCode / output: Spi / path: stream.dib

00:00:00 #11 [Debug] writeDibCode / output: Spi / path: util.dib

00:00:00 #13 [Debug] parseDibCode / output: Spi / file: stream.dib

00:00:00 #12 [Debug] parseDibCode / output: Spi / file: seq.dib

00:00:00 #15 [Debug] writeDibCode / output: Spi / path: rust.dib

00:00:00 #14 [Debug] parseDibCode / output: Spi / file: util.dib

00:00:00 #16 [Debug] parseDibCode / output: Spi / file: rust.dib

00:00:00 #17 [Debug] writeDibCode / output: Spi / path: physics.dib

00:00:00 #18 [Debug] parseDibCode / output: Spi / file: physics.dib

In [ ]:
{ . "$ScriptDir/../apps/chat/build.ps1" } | Invoke-Block
    Finished release [optimized] target(s) in 0.62s

## 7

   Compiling chat_contract_tests v0.0.1 (/mnt/c/home/git/polyglot/apps/chat/contract/tests)

    Finished release [optimized] target(s) in 1m 44s

     Running `/mnt/c/home/git/polyglot/target/release/chat_contract_tests`





new: ExecutionFinalResult {

    total_gas_burnt: NearGas {

        inner: 5296362707514,

    },

    transaction: ExecutionOutcome {

        transaction_hash: 9KQAMTnuGrMtAHsncrvC1uzhGLzK9ezZt7ZHcL5TKMp1,

        block_hash: BvF2evNq8EFN28qFhvxjgDHYrxpxqZSkxLZfgT63iDxd,

        logs: [],

        receipt_ids: [

            9nkc8svuQVPHNVxruAKp4AtBEFEhQs1YTKZdc3YEBHjq,

        ],

        gas_burnt: NearGas {

            inner: 2427927707802,

        },

        tokens_burnt: NearToken {

            inner: 242792770780200000000,

        },

        executor_id: AccountId(

            "dev-20231130130734-61510924391537",

        ),

        status: SuccessReceiptId(9nkc8svuQVPHNVxruAKp4AtBEFEhQs1YTKZdc3YEBHjq),

    },

    receipts: [

        ExecutionOutcome {

            transaction_hash: 9nkc8svuQVPHNVxruAKp4AtBEFEhQs1YTKZdc3YEBHjq,

            block_hash: BvF2evNq8EFN28qFhvxjgDHYrxpxqZSkxLZfgT63iDxd,

            logs: [],

            receipt_ids: [

                7y8whDVtZEUY61cmqXf1Sqkm6hE1RZQDd51NREueGyXq,

            ],

            gas_burnt: NearGas {

                inner: 2645252437212,

            },

            tokens_burnt: NearToken {

                inner: 264525243721200000000,

            },

            executor_id: AccountId(

                "dev-20231130130734-61510924391537",

            ),

            status: SuccessValue(''),

        },

        ExecutionOutcome {

            transaction_hash: 7y8whDVtZEUY61cmqXf1Sqkm6hE1RZQDd51NREueGyXq,

            block_hash: D28t7793tPoGLHgRkjm8NCsCKdBogrmFV8HoHDW7BpfM,

            logs: [],

            receipt_ids: [],

            gas_burnt: NearGas {

                inner: 223182562500,

            },

            tokens_burnt: NearToken {

                inner: 0,

            },

            executor_id: AccountId(

                "dev-20231130130734-61510924391537",

            ),

            status: SuccessValue(''),

        },

    ],

    status: SuccessValue(''),

}

total_gas_burnt_usd: 0.003537970288619352

outcome (success: true):

  outcome_gas_burnt_usd: 0.001621855708811736

  outcome_tokens_burnt_usd: 0.0

outcome (success: true):

  outcome_gas_burnt_usd: 0.001767028628057616

  outcome_tokens_burnt_usd: 0.0

outcome (success: true):

  outcome_gas_burnt_usd: 0.00014908595175

  outcome_tokens_burnt_usd: 0.0





claim_alias(contract, ''): ExecutionFinalResult {

    total_gas_burnt: NearGas {

        inner: 5293541837944,

    },

    transaction: ExecutionOutcome {

        transaction_hash: 8cgeRxXPgfbFNHACf5NewXLGsGefM7yVk2LBYi7JKgDL,

        block_hash: AKnzoFJk8A2jdCnt2tWbqD37upfLqwrqzQFzYhUm96WK,

        logs: [],

        receipt_ids: [

            4zpj1cXqhtgEk6gDmpamZnwPV3PNxmnycPXAq9AFPdeo,

        ],

        gas_burnt: NearGas {

            inner: 2427972426482,

        },

        tokens_burnt: NearToken {

            inner: 242797242648200000000,

        },

        executor_id: AccountId(

            "dev-20231130130734-61510924391537",

        ),

        status: SuccessReceiptId(4zpj1cXqhtgEk6gDmpamZnwPV3PNxmnycPXAq9AFPdeo),

    },

    receipts: [

        ExecutionOutcome {

            transaction_hash: 4zpj1cXqhtgEk6gDmpamZnwPV3PNxmnycPXAq9AFPdeo,

            block_hash: AKnzoFJk8A2jdCnt2tWbqD37upfLqwrqzQFzYhUm96WK,

            logs: [

                "claim_alias / alias: \"\" / account_id: AccountId(\n    \"dev-20231130130734-61510924391537\",\n) / timestamp: 1701349656696600917",

            ],

            receipt_ids: [

                BvNoJoRzFEBfNegKzZ857bNxLqZsLu3h9n2PkYnjRhXs,

            ],

            gas_burnt: NearGas {

                inner: 2642386848962,

            },

            tokens_burnt: NearToken {

                inner: 264238684896200000000,

            },

            executor_id: AccountId(

                "dev-20231130130734-61510924391537",

            ),

            status: Failure(ActionError(ActionError { index: Some(0), kind: FunctionCallError(ExecutionError("Smart contract panicked: Invalid alias")) })),

        },

        ExecutionOutcome {

            transaction_hash: BvNoJoRzFEBfNegKzZ857bNxLqZsLu3h9n2PkYnjRhXs,

            block_hash: Ceq7wqm7nK8kqwWbhHx5SQuc62WxwMeS7AFBgKRiEuNG,

            logs: [],

            receipt_ids: [],

            gas_burnt: NearGas {

                inner: 223182562500,

            },

            tokens_burnt: NearToken {

                inner: 0,

            },

            executor_id: AccountId(

                "dev-20231130130734-61510924391537",

            ),

            status: SuccessValue(''),

        },

    ],

    status: Failure(ActionError(ActionError { index: Some(0), kind: FunctionCallError(ExecutionError("Smart contract panicked: Invalid alias")) })),

}

total_gas_burnt_usd: 0.0035360859477465913

outcome (success: true):

  outcome_gas_burnt_usd: 0.001621885580889976

  outcome_tokens_burnt_usd: 0.0

outcome (success: false):

  outcome_gas_burnt_usd: 0.0017651144151066159

  outcome_tokens_burnt_usd: 0.0

outcome (success: true):

  outcome_gas_burnt_usd: 0.00014908595175

  outcome_tokens_burnt_usd: 0.0





dev_create_account(account1): Account {

    id: AccountId(

        "dev-20231130130737-54291783609714",

    ),

}





generate_cid_borsh(account1): ViewResultDetails {

    result: [

        59,

        0,

        0,

        0,

        98,

        97,

        102,

        107,

        114,

        101,

        105,

        104,

        100,

        119,

        100,

        99,

        101,

        102,

        103,

        104,

        52,

        100,

        113,

        107,

        106,

        118,

        54,

        55,

        117,

        122,

        99,

        109,

        119,

        55,

        111,

        106,

        101,

        101,

        54,

        120,

        101,

        100,

        122,

        100,

        101,

        116,

        111,

        106,

        117,

        122,

        106,

        101,

        118,

        116,

        101,

        110,

        120,

        113,

        117,

        118,

        121,

        107,

        117,

    ],

    logs: [],

}





claim_alias(account1, alias1): ExecutionFinalResult {

    total_gas_burnt: NearGas {

        inner: 5921102413525,

    },

    transaction: ExecutionOutcome {

        transaction_hash: Fj65YiR2MHRSGoNucpL39y7bxzA7Zf4qqYnzczest5R3,

        block_hash: HPBCZBz2dXzwttBTxKfAKnBYGKPWmRT9XCYbdzFWk6XQ,

        logs: [],

        receipt_ids: [

            HbmFuDMrgbdTbdWZcQXHW9BHkX8RcQGLhui3B91Ky8uX,

        ],

        gas_burnt: NearGas {

            inner: 2427985842086,

        },

        tokens_burnt: NearToken {

            inner: 242798584208600000000,

        },

        executor_id: AccountId(

            "dev-20231130130737-54291783609714",

        ),

        status: SuccessReceiptId(HbmFuDMrgbdTbdWZcQXHW9BHkX8RcQGLhui3B91Ky8uX),

    },

    receipts: [

        ExecutionOutcome {

            transaction_hash: HbmFuDMrgbdTbdWZcQXHW9BHkX8RcQGLhui3B91Ky8uX,

            block_hash: 3tuytsMKt38MsFtsjwq44AR6dSeAu3ayfkc3mW8iNF5r,

            logs: [

                "claim_alias / alias: \"alias1\" / account_id: AccountId(\n    \"dev-20231130130737-54291783609714\",\n) / timestamp: 1701349658924912656",

            ],

            receipt_ids: [

                E9soRHs447cjGRwsLkiD9nNsQT6jcWfcmzS5zRchRhNm,

            ],

            gas_burnt: NearGas {

                inner: 3269934008939,

            },

            tokens_burnt: NearToken {

                inner: 326993400893900000000,

            },

            executor_id: AccountId(

                "dev-20231130130734-61510924391537",

            ),

            status: SuccessValue(''),

        },

        ExecutionOutcome {

            transaction_hash: E9soRHs447cjGRwsLkiD9nNsQT6jcWfcmzS5zRchRhNm,

            block_hash: A6ruvBRRoMtta3Yc8F6m6pWUqGiGW9HSd4TLyvsFErWL,

            logs: [],

            receipt_ids: [],

            gas_burnt: NearGas {

                inner: 223182562500,

            },

            tokens_burnt: NearToken {

                inner: 0,

            },

            executor_id: AccountId(

                "dev-20231130130737-54291783609714",

            ),

            status: SuccessValue(''),

        },

    ],

    status: SuccessValue(''),

}

total_gas_burnt_usd: 0.0039552964122347

outcome (success: true):

  outcome_gas_burnt_usd: 0.0016218945425134478

  outcome_tokens_burnt_usd: 0.0

outcome (success: true):

  outcome_gas_burnt_usd: 0.0021843159179712516

  outcome_tokens_burnt_usd: 0.0

outcome (success: true):

  outcome_gas_burnt_usd: 0.00014908595175

  outcome_tokens_burnt_usd: 0.0





claim_alias(account1, alias1): ExecutionFinalResult {

    total_gas_burnt: NearGas {

        inner: 5562942516460,

    },

    transaction: ExecutionOutcome {

        transaction_hash: HstfpJwhqYAMsS1UatnFCftEDx2kw5azU1fRekuMmh6p,

        block_hash: 6s3p1BsZhZCDUv51UURY7CiYVX9to38FMkLh7YxFDaqV,

        logs: [],

        receipt_ids: [

            7wNm98S2HbfEGg8fFKuqXoCNpwLjXDpkDQeffeSwquSf,

        ],

        gas_burnt: NearGas {

            inner: 2427985842086,

        },

        tokens_burnt: NearToken {

            inner: 242798584208600000000,

        },

        executor_id: AccountId(

            "dev-20231130130737-54291783609714",

        ),

        status: SuccessReceiptId(7wNm98S2HbfEGg8fFKuqXoCNpwLjXDpkDQeffeSwquSf),

    },

    receipts: [

        ExecutionOutcome {

            transaction_hash: 7wNm98S2HbfEGg8fFKuqXoCNpwLjXDpkDQeffeSwquSf,

            block_hash: 38rZCJJcwsHeauFgmETTQwmEcCcLK6Nm1wQFe7hnVeYg,

            logs: [

                "claim_alias / alias: \"alias1\" / account_id: AccountId(\n    \"dev-20231130130737-54291783609714\",\n) / timestamp: 1701349659939978728",

                "Alias already claimed",

            ],

            receipt_ids: [

                DiE91P6hjGSjByDmr3wyQ83WZGLmmXatBhho73KbA9vV,

            ],

            gas_burnt: NearGas {

                inner: 2911774111874,

            },

            tokens_burnt: NearToken {

                inner: 291177411187400000000,

            },

            executor_id: AccountId(

                "dev-20231130130734-61510924391537",

            ),

            status: SuccessValue(''),

        },

        ExecutionOutcome {

            transaction_hash: DiE91P6hjGSjByDmr3wyQ83WZGLmmXatBhho73KbA9vV,

            block_hash: 7eytQPZBEkuzBAAtSA4E3dyVXJfLbnqCy3Vgo6gtrWQx,

            logs: [],

            receipt_ids: [],

            gas_burnt: NearGas {

                inner: 223182562500,

            },

            tokens_burnt: NearToken {

                inner: 0,

            },

            executor_id: AccountId(

                "dev-20231130130737-54291783609714",

            ),

            status: SuccessValue(''),

        },

    ],

    status: SuccessValue(''),

}

total_gas_burnt_usd: 0.00371604560099528

outcome (success: true):

  outcome_gas_burnt_usd: 0.0016218945425134478

  outcome_tokens_burnt_usd: 0.0

outcome (success: true):

  outcome_gas_burnt_usd: 0.0019450651067318319

  outcome_tokens_burnt_usd: 0.0

outcome (success: true):

  outcome_gas_burnt_usd: 0.00014908595175

  outcome_tokens_burnt_usd: 0.0





get_account_info(account1): Some(

    (

        "alias1",

        (

            1701349658924912656,

            0,

        ),

    ),

)





get_alias_map(account1, alias1): Some(

    {

        AccountId(

            "dev-20231130130737-54291783609714",

        ): (

            1701349658924912656,

            0,

        ),

    },

)





dev_create_account(account2): Account {

    id: AccountId(

        "dev-20231130130740-11165292526136",

    ),

}





claim_alias(alias2): ExecutionFinalResult {

    total_gas_burnt: NearGas {

        inner: 6045216105007,

    },

    transaction: ExecutionOutcome {

        transaction_hash: FTLjaZgJAV1ZF5GAwoG9CmGMEBYz6w2xtADBdmY6imCM,

        block_hash: AV3a6zMKzM8vSwWctwhkFrnBNDmxsZcNtiubEZxhm8Vc,

        logs: [],

        receipt_ids: [

            2YBFv1k7xDw3k3xmTJW3q9CUERDMk6UdPsy4HphyrW15,

        ],

        gas_burnt: NearGas {

            inner: 2427985842086,

        },

        tokens_burnt: NearToken {

            inner: 242798584208600000000,

        },

        executor_id: AccountId(

            "dev-20231130130740-11165292526136",

        ),

        status: SuccessReceiptId(2YBFv1k7xDw3k3xmTJW3q9CUERDMk6UdPsy4HphyrW15),

    },

    receipts: [

        ExecutionOutcome {

            transaction_hash: 2YBFv1k7xDw3k3xmTJW3q9CUERDMk6UdPsy4HphyrW15,

            block_hash: 3i7f4KBSYyB3ciZkYjSQdcknBVgBCuUBr8eYrHWoC48q,

            logs: [

                "claim_alias / alias: \"alias2\" / account_id: AccountId(\n    \"dev-20231130130740-11165292526136\",\n) / timestamp: 1701349661965183778",

            ],

            receipt_ids: [

                2NhAwnY7MA4gRq8Posnh3dKbjXHKDicR45sg5gsEByh1,

            ],

            gas_burnt: NearGas {

                inner: 3394047700421,

            },

            tokens_burnt: NearToken {

                inner: 339404770042100000000,

            },

            executor_id: AccountId(

                "dev-20231130130734-61510924391537",

            ),

            status: SuccessValue(''),

        },

        ExecutionOutcome {

            transaction_hash: 2NhAwnY7MA4gRq8Posnh3dKbjXHKDicR45sg5gsEByh1,

            block_hash: 61WM4fsJnqFoDp9Pu2pzsbjuCkXgHb9AZyFmCgVJM1qo,

            logs: [],

            receipt_ids: [],

            gas_burnt: NearGas {

                inner: 223182562500,

            },

            tokens_burnt: NearToken {

                inner: 0,

            },

            executor_id: AccountId(

                "dev-20231130130740-11165292526136",

            ),

            status: SuccessValue(''),

        },

    ],

    status: SuccessValue(''),

}

total_gas_burnt_usd: 0.004038204358144676

outcome (success: true):

  outcome_gas_burnt_usd: 0.0016218945425134478

  outcome_tokens_burnt_usd: 0.0

outcome (success: true):

  outcome_gas_burnt_usd: 0.002267223863881228

  outcome_tokens_burnt_usd: 0.0

outcome (success: true):

  outcome_gas_burnt_usd: 0.00014908595175

  outcome_tokens_burnt_usd: 0.0





get_account_info(account2): Some(

    (

        "alias2",

        (

            1701349661965183778,

            0,

        ),

    ),

)





get_alias_map_borsh(alias2): Some(

    {

        AccountId(

            "dev-20231130130740-11165292526136",

        ): (

            1701349661965183778,

            0,

        ),

    },

)





claim_alias(account2, alias1): ExecutionFinalResult {

    total_gas_burnt: NearGas {

        inner: 6108970657774,

    },

    transaction: ExecutionOutcome {

        transaction_hash: 5JLBECoQ2QEQ6iLsHAKc9tfCCjv2HqE4W4Qb9NPYLn6T,

        block_hash: 2TV2xeuxov7rFqi3BdxzQgNsFCwKc1feJ32kftJh1cBy,

        logs: [],

        receipt_ids: [

            9nMd7Z58xz9sAmrmoYxuvN9sFfjLcmJNimpBQxc8dpzb,

        ],

        gas_burnt: NearGas {

            inner: 2427985842086,

        },

        tokens_burnt: NearToken {

            inner: 242798584208600000000,

        },

        executor_id: AccountId(

            "dev-20231130130740-11165292526136",

        ),

        status: SuccessReceiptId(9nMd7Z58xz9sAmrmoYxuvN9sFfjLcmJNimpBQxc8dpzb),

    },

    receipts: [

        ExecutionOutcome {

            transaction_hash: 9nMd7Z58xz9sAmrmoYxuvN9sFfjLcmJNimpBQxc8dpzb,

            block_hash: A62yv4Ymr7KVLwQ78Ajcgny6XyTKtC8S8XyPPX6KXUny,

            logs: [

                "claim_alias / alias: \"alias1\" / account_id: AccountId(\n    \"dev-20231130130740-11165292526136\",\n) / timestamp: 1701349663178128111",

            ],

            receipt_ids: [

                72THVDfGwXC7v49meKGJqJTjonz5ZF7gnpeWXPWhLwdd,

            ],

            gas_burnt: NearGas {

                inner: 3457802253188,

            },

            tokens_burnt: NearToken {

                inner: 345780225318800000000,

            },

            executor_id: AccountId(

                "dev-20231130130734-61510924391537",

            ),

            status: SuccessValue(''),

        },

        ExecutionOutcome {

            transaction_hash: 72THVDfGwXC7v49meKGJqJTjonz5ZF7gnpeWXPWhLwdd,

            block_hash: HZuussUcJSa1MvJ6shwNfvr3TysT5pZybEgsBRaXDTnh,

            logs: [],

            receipt_ids: [],

            gas_burnt: NearGas {

                inner: 223182562500,

            },

            tokens_burnt: NearToken {

                inner: 0,

            },

            executor_id: AccountId(

                "dev-20231130130740-11165292526136",

            ),

            status: SuccessValue(''),

        },

    ],

    status: SuccessValue(''),

}

total_gas_burnt_usd: 0.004080792399393032

outcome (success: true):

  outcome_gas_burnt_usd: 0.0016218945425134478

  outcome_tokens_burnt_usd: 0.0

outcome (success: true):

  outcome_gas_burnt_usd: 0.002309811905129584

  outcome_tokens_burnt_usd: 0.0

outcome (success: true):

  outcome_gas_burnt_usd: 0.00014908595175

  outcome_tokens_burnt_usd: 0.0





get_account_info(account2): Some(

    (

        "alias1",

        (

            1701349663178128111,

            1,

        ),

    ),

)





get_alias_map(account2, alias1): Some(

    {

        AccountId(

            "dev-20231130130740-11165292526136",

        ): (

            1701349663178128111,

            1,

        ),

        AccountId(

            "dev-20231130130737-54291783609714",

        ): (

            1701349658924912656,

            0,

        ),

    },

)





get_alias_map(account2, alias2): Some(

    {},

)





claim_alias(account1, alias2): ExecutionFinalResult {

    total_gas_burnt: NearGas {

        inner: 6104801753122,

    },

    transaction: ExecutionOutcome {

        transaction_hash: HvtVBGYRRFUj9aUPNY6LRsvFP5qpynRnKwWBixnLFtNY,

        block_hash: GoYHjyQhCoN9q7aw67NU4GnYnXwoKj7nLhHKW6wrgitj,

        logs: [],

        receipt_ids: [

            3ivFzZAGm1RWcf6Y5zx1ysEy8XbbPpFMJPfJi5rUx1A6,

        ],

        gas_burnt: NearGas {

            inner: 2427985842086,

        },

        tokens_burnt: NearToken {

            inner: 242798584208600000000,

        },

        executor_id: AccountId(

            "dev-20231130130737-54291783609714",

        ),

        status: SuccessReceiptId(3ivFzZAGm1RWcf6Y5zx1ysEy8XbbPpFMJPfJi5rUx1A6),

    },

    receipts: [

        ExecutionOutcome {

            transaction_hash: 3ivFzZAGm1RWcf6Y5zx1ysEy8XbbPpFMJPfJi5rUx1A6,

            block_hash: CP3F9rsLAP94rGL8QiQY1jyp81nstZryjknPjB9oxroU,

            logs: [

                "claim_alias / alias: \"alias2\" / account_id: AccountId(\n    \"dev-20231130130737-54291783609714\",\n) / timestamp: 1701349664191001878",

            ],

            receipt_ids: [

                7eUyinFLhT8phMNzz2kWi4X3QRCVspXd7RmyZJbbEXy5,

            ],

            gas_burnt: NearGas {

                inner: 3453633348536,

            },

            tokens_burnt: NearToken {

                inner: 345363334853600000000,

            },

            executor_id: AccountId(

                "dev-20231130130734-61510924391537",

            ),

            status: SuccessValue(''),

        },

        ExecutionOutcome {

            transaction_hash: 7eUyinFLhT8phMNzz2kWi4X3QRCVspXd7RmyZJbbEXy5,

            block_hash: 7AEhWRkRW2jDfxkmgNkMtqfNPLhkVpnmhmNKToTNhBeb,

            logs: [],

            receipt_ids: [],

            gas_burnt: NearGas {

                inner: 223182562500,

            },

            tokens_burnt: NearToken {

                inner: 0,

            },

            executor_id: AccountId(

                "dev-20231130130737-54291783609714",

            ),

            status: SuccessValue(''),

        },

    ],

    status: SuccessValue(''),

}

total_gas_burnt_usd: 0.004078007571085496

outcome (success: true):

  outcome_gas_burnt_usd: 0.0016218945425134478

  outcome_tokens_burnt_usd: 0.0

outcome (success: true):

  outcome_gas_burnt_usd: 0.002307027076822048

  outcome_tokens_burnt_usd: 0.0

outcome (success: true):

  outcome_gas_burnt_usd: 0.00014908595175

  outcome_tokens_burnt_usd: 0.0





get_account_info(account1): Some(

    (

        "alias2",

        (

            1701349664191001878,

            0,

        ),

    ),

)





get_alias_map(account1, alias2): Some(

    {

        AccountId(

            "dev-20231130130737-54291783609714",

        ): (

            1701349664191001878,

            0,

        ),

    },

)





get_alias_map(account1, alias1): Some(

    {

        AccountId(

            "dev-20231130130740-11165292526136",

        ): (

            1701349663178128111,

            1,

        ),

    },

)





claim_alias(account1, alias1): ExecutionFinalResult {

    total_gas_burnt: NearGas {

        inner: 6108995340454,

    },

    transaction: ExecutionOutcome {

        transaction_hash: qijbh3JFMondLbVt91Qp7wSxo5EWptofEUzFCgMzMhJ,

        block_hash: 55Qjc6hubapDTP4MwYxrhRTWdQVb4QbmWfP5QHxAfmEa,

        logs: [],

        receipt_ids: [

            GudCSdhczgZU9FxLQZTb9zX42e2e11GHeJYW4HouHC8n,

        ],

        gas_burnt: NearGas {

            inner: 2427985842086,

        },

        tokens_burnt: NearToken {

            inner: 242798584208600000000,

        },

        executor_id: AccountId(

            "dev-20231130130737-54291783609714",

        ),

        status: SuccessReceiptId(GudCSdhczgZU9FxLQZTb9zX42e2e11GHeJYW4HouHC8n),

    },

    receipts: [

        ExecutionOutcome {

            transaction_hash: GudCSdhczgZU9FxLQZTb9zX42e2e11GHeJYW4HouHC8n,

            block_hash: G9V5QMvARrUnCZp7B5orTwNE9S4Z125vpGKcxoim4eiG,

            logs: [

                "claim_alias / alias: \"alias1\" / account_id: AccountId(\n    \"dev-20231130130737-54291783609714\",\n) / timestamp: 1701349665200782903",

            ],

            receipt_ids: [

                AgRVinYPNYrbKU8JbLZ6ts8iycim8TjoY6yLX9dvaE8C,

            ],

            gas_burnt: NearGas {

                inner: 3457826935868,

            },

            tokens_burnt: NearToken {

                inner: 345782693586800000000,

            },

            executor_id: AccountId(

                "dev-20231130130734-61510924391537",

            ),

            status: SuccessValue(''),

        },

        ExecutionOutcome {

            transaction_hash: AgRVinYPNYrbKU8JbLZ6ts8iycim8TjoY6yLX9dvaE8C,

            block_hash: 7WKbyE8t9yEN9aSMJ7n8rB19jnt5gsaQr4sKpZY68wPa,

            logs: [],

            receipt_ids: [],

            gas_burnt: NearGas {

                inner: 223182562500,

            },

            tokens_burnt: NearToken {

                inner: 0,

            },

            executor_id: AccountId(

                "dev-20231130130737-54291783609714",

            ),

            status: SuccessValue(''),

        },

    ],

    status: SuccessValue(''),

}

total_gas_burnt_usd: 0.004080808887423271

outcome (success: true):

  outcome_gas_burnt_usd: 0.0016218945425134478

  outcome_tokens_burnt_usd: 0.0

outcome (success: true):

  outcome_gas_burnt_usd: 0.002309828393159824

  outcome_tokens_burnt_usd: 0.0

outcome (success: true):

  outcome_gas_burnt_usd: 0.00014908595175

  outcome_tokens_burnt_usd: 0.0





get_account_info(account1): Some(

    (

        "alias1",

        (

            1701349665200782903,

            1,

        ),

    ),

)





get_alias_map(account1, alias1): Some(

    {

        AccountId(

            "dev-20231130130737-54291783609714",

        ): (

            1701349665200782903,

            1,

        ),

        AccountId(

            "dev-20231130130740-11165292526136",

        ): (

            1701349663178128111,

            0,

        ),

    },

)





get_alias_map(account1, alias2): Some(

    {},

)

In [ ]:
{ . "$ScriptDir/../apps/dice/build.ps1" } | Invoke-Block
Complexidade: Simple, Duração: Short    

Complexidade: Simple, Duração: Short    

Complexidade: Simple, Duração: Medium   

Complexidade: Moderate, Duração: Medium 

Complexidade: Complex, Duração: Long    

Complexidade: Complex, Duração: Long    

[09:07:49 INF] EXPECTO? Running tests... <Expecto>

[09:07:54 INF] EXPECTO! 7 tests run in 00:00:04.4244416 for FsCheck samples – 7 passed, 0 ignored, 0 failed, 0 errored. Success! <Expecto>



00:00:00 #1 [Debug] runWithTimeoutAsync / timeout: 60

00:00:00 #2 [Debug] executeAsync / options: { Command =

   "dotnet "C:\home\git\polyglot\deps\The-Spiral-Language\The Spiral Language 2\artifacts\bin\The Spiral Language 2\release\Spiral.dll" port=13805"

  WorkingDirectory = None

  CancellationToken = Some System.Threading.CancellationToken

  OnLine = Some <fun:main@450-1020> }

00:00:00 #3 [Verbose] > pwd: C:\home\git\polyglot\apps\dice

00:00:00 #4 [Verbose] > dll_path: C:\home\git\polyglot\deps\The-Spiral-Language\The Spiral Language 2\artifacts\bin\The Spiral Language 2\release

00:00:00 #5 [Debug] runWithTimeoutAsync / timeout: 500

00:00:00 #6 [Verbose] waitForPortAccess / port: 13805 / retry: 0

00:00:01 #7 [Debug] sendJson / port: 13805 / json: {"Ping":true} / result.Length:

00:00:01 #8 [Verbose] awaitCompiler / Ping / result: Some(null) / port: 13805 / retry: 0

00:00:01 #9 [Verbose] > Server bound to: http://localhost:13805

00:00:01 #10 [Debug] executeAsync / options: { Command = "pwsh -c "../../scripts/invoke-dib.ps1 dice.dib""

  WorkingDirectory = None

  CancellationToken = Some System.Threading.CancellationToken

  OnLine = None }

00:00:03 #11 [Verbose] >

00:00:03 #12 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────

00:00:03 #13 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮

00:00:03 #14 [Verbose] > │ # dice (Polyglot)                                                            │

00:00:03 #15 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:03 #16 [Verbose] >

00:00:03 #17 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:03 #18 [Verbose] > // // test

00:00:03 #19 [Verbose] >

00:00:03 #20 [Verbose] > open testing

00:00:06 #21 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0908-0046-4610-4a71568e45b8\main.spi

00:00:08 #22 [Verbose] >

00:00:08 #23 [Verbose] > ╭─[ 5.23s - stdout ]───────────────────────────────────────────────────────────╮

00:00:08 #24 [Verbose] > │ ()                                                                           │

00:00:08 #25 [Verbose] > │                                                                              │

00:00:08 #26 [Verbose] > │                                                                              │

00:00:08 #27 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:08 #28 [Verbose] >

00:00:08 #29 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────

00:00:08 #30 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮

00:00:08 #31 [Verbose] > │ ## sixth_power_sequence                                                      │

00:00:08 #32 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:08 #33 [Verbose] >

00:00:08 #34 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:08 #35 [Verbose] > inl sixth_power_sequence () =

00:00:08 #36 [Verbose] >     stream.iterate ((*) 6) 1

00:00:08 #37 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0908-0351-5169-5d6aedd56e11\main.spi

00:00:08 #38 [Verbose] >

00:00:08 #39 [Verbose] > ╭─[ 170.77ms - stdout ]────────────────────────────────────────────────────────╮

00:00:08 #40 [Verbose] > │ ()                                                                           │

00:00:08 #41 [Verbose] > │                                                                              │

00:00:08 #42 [Verbose] > │                                                                              │

00:00:08 #43 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:08 #44 [Verbose] >

00:00:08 #45 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:08 #46 [Verbose] > // // test

00:00:08 #47 [Verbose] >

00:00:08 #48 [Verbose] > sixth_power_sequence ()

00:00:08 #49 [Verbose] > |> stream.take_while (fun _ i => i <= 7i32)

00:00:08 #50 [Verbose] > |> stream.to_list

00:00:08 #51 [Verbose] > |> _equal [[ 1i32; 6; 36; 216; 1296; 7776; 46656; 279936 ]]

00:00:09 #52 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0908-0368-6811-6c9b04569737\main.spi

00:00:10 #53 [Verbose] >

00:00:10 #54 [Verbose] > ╭─[ 1.15s - stdout ]───────────────────────────────────────────────────────────╮

00:00:10 #55 [Verbose] > │ type UH0 =                                                                   │

00:00:10 #56 [Verbose] > │     | UH0_0 of int32 * UH0                                                   │

00:00:10 #57 [Verbose] > │     | UH0_1                                                                  │

00:00:10 #58 [Verbose] > │ let rec method0 () : unit =                                                  │

00:00:10 #59 [Verbose] > │     let v0 : UH0 = UH0_1                                                     │

00:00:10 #60 [Verbose] > │     let v1 : UH0 = UH0_0(279936, v0)                                         │

00:00:10 #61 [Verbose] > │     let v2 : UH0 = UH0_0(46656, v1)                                          │

00:00:10 #62 [Verbose] > │     let v3 : UH0 = UH0_0(7776, v2)                                           │

00:00:10 #63 [Verbose] > │     let v4 : UH0 = UH0_0(1296, v3)                                           │

00:00:10 #64 [Verbose] > │     let v5 : UH0 = UH0_0(216, v4)                                            │

00:00:10 #65 [Verbose] > │     let v6 : UH0 = UH0_0(36, v5)                                             │

00:00:10 #66 [Verbose] > │     let v7 : UH0 = UH0_0(6, v6)                                              │

00:00:10 #67 [Verbose] > │     let v8 : UH0 = UH0_0(1, v7)                                              │

00:00:10 #68 [Verbose] > │     let v9 : UH0 = UH0_1                                                     │

00:00:10 #69 [Verbose] > │     let v10 : UH0 = UH0_0(279936, v9)                                        │

00:00:10 #70 [Verbose] > │     let v11 : UH0 = UH0_0(46656, v10)                                        │

00:00:10 #71 [Verbose] > │     let v12 : UH0 = UH0_0(7776, v11)                                         │

00:00:10 #72 [Verbose] > │     let v13 : UH0 = UH0_0(1296, v12)                                         │

00:00:10 #73 [Verbose] > │     let v14 : UH0 = UH0_0(216, v13)                                          │

00:00:10 #74 [Verbose] > │     let v15 : UH0 = UH0_0(36, v14)                                           │

00:00:10 #75 [Verbose] > │     let v16 : UH0 = UH0_0(6, v15)                                            │

00:00:10 #76 [Verbose] > │     let v17 : UH0 = UH0_0(1, v16)                                            │

00:00:10 #77 [Verbose] > │     let v18 : string = $"__expect / actual: %A{v8} / expected: %A{v17}"      │

00:00:10 #78 [Verbose] > │     ()                                                                       │

00:00:10 #79 [Verbose] > │ method0()                                                                    │

00:00:10 #80 [Verbose] > │                                                                              │

00:00:10 #81 [Verbose] > │                                                                              │

00:00:10 #82 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:10 #83 [Verbose] >

00:00:10 #84 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────

00:00:10 #85 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮

00:00:10 #86 [Verbose] > │ ## accumulate_dice_rolls                                                     │

00:00:10 #87 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:10 #88 [Verbose] >

00:00:10 #89 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:10 #90 [Verbose] > inl accumulate_dice_rolls

00:00:10 #91 [Verbose] >     (log : option (string -> ()))

00:00:10 #92 [Verbose] >     (rolls : list u8)

00:00:10 #93 [Verbose] >     (power : i8)

00:00:10 #94 [Verbose] >     acc

00:00:10 #95 [Verbose] >     =

00:00:10 #96 [Verbose] >     inl rec body acc power rolls =

00:00:10 #97 [Verbose] >         match rolls with

00:00:10 #98 [Verbose] >         | _ when power < 0 =>

00:00:10 #99 [Verbose] >             log |> optionm'.iter ((|>) $"$\"accumulate_dice_rolls / power:

00:00:10 #100 [Verbose] > {!power} / acc: {!acc}\"")

00:00:10 #101 [Verbose] >             Some (acc + 1, rolls)

00:00:10 #102 [Verbose] >         | [[]] => None

00:00:10 #103 [Verbose] >         | roll :: rest when roll > 1 =>

00:00:10 #104 [Verbose] >             inl coeff = sixth_power_sequence () |> stream.item power

00:00:10 #105 [Verbose] >             inl value = conv (roll - 1) * coeff

00:00:10 #106 [Verbose] >             log |> optionm'.iter ((|>) $"$\"accumulate_dice_rolls / power:

00:00:10 #107 [Verbose] > {!power} / acc: {!acc} / roll: {!roll} / value: {!value}\""

00:00:10 #108 [Verbose] >             )

00:00:10 #109 [Verbose] >             loop (acc + value) (power - 1) rest

00:00:10 #110 [Verbose] >         | roll :: rest =>

00:00:10 #111 [Verbose] >             log |> optionm'.iter ((|>) $"$\"accumulate_dice_rolls / power:

00:00:10 #112 [Verbose] > {!power} / acc: {!acc} / roll: {!roll}\"")

00:00:10 #113 [Verbose] >             loop acc (power - 1) rest

00:00:10 #114 [Verbose] >     and inl loop acc power rolls =

00:00:10 #115 [Verbose] >         if var_is rolls |> not

00:00:10 #116 [Verbose] >         then body acc power rolls

00:00:10 #117 [Verbose] >         else

00:00:10 #118 [Verbose] >             inl acc = dyn acc

00:00:10 #119 [Verbose] >             join body acc power rolls

00:00:10 #120 [Verbose] >     loop acc power rolls

00:00:10 #121 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0908-0486-8613-867548b91fb1\main.spi

00:00:10 #122 [Verbose] >

00:00:10 #123 [Verbose] > ╭─[ 168.62ms - stdout ]────────────────────────────────────────────────────────╮

00:00:10 #124 [Verbose] > │ ()                                                                           │

00:00:10 #125 [Verbose] > │                                                                              │

00:00:10 #126 [Verbose] > │                                                                              │

00:00:10 #127 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:10 #128 [Verbose] >

00:00:10 #129 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:10 #130 [Verbose] > // // test

00:00:10 #131 [Verbose] >

00:00:10 #132 [Verbose] > accumulate_dice_rolls (Some console.write_line) [[ 6; 5; 4; 3; 2 ]] 0 1000i32

00:00:10 #133 [Verbose] > |> _equal (Some (1006, [[ 5; 4; 3; 2 ]]))

00:00:10 #134 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0908-0502-0296-063df1fa5029\main.spi

00:00:10 #135 [Verbose] >

00:00:10 #136 [Verbose] > ╭─[ 447.37ms - stdout ]────────────────────────────────────────────────────────╮

00:00:10 #137 [Verbose] > │ type UH0 =                                                                   │

00:00:10 #138 [Verbose] > │     | UH0_0 of uint8 * UH0                                                   │

00:00:10 #139 [Verbose] > │     | UH0_1                                                                  │

00:00:10 #140 [Verbose] > │ and [<Struct>] US0 =                                                         │

00:00:10 #141 [Verbose] > │     | US0_0                                                                  │

00:00:10 #142 [Verbose] > │     | US0_1 of f1_0 : int32 * f1_1 : UH0                                     │

00:00:10 #143 [Verbose] > │ let rec method0 () : unit =                                                  │

00:00:10 #144 [Verbose] > │     let v0 : string = $"accumulate_dice_rolls / power: {0y} / acc: {1000} /  │

00:00:10 #145 [Verbose] > │ roll: {6uy} / value: {5}"                                                    │

00:00:10 #146 [Verbose] > │     System.Console.WriteLine v0                                              │

00:00:10 #147 [Verbose] > │     let v1 : string = $"accumulate_dice_rolls / power: {-1y} / acc: {1005}"  │

00:00:10 #148 [Verbose] > │     System.Console.WriteLine v1                                              │

00:00:10 #149 [Verbose] > │     let v2 : UH0 = UH0_1                                                     │

00:00:10 #150 [Verbose] > │     let v3 : UH0 = UH0_0(2uy, v2)                                            │

00:00:10 #151 [Verbose] > │     let v4 : UH0 = UH0_0(3uy, v3)                                            │

00:00:10 #152 [Verbose] > │     let v5 : UH0 = UH0_0(4uy, v4)                                            │

00:00:10 #153 [Verbose] > │     let v6 : UH0 = UH0_0(5uy, v5)                                            │

00:00:10 #154 [Verbose] > │     let v7 : US0 = US0_1(1006, v6)                                           │

00:00:10 #155 [Verbose] > │     let v8 : UH0 = UH0_1                                                     │

00:00:10 #156 [Verbose] > │     let v9 : UH0 = UH0_0(2uy, v8)                                            │

00:00:10 #157 [Verbose] > │     let v10 : UH0 = UH0_0(3uy, v9)                                           │

00:00:10 #158 [Verbose] > │     let v11 : UH0 = UH0_0(4uy, v10)                                          │

00:00:10 #159 [Verbose] > │     let v12 : UH0 = UH0_0(5uy, v11)                                          │

00:00:10 #160 [Verbose] > │     let v13 : US0 = US0_1(1006, v12)                                         │

00:00:10 #161 [Verbose] > │     let v14 : string = $"__expect / actual: %A{v7} / expected: %A{v13}"      │

00:00:10 #162 [Verbose] > │     ()                                                                       │

00:00:10 #163 [Verbose] > │ method0()                                                                    │

00:00:10 #164 [Verbose] > │                                                                              │

00:00:10 #165 [Verbose] > │ accumulate_dice_rolls / power: 0 / acc: 1000 / roll: 6 / value: 5            │

00:00:10 #166 [Verbose] > │ accumulate_dice_rolls / power: -1 / acc: 1005                                │

00:00:10 #167 [Verbose] > │                                                                              │

00:00:10 #168 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:10 #169 [Verbose] >

00:00:10 #170 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:10 #171 [Verbose] > // // test

00:00:10 #172 [Verbose] >

00:00:10 #173 [Verbose] > accumulate_dice_rolls (Some console.write_line) [[ 6; 5; 4; 3; 2 ]] 1 1000i32

00:00:10 #174 [Verbose] > |> _equal (Some (1035, [[ 4; 3; 2 ]]))

00:00:10 #175 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0908-0549-4920-423b545f2f11\main.spi

00:00:11 #176 [Verbose] >

00:00:11 #177 [Verbose] > ╭─[ 301.51ms - stdout ]────────────────────────────────────────────────────────╮

00:00:11 #178 [Verbose] > │ type UH0 =                                                                   │

00:00:11 #179 [Verbose] > │     | UH0_0 of uint8 * UH0                                                   │

00:00:11 #180 [Verbose] > │     | UH0_1                                                                  │

00:00:11 #181 [Verbose] > │ and [<Struct>] US0 =                                                         │

00:00:11 #182 [Verbose] > │     | US0_0                                                                  │

00:00:11 #183 [Verbose] > │     | US0_1 of f1_0 : int32 * f1_1 : UH0                                     │

00:00:11 #184 [Verbose] > │ let rec method0 () : unit =                                                  │

00:00:11 #185 [Verbose] > │     let v0 : string = $"accumulate_dice_rolls / power: {1y} / acc: {1000} /  │

00:00:11 #186 [Verbose] > │ roll: {6uy} / value: {30}"                                                   │

00:00:11 #187 [Verbose] > │     System.Console.WriteLine v0                                              │

00:00:11 #188 [Verbose] > │     let v1 : string = $"accumulate_dice_rolls / power: {0y} / acc: {1030} /  │

00:00:11 #189 [Verbose] > │ roll: {5uy} / value: {4}"                                                    │

00:00:11 #190 [Verbose] > │     System.Console.WriteLine v1                                              │

00:00:11 #191 [Verbose] > │     let v2 : string = $"accumulate_dice_rolls / power: {-1y} / acc: {1034}"  │

00:00:11 #192 [Verbose] > │     System.Console.WriteLine v2                                              │

00:00:11 #193 [Verbose] > │     let v3 : UH0 = UH0_1                                                     │

00:00:11 #194 [Verbose] > │     let v4 : UH0 = UH0_0(2uy, v3)                                            │

00:00:11 #195 [Verbose] > │     let v5 : UH0 = UH0_0(3uy, v4)                                            │

00:00:11 #196 [Verbose] > │     let v6 : UH0 = UH0_0(4uy, v5)                                            │

00:00:11 #197 [Verbose] > │     let v7 : US0 = US0_1(1035, v6)                                           │

00:00:11 #198 [Verbose] > │     let v8 : UH0 = UH0_1                                                     │

00:00:11 #199 [Verbose] > │     let v9 : UH0 = UH0_0(2uy, v8)                                            │

00:00:11 #200 [Verbose] > │     let v10 : UH0 = UH0_0(3uy, v9)                                           │

00:00:11 #201 [Verbose] > │     let v11 : UH0 = UH0_0(4uy, v10)                                          │

00:00:11 #202 [Verbose] > │     let v12 : US0 = US0_1(1035, v11)                                         │

00:00:11 #203 [Verbose] > │     let v13 : string = $"__expect / actual: %A{v7} / expected: %A{v12}"      │

00:00:11 #204 [Verbose] > │     ()                                                                       │

00:00:11 #205 [Verbose] > │ method0()                                                                    │

00:00:11 #206 [Verbose] > │                                                                              │

00:00:11 #207 [Verbose] > │ accumulate_dice_rolls / power: 1 / acc: 1000 / roll: 6 / value: 30           │

00:00:11 #208 [Verbose] > │ accumulate_dice_rolls / power: 0 / acc: 1030 / roll: 5 / value: 4            │

00:00:11 #209 [Verbose] > │ accumulate_dice_rolls / power: -1 / acc: 1034                                │

00:00:11 #210 [Verbose] > │                                                                              │

00:00:11 #211 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:11 #212 [Verbose] >

00:00:11 #213 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:11 #214 [Verbose] > // // test

00:00:11 #215 [Verbose] >

00:00:11 #216 [Verbose] > accumulate_dice_rolls (Some console.write_line) [[ 6; 5; 4; 3; 2 ]] 2 1000i32

00:00:11 #217 [Verbose] > |> _equal (Some (1208, [[ 3; 2 ]]))

00:00:11 #218 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0908-0580-8065-8e015a42876b\main.spi

00:00:11 #219 [Verbose] >

00:00:11 #220 [Verbose] > ╭─[ 251.92ms - stdout ]────────────────────────────────────────────────────────╮

00:00:11 #221 [Verbose] > │ type UH0 =                                                                   │

00:00:11 #222 [Verbose] > │     | UH0_0 of uint8 * UH0                                                   │

00:00:11 #223 [Verbose] > │     | UH0_1                                                                  │

00:00:11 #224 [Verbose] > │ and [<Struct>] US0 =                                                         │

00:00:11 #225 [Verbose] > │     | US0_0                                                                  │

00:00:11 #226 [Verbose] > │     | US0_1 of f1_0 : int32 * f1_1 : UH0                                     │

00:00:11 #227 [Verbose] > │ let rec method0 () : unit =                                                  │

00:00:11 #228 [Verbose] > │     let v0 : string = $"accumulate_dice_rolls / power: {2y} / acc: {1000} /  │

00:00:11 #229 [Verbose] > │ roll: {6uy} / value: {180}"                                                  │

00:00:11 #230 [Verbose] > │     System.Console.WriteLine v0                                              │

00:00:11 #231 [Verbose] > │     let v1 : string = $"accumulate_dice_rolls / power: {1y} / acc: {1180} /  │

00:00:11 #232 [Verbose] > │ roll: {5uy} / value: {24}"                                                   │

00:00:11 #233 [Verbose] > │     System.Console.WriteLine v1                                              │

00:00:11 #234 [Verbose] > │     let v2 : string = $"accumulate_dice_rolls / power: {0y} / acc: {1204} /  │

00:00:11 #235 [Verbose] > │ roll: {4uy} / value: {3}"                                                    │

00:00:11 #236 [Verbose] > │     System.Console.WriteLine v2                                              │

00:00:11 #237 [Verbose] > │     let v3 : string = $"accumulate_dice_rolls / power: {-1y} / acc: {1207}"  │

00:00:11 #238 [Verbose] > │     System.Console.WriteLine v3                                              │

00:00:11 #239 [Verbose] > │     let v4 : UH0 = UH0_1                                                     │

00:00:11 #240 [Verbose] > │     let v5 : UH0 = UH0_0(2uy, v4)                                            │

00:00:11 #241 [Verbose] > │     let v6 : UH0 = UH0_0(3uy, v5)                                            │

00:00:11 #242 [Verbose] > │     let v7 : US0 = US0_1(1208, v6)                                           │

00:00:11 #243 [Verbose] > │     let v8 : UH0 = UH0_1                                                     │

00:00:11 #244 [Verbose] > │     let v9 : UH0 = UH0_0(2uy, v8)                                            │

00:00:11 #245 [Verbose] > │     let v10 : UH0 = UH0_0(3uy, v9)                                           │

00:00:11 #246 [Verbose] > │     let v11 : US0 = US0_1(1208, v10)                                         │

00:00:11 #247 [Verbose] > │     let v12 : string = $"__expect / actual: %A{v7} / expected: %A{v11}"      │

00:00:11 #248 [Verbose] > │     ()                                                                       │

00:00:11 #249 [Verbose] > │ method0()                                                                    │

00:00:11 #250 [Verbose] > │                                                                              │

00:00:11 #251 [Verbose] > │ accumulate_dice_rolls / power: 2 / acc: 1000 / roll: 6 / value: 180          │

00:00:11 #252 [Verbose] > │ accumulate_dice_rolls / power: 1 / acc: 1180 / roll: 5 / value: 24           │

00:00:11 #253 [Verbose] > │ accumulate_dice_rolls / power: 0 / acc: 1204 / roll: 4 / value: 3            │

00:00:11 #254 [Verbose] > │ accumulate_dice_rolls / power: -1 / acc: 1207                                │

00:00:11 #255 [Verbose] > │                                                                              │

00:00:11 #256 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:11 #257 [Verbose] >

00:00:11 #258 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────

00:00:11 #259 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮

00:00:11 #260 [Verbose] > │ ## roll_within_bounds                                                        │

00:00:11 #261 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:11 #262 [Verbose] >

00:00:11 #263 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:11 #264 [Verbose] > inl roll_within_bounds (log : option (string -> ())) max rolls =

00:00:11 #265 [Verbose] >     inl power = listm.length rolls - 1

00:00:11 #266 [Verbose] >     match accumulate_dice_rolls log rolls power 0 with

00:00:11 #267 [Verbose] >     | Some (result, _) when result >= 1 && result <= max => Some result

00:00:11 #268 [Verbose] >     | _ => None

00:00:11 #269 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0908-0607-0779-03ed744f26aa\main.spi

00:00:11 #270 [Verbose] >

00:00:11 #271 [Verbose] > ╭─[ 158.74ms - stdout ]────────────────────────────────────────────────────────╮

00:00:11 #272 [Verbose] > │ ()                                                                           │

00:00:11 #273 [Verbose] > │                                                                              │

00:00:11 #274 [Verbose] > │                                                                              │

00:00:11 #275 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:11 #276 [Verbose] >

00:00:11 #277 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:11 #278 [Verbose] > // // test

00:00:11 #279 [Verbose] >

00:00:11 #280 [Verbose] > roll_within_bounds (Some console.write_line) 2000i32 [[ 1; 5; 4; 4; 5 ]]

00:00:11 #281 [Verbose] > |> _equal (Some 995)

00:00:11 #282 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0908-0623-2381-24aef4f3bafa\main.spi

00:00:11 #283 [Verbose] >

00:00:11 #284 [Verbose] > ╭─[ 248.33ms - stdout ]────────────────────────────────────────────────────────╮

00:00:11 #285 [Verbose] > │ type [<Struct>] US0 =                                                        │

00:00:11 #286 [Verbose] > │     | US0_0                                                                  │

00:00:11 #287 [Verbose] > │     | US0_1 of f1_0 : int32                                                  │

00:00:11 #288 [Verbose] > │ let rec method0 () : unit =                                                  │

00:00:11 #289 [Verbose] > │     let v0 : string = $"accumulate_dice_rolls / power: {4y} / acc: {0} /     │

00:00:11 #290 [Verbose] > │ roll: {1uy}"                                                                 │

00:00:11 #291 [Verbose] > │     System.Console.WriteLine v0                                              │

00:00:11 #292 [Verbose] > │     let v1 : string = $"accumulate_dice_rolls / power: {3y} / acc: {0} /     │

00:00:11 #293 [Verbose] > │ roll: {5uy} / value: {864}"                                                  │

00:00:11 #294 [Verbose] > │     System.Console.WriteLine v1                                              │

00:00:11 #295 [Verbose] > │     let v2 : string = $"accumulate_dice_rolls / power: {2y} / acc: {864} /   │

00:00:11 #296 [Verbose] > │ roll: {4uy} / value: {108}"                                                  │

00:00:11 #297 [Verbose] > │     System.Console.WriteLine v2                                              │

00:00:11 #298 [Verbose] > │     let v3 : string = $"accumulate_dice_rolls / power: {1y} / acc: {972} /   │

00:00:11 #299 [Verbose] > │ roll: {4uy} / value: {18}"                                                   │

00:00:11 #300 [Verbose] > │     System.Console.WriteLine v3                                              │

00:00:11 #301 [Verbose] > │     let v4 : string = $"accumulate_dice_rolls / power: {0y} / acc: {990} /   │

00:00:11 #302 [Verbose] > │ roll: {5uy} / value: {4}"                                                    │

00:00:11 #303 [Verbose] > │     System.Console.WriteLine v4                                              │

00:00:11 #304 [Verbose] > │     let v5 : string = $"accumulate_dice_rolls / power: {-1y} / acc: {994}"   │

00:00:11 #305 [Verbose] > │     System.Console.WriteLine v5                                              │

00:00:11 #306 [Verbose] > │     let v6 : US0 = US0_1(995)                                                │

00:00:11 #307 [Verbose] > │     let v7 : US0 = US0_1(995)                                                │

00:00:11 #308 [Verbose] > │     let v8 : string = $"__expect / actual: %A{v6} / expected: %A{v7}"        │

00:00:11 #309 [Verbose] > │     ()                                                                       │

00:00:11 #310 [Verbose] > │ method0()                                                                    │

00:00:11 #311 [Verbose] > │                                                                              │

00:00:11 #312 [Verbose] > │ accumulate_dice_rolls / power: 4 / acc: 0 / roll: 1                          │

00:00:11 #313 [Verbose] > │ accumulate_dice_rolls / power: 3 / acc: 0 / roll: 5 / value: 864             │

00:00:11 #314 [Verbose] > │ accumulate_dice_rolls / power: 2 / acc: 864 / roll: 4 / value: 108           │

00:00:11 #315 [Verbose] > │ accumulate_dice_rolls / power: 1 / acc: 972 / roll: 4 / value: 18            │

00:00:11 #316 [Verbose] > │ accumulate_dice_rolls / power: 0 / acc: 990 / roll: 5 / value: 4             │

00:00:11 #317 [Verbose] > │ accumulate_dice_rolls / power: -1 / acc: 994                                 │

00:00:11 #318 [Verbose] > │                                                                              │

00:00:11 #319 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:11 #320 [Verbose] >

00:00:11 #321 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:11 #322 [Verbose] > // // test

00:00:11 #323 [Verbose] >

00:00:11 #324 [Verbose] > roll_within_bounds (Some console.write_line) 2000i32 [[ 2; 2; 6; 4; 5 ]]

00:00:11 #325 [Verbose] > |> _equal (Some 1715)

00:00:11 #326 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0908-0650-5005-528f277d729f\main.spi

00:00:12 #327 [Verbose] >

00:00:12 #328 [Verbose] > ╭─[ 244.57ms - stdout ]────────────────────────────────────────────────────────╮

00:00:12 #329 [Verbose] > │ type [<Struct>] US0 =                                                        │

00:00:12 #330 [Verbose] > │     | US0_0                                                                  │

00:00:12 #331 [Verbose] > │     | US0_1 of f1_0 : int32                                                  │

00:00:12 #332 [Verbose] > │ let rec method0 () : unit =                                                  │

00:00:12 #333 [Verbose] > │     let v0 : string = $"accumulate_dice_rolls / power: {4y} / acc: {0} /     │

00:00:12 #334 [Verbose] > │ roll: {2uy} / value: {1296}"                                                 │

00:00:12 #335 [Verbose] > │     System.Console.WriteLine v0                                              │

00:00:12 #336 [Verbose] > │     let v1 : string = $"accumulate_dice_rolls / power: {3y} / acc: {1296} /  │

00:00:12 #337 [Verbose] > │ roll: {2uy} / value: {216}"                                                  │

00:00:12 #338 [Verbose] > │     System.Console.WriteLine v1                                              │

00:00:12 #339 [Verbose] > │     let v2 : string = $"accumulate_dice_rolls / power: {2y} / acc: {1512} /  │

00:00:12 #340 [Verbose] > │ roll: {6uy} / value: {180}"                                                  │

00:00:12 #341 [Verbose] > │     System.Console.WriteLine v2                                              │

00:00:12 #342 [Verbose] > │     let v3 : string = $"accumulate_dice_rolls / power: {1y} / acc: {1692} /  │

00:00:12 #343 [Verbose] > │ roll: {4uy} / value: {18}"                                                   │

00:00:12 #344 [Verbose] > │     System.Console.WriteLine v3                                              │

00:00:12 #345 [Verbose] > │     let v4 : string = $"accumulate_dice_rolls / power: {0y} / acc: {1710} /  │

00:00:12 #346 [Verbose] > │ roll: {5uy} / value: {4}"                                                    │

00:00:12 #347 [Verbose] > │     System.Console.WriteLine v4                                              │

00:00:12 #348 [Verbose] > │     let v5 : string = $"accumulate_dice_rolls / power: {-1y} / acc: {1714}"  │

00:00:12 #349 [Verbose] > │     System.Console.WriteLine v5                                              │

00:00:12 #350 [Verbose] > │     let v6 : US0 = US0_1(1715)                                               │

00:00:12 #351 [Verbose] > │     let v7 : US0 = US0_1(1715)                                               │

00:00:12 #352 [Verbose] > │     let v8 : string = $"__expect / actual: %A{v6} / expected: %A{v7}"        │

00:00:12 #353 [Verbose] > │     ()                                                                       │

00:00:12 #354 [Verbose] > │ method0()                                                                    │

00:00:12 #355 [Verbose] > │                                                                              │

00:00:12 #356 [Verbose] > │ accumulate_dice_rolls / power: 4 / acc: 0 / roll: 2 / value: 1296            │

00:00:12 #357 [Verbose] > │ accumulate_dice_rolls / power: 3 / acc: 1296 / roll: 2 / value: 216          │

00:00:12 #358 [Verbose] > │ accumulate_dice_rolls / power: 2 / acc: 1512 / roll: 6 / value: 180          │

00:00:12 #359 [Verbose] > │ accumulate_dice_rolls / power: 1 / acc: 1692 / roll: 4 / value: 18           │

00:00:12 #360 [Verbose] > │ accumulate_dice_rolls / power: 0 / acc: 1710 / roll: 5 / value: 4            │

00:00:12 #361 [Verbose] > │ accumulate_dice_rolls / power: -1 / acc: 1714                                │

00:00:12 #362 [Verbose] > │                                                                              │

00:00:12 #363 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:12 #364 [Verbose] >

00:00:12 #365 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:12 #366 [Verbose] > // // test

00:00:12 #367 [Verbose] >

00:00:12 #368 [Verbose] > roll_within_bounds (Some console.write_line) 2000i32 [[ 4; 1; 1; 2; 3 ]]

00:00:12 #369 [Verbose] > |> _equal None

00:00:12 #370 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0908-0676-7619-72285287e4ca\main.spi

00:00:12 #371 [Verbose] >

00:00:12 #372 [Verbose] > ╭─[ 237.95ms - stdout ]────────────────────────────────────────────────────────╮

00:00:12 #373 [Verbose] > │ type [<Struct>] US0 =                                                        │

00:00:12 #374 [Verbose] > │     | US0_0                                                                  │

00:00:12 #375 [Verbose] > │     | US0_1 of f1_0 : int32                                                  │

00:00:12 #376 [Verbose] > │ let rec method0 () : unit =                                                  │

00:00:12 #377 [Verbose] > │     let v0 : string = $"accumulate_dice_rolls / power: {4y} / acc: {0} /     │

00:00:12 #378 [Verbose] > │ roll: {4uy} / value: {3888}"                                                 │

00:00:12 #379 [Verbose] > │     System.Console.WriteLine v0                                              │

00:00:12 #380 [Verbose] > │     let v1 : string = $"accumulate_dice_rolls / power: {3y} / acc: {3888} /  │

00:00:12 #381 [Verbose] > │ roll: {1uy}"                                                                 │

00:00:12 #382 [Verbose] > │     System.Console.WriteLine v1                                              │

00:00:12 #383 [Verbose] > │     let v2 : string = $"accumulate_dice_rolls / power: {2y} / acc: {3888} /  │

00:00:12 #384 [Verbose] > │ roll: {1uy}"                                                                 │

00:00:12 #385 [Verbose] > │     System.Console.WriteLine v2                                              │

00:00:12 #386 [Verbose] > │     let v3 : string = $"accumulate_dice_rolls / power: {1y} / acc: {3888} /  │

00:00:12 #387 [Verbose] > │ roll: {2uy} / value: {6}"                                                    │

00:00:12 #388 [Verbose] > │     System.Console.WriteLine v3                                              │

00:00:12 #389 [Verbose] > │     let v4 : string = $"accumulate_dice_rolls / power: {0y} / acc: {3894} /  │

00:00:12 #390 [Verbose] > │ roll: {3uy} / value: {2}"                                                    │

00:00:12 #391 [Verbose] > │     System.Console.WriteLine v4                                              │

00:00:12 #392 [Verbose] > │     let v5 : string = $"accumulate_dice_rolls / power: {-1y} / acc: {3896}"  │

00:00:12 #393 [Verbose] > │     System.Console.WriteLine v5                                              │

00:00:12 #394 [Verbose] > │     let v6 : US0 = US0_0                                                     │

00:00:12 #395 [Verbose] > │     let v7 : US0 = US0_0                                                     │

00:00:12 #396 [Verbose] > │     let v8 : string = $"__expect / actual: %A{v6} / expected: %A{v7}"        │

00:00:12 #397 [Verbose] > │     ()                                                                       │

00:00:12 #398 [Verbose] > │ method0()                                                                    │

00:00:12 #399 [Verbose] > │                                                                              │

00:00:12 #400 [Verbose] > │ accumulate_dice_rolls / power: 4 / acc: 0 / roll: 4 / value: 3888            │

00:00:12 #401 [Verbose] > │ accumulate_dice_rolls / power: 3 / acc: 3888 / roll: 1                       │

00:00:12 #402 [Verbose] > │ accumulate_dice_rolls / power: 2 / acc: 3888 / roll: 1                       │

00:00:12 #403 [Verbose] > │ accumulate_dice_rolls / power: 1 / acc: 3888 / roll: 2 / value: 6            │

00:00:12 #404 [Verbose] > │ accumulate_dice_rolls / power: 0 / acc: 3894 / roll: 3 / value: 2            │

00:00:12 #405 [Verbose] > │ accumulate_dice_rolls / power: -1 / acc: 3896                                │

00:00:12 #406 [Verbose] > │                                                                              │

00:00:12 #407 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:12 #408 [Verbose] >

00:00:12 #409 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────

00:00:12 #410 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮

00:00:12 #411 [Verbose] > │ ## calculate_dice_count                                                      │

00:00:12 #412 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:12 #413 [Verbose] >

00:00:12 #414 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:12 #415 [Verbose] > inl calculate_dice_count (log : option (string -> ())) max =

00:00:12 #416 [Verbose] >     inl rec body n p =

00:00:12 #417 [Verbose] >         inl return () =

00:00:12 #418 [Verbose] >             log |> optionm'.iter ((|>) $"$\"calculate_dice_count / max: {!max}

00:00:12 #419 [Verbose] > n: {!n} / p: {!p}\"")

00:00:12 #420 [Verbose] >             n

00:00:12 #421 [Verbose] >

00:00:12 #422 [Verbose] >         if p < max then

00:00:12 #423 [Verbose] >             inl p' = p * 6

00:00:12 #424 [Verbose] >             if p' > p

00:00:12 #425 [Verbose] >             then loop (n + 1) p'

00:00:12 #426 [Verbose] >             else return ()

00:00:12 #427 [Verbose] >         else return ()

00:00:12 #428 [Verbose] >

00:00:12 #429 [Verbose] >     and inl loop n p =

00:00:12 #430 [Verbose] >         if var_is max |> not

00:00:12 #431 [Verbose] >         then body n p

00:00:12 #432 [Verbose] >         else

00:00:12 #433 [Verbose] >             inl n = dyn n

00:00:12 #434 [Verbose] >             inl p = dyn p

00:00:12 #435 [Verbose] >             join body n p

00:00:12 #436 [Verbose] >     if max = 1

00:00:12 #437 [Verbose] >     then 1

00:00:12 #438 [Verbose] >     else loop 0 1

00:00:12 #439 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0908-0701-0172-0ef93f70b47a\main.spi

00:00:12 #440 [Verbose] >

00:00:12 #441 [Verbose] > ╭─[ 233.92ms - stdout ]────────────────────────────────────────────────────────╮

00:00:12 #442 [Verbose] > │ ()                                                                           │

00:00:12 #443 [Verbose] > │                                                                              │

00:00:12 #444 [Verbose] > │                                                                              │

00:00:12 #445 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:12 #446 [Verbose] >

00:00:12 #447 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:12 #448 [Verbose] > // // test

00:00:12 #449 [Verbose] >

00:00:12 #450 [Verbose] > calculate_dice_count (Some console.write_line) 36i32

00:00:12 #451 [Verbose] > |> _equal 2i32

00:00:12 #452 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0908-0725-2521-23de352634ae\main.spi

00:00:12 #453 [Verbose] >

00:00:12 #454 [Verbose] > ╭─[ 194.16ms - stdout ]────────────────────────────────────────────────────────╮

00:00:12 #455 [Verbose] > │ let rec method0 () : unit =                                                  │

00:00:12 #456 [Verbose] > │     let v0 : string = $"calculate_dice_count / max: {36} / n: {2} / p: {36}" │

00:00:12 #457 [Verbose] > │     System.Console.WriteLine v0                                              │

00:00:12 #458 [Verbose] > │     let v1 : string = $"__expect / actual: %A{2} / expected: %A{2}"          │

00:00:12 #459 [Verbose] > │     ()                                                                       │

00:00:12 #460 [Verbose] > │ method0()                                                                    │

00:00:12 #461 [Verbose] > │                                                                              │

00:00:12 #462 [Verbose] > │ calculate_dice_count / max: 36 / n: 2 / p: 36                                │

00:00:12 #463 [Verbose] > │                                                                              │

00:00:12 #464 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:12 #465 [Verbose] >

00:00:12 #466 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:12 #467 [Verbose] > // // test

00:00:12 #468 [Verbose] >

00:00:12 #469 [Verbose] > calculate_dice_count (Some console.write_line) 7777i32

00:00:12 #470 [Verbose] > |> _equal 6i32

00:00:12 #471 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0908-0745-4518-41ca9c1a6099\main.spi

00:00:12 #472 [Verbose] >

00:00:12 #473 [Verbose] > ╭─[ 169.69ms - stdout ]────────────────────────────────────────────────────────╮

00:00:12 #474 [Verbose] > │ let rec method0 () : unit =                                                  │

00:00:12 #475 [Verbose] > │     let v0 : string = $"calculate_dice_count / max: {7777} / n: {6} / p:     │

00:00:12 #476 [Verbose] > │ {46656}"                                                                     │

00:00:12 #477 [Verbose] > │     System.Console.WriteLine v0                                              │

00:00:12 #478 [Verbose] > │     let v1 : string = $"__expect / actual: %A{6} / expected: %A{6}"          │

00:00:12 #479 [Verbose] > │     ()                                                                       │

00:00:12 #480 [Verbose] > │ method0()                                                                    │

00:00:12 #481 [Verbose] > │                                                                              │

00:00:12 #482 [Verbose] > │ calculate_dice_count / max: 7777 / n: 6 / p: 46656                           │

00:00:12 #483 [Verbose] > │                                                                              │

00:00:12 #484 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:12 #485 [Verbose] >

00:00:12 #486 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────

00:00:12 #487 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮

00:00:12 #488 [Verbose] > │ ## roll_dice                                                                 │

00:00:12 #489 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:12 #490 [Verbose] >

00:00:12 #491 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:12 #492 [Verbose] > inl roll_dice () : u8 =

00:00:12 #493 [Verbose] >     run_target function

00:00:12 #494 [Verbose] >         | Fsharp => fun () => $"System.Random().Next (1, 7) |> uint8"

00:00:12 #495 [Verbose] >         | Rust (Native) => fun () => rust.emit_expr ()

00:00:12 #496 [Verbose] > "rand::Rng::gen_range(&mut rand::thread_rng(), 1..7)"

00:00:12 #497 [Verbose] >         | Rust (Wasm) => fun () => rust.emit_expr () "1"

00:00:13 #498 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0908-0763-6300-6ccf623f5394\main.spi

00:00:13 #499 [Verbose] >

00:00:13 #500 [Verbose] > ╭─[ 155.37ms - stdout ]────────────────────────────────────────────────────────╮

00:00:13 #501 [Verbose] > │ ()                                                                           │

00:00:13 #502 [Verbose] > │                                                                              │

00:00:13 #503 [Verbose] > │                                                                              │

00:00:13 #504 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:13 #505 [Verbose] >

00:00:13 #506 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────

00:00:13 #507 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮

00:00:13 #508 [Verbose] > │ ## rotate_number                                                             │

00:00:13 #509 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:13 #510 [Verbose] >

00:00:13 #511 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:13 #512 [Verbose] > inl rotate_number forall t {number}. (max : i64) (n : t) : t =

00:00:13 #513 [Verbose] >     (conv n - 1 + max) % max + 1 |> conv

00:00:13 #514 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0908-0779-7901-7376600275cb\main.spi

00:00:13 #515 [Verbose] >

00:00:13 #516 [Verbose] > ╭─[ 135.34ms - stdout ]────────────────────────────────────────────────────────╮

00:00:13 #517 [Verbose] > │ ()                                                                           │

00:00:13 #518 [Verbose] > │                                                                              │

00:00:13 #519 [Verbose] > │                                                                              │

00:00:13 #520 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:13 #521 [Verbose] >

00:00:13 #522 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────

00:00:13 #523 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮

00:00:13 #524 [Verbose] > │ ## rotate_numbers                                                            │

00:00:13 #525 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:13 #526 [Verbose] >

00:00:13 #527 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:13 #528 [Verbose] > inl rotate_numbers max items =

00:00:13 #529 [Verbose] >     items |> stream.map (rotate_number max)

00:00:13 #530 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0908-0792-9298-93d97bb89dbf\main.spi

00:00:13 #531 [Verbose] >

00:00:13 #532 [Verbose] > ╭─[ 155.49ms - stdout ]────────────────────────────────────────────────────────╮

00:00:13 #533 [Verbose] > │ ()                                                                           │

00:00:13 #534 [Verbose] > │                                                                              │

00:00:13 #535 [Verbose] > │                                                                              │

00:00:13 #536 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:13 #537 [Verbose] >

00:00:13 #538 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:13 #539 [Verbose] > // // test

00:00:13 #540 [Verbose] >

00:00:13 #541 [Verbose] > listm'.init_series -1 14 1i32

00:00:13 #542 [Verbose] > |> stream.from_list

00:00:13 #543 [Verbose] > |> rotate_numbers 6

00:00:13 #544 [Verbose] > |> stream.to_list

00:00:13 #545 [Verbose] > |> _equal [[ 5; 6; 1; 2; 3; 4; 5; 6; 1; 2; 3; 4; 5; 6; 1; 2 ]]

00:00:13 #546 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0908-0808-0877-0149394867aa\main.spi

00:00:13 #547 [Verbose] >

00:00:13 #548 [Verbose] > ╭─[ 207.95ms - stdout ]────────────────────────────────────────────────────────╮

00:00:13 #549 [Verbose] > │ type UH0 =                                                                   │

00:00:13 #550 [Verbose] > │     | UH0_0 of int32 * UH0                                                   │

00:00:13 #551 [Verbose] > │     | UH0_1                                                                  │

00:00:13 #552 [Verbose] > │ let rec method0 () : unit =                                                  │

00:00:13 #553 [Verbose] > │     let v0 : UH0 = UH0_1                                                     │

00:00:13 #554 [Verbose] > │     let v1 : UH0 = UH0_0(2, v0)                                              │

00:00:13 #555 [Verbose] > │     let v2 : UH0 = UH0_0(1, v1)                                              │

00:00:13 #556 [Verbose] > │     let v3 : UH0 = UH0_0(6, v2)                                              │

00:00:13 #557 [Verbose] > │     let v4 : UH0 = UH0_0(5, v3)                                              │

00:00:13 #558 [Verbose] > │     let v5 : UH0 = UH0_0(4, v4)                                              │

00:00:13 #559 [Verbose] > │     let v6 : UH0 = UH0_0(3, v5)                                              │

00:00:13 #560 [Verbose] > │     let v7 : UH0 = UH0_0(2, v6)                                              │

00:00:13 #561 [Verbose] > │     let v8 : UH0 = UH0_0(1, v7)                                              │

00:00:13 #562 [Verbose] > │     let v9 : UH0 = UH0_0(6, v8)                                              │

00:00:13 #563 [Verbose] > │     let v10 : UH0 = UH0_0(5, v9)                                             │

00:00:13 #564 [Verbose] > │     let v11 : UH0 = UH0_0(4, v10)                                            │

00:00:13 #565 [Verbose] > │     let v12 : UH0 = UH0_0(3, v11)                                            │

00:00:13 #566 [Verbose] > │     let v13 : UH0 = UH0_0(2, v12)                                            │

00:00:13 #567 [Verbose] > │     let v14 : UH0 = UH0_0(1, v13)                                            │

00:00:13 #568 [Verbose] > │     let v15 : UH0 = UH0_0(6, v14)                                            │

00:00:13 #569 [Verbose] > │     let v16 : UH0 = UH0_0(5, v15)                                            │

00:00:13 #570 [Verbose] > │     let v17 : UH0 = UH0_1                                                    │

00:00:13 #571 [Verbose] > │     let v18 : UH0 = UH0_0(2, v17)                                            │

00:00:13 #572 [Verbose] > │     let v19 : UH0 = UH0_0(1, v18)                                            │

00:00:13 #573 [Verbose] > │     let v20 : UH0 = UH0_0(6, v19)                                            │

00:00:13 #574 [Verbose] > │     let v21 : UH0 = UH0_0(5, v20)                                            │

00:00:13 #575 [Verbose] > │     let v22 : UH0 = UH0_0(4, v21)                                            │

00:00:13 #576 [Verbose] > │     let v23 : UH0 = UH0_0(3, v22)                                            │

00:00:13 #577 [Verbose] > │     let v24 : UH0 = UH0_0(2, v23)                                            │

00:00:13 #578 [Verbose] > │     let v25 : UH0 = UH0_0(1, v24)                                            │

00:00:13 #579 [Verbose] > │     let v26 : UH0 = UH0_0(6, v25)                                            │

00:00:13 #580 [Verbose] > │     let v27 : UH0 = UH0_0(5, v26)                                            │

00:00:13 #581 [Verbose] > │     let v28 : UH0 = UH0_0(4, v27)                                            │

00:00:13 #582 [Verbose] > │     let v29 : UH0 = UH0_0(3, v28)                                            │

00:00:13 #583 [Verbose] > │     let v30 : UH0 = UH0_0(2, v29)                                            │

00:00:13 #584 [Verbose] > │     let v31 : UH0 = UH0_0(1, v30)                                            │

00:00:13 #585 [Verbose] > │     let v32 : UH0 = UH0_0(6, v31)                                            │

00:00:13 #586 [Verbose] > │     let v33 : UH0 = UH0_0(5, v32)                                            │

00:00:13 #587 [Verbose] > │     let v34 : string = $"__expect / actual: %A{v16} / expected: %A{v33}"     │

00:00:13 #588 [Verbose] > │     ()                                                                       │

00:00:13 #589 [Verbose] > │ method0()                                                                    │

00:00:13 #590 [Verbose] > │                                                                              │

00:00:13 #591 [Verbose] > │                                                                              │

00:00:13 #592 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:13 #593 [Verbose] >

00:00:13 #594 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────

00:00:13 #595 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮

00:00:13 #596 [Verbose] > │ ## create_sequential_roller                                                  │

00:00:13 #597 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:13 #598 [Verbose] >

00:00:13 #599 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:13 #600 [Verbose] > inl create_sequential_roller (log : option (string -> ())) list =

00:00:13 #601 [Verbose] >     log |> optionm'.iter ((|>) $"$\"create_sequential_roller ()\"")

00:00:13 #602 [Verbose] >     inl s = list |> listm.rev |> listm.append list |> stream.from_list |>

00:00:13 #603 [Verbose] > stream.memoize

00:00:13 #604 [Verbose] >     inl current_index = mut 0i64

00:00:13 #605 [Verbose] >     inl acc = mut 1

00:00:13 #606 [Verbose] >     inl len = mut -1

00:00:13 #607 [Verbose] >     inl last_item = mut None

00:00:13 #608 [Verbose] >     let rec loop () =

00:00:13 #609 [Verbose] >         fun () =>

00:00:13 #610 [Verbose] >             inl current_index = *current_index

00:00:13 #611 [Verbose] >             inl acc = *acc

00:00:13 #612 [Verbose] >             inl len = *len

00:00:13 #613 [Verbose] >             inl last_item = *last_item

00:00:13 #614 [Verbose] >             log |> optionm'.iter ((|>) $"$\"create_sequential_roller / roll

00:00:13 #615 [Verbose] > current_index: {!current_index} / acc: {!acc} / len: {!len} / last_item:

00:00:13 #616 [Verbose] > %A{!last_item}\"")

00:00:13 #617 [Verbose] >         |> fun x => x ()

00:00:13 #618 [Verbose] >         match s () |> stream.try_item *current_index with

00:00:13 #619 [Verbose] >         | Some item =>

00:00:13 #620 [Verbose] >             current_index <- *current_index + 1

00:00:13 #621 [Verbose] >             last_item <- Some item

00:00:13 #622 [Verbose] >             item

00:00:13 #623 [Verbose] >         | None =>

00:00:13 #624 [Verbose] >             log |> optionm'.iter ((|>) $"$\"create_sequential_roller / roll

00:00:13 #625 [Verbose] > None\"")

00:00:13 #626 [Verbose] >             if *len = -1

00:00:13 #627 [Verbose] >             then len <- *current_index

00:00:13 #628 [Verbose] >             acc <-

00:00:13 #629 [Verbose] >                 if *acc >= *len

00:00:13 #630 [Verbose] >                 then 1

00:00:13 #631 [Verbose] >                 else *acc + 1

00:00:13 #632 [Verbose] >             current_index <- *acc - 1

00:00:13 #633 [Verbose] >             last_item <- None

00:00:13 #634 [Verbose] >             loop ()

00:00:13 #635 [Verbose] >     loop

00:00:13 #636 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0908-0831-3153-3b4b75f0f09d\main.spi

00:00:13 #637 [Verbose] >

00:00:13 #638 [Verbose] > ╭─[ 161.71ms - stdout ]────────────────────────────────────────────────────────╮

00:00:13 #639 [Verbose] > │ ()                                                                           │

00:00:13 #640 [Verbose] > │                                                                              │

00:00:13 #641 [Verbose] > │                                                                              │

00:00:13 #642 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:13 #643 [Verbose] >

00:00:13 #644 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:13 #645 [Verbose] > // // test

00:00:13 #646 [Verbose] >

00:00:13 #647 [Verbose] > inl sequential_roll = create_sequential_roller (Some console.write_line) [[

00:00:13 #648 [Verbose] > 1i32; 2; 3; 4 ]]

00:00:13 #649 [Verbose] >

00:00:13 #650 [Verbose] > am.init 50i32 (ignore >> sequential_roll)

00:00:13 #651 [Verbose] > |> _equal (a ;[[ 1; 2; 3; 4; 4; 3; 2; 1; 2; 3; 4; 4; 3; 2; 1; 3; 4; 4; 3; 2; 1;

00:00:13 #652 [Verbose] > 4; 4; 3; 2; 1;

00:00:13 #653 [Verbose] > 4; 3; 2; 1; 3; 2; 1; 2; 1; 1; 1; 2; 3; 4; 4; 3; 2; 1; 2; 3; 4; 4; 3; 2 ]] : a

00:00:13 #654 [Verbose] > i32 i32)

00:00:13 #655 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0908-0847-4791-4ab23be557da\main.spi

00:00:14 #656 [Verbose] >

00:00:14 #657 [Verbose] > ╭─[ 652.45ms - stdout ]────────────────────────────────────────────────────────╮

00:00:14 #658 [Verbose] > │ type UH0 =                                                                   │

00:00:14 #659 [Verbose] > │     | UH0_0 of int32 * (unit -> UH0)                                         │

00:00:14 #660 [Verbose] > │     | UH0_1                                                                  │

00:00:14 #661 [Verbose] > │ and [<Struct>] US0 =                                                         │

00:00:14 #662 [Verbose] > │     | US0_0 of f0_0 : UH0                                                    │

00:00:14 #663 [Verbose] > │     | US0_1 of f1_0 : (unit -> UH0)                                          │

00:00:14 #664 [Verbose] > │ and Mut0 = {mutable l0 : US0}                                                │

00:00:14 #665 [Verbose] > │ and Mut1 = {mutable l0 : int64}                                              │

00:00:14 #666 [Verbose] > │ and [<Struct>] US1 =                                                         │

00:00:14 #667 [Verbose] > │     | US1_0                                                                  │

00:00:14 #668 [Verbose] > │     | US1_1 of f1_0 : int32                                                  │

00:00:14 #669 [Verbose] > │ and Mut2 = {mutable l0 : US1}                                                │

00:00:14 #670 [Verbose] > │ and Mut3 = {mutable l0 : int32}                                              │

00:00:14 #671 [Verbose] > │ let rec closure8 () () : UH0 =                                               │

00:00:14 #672 [Verbose] > │     UH0_1                                                                    │

00:00:14 #673 [Verbose] > │ and closure7 () () : UH0 =                                                   │

00:00:14 #674 [Verbose] > │     let v0 : (unit -> UH0) = closure8()                                      │

00:00:14 #675 [Verbose] > │     UH0_0(1, v0)                                                             │

00:00:14 #676 [Verbose] > │ and closure6 () () : UH0 =                                                   │

00:00:14 #677 [Verbose] > │     let v0 : (unit -> UH0) = closure7()                                      │

00:00:14 #678 [Verbose] > │     UH0_0(2, v0)                                                             │

00:00:14 #679 [Verbose] > │ and closure5 () () : UH0 =                                                   │

00:00:14 #680 [Verbose] > │     let v0 : (unit -> UH0) = closure6()                                      │

00:00:14 #681 [Verbose] > │     UH0_0(3, v0)                                                             │

00:00:14 #682 [Verbose] > │ and closure4 () () : UH0 =                                                   │

00:00:14 #683 [Verbose] > │     let v0 : (unit -> UH0) = closure5()                                      │

00:00:14 #684 [Verbose] > │     UH0_0(4, v0)                                                             │

00:00:14 #685 [Verbose] > │ and closure3 () () : UH0 =                                                   │

00:00:14 #686 [Verbose] > │     let v0 : (unit -> UH0) = closure4()                                      │

00:00:14 #687 [Verbose] > │     UH0_0(4, v0)                                                             │

00:00:14 #688 [Verbose] > │ and closure2 () () : UH0 =                                                   │

00:00:14 #689 [Verbose] > │     let v0 : (unit -> UH0) = closure3()                                      │

00:00:14 #690 [Verbose] > │     UH0_0(3, v0)                                                             │

00:00:14 #691 [Verbose] > │ and closure1 () () : UH0 =                                                   │

00:00:14 #692 [Verbose] > │     let v0 : (unit -> UH0) = closure2()                                      │

00:00:14 #693 [Verbose] > │     UH0_0(2, v0)                                                             │

00:00:14 #694 [Verbose] > │ and closure0 () () : UH0 =                                                   │

00:00:14 #695 [Verbose] > │     let v0 : (unit -> UH0) = closure1()                                      │

00:00:14 #696 [Verbose] > │     UH0_0(1, v0)                                                             │

00:00:14 #697 [Verbose] > │ and method1 (v0 : Mut3) : bool =                                             │

00:00:14 #698 [Verbose] > │     let v1 : int32 = v0.l0                                                   │

00:00:14 #699 [Verbose] > │     let v2 : bool = v1 < 50                                                  │

00:00:14 #700 [Verbose] > │     v2                                                                       │

00:00:14 #701 [Verbose] > │ and closure9 (v0 : Mut0) () : UH0 =                                          │

00:00:14 #702 [Verbose] > │     let v1 : US0 = v0.l0                                                     │

00:00:14 #703 [Verbose] > │     match v1 with                                                            │

00:00:14 #704 [Verbose] > │     | US0_0(v2) -> (* Computed *)                                            │

00:00:14 #705 [Verbose] > │         v2                                                                   │

00:00:14 #706 [Verbose] > │     | US0_1(v3) -> (* NotComputed *)                                         │

00:00:14 #707 [Verbose] > │         let v4 : UH0 = v3 ()                                                 │

00:00:14 #708 [Verbose] > │         let v13 : UH0 =                                                      │

00:00:14 #709 [Verbose] > │             match v4 with                                                    │

00:00:14 #710 [Verbose] > │             | UH0_0(v6, v7) -> (* StreamCons *)                              │

00:00:14 #711 [Verbose] > │                 let v8 : US0 = US0_1(v7)                                     │

00:00:14 #712 [Verbose] > │                 let v9 : Mut0 = {l0 = v8} : Mut0                             │

00:00:14 #713 [Verbose] > │                 let v10 : (unit -> UH0) = closure9(v9)                       │

00:00:14 #714 [Verbose] > │                 UH0_0(v6, v10)                                               │

00:00:14 #715 [Verbose] > │             | UH0_1 -> (* StreamNil *)                                       │

00:00:14 #716 [Verbose] > │                 UH0_1                                                        │

00:00:14 #717 [Verbose] > │         let v14 : US0 = US0_0(v13)                                           │

00:00:14 #718 [Verbose] > │         v0.l0 <- v14                                                         │

00:00:14 #719 [Verbose] > │         v13                                                                  │

00:00:14 #720 [Verbose] > │ and method3 (v0 : int64, v1 : UH0) : US1 =                                   │

00:00:14 #721 [Verbose] > │     match v1 with                                                            │

00:00:14 #722 [Verbose] > │     | UH0_0(v2, v3) -> (* StreamCons *)                                      │

00:00:14 #723 [Verbose] > │         let v4 : bool = v0 <= 0L                                             │

00:00:14 #724 [Verbose] > │         if v4 then                                                           │

00:00:14 #725 [Verbose] > │             US1_1(v2)                                                        │

00:00:14 #726 [Verbose] > │         else                                                                 │

00:00:14 #727 [Verbose] > │             let v6 : int64 = v0 - 1L                                         │

00:00:14 #728 [Verbose] > │             let v7 : UH0 = v3 ()                                             │

00:00:14 #729 [Verbose] > │             method3(v6, v7)                                                  │

00:00:14 #730 [Verbose] > │     | UH0_1 -> (* StreamNil *)                                               │

00:00:14 #731 [Verbose] > │         US1_0                                                                │

00:00:14 #732 [Verbose] > │ and method2 (v0 : Mut0, v1 : Mut1, v2 : Mut1, v3 : Mut1, v4 : Mut2) : int32  │

00:00:14 #733 [Verbose] > │ =                                                                            │

00:00:14 #734 [Verbose] > │     let v5 : int64 = v1.l0                                                   │

00:00:14 #735 [Verbose] > │     let v6 : int64 = v2.l0                                                   │

00:00:14 #736 [Verbose] > │     let v7 : int64 = v3.l0                                                   │

00:00:14 #737 [Verbose] > │     let v8 : US1 = v4.l0                                                     │

00:00:14 #738 [Verbose] > │     let v9 : string = $"create_sequential_roller / roll / current_index:     │

00:00:14 #739 [Verbose] > │ {v5} / acc: {v6} / len: {v7} / last_item: %A{v8}"                            │

00:00:14 #740 [Verbose] > │     System.Console.WriteLine v9                                              │

00:00:14 #741 [Verbose] > │     let v10 : US0 = v0.l0                                                    │

00:00:14 #742 [Verbose] > │     let v25 : UH0 =                                                          │

00:00:14 #743 [Verbose] > │         match v10 with                                                       │

00:00:14 #744 [Verbose] > │         | US0_0(v11) -> (* Computed *)                                       │

00:00:14 #745 [Verbose] > │             v11                                                              │

00:00:14 #746 [Verbose] > │         | US0_1(v12) -> (* NotComputed *)                                    │

00:00:14 #747 [Verbose] > │             let v13 : UH0 = v12 ()                                           │

00:00:14 #748 [Verbose] > │             let v22 : UH0 =                                                  │

00:00:14 #749 [Verbose] > │                 match v13 with                                               │

00:00:14 #750 [Verbose] > │                 | UH0_0(v15, v16) -> (* StreamCons *)                        │

00:00:14 #751 [Verbose] > │                     let v17 : US0 = US0_1(v16)                               │

00:00:14 #752 [Verbose] > │                     let v18 : Mut0 = {l0 = v17} : Mut0                       │

00:00:14 #753 [Verbose] > │                     let v19 : (unit -> UH0) = closure9(v18)                  │

00:00:14 #754 [Verbose] > │                     UH0_0(v15, v19)                                          │

00:00:14 #755 [Verbose] > │                 | UH0_1 -> (* StreamNil *)                                   │

00:00:14 #756 [Verbose] > │                     UH0_1                                                    │

00:00:14 #757 [Verbose] > │             let v23 : US0 = US0_0(v22)                                       │

00:00:14 #758 [Verbose] > │             v0.l0 <- v23                                                     │

00:00:14 #759 [Verbose] > │             v22                                                              │

00:00:14 #760 [Verbose] > │     let v26 : int64 = v1.l0                                                  │

00:00:14 #761 [Verbose] > │     let v27 : US1 = method3(v26, v25)                                        │

00:00:14 #762 [Verbose] > │     match v27 with                                                           │

00:00:14 #763 [Verbose] > │     | US1_0 -> (* None *)                                                    │

00:00:14 #764 [Verbose] > │         let v32 : string = $"create_sequential_roller / roll / None"         │

00:00:14 #765 [Verbose] > │         System.Console.WriteLine v32                                         │

00:00:14 #766 [Verbose] > │         let v33 : int64 = v3.l0                                              │

00:00:14 #767 [Verbose] > │         let v34 : bool = v33 = -1L                                           │

00:00:14 #768 [Verbose] > │         if v34 then                                                          │

00:00:14 #769 [Verbose] > │             let v35 : int64 = v1.l0                                          │

00:00:14 #770 [Verbose] > │             v3.l0 <- v35                                                     │

00:00:14 #771 [Verbose] > │             ()                                                               │

00:00:14 #772 [Verbose] > │         let v36 : int64 = v2.l0                                              │

00:00:14 #773 [Verbose] > │         let v37 : int64 = v3.l0                                              │

00:00:14 #774 [Verbose] > │         let v38 : bool = v36 >= v37                                          │

00:00:14 #775 [Verbose] > │         let v41 : int64 =                                                    │

00:00:14 #776 [Verbose] > │             if v38 then                                                      │

00:00:14 #777 [Verbose] > │                 1L                                                           │

00:00:14 #778 [Verbose] > │             else                                                             │

00:00:14 #779 [Verbose] > │                 let v39 : int64 = v2.l0                                      │

00:00:14 #780 [Verbose] > │                 let v40 : int64 = v39 + 1L                                   │

00:00:14 #781 [Verbose] > │                 v40                                                          │

00:00:14 #782 [Verbose] > │         v2.l0 <- v41                                                         │

00:00:14 #783 [Verbose] > │         let v42 : int64 = v2.l0                                              │

00:00:14 #784 [Verbose] > │         let v43 : int64 = v42 - 1L                                           │

00:00:14 #785 [Verbose] > │         v1.l0 <- v43                                                         │

00:00:14 #786 [Verbose] > │         let v44 : US1 = US1_0                                                │

00:00:14 #787 [Verbose] > │         v4.l0 <- v44                                                         │

00:00:14 #788 [Verbose] > │         method2(v0, v1, v2, v3, v4)                                          │

00:00:14 #789 [Verbose] > │     | US1_1(v28) -> (* Some *)                                               │

00:00:14 #790 [Verbose] > │         let v29 : int64 = v1.l0                                              │

00:00:14 #791 [Verbose] > │         let v30 : int64 = v29 + 1L                                           │

00:00:14 #792 [Verbose] > │         v1.l0 <- v30                                                         │

00:00:14 #793 [Verbose] > │         let v31 : US1 = US1_1(v28)                                           │

00:00:14 #794 [Verbose] > │         v4.l0 <- v31                                                         │

00:00:14 #795 [Verbose] > │         v28                                                                  │

00:00:14 #796 [Verbose] > │ and method4 (v0 : (int32 [])) : (int32 []) =                                 │

00:00:14 #797 [Verbose] > │     v0                                                                       │

00:00:14 #798 [Verbose] > │ and method5 (v0 : (int32 []), v1 : (int32 []), v2 : int32) : bool =          │

00:00:14 #799 [Verbose] > │     let v3 : int32 = v0.Length                                               │

00:00:14 #800 [Verbose] > │     let v4 : bool = v2 < v3                                                  │

00:00:14 #801 [Verbose] > │     if v4 then                                                               │

00:00:14 #802 [Verbose] > │         let v5 : int32 = v0.[int v2]                                         │

00:00:14 #803 [Verbose] > │         let v6 : int32 = v1.[int v2]                                         │

00:00:14 #804 [Verbose] > │         let v7 : bool = v5 = v6                                              │

00:00:14 #805 [Verbose] > │         if v7 then                                                           │

00:00:14 #806 [Verbose] > │             let v8 : int32 = v2 + 1                                          │

00:00:14 #807 [Verbose] > │             method5(v0, v1, v8)                                              │

00:00:14 #808 [Verbose] > │         else                                                                 │

00:00:14 #809 [Verbose] > │             false                                                            │

00:00:14 #810 [Verbose] > │     else                                                                     │

00:00:14 #811 [Verbose] > │         true                                                                 │

00:00:14 #812 [Verbose] > │ and method0 () : unit =                                                      │

00:00:14 #813 [Verbose] > │     let v0 : string = $"create_sequential_roller ()"                         │

00:00:14 #814 [Verbose] > │     System.Console.WriteLine v0                                              │

00:00:14 #815 [Verbose] > │     let v1 : (unit -> UH0) = closure0()                                      │

00:00:14 #816 [Verbose] > │     let v2 : US0 = US0_1(v1)                                                 │

00:00:14 #817 [Verbose] > │     let v3 : Mut0 = {l0 = v2} : Mut0                                         │

00:00:14 #818 [Verbose] > │     let v4 : Mut1 = {l0 = 0L} : Mut1                                         │

00:00:14 #819 [Verbose] > │     let v5 : Mut1 = {l0 = 1L} : Mut1                                         │

00:00:14 #820 [Verbose] > │     let v6 : Mut1 = {l0 = -1L} : Mut1                                        │

00:00:14 #821 [Verbose] > │     let v7 : US1 = US1_0                                                     │

00:00:14 #822 [Verbose] > │     let v8 : Mut2 = {l0 = v7} : Mut2                                         │

00:00:14 #823 [Verbose] > │     let v9 : (int32 []) = Array.zeroCreate<int32> (50)                       │

00:00:14 #824 [Verbose] > │     let v10 : Mut3 = {l0 = 0} : Mut3                                         │

00:00:14 #825 [Verbose] > │     while method1(v10) do                                                    │

00:00:14 #826 [Verbose] > │         let v12 : int32 = v10.l0                                             │

00:00:14 #827 [Verbose] > │         let v13 : int32 = method2(v3, v4, v5, v6, v8)                        │

00:00:14 #828 [Verbose] > │         v9.[int v12] <- v13                                                  │

00:00:14 #829 [Verbose] > │         let v14 : int32 = v12 + 1                                            │

00:00:14 #830 [Verbose] > │         v10.l0 <- v14                                                        │

00:00:14 #831 [Verbose] > │         ()                                                                   │

00:00:14 #832 [Verbose] > │     let v15 : (int32 []) = [|1; 2; 3; 4; 4; 3; 2; 1; 2; 3; 4; 4; 3; 2; 1; 3; │

00:00:14 #833 [Verbose] > │ 4; 4; 3; 2; 1; 4; 4; 3; 2; 1; 4; 3; 2; 1; 3; 2; 1; 2; 1; 1; 1; 2; 3; 4; 4;   │

00:00:14 #834 [Verbose] > │ 3; 2; 1; 2; 3; 4; 4; 3; 2|]                                                  │

00:00:14 #835 [Verbose] > │     let v16 : (int32 []) = method4(v15)                                      │

00:00:14 #836 [Verbose] > │     let v17 : string = $"__expect / actual: %A{v9} / expected: %A{v16}"      │

00:00:14 #837 [Verbose] > │     let v18 : int32 = v9.Length                                              │

00:00:14 #838 [Verbose] > │     let v19 : int32 = v16.Length                                             │

00:00:14 #839 [Verbose] > │     let v20 : bool = v18 = v19                                               │

00:00:14 #840 [Verbose] > │     let v21 : bool = v20 <> true                                             │

00:00:14 #841 [Verbose] > │     let v24 : bool =                                                         │

00:00:14 #842 [Verbose] > │         if v21 then                                                          │

00:00:14 #843 [Verbose] > │             false                                                            │

00:00:14 #844 [Verbose] > │         else                                                                 │

00:00:14 #845 [Verbose] > │             let v22 : int32 = 0                                              │

00:00:14 #846 [Verbose] > │             method5(v9, v16, v22)                                            │

00:00:14 #847 [Verbose] > │     let v25 : bool = v24 = false                                             │

00:00:14 #848 [Verbose] > │     if v25 then                                                              │

00:00:14 #849 [Verbose] > │         failwith<unit> v17                                                   │

00:00:14 #850 [Verbose] > │ method0()                                                                    │

00:00:14 #851 [Verbose] > │                                                                              │

00:00:14 #852 [Verbose] > │ create_sequential_roller ()                                                  │

00:00:14 #853 [Verbose] > │ create_sequential_roller / roll / current_index: 0 / acc: 1 / len: -1 /      │

00:00:14 #854 [Verbose] > │ last_item: US1_0                                                             │

00:00:14 #855 [Verbose] > │ create_sequential_roller / roll / current_index: 1 / acc: 1 / len: -1 /      │

00:00:14 #856 [Verbose] > │ last_item: US1_1 1                                                           │

00:00:14 #857 [Verbose] > │ create_sequential_roller / roll / current_index: 2 / acc: 1 / len: -1 /      │

00:00:14 #858 [Verbose] > │ last_item: US1_1 2                                                           │

00:00:14 #859 [Verbose] > │ create_sequential_roller / roll / current_index: 3 / acc: 1 / len: -1 /      │

00:00:14 #860 [Verbose] > │ last_item: US1_1 3                                                           │

00:00:14 #861 [Verbose] > │ create_sequential_roller / roll / current_index: 4 / acc: 1 / len: -1 /      │

00:00:14 #862 [Verbose] > │ last_item: US1_1 4                                                           │

00:00:14 #863 [Verbose] > │ create_sequential_roller / roll / current_index: 5 / acc: 1 / len: -1 /      │

00:00:14 #864 [Verbose] > │ last_item: US1_1 4                                                           │

00:00:14 #865 [Verbose] > │ create_sequential_roller / roll / current_index: 6 / acc: 1 / len: -1 /      │

00:00:14 #866 [Verbose] > │ last_item: US1_1 3                                                           │

00:00:14 #867 [Verbose] > │ create_sequential_roller / roll / current_index: 7 / acc: 1 / len: -1 /      │

00:00:14 #868 [Verbose] > │ last_item: US1_1 2                                                           │

00:00:14 #869 [Verbose] > │ create_sequential_roller / roll / current_index: 8 / acc: 1 / len: -1 /      │

00:00:14 #870 [Verbose] > │ last_item: US1_1 1                                                           │

00:00:14 #871 [Verbose] > │ create_sequential_roller / roll / None                                       │

00:00:14 #872 [Verbose] > │ create_sequential_roller / roll / current_index: 1 / acc: 2 / len: 8 /       │

00:00:14 #873 [Verbose] > │ last_item: US1_0                                                             │

00:00:14 #874 [Verbose] > │ create_sequential_roller / roll / current_index: 2 / acc: 2 / len: 8 /       │

00:00:14 #875 [Verbose] > │ last_item: US1_1 2                                                           │

00:00:14 #876 [Verbose] > │ create_sequential_roller / roll / current_index: 3 / acc: 2 / len: 8 /       │

00:00:14 #877 [Verbose] > │ last_item: US1_1 3                                                           │

00:00:14 #878 [Verbose] > │ create_sequential_roller / roll / current_index: 4 / acc: 2 / len: 8 /       │

00:00:14 #879 [Verbose] > │ last_item: US1_1 4                                                           │

00:00:14 #880 [Verbose] > │ create_sequential_roller / roll / current_index: 5 / acc: 2 / len: 8 /       │

00:00:14 #881 [Verbose] > │ last_item: US1_1 4                                                           │

00:00:14 #882 [Verbose] > │ create_sequential_roller / roll / current_index: 6 / acc: 2 / len: 8 /       │

00:00:14 #883 [Verbose] > │ last_item: US1_1 3                                                           │

00:00:14 #884 [Verbose] > │ create_sequential_roller / roll / current_index: 7 / acc: 2 / len: 8 /       │

00:00:14 #885 [Verbose] > │ last_item: US1_1 2                                                           │

00:00:14 #886 [Verbose] > │ create_sequential_roller / roll / current_index: 8 / acc: 2 / len: 8 /       │

00:00:14 #887 [Verbose] > │ last_item: US1_1 1                                                           │

00:00:14 #888 [Verbose] > │ create_sequential_roller / roll / None                                       │

00:00:14 #889 [Verbose] > │ create_sequential_roller / roll / current_index: 2 / acc: 3 / len: 8 /       │

00:00:14 #890 [Verbose] > │ last_item: US1_0                                                             │

00:00:14 #891 [Verbose] > │ create_sequential_roller / roll / current_index: 3 / acc: 3 / len: 8 /       │

00:00:14 #892 [Verbose] > │ last_item: US1_1 3                                                           │

00:00:14 #893 [Verbose] > │ create_sequential_roller / roll / current_index: 4 / acc: 3 / len: 8 /       │

00:00:14 #894 [Verbose] > │ last_item: US1_1 4                                                           │

00:00:14 #895 [Verbose] > │ create_sequential_roller / roll / current_index: 5 / acc: 3 / len: 8 /       │

00:00:14 #896 [Verbose] > │ last_item: US1_1 4                                                           │

00:00:14 #897 [Verbose] > │ create_sequential_roller / roll / current_index: 6 / acc: 3 / len: 8 /       │

00:00:14 #898 [Verbose] > │ last_item: US1_1 3                                                           │

00:00:14 #899 [Verbose] > │ create_sequential_roller / roll / current_index: 7 / acc: 3 / len: 8 /       │

00:00:14 #900 [Verbose] > │ last_item: US1_1 2                                                           │

00:00:14 #901 [Verbose] > │ create_sequential_roller / roll / current_index: 8 / acc: 3 / len: 8 /       │

00:00:14 #902 [Verbose] > │ last_item: US1_1 1                                                           │

00:00:14 #903 [Verbose] > │ create_sequential_roller / roll / None                                       │

00:00:14 #904 [Verbose] > │ create_sequential_roller / roll / current_index: 3 / acc: 4 / len: 8 /       │

00:00:14 #905 [Verbose] > │ last_item: US1_0                                                             │

00:00:14 #906 [Verbose] > │ create_sequential_roller / roll / current_index: 4 / acc: 4 / len: 8 /       │

00:00:14 #907 [Verbose] > │ last_item: US1_1 4                                                           │

00:00:14 #908 [Verbose] > │ create_sequential_roller / roll / current_index: 5 / acc: 4 / len: 8 /       │

00:00:14 #909 [Verbose] > │ last_item: US1_1 4                                                           │

00:00:14 #910 [Verbose] > │ create_sequential_roller / roll / current_index: 6 / acc: 4 / len: 8 /       │

00:00:14 #911 [Verbose] > │ last_item: US1_1 3                                                           │

00:00:14 #912 [Verbose] > │ create_sequential_roller / roll / current_index: 7 / acc: 4 / len: 8 /       │

00:00:14 #913 [Verbose] > │ last_item: US1_1 2                                                           │

00:00:14 #914 [Verbose] > │ create_sequential_roller / roll / current_index: 8 / acc: 4 / len: 8 /       │

00:00:14 #915 [Verbose] > │ last_item: US1_1 1                                                           │

00:00:14 #916 [Verbose] > │ create_sequential_roller / roll / None                                       │

00:00:14 #917 [Verbose] > │ create_sequential_roller / roll / current_index: 4 / acc: 5 / len: 8 /       │

00:00:14 #918 [Verbose] > │ last_item: US1_0                                                             │

00:00:14 #919 [Verbose] > │ create_sequential_roller / roll / current_index: 5 / acc: 5 / len: 8 /       │

00:00:14 #920 [Verbose] > │ last_item: US1_1 4                                                           │

00:00:14 #921 [Verbose] > │ create_sequential_roller / roll / current_index: 6 / acc: 5 / len: 8 /       │

00:00:14 #922 [Verbose] > │ last_item: US1_1 3                                                           │

00:00:14 #923 [Verbose] > │ create_sequential_roller / roll / current_index: 7 / acc: 5 / len: 8 /       │

00:00:14 #924 [Verbose] > │ last_item: US1_1 2                                                           │

00:00:14 #925 [Verbose] > │ create_sequential_roller / roll / current_index: 8 / acc: 5 / len: 8 /       │

00:00:14 #926 [Verbose] > │ last_item: US1_1 1                                                           │

00:00:14 #927 [Verbose] > │ create_sequential_roller / roll / None                                       │

00:00:14 #928 [Verbose] > │ create_sequential_roller / roll / current_index: 5 / acc: 6 / len: 8 /       │

00:00:14 #929 [Verbose] > │ last_item: US1_0                                                             │

00:00:14 #930 [Verbose] > │ create_sequential_roller / roll / current_index: 6 / acc: 6 / len: 8 /       │

00:00:14 #931 [Verbose] > │ last_item: US1_1 3                                                           │

00:00:14 #932 [Verbose] > │ create_sequential_roller / roll / current_index: 7 / acc: 6 / len: 8 /       │

00:00:14 #933 [Verbose] > │ last_item: US1_1 2                                                           │

00:00:14 #934 [Verbose] > │ create_sequential_roller / roll / current_index: 8 / acc: 6 / len: 8 /       │

00:00:14 #935 [Verbose] > │ last_item: US1_1 1                                                           │

00:00:14 #936 [Verbose] > │ create_sequential_roller / roll / None                                       │

00:00:14 #937 [Verbose] > │ create_sequential_roller / roll / current_index: 6 / acc: 7 / len: 8 /       │

00:00:14 #938 [Verbose] > │ last_item: US1_0                                                             │

00:00:14 #939 [Verbose] > │ create_sequential_roller / roll / current_index: 7 / acc: 7 / len: 8 /       │

00:00:14 #940 [Verbose] > │ last_item: US1_1 2                                                           │

00:00:14 #941 [Verbose] > │ create_sequential_roller / roll / current_index: 8 / acc: 7 / len: 8 /       │

00:00:14 #942 [Verbose] > │ last_item: US1_1 1                                                           │

00:00:14 #943 [Verbose] > │ create_sequential_roller / roll / None                                       │

00:00:14 #944 [Verbose] > │ create_sequential_roller / roll / current_index: 7 / acc: 8 / len: 8 /       │

00:00:14 #945 [Verbose] > │ last_item: US1_0                                                             │

00:00:14 #946 [Verbose] > │ create_sequential_roller / roll / current_index: 8 / acc: 8 / len: 8 /       │

00:00:14 #947 [Verbose] > │ last_item: US1_1 1                                                           │

00:00:14 #948 [Verbose] > │ create_sequential_roller / roll / None                                       │

00:00:14 #949 [Verbose] > │ create_sequential_roller / roll / current_index: 0 / acc: 1 / len: 8 /       │

00:00:14 #950 [Verbose] > │ last_item: US1_0                                                             │

00:00:14 #951 [Verbose] > │ create_sequential_roller / roll / current_index: 1 / acc: 1 / len: 8 /       │

00:00:14 #952 [Verbose] > │ last_item: US1_1 1                                                           │

00:00:14 #953 [Verbose] > │ create_sequential_roller / roll / current_index: 2 / acc: 1 / len: 8 /       │

00:00:14 #954 [Verbose] > │ last_item: US1_1 2                                                           │

00:00:14 #955 [Verbose] > │ create_sequential_roller / roll / current_index: 3 / acc: 1 / len: 8 /       │

00:00:14 #956 [Verbose] > │ last_item: US1_1 3                                                           │

00:00:14 #957 [Verbose] > │ create_sequential_roller / roll / current_index: 4 / acc: 1 / len: 8 /       │

00:00:14 #958 [Verbose] > │ last_item: US1_1 4                                                           │

00:00:14 #959 [Verbose] > │ create_sequential_roller / roll / current_index: 5 / acc: 1 / len: 8 /       │

00:00:14 #960 [Verbose] > │ last_item: US1_1 4                                                           │

00:00:14 #961 [Verbose] > │ create_sequential_roller / roll / current_index: 6 / acc: 1 / len: 8 /       │

00:00:14 #962 [Verbose] > │ last_item: US1_1 3                                                           │

00:00:14 #963 [Verbose] > │ create_sequential_roller / roll / current_index: 7 / acc: 1 / len: 8 /       │

00:00:14 #964 [Verbose] > │ last_item: US1_1 2                                                           │

00:00:14 #965 [Verbose] > │ create_sequential_roller / roll / current_index: 8 / acc: 1 / len: 8 /       │

00:00:14 #966 [Verbose] > │ last_item: US1_1 1                                                           │

00:00:14 #967 [Verbose] > │ create_sequential_roller / roll / None                                       │

00:00:14 #968 [Verbose] > │ create_sequential_roller / roll / current_index: 1 / acc: 2 / len: 8 /       │

00:00:14 #969 [Verbose] > │ last_item: US1_0                                                             │

00:00:14 #970 [Verbose] > │ create_sequential_roller / roll / current_index: 2 / acc: 2 / len: 8 /       │

00:00:14 #971 [Verbose] > │ last_item: US1_1 2                                                           │

00:00:14 #972 [Verbose] > │ create_sequential_roller / roll / current_index: 3 / acc: 2 / len: 8 /       │

00:00:14 #973 [Verbose] > │ last_item: US1_1 3                                                           │

00:00:14 #974 [Verbose] > │ create_sequential_roller / roll / current_index: 4 / acc: 2 / len: 8 /       │

00:00:14 #975 [Verbose] > │ last_item: US1_1 4                                                           │

00:00:14 #976 [Verbose] > │ create_sequential_roller / roll / current_index: 5 / acc: 2 / len: 8 /       │

00:00:14 #977 [Verbose] > │ last_item: US1_1 4                                                           │

00:00:14 #978 [Verbose] > │ create_sequential_roller / roll / current_index: 6 / acc: 2 / len: 8 /       │

00:00:14 #979 [Verbose] > │ last_item: US1_1 3                                                           │

00:00:14 #980 [Verbose] > │                                                                              │

00:00:14 #981 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:14 #982 [Verbose] >

00:00:14 #983 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────

00:00:14 #984 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮

00:00:14 #985 [Verbose] > │ ## roll_progressively                                                        │

00:00:14 #986 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:14 #987 [Verbose] >

00:00:14 #988 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:14 #989 [Verbose] > inl roll_progressively (log : option (string -> ())) roll reroll max =

00:00:14 #990 [Verbose] >     inl power = (calculate_dice_count log max) - 1

00:00:14 #991 [Verbose] >     let rec loop rolls size =

00:00:14 #992 [Verbose] >         if size < power + 1

00:00:14 #993 [Verbose] >         then loop (roll () :: rolls) (size + 1)

00:00:14 #994 [Verbose] >         else accumulate_dice_rolls log rolls power 0 |> function

00:00:14 #995 [Verbose] >             | Some (result, _) when result <= max => result

00:00:14 #996 [Verbose] >             | _ when reroll => loop (listm.init power (fun _ => roll ())) power

00:00:14 #997 [Verbose] >             | _ => loop (roll () :: rolls) (size + 1)

00:00:14 #998 [Verbose] >     loop [[]] 0

00:00:14 #999 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0908-0928-2860-279e11675297\main.spi

00:00:14 #1000 [Verbose] >

00:00:14 #1001 [Verbose] > ╭─[ 149.64ms - stdout ]────────────────────────────────────────────────────────╮

00:00:14 #1002 [Verbose] > │ ()                                                                           │

00:00:14 #1003 [Verbose] > │                                                                              │

00:00:14 #1004 [Verbose] > │                                                                              │

00:00:14 #1005 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:14 #1006 [Verbose] >

00:00:14 #1007 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:14 #1008 [Verbose] > // // test

00:00:14 #1009 [Verbose] >

00:00:14 #1010 [Verbose] > roll_progressively None roll_dice false 1

00:00:14 #1011 [Verbose] > |> _equal 1i32

00:00:14 #1012 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0908-0943-4361-4102148e6f2a\main.spi

00:00:14 #1013 [Verbose] >

00:00:15 #1014 [Verbose] > ╭─[ 270.87ms - stdout ]────────────────────────────────────────────────────────╮

00:00:15 #1015 [Verbose] > │ type UH0 =                                                                   │

00:00:15 #1016 [Verbose] > │     | UH0_0 of uint8 * UH0                                                   │

00:00:15 #1017 [Verbose] > │     | UH0_1                                                                  │

00:00:15 #1018 [Verbose] > │ and [<Struct>] US0 =                                                         │

00:00:15 #1019 [Verbose] > │     | US0_0                                                                  │

00:00:15 #1020 [Verbose] > │     | US0_1 of f1_0 : int32 * f1_1 : UH0                                     │

00:00:15 #1021 [Verbose] > │ let rec method3 (v0 : UH0, v1 : int32) : US0 =                               │

00:00:15 #1022 [Verbose] > │     let v2 : string = $"accumulate_dice_rolls / power: {-1y} / acc: {v1}"    │

00:00:15 #1023 [Verbose] > │     let v3 : int32 = v1 + 1                                                  │

00:00:15 #1024 [Verbose] > │     US0_1(v3, v0)                                                            │

00:00:15 #1025 [Verbose] > │ and method2 (v0 : UH0, v1 : int32) : US0 =                                   │

00:00:15 #1026 [Verbose] > │     match v0 with                                                            │

00:00:15 #1027 [Verbose] > │     | UH0_0(v3, v4) -> (* Cons *)                                            │

00:00:15 #1028 [Verbose] > │         let v5 : bool = v3 > 1uy                                             │

00:00:15 #1029 [Verbose] > │         if v5 then                                                           │

00:00:15 #1030 [Verbose] > │             let v6 : uint8 = v3 - 1uy                                        │

00:00:15 #1031 [Verbose] > │             let v7 : int32 = int32 v6                                        │

00:00:15 #1032 [Verbose] > │             let v8 : string = $"accumulate_dice_rolls / power: {0y} / acc:   │

00:00:15 #1033 [Verbose] > │ {v1} / roll: {v3} / value: {v7}"                                             │

00:00:15 #1034 [Verbose] > │             let v9 : int32 = v1 + v7                                         │

00:00:15 #1035 [Verbose] > │             method3(v4, v9)                                                  │

00:00:15 #1036 [Verbose] > │         else                                                                 │

00:00:15 #1037 [Verbose] > │             let v11 : string = $"accumulate_dice_rolls / power: {0y} / acc:  │

00:00:15 #1038 [Verbose] > │ {v1} / roll: {v3}"                                                           │

00:00:15 #1039 [Verbose] > │             method3(v4, v1)                                                  │

00:00:15 #1040 [Verbose] > │     | UH0_1 -> (* Nil *)                                                     │

00:00:15 #1041 [Verbose] > │         US0_0                                                                │

00:00:15 #1042 [Verbose] > │ and method1 (v0 : UH0, v1 : int8) : int32 =                                  │

00:00:15 #1043 [Verbose] > │     let v2 : bool = v1 < 1y                                                  │

00:00:15 #1044 [Verbose] > │     if v2 then                                                               │

00:00:15 #1045 [Verbose] > │         let mutable result = None                                            │

00:00:15 #1046 [Verbose] > │         #if FABLE_COMPILER_RUST                                              │

00:00:15 #1047 [Verbose] > │         #if !WASM                                                            │

00:00:15 #1048 [Verbose] > │         let v3 : string = "rand::Rng::gen_range(&mut rand::thread_rng(),     │

00:00:15 #1049 [Verbose] > │ 1..7)"                                                                       │

00:00:15 #1050 [Verbose] > │         let v4 : uint8 = Fable.Core.RustInterop.emitRustExpr () v3           │

00:00:15 #1051 [Verbose] > │         v4                                                                   │

00:00:15 #1052 [Verbose] > │         #else                                                                │

00:00:15 #1053 [Verbose] > │         let v5 : string = "1"                                                │

00:00:15 #1054 [Verbose] > │         let v6 : uint8 = Fable.Core.RustInterop.emitRustExpr () v5           │

00:00:15 #1055 [Verbose] > │         v6                                                                   │

00:00:15 #1056 [Verbose] > │         #endif                                                               │

00:00:15 #1057 [Verbose] > │         #else                                                                │

00:00:15 #1058 [Verbose] > │         let v7 : uint8 = System.Random().Next (1, 7) |> uint8                │

00:00:15 #1059 [Verbose] > │         v7                                                                   │

00:00:15 #1060 [Verbose] > │         #endif                                                               │

00:00:15 #1061 [Verbose] > │         |> fun x -> result <- Some x                                         │

00:00:15 #1062 [Verbose] > │         let v8 : uint8 = result |> Option.get                                │

00:00:15 #1063 [Verbose] > │         let v9 : UH0 = UH0_0(v8, v0)                                         │

00:00:15 #1064 [Verbose] > │         let v10 : int8 = v1 + 1y                                             │

00:00:15 #1065 [Verbose] > │         method1(v9, v10)                                                     │

00:00:15 #1066 [Verbose] > │     else                                                                     │

00:00:15 #1067 [Verbose] > │         let v12 : int32 = 0                                                  │

00:00:15 #1068 [Verbose] > │         let v13 : US0 = method2(v0, v12)                                     │

00:00:15 #1069 [Verbose] > │         match v13 with                                                       │

00:00:15 #1070 [Verbose] > │         | US0_1(v14, v15) -> (* Some *)                                      │

00:00:15 #1071 [Verbose] > │             let v16 : bool = v14 <= 1                                        │

00:00:15 #1072 [Verbose] > │             if v16 then                                                      │

00:00:15 #1073 [Verbose] > │                 v14                                                          │

00:00:15 #1074 [Verbose] > │             else                                                             │

00:00:15 #1075 [Verbose] > │                 let mutable result = None                                    │

00:00:15 #1076 [Verbose] > │                 #if FABLE_COMPILER_RUST                                      │

00:00:15 #1077 [Verbose] > │                 #if !WASM                                                    │

00:00:15 #1078 [Verbose] > │                 let v17 : string = "rand::Rng::gen_range(&mut                │

00:00:15 #1079 [Verbose] > │ rand::thread_rng(), 1..7)"                                                   │

00:00:15 #1080 [Verbose] > │                 let v18 : uint8 = Fable.Core.RustInterop.emitRustExpr () v17 │

00:00:15 #1081 [Verbose] > │                 v18                                                          │

00:00:15 #1082 [Verbose] > │                 #else                                                        │

00:00:15 #1083 [Verbose] > │                 let v19 : string = "1"                                       │

00:00:15 #1084 [Verbose] > │                 let v20 : uint8 = Fable.Core.RustInterop.emitRustExpr () v19 │

00:00:15 #1085 [Verbose] > │                 v20                                                          │

00:00:15 #1086 [Verbose] > │                 #endif                                                       │

00:00:15 #1087 [Verbose] > │                 #else                                                        │

00:00:15 #1088 [Verbose] > │                 let v21 : uint8 = System.Random().Next (1, 7) |> uint8       │

00:00:15 #1089 [Verbose] > │                 v21                                                          │

00:00:15 #1090 [Verbose] > │                 #endif                                                       │

00:00:15 #1091 [Verbose] > │                 |> fun x -> result <- Some x                                 │

00:00:15 #1092 [Verbose] > │                 let v22 : uint8 = result |> Option.get                       │

00:00:15 #1093 [Verbose] > │                 let v23 : UH0 = UH0_0(v22, v0)                               │

00:00:15 #1094 [Verbose] > │                 let v24 : int8 = v1 + 1y                                     │

00:00:15 #1095 [Verbose] > │                 method1(v23, v24)                                            │

00:00:15 #1096 [Verbose] > │         | _ ->                                                               │

00:00:15 #1097 [Verbose] > │             let mutable result = None                                        │

00:00:15 #1098 [Verbose] > │             #if FABLE_COMPILER_RUST                                          │

00:00:15 #1099 [Verbose] > │             #if !WASM                                                        │

00:00:15 #1100 [Verbose] > │             let v27 : string = "rand::Rng::gen_range(&mut                    │

00:00:15 #1101 [Verbose] > │ rand::thread_rng(), 1..7)"                                                   │

00:00:15 #1102 [Verbose] > │             let v28 : uint8 = Fable.Core.RustInterop.emitRustExpr () v27     │

00:00:15 #1103 [Verbose] > │             v28                                                              │

00:00:15 #1104 [Verbose] > │             #else                                                            │

00:00:15 #1105 [Verbose] > │             let v29 : string = "1"                                           │

00:00:15 #1106 [Verbose] > │             let v30 : uint8 = Fable.Core.RustInterop.emitRustExpr () v29     │

00:00:15 #1107 [Verbose] > │             v30                                                              │

00:00:15 #1108 [Verbose] > │             #endif                                                           │

00:00:15 #1109 [Verbose] > │             #else                                                            │

00:00:15 #1110 [Verbose] > │             let v31 : uint8 = System.Random().Next (1, 7) |> uint8           │

00:00:15 #1111 [Verbose] > │             v31                                                              │

00:00:15 #1112 [Verbose] > │             #endif                                                           │

00:00:15 #1113 [Verbose] > │             |> fun x -> result <- Some x                                     │

00:00:15 #1114 [Verbose] > │             let v32 : uint8 = result |> Option.get                           │

00:00:15 #1115 [Verbose] > │             let v33 : UH0 = UH0_0(v32, v0)                                   │

00:00:15 #1116 [Verbose] > │             let v34 : int8 = v1 + 1y                                         │

00:00:15 #1117 [Verbose] > │             method1(v33, v34)                                                │

00:00:15 #1118 [Verbose] > │ and method0 () : unit =                                                      │

00:00:15 #1119 [Verbose] > │     let v0 : UH0 = UH0_1                                                     │

00:00:15 #1120 [Verbose] > │     let v1 : int8 = 0y                                                       │

00:00:15 #1121 [Verbose] > │     let v2 : int32 = method1(v0, v1)                                         │

00:00:15 #1122 [Verbose] > │     let v3 : string = $"__expect / actual: %A{v2} / expected: %A{1}"         │

00:00:15 #1123 [Verbose] > │     let v4 : bool = v2 = 1                                                   │

00:00:15 #1124 [Verbose] > │     let v5 : bool = v4 = false                                               │

00:00:15 #1125 [Verbose] > │     if v5 then                                                               │

00:00:15 #1126 [Verbose] > │         failwith<unit> v3                                                    │

00:00:15 #1127 [Verbose] > │ method0()                                                                    │

00:00:15 #1128 [Verbose] > │                                                                              │

00:00:15 #1129 [Verbose] > │                                                                              │

00:00:15 #1130 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:15 #1131 [Verbose] >

00:00:15 #1132 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:15 #1133 [Verbose] > // // test

00:00:15 #1134 [Verbose] >

00:00:15 #1135 [Verbose] > inl sequential_roll = create_sequential_roller (Some console.write_line) [[ 5;

00:00:15 #1136 [Verbose] > 4; 4; 5; 1 ]]

00:00:15 #1137 [Verbose] >

00:00:15 #1138 [Verbose] > roll_progressively (Some console.write_line) sequential_roll false 2000i32

00:00:15 #1139 [Verbose] > |> _equal 995

00:00:15 #1140 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0908-0976-7669-757c4553de3e\main.spi

00:00:15 #1141 [Verbose] >

00:00:15 #1142 [Verbose] > ╭─[ 465.05ms - stdout ]────────────────────────────────────────────────────────╮

00:00:15 #1143 [Verbose] > │ type UH0 =                                                                   │

00:00:15 #1144 [Verbose] > │     | UH0_0 of uint8 * (unit -> UH0)                                         │

00:00:15 #1145 [Verbose] > │     | UH0_1                                                                  │

00:00:15 #1146 [Verbose] > │ and [<Struct>] US0 =                                                         │

00:00:15 #1147 [Verbose] > │     | US0_0 of f0_0 : UH0                                                    │

00:00:15 #1148 [Verbose] > │     | US0_1 of f1_0 : (unit -> UH0)                                          │

00:00:15 #1149 [Verbose] > │ and Mut0 = {mutable l0 : US0}                                                │

00:00:15 #1150 [Verbose] > │ and Mut1 = {mutable l0 : int64}                                              │

00:00:15 #1151 [Verbose] > │ and [<Struct>] US1 =                                                         │

00:00:15 #1152 [Verbose] > │     | US1_0                                                                  │

00:00:15 #1153 [Verbose] > │     | US1_1 of f1_0 : uint8                                                  │

00:00:15 #1154 [Verbose] > │ and Mut2 = {mutable l0 : US1}                                                │

00:00:15 #1155 [Verbose] > │ and UH1 =                                                                    │

00:00:15 #1156 [Verbose] > │     | UH1_0 of uint8 * UH1                                                   │

00:00:15 #1157 [Verbose] > │     | UH1_1                                                                  │

00:00:15 #1158 [Verbose] > │ and [<Struct>] US2 =                                                         │

00:00:15 #1159 [Verbose] > │     | US2_0                                                                  │

00:00:15 #1160 [Verbose] > │     | US2_1 of f1_0 : int32 * f1_1 : UH1                                     │

00:00:15 #1161 [Verbose] > │ let rec closure10 () () : UH0 =                                              │

00:00:15 #1162 [Verbose] > │     UH0_1                                                                    │

00:00:15 #1163 [Verbose] > │ and closure9 () () : UH0 =                                                   │

00:00:15 #1164 [Verbose] > │     let v0 : (unit -> UH0) = closure10()                                     │

00:00:15 #1165 [Verbose] > │     UH0_0(5uy, v0)                                                           │

00:00:15 #1166 [Verbose] > │ and closure8 () () : UH0 =                                                   │

00:00:15 #1167 [Verbose] > │     let v0 : (unit -> UH0) = closure9()                                      │

00:00:15 #1168 [Verbose] > │     UH0_0(4uy, v0)                                                           │

00:00:15 #1169 [Verbose] > │ and closure7 () () : UH0 =                                                   │

00:00:15 #1170 [Verbose] > │     let v0 : (unit -> UH0) = closure8()                                      │

00:00:15 #1171 [Verbose] > │     UH0_0(4uy, v0)                                                           │

00:00:15 #1172 [Verbose] > │ and closure6 () () : UH0 =                                                   │

00:00:15 #1173 [Verbose] > │     let v0 : (unit -> UH0) = closure7()                                      │

00:00:15 #1174 [Verbose] > │     UH0_0(5uy, v0)                                                           │

00:00:15 #1175 [Verbose] > │ and closure5 () () : UH0 =                                                   │

00:00:15 #1176 [Verbose] > │     let v0 : (unit -> UH0) = closure6()                                      │

00:00:15 #1177 [Verbose] > │     UH0_0(1uy, v0)                                                           │

00:00:15 #1178 [Verbose] > │ and closure4 () () : UH0 =                                                   │

00:00:15 #1179 [Verbose] > │     let v0 : (unit -> UH0) = closure5()                                      │

00:00:15 #1180 [Verbose] > │     UH0_0(1uy, v0)                                                           │

00:00:15 #1181 [Verbose] > │ and closure3 () () : UH0 =                                                   │

00:00:15 #1182 [Verbose] > │     let v0 : (unit -> UH0) = closure4()                                      │

00:00:15 #1183 [Verbose] > │     UH0_0(5uy, v0)                                                           │

00:00:15 #1184 [Verbose] > │ and closure2 () () : UH0 =                                                   │

00:00:15 #1185 [Verbose] > │     let v0 : (unit -> UH0) = closure3()                                      │

00:00:15 #1186 [Verbose] > │     UH0_0(4uy, v0)                                                           │

00:00:15 #1187 [Verbose] > │ and closure1 () () : UH0 =                                                   │

00:00:15 #1188 [Verbose] > │     let v0 : (unit -> UH0) = closure2()                                      │

00:00:15 #1189 [Verbose] > │     UH0_0(4uy, v0)                                                           │

00:00:15 #1190 [Verbose] > │ and closure0 () () : UH0 =                                                   │

00:00:15 #1191 [Verbose] > │     let v0 : (unit -> UH0) = closure1()                                      │

00:00:15 #1192 [Verbose] > │     UH0_0(5uy, v0)                                                           │

00:00:15 #1193 [Verbose] > │ and closure11 (v0 : Mut0) () : UH0 =                                         │

00:00:15 #1194 [Verbose] > │     let v1 : US0 = v0.l0                                                     │

00:00:15 #1195 [Verbose] > │     match v1 with                                                            │

00:00:15 #1196 [Verbose] > │     | US0_0(v2) -> (* Computed *)                                            │

00:00:15 #1197 [Verbose] > │         v2                                                                   │

00:00:15 #1198 [Verbose] > │     | US0_1(v3) -> (* NotComputed *)                                         │

00:00:15 #1199 [Verbose] > │         let v4 : UH0 = v3 ()                                                 │

00:00:15 #1200 [Verbose] > │         let v13 : UH0 =                                                      │

00:00:15 #1201 [Verbose] > │             match v4 with                                                    │

00:00:15 #1202 [Verbose] > │             | UH0_0(v6, v7) -> (* StreamCons *)                              │

00:00:15 #1203 [Verbose] > │                 let v8 : US0 = US0_1(v7)                                     │

00:00:15 #1204 [Verbose] > │                 let v9 : Mut0 = {l0 = v8} : Mut0                             │

00:00:15 #1205 [Verbose] > │                 let v10 : (unit -> UH0) = closure11(v9)                      │

00:00:15 #1206 [Verbose] > │                 UH0_0(v6, v10)                                               │

00:00:15 #1207 [Verbose] > │             | UH0_1 -> (* StreamNil *)                                       │

00:00:15 #1208 [Verbose] > │                 UH0_1                                                        │

00:00:15 #1209 [Verbose] > │         let v14 : US0 = US0_0(v13)                                           │

00:00:15 #1210 [Verbose] > │         v0.l0 <- v14                                                         │

00:00:15 #1211 [Verbose] > │         v13                                                                  │

00:00:15 #1212 [Verbose] > │ and method3 (v0 : int64, v1 : UH0) : US1 =                                   │

00:00:15 #1213 [Verbose] > │     match v1 with                                                            │

00:00:15 #1214 [Verbose] > │     | UH0_0(v2, v3) -> (* StreamCons *)                                      │

00:00:15 #1215 [Verbose] > │         let v4 : bool = v0 <= 0L                                             │

00:00:15 #1216 [Verbose] > │         if v4 then                                                           │

00:00:15 #1217 [Verbose] > │             US1_1(v2)                                                        │

00:00:15 #1218 [Verbose] > │         else                                                                 │

00:00:15 #1219 [Verbose] > │             let v6 : int64 = v0 - 1L                                         │

00:00:15 #1220 [Verbose] > │             let v7 : UH0 = v3 ()                                             │

00:00:15 #1221 [Verbose] > │             method3(v6, v7)                                                  │

00:00:15 #1222 [Verbose] > │     | UH0_1 -> (* StreamNil *)                                               │

00:00:15 #1223 [Verbose] > │         US1_0                                                                │

00:00:15 #1224 [Verbose] > │ and method2 (v0 : Mut0, v1 : Mut1, v2 : Mut1, v3 : Mut1, v4 : Mut2) : uint8  │

00:00:15 #1225 [Verbose] > │ =                                                                            │

00:00:15 #1226 [Verbose] > │     let v5 : int64 = v1.l0                                                   │

00:00:15 #1227 [Verbose] > │     let v6 : int64 = v2.l0                                                   │

00:00:15 #1228 [Verbose] > │     let v7 : int64 = v3.l0                                                   │

00:00:15 #1229 [Verbose] > │     let v8 : US1 = v4.l0                                                     │

00:00:15 #1230 [Verbose] > │     let v9 : string = $"create_sequential_roller / roll / current_index:     │

00:00:15 #1231 [Verbose] > │ {v5} / acc: {v6} / len: {v7} / last_item: %A{v8}"                            │

00:00:15 #1232 [Verbose] > │     System.Console.WriteLine v9                                              │

00:00:15 #1233 [Verbose] > │     let v10 : US0 = v0.l0                                                    │

00:00:15 #1234 [Verbose] > │     let v25 : UH0 =                                                          │

00:00:15 #1235 [Verbose] > │         match v10 with                                                       │

00:00:15 #1236 [Verbose] > │         | US0_0(v11) -> (* Computed *)                                       │

00:00:15 #1237 [Verbose] > │             v11                                                              │

00:00:15 #1238 [Verbose] > │         | US0_1(v12) -> (* NotComputed *)                                    │

00:00:15 #1239 [Verbose] > │             let v13 : UH0 = v12 ()                                           │

00:00:15 #1240 [Verbose] > │             let v22 : UH0 =                                                  │

00:00:15 #1241 [Verbose] > │                 match v13 with                                               │

00:00:15 #1242 [Verbose] > │                 | UH0_0(v15, v16) -> (* StreamCons *)                        │

00:00:15 #1243 [Verbose] > │                     let v17 : US0 = US0_1(v16)                               │

00:00:15 #1244 [Verbose] > │                     let v18 : Mut0 = {l0 = v17} : Mut0                       │

00:00:15 #1245 [Verbose] > │                     let v19 : (unit -> UH0) = closure11(v18)                 │

00:00:15 #1246 [Verbose] > │                     UH0_0(v15, v19)                                          │

00:00:15 #1247 [Verbose] > │                 | UH0_1 -> (* StreamNil *)                                   │

00:00:15 #1248 [Verbose] > │                     UH0_1                                                    │

00:00:15 #1249 [Verbose] > │             let v23 : US0 = US0_0(v22)                                       │

00:00:15 #1250 [Verbose] > │             v0.l0 <- v23                                                     │

00:00:15 #1251 [Verbose] > │             v22                                                              │

00:00:15 #1252 [Verbose] > │     let v26 : int64 = v1.l0                                                  │

00:00:15 #1253 [Verbose] > │     let v27 : US1 = method3(v26, v25)                                        │

00:00:15 #1254 [Verbose] > │     match v27 with                                                           │

00:00:15 #1255 [Verbose] > │     | US1_0 -> (* None *)                                                    │

00:00:15 #1256 [Verbose] > │         let v32 : string = $"create_sequential_roller / roll / None"         │

00:00:15 #1257 [Verbose] > │         System.Console.WriteLine v32                                         │

00:00:15 #1258 [Verbose] > │         let v33 : int64 = v3.l0                                              │

00:00:15 #1259 [Verbose] > │         let v34 : bool = v33 = -1L                                           │

00:00:15 #1260 [Verbose] > │         if v34 then                                                          │

00:00:15 #1261 [Verbose] > │             let v35 : int64 = v1.l0                                          │

00:00:15 #1262 [Verbose] > │             v3.l0 <- v35                                                     │

00:00:15 #1263 [Verbose] > │             ()                                                               │

00:00:15 #1264 [Verbose] > │         let v36 : int64 = v2.l0                                              │

00:00:15 #1265 [Verbose] > │         let v37 : int64 = v3.l0                                              │

00:00:15 #1266 [Verbose] > │         let v38 : bool = v36 >= v37                                          │

00:00:15 #1267 [Verbose] > │         let v41 : int64 =                                                    │

00:00:15 #1268 [Verbose] > │             if v38 then                                                      │

00:00:15 #1269 [Verbose] > │                 1L                                                           │

00:00:15 #1270 [Verbose] > │             else                                                             │

00:00:15 #1271 [Verbose] > │                 let v39 : int64 = v2.l0                                      │

00:00:15 #1272 [Verbose] > │                 let v40 : int64 = v39 + 1L                                   │

00:00:15 #1273 [Verbose] > │                 v40                                                          │

00:00:15 #1274 [Verbose] > │         v2.l0 <- v41                                                         │

00:00:15 #1275 [Verbose] > │         let v42 : int64 = v2.l0                                              │

00:00:15 #1276 [Verbose] > │         let v43 : int64 = v42 - 1L                                           │

00:00:15 #1277 [Verbose] > │         v1.l0 <- v43                                                         │

00:00:15 #1278 [Verbose] > │         let v44 : US1 = US1_0                                                │

00:00:15 #1279 [Verbose] > │         v4.l0 <- v44                                                         │

00:00:15 #1280 [Verbose] > │         method2(v0, v1, v2, v3, v4)                                          │

00:00:15 #1281 [Verbose] > │     | US1_1(v28) -> (* Some *)                                               │

00:00:15 #1282 [Verbose] > │         let v29 : int64 = v1.l0                                              │

00:00:15 #1283 [Verbose] > │         let v30 : int64 = v29 + 1L                                           │

00:00:15 #1284 [Verbose] > │         v1.l0 <- v30                                                         │

00:00:15 #1285 [Verbose] > │         let v31 : US1 = US1_1(v28)                                           │

00:00:15 #1286 [Verbose] > │         v4.l0 <- v31                                                         │

00:00:15 #1287 [Verbose] > │         v28                                                                  │

00:00:15 #1288 [Verbose] > │ and method9 (v0 : UH1, v1 : int32) : US2 =                                   │

00:00:15 #1289 [Verbose] > │     let v2 : string = $"accumulate_dice_rolls / power: {-1y} / acc: {v1}"    │

00:00:15 #1290 [Verbose] > │     System.Console.WriteLine v2                                              │

00:00:15 #1291 [Verbose] > │     let v3 : int32 = v1 + 1                                                  │

00:00:15 #1292 [Verbose] > │     US2_1(v3, v0)                                                            │

00:00:15 #1293 [Verbose] > │ and method8 (v0 : UH1, v1 : int32) : US2 =                                   │

00:00:15 #1294 [Verbose] > │     match v0 with                                                            │

00:00:15 #1295 [Verbose] > │     | UH1_0(v3, v4) -> (* Cons *)                                            │

00:00:15 #1296 [Verbose] > │         let v5 : bool = v3 > 1uy                                             │

00:00:15 #1297 [Verbose] > │         if v5 then                                                           │

00:00:15 #1298 [Verbose] > │             let v6 : uint8 = v3 - 1uy                                        │

00:00:15 #1299 [Verbose] > │             let v7 : int32 = int32 v6                                        │

00:00:15 #1300 [Verbose] > │             let v8 : string = $"accumulate_dice_rolls / power: {0y} / acc:   │

00:00:15 #1301 [Verbose] > │ {v1} / roll: {v3} / value: {v7}"                                             │

00:00:15 #1302 [Verbose] > │             System.Console.WriteLine v8                                      │

00:00:15 #1303 [Verbose] > │             let v9 : int32 = v1 + v7                                         │

00:00:15 #1304 [Verbose] > │             method9(v4, v9)                                                  │

00:00:15 #1305 [Verbose] > │         else                                                                 │

00:00:15 #1306 [Verbose] > │             let v11 : string = $"accumulate_dice_rolls / power: {0y} / acc:  │

00:00:15 #1307 [Verbose] > │ {v1} / roll: {v3}"                                                           │

00:00:15 #1308 [Verbose] > │             System.Console.WriteLine v11                                     │

00:00:15 #1309 [Verbose] > │             method9(v4, v1)                                                  │

00:00:15 #1310 [Verbose] > │     | UH1_1 -> (* Nil *)                                                     │

00:00:15 #1311 [Verbose] > │         US2_0                                                                │

00:00:15 #1312 [Verbose] > │ and method7 (v0 : UH1, v1 : int32) : US2 =                                   │

00:00:15 #1313 [Verbose] > │     match v0 with                                                            │

00:00:15 #1314 [Verbose] > │     | UH1_0(v3, v4) -> (* Cons *)                                            │

00:00:15 #1315 [Verbose] > │         let v5 : bool = v3 > 1uy                                             │

00:00:15 #1316 [Verbose] > │         if v5 then                                                           │

00:00:15 #1317 [Verbose] > │             let v6 : uint8 = v3 - 1uy                                        │

00:00:15 #1318 [Verbose] > │             let v7 : int32 = int32 v6                                        │

00:00:15 #1319 [Verbose] > │             let v8 : int32 = v7 * 6                                          │

00:00:15 #1320 [Verbose] > │             let v9 : string = $"accumulate_dice_rolls / power: {1y} / acc:   │

00:00:15 #1321 [Verbose] > │ {v1} / roll: {v3} / value: {v8}"                                             │

00:00:15 #1322 [Verbose] > │             System.Console.WriteLine v9                                      │

00:00:15 #1323 [Verbose] > │             let v10 : int32 = v1 + v8                                        │

00:00:15 #1324 [Verbose] > │             method8(v4, v10)                                                 │

00:00:15 #1325 [Verbose] > │         else                                                                 │

00:00:15 #1326 [Verbose] > │             let v12 : string = $"accumulate_dice_rolls / power: {1y} / acc:  │

00:00:15 #1327 [Verbose] > │ {v1} / roll: {v3}"                                                           │

00:00:15 #1328 [Verbose] > │             System.Console.WriteLine v12                                     │

00:00:15 #1329 [Verbose] > │             method8(v4, v1)                                                  │

00:00:15 #1330 [Verbose] > │     | UH1_1 -> (* Nil *)                                                     │

00:00:15 #1331 [Verbose] > │         US2_0                                                                │

00:00:15 #1332 [Verbose] > │ and method6 (v0 : UH1, v1 : int32) : US2 =                                   │

00:00:15 #1333 [Verbose] > │     match v0 with                                                            │

00:00:15 #1334 [Verbose] > │     | UH1_0(v3, v4) -> (* Cons *)                                            │

00:00:15 #1335 [Verbose] > │         let v5 : bool = v3 > 1uy                                             │

00:00:15 #1336 [Verbose] > │         if v5 then                                                           │

00:00:15 #1337 [Verbose] > │             let v6 : uint8 = v3 - 1uy                                        │

00:00:15 #1338 [Verbose] > │             let v7 : int32 = int32 v6                                        │

00:00:15 #1339 [Verbose] > │             let v8 : int32 = v7 * 36                                         │

00:00:15 #1340 [Verbose] > │             let v9 : string = $"accumulate_dice_rolls / power: {2y} / acc:   │

00:00:15 #1341 [Verbose] > │ {v1} / roll: {v3} / value: {v8}"                                             │

00:00:15 #1342 [Verbose] > │             System.Console.WriteLine v9                                      │

00:00:15 #1343 [Verbose] > │             let v10 : int32 = v1 + v8                                        │

00:00:15 #1344 [Verbose] > │             method7(v4, v10)                                                 │

00:00:15 #1345 [Verbose] > │         else                                                                 │

00:00:15 #1346 [Verbose] > │             let v12 : string = $"accumulate_dice_rolls / power: {2y} / acc:  │

00:00:15 #1347 [Verbose] > │ {v1} / roll: {v3}"                                                           │

00:00:15 #1348 [Verbose] > │             System.Console.WriteLine v12                                     │

00:00:15 #1349 [Verbose] > │             method7(v4, v1)                                                  │

00:00:15 #1350 [Verbose] > │     | UH1_1 -> (* Nil *)                                                     │

00:00:15 #1351 [Verbose] > │         US2_0                                                                │

00:00:15 #1352 [Verbose] > │ and method5 (v0 : UH1, v1 : int32) : US2 =                                   │

00:00:15 #1353 [Verbose] > │     match v0 with                                                            │

00:00:15 #1354 [Verbose] > │     | UH1_0(v3, v4) -> (* Cons *)                                            │

00:00:15 #1355 [Verbose] > │         let v5 : bool = v3 > 1uy                                             │

00:00:15 #1356 [Verbose] > │         if v5 then                                                           │

00:00:15 #1357 [Verbose] > │             let v6 : uint8 = v3 - 1uy                                        │

00:00:15 #1358 [Verbose] > │             let v7 : int32 = int32 v6                                        │

00:00:15 #1359 [Verbose] > │             let v8 : int32 = v7 * 216                                        │

00:00:15 #1360 [Verbose] > │             let v9 : string = $"accumulate_dice_rolls / power: {3y} / acc:   │

00:00:15 #1361 [Verbose] > │ {v1} / roll: {v3} / value: {v8}"                                             │

00:00:15 #1362 [Verbose] > │             System.Console.WriteLine v9                                      │

00:00:15 #1363 [Verbose] > │             let v10 : int32 = v1 + v8                                        │

00:00:15 #1364 [Verbose] > │             method6(v4, v10)                                                 │

00:00:15 #1365 [Verbose] > │         else                                                                 │

00:00:15 #1366 [Verbose] > │             let v12 : string = $"accumulate_dice_rolls / power: {3y} / acc:  │

00:00:15 #1367 [Verbose] > │ {v1} / roll: {v3}"                                                           │

00:00:15 #1368 [Verbose] > │             System.Console.WriteLine v12                                     │

00:00:15 #1369 [Verbose] > │             method6(v4, v1)                                                  │

00:00:15 #1370 [Verbose] > │     | UH1_1 -> (* Nil *)                                                     │

00:00:15 #1371 [Verbose] > │         US2_0                                                                │

00:00:15 #1372 [Verbose] > │ and method4 (v0 : UH1, v1 : int32) : US2 =                                   │

00:00:15 #1373 [Verbose] > │     match v0 with                                                            │

00:00:15 #1374 [Verbose] > │     | UH1_0(v3, v4) -> (* Cons *)                                            │

00:00:15 #1375 [Verbose] > │         let v5 : bool = v3 > 1uy                                             │

00:00:15 #1376 [Verbose] > │         if v5 then                                                           │

00:00:15 #1377 [Verbose] > │             let v6 : uint8 = v3 - 1uy                                        │

00:00:15 #1378 [Verbose] > │             let v7 : int32 = int32 v6                                        │

00:00:15 #1379 [Verbose] > │             let v8 : int32 = v7 * 1296                                       │

00:00:15 #1380 [Verbose] > │             let v9 : string = $"accumulate_dice_rolls / power: {4y} / acc:   │

00:00:15 #1381 [Verbose] > │ {v1} / roll: {v3} / value: {v8}"                                             │

00:00:15 #1382 [Verbose] > │             System.Console.WriteLine v9                                      │

00:00:15 #1383 [Verbose] > │             let v10 : int32 = v1 + v8                                        │

00:00:15 #1384 [Verbose] > │             method5(v4, v10)                                                 │

00:00:15 #1385 [Verbose] > │         else                                                                 │

00:00:15 #1386 [Verbose] > │             let v12 : string = $"accumulate_dice_rolls / power: {4y} / acc:  │

00:00:15 #1387 [Verbose] > │ {v1} / roll: {v3}"                                                           │

00:00:15 #1388 [Verbose] > │             System.Console.WriteLine v12                                     │

00:00:15 #1389 [Verbose] > │             method5(v4, v1)                                                  │

00:00:15 #1390 [Verbose] > │     | UH1_1 -> (* Nil *)                                                     │

00:00:15 #1391 [Verbose] > │         US2_0                                                                │

00:00:15 #1392 [Verbose] > │ and method1 (v0 : Mut0, v1 : Mut1, v2 : Mut1, v3 : Mut1, v4 : Mut2, v5 :     │

00:00:15 #1393 [Verbose] > │ UH1, v6 : int8) : int32 =                                                    │

00:00:15 #1394 [Verbose] > │     let v7 : bool = v6 < 5y                                                  │

00:00:15 #1395 [Verbose] > │     if v7 then                                                               │

00:00:15 #1396 [Verbose] > │         let v8 : uint8 = method2(v0, v1, v2, v3, v4)                         │

00:00:15 #1397 [Verbose] > │         let v9 : UH1 = UH1_0(v8, v5)                                         │

00:00:15 #1398 [Verbose] > │         let v10 : int8 = v6 + 1y                                             │

00:00:15 #1399 [Verbose] > │         method1(v0, v1, v2, v3, v4, v9, v10)                                 │

00:00:15 #1400 [Verbose] > │     else                                                                     │

00:00:15 #1401 [Verbose] > │         let v12 : int32 = 0                                                  │

00:00:15 #1402 [Verbose] > │         let v13 : US2 = method4(v5, v12)                                     │

00:00:15 #1403 [Verbose] > │         match v13 with                                                       │

00:00:15 #1404 [Verbose] > │         | US2_1(v14, v15) -> (* Some *)                                      │

00:00:15 #1405 [Verbose] > │             let v16 : bool = v14 <= 2000                                     │

00:00:15 #1406 [Verbose] > │             if v16 then                                                      │

00:00:15 #1407 [Verbose] > │                 v14                                                          │

00:00:15 #1408 [Verbose] > │             else                                                             │

00:00:15 #1409 [Verbose] > │                 let v17 : uint8 = method2(v0, v1, v2, v3, v4)                │

00:00:15 #1410 [Verbose] > │                 let v18 : UH1 = UH1_0(v17, v5)                               │

00:00:15 #1411 [Verbose] > │                 let v19 : int8 = v6 + 1y                                     │

00:00:15 #1412 [Verbose] > │                 method1(v0, v1, v2, v3, v4, v18, v19)                        │

00:00:15 #1413 [Verbose] > │         | _ ->                                                               │

00:00:15 #1414 [Verbose] > │             let v22 : uint8 = method2(v0, v1, v2, v3, v4)                    │

00:00:15 #1415 [Verbose] > │             let v23 : UH1 = UH1_0(v22, v5)                                   │

00:00:15 #1416 [Verbose] > │             let v24 : int8 = v6 + 1y                                         │

00:00:15 #1417 [Verbose] > │             method1(v0, v1, v2, v3, v4, v23, v24)                            │

00:00:15 #1418 [Verbose] > │ and method0 () : unit =                                                      │

00:00:15 #1419 [Verbose] > │     let v0 : string = $"create_sequential_roller ()"                         │

00:00:15 #1420 [Verbose] > │     System.Console.WriteLine v0                                              │

00:00:15 #1421 [Verbose] > │     let v1 : (unit -> UH0) = closure0()                                      │

00:00:15 #1422 [Verbose] > │     let v2 : US0 = US0_1(v1)                                                 │

00:00:15 #1423 [Verbose] > │     let v3 : Mut0 = {l0 = v2} : Mut0                                         │

00:00:15 #1424 [Verbose] > │     let v4 : Mut1 = {l0 = 0L} : Mut1                                         │

00:00:15 #1425 [Verbose] > │     let v5 : Mut1 = {l0 = 1L} : Mut1                                         │

00:00:15 #1426 [Verbose] > │     let v6 : Mut1 = {l0 = -1L} : Mut1                                        │

00:00:15 #1427 [Verbose] > │     let v7 : US1 = US1_0                                                     │

00:00:15 #1428 [Verbose] > │     let v8 : Mut2 = {l0 = v7} : Mut2                                         │

00:00:15 #1429 [Verbose] > │     let v9 : string = $"calculate_dice_count / max: {2000} / n: {5y} / p:    │

00:00:15 #1430 [Verbose] > │ {7776}"                                                                      │

00:00:15 #1431 [Verbose] > │     System.Console.WriteLine v9                                              │

00:00:15 #1432 [Verbose] > │     let v10 : UH1 = UH1_1                                                    │

00:00:15 #1433 [Verbose] > │     let v11 : int8 = 0y                                                      │

00:00:15 #1434 [Verbose] > │     let v12 : int32 = method1(v3, v4, v5, v6, v8, v10, v11)                  │

00:00:15 #1435 [Verbose] > │     let v13 : string = $"__expect / actual: %A{v12} / expected: %A{995}"     │

00:00:15 #1436 [Verbose] > │     let v14 : bool = v12 = 995                                               │

00:00:15 #1437 [Verbose] > │     let v15 : bool = v14 = false                                             │

00:00:15 #1438 [Verbose] > │     if v15 then                                                              │

00:00:15 #1439 [Verbose] > │         failwith<unit> v13                                                   │

00:00:15 #1440 [Verbose] > │ method0()                                                                    │

00:00:15 #1441 [Verbose] > │                                                                              │

00:00:15 #1442 [Verbose] > │ create_sequential_roller ()                                                  │

00:00:15 #1443 [Verbose] > │ calculate_dice_count / max: 2000 / n: 5 / p: 7776                            │

00:00:15 #1444 [Verbose] > │ create_sequential_roller / roll / current_index: 0 / acc: 1 / len: -1 /      │

00:00:15 #1445 [Verbose] > │ last_item: US1_0                                                             │

00:00:15 #1446 [Verbose] > │ create_sequential_roller / roll / current_index: 1 / acc: 1 / len: -1 /      │

00:00:15 #1447 [Verbose] > │ last_item: US1_1 5uy                                                         │

00:00:15 #1448 [Verbose] > │ create_sequential_roller / roll / current_index: 2 / acc: 1 / len: -1 /      │

00:00:15 #1449 [Verbose] > │ last_item: US1_1 4uy                                                         │

00:00:15 #1450 [Verbose] > │ create_sequential_roller / roll / current_index: 3 / acc: 1 / len: -1 /      │

00:00:15 #1451 [Verbose] > │ last_item: US1_1 4uy                                                         │

00:00:15 #1452 [Verbose] > │ create_sequential_roller / roll / current_index: 4 / acc: 1 / len: -1 /      │

00:00:15 #1453 [Verbose] > │ last_item: US1_1 5uy                                                         │

00:00:15 #1454 [Verbose] > │ accumulate_dice_rolls / power: 4 / acc: 0 / roll: 1                          │

00:00:15 #1455 [Verbose] > │ accumulate_dice_rolls / power: 3 / acc: 0 / roll: 5 / value: 864             │

00:00:15 #1456 [Verbose] > │ accumulate_dice_rolls / power: 2 / acc: 864 / roll: 4 / value: 108           │

00:00:15 #1457 [Verbose] > │ accumulate_dice_rolls / power: 1 / acc: 972 / roll: 4 / value: 18            │

00:00:15 #1458 [Verbose] > │ accumulate_dice_rolls / power: 0 / acc: 990 / roll: 5 / value: 4             │

00:00:15 #1459 [Verbose] > │ accumulate_dice_rolls / power: -1 / acc: 994                                 │

00:00:15 #1460 [Verbose] > │                                                                              │

00:00:15 #1461 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:15 #1462 [Verbose] >

00:00:15 #1463 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:15 #1464 [Verbose] > // // test

00:00:15 #1465 [Verbose] >

00:00:15 #1466 [Verbose] > inl sequential_roll = create_sequential_roller (Some console.write_line) [[ 5;

00:00:15 #1467 [Verbose] > 4; 4; 5; 2 ]]

00:00:15 #1468 [Verbose] >

00:00:15 #1469 [Verbose] > roll_progressively (Some console.write_line) sequential_roll false 2000i32

00:00:15 #1470 [Verbose] > |> _equal 1678

00:00:15 #1471 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0908-1036-3626-38905c4e1b1f\main.spi

00:00:16 #1472 [Verbose] >

00:00:16 #1473 [Verbose] > ╭─[ 562.86ms - stdout ]────────────────────────────────────────────────────────╮

00:00:16 #1474 [Verbose] > │ type UH0 =                                                                   │

00:00:16 #1475 [Verbose] > │     | UH0_0 of uint8 * (unit -> UH0)                                         │

00:00:16 #1476 [Verbose] > │     | UH0_1                                                                  │

00:00:16 #1477 [Verbose] > │ and [<Struct>] US0 =                                                         │

00:00:16 #1478 [Verbose] > │     | US0_0 of f0_0 : UH0                                                    │

00:00:16 #1479 [Verbose] > │     | US0_1 of f1_0 : (unit -> UH0)                                          │

00:00:16 #1480 [Verbose] > │ and Mut0 = {mutable l0 : US0}                                                │

00:00:16 #1481 [Verbose] > │ and Mut1 = {mutable l0 : int64}                                              │

00:00:16 #1482 [Verbose] > │ and [<Struct>] US1 =                                                         │

00:00:16 #1483 [Verbose] > │     | US1_0                                                                  │

00:00:16 #1484 [Verbose] > │     | US1_1 of f1_0 : uint8                                                  │

00:00:16 #1485 [Verbose] > │ and Mut2 = {mutable l0 : US1}                                                │

00:00:16 #1486 [Verbose] > │ and UH1 =                                                                    │

00:00:16 #1487 [Verbose] > │     | UH1_0 of uint8 * UH1                                                   │

00:00:16 #1488 [Verbose] > │     | UH1_1                                                                  │

00:00:16 #1489 [Verbose] > │ and [<Struct>] US2 =                                                         │

00:00:16 #1490 [Verbose] > │     | US2_0                                                                  │

00:00:16 #1491 [Verbose] > │     | US2_1 of f1_0 : int32 * f1_1 : UH1                                     │

00:00:16 #1492 [Verbose] > │ let rec closure10 () () : UH0 =                                              │

00:00:16 #1493 [Verbose] > │     UH0_1                                                                    │

00:00:16 #1494 [Verbose] > │ and closure9 () () : UH0 =                                                   │

00:00:16 #1495 [Verbose] > │     let v0 : (unit -> UH0) = closure10()                                     │

00:00:16 #1496 [Verbose] > │     UH0_0(5uy, v0)                                                           │

00:00:16 #1497 [Verbose] > │ and closure8 () () : UH0 =                                                   │

00:00:16 #1498 [Verbose] > │     let v0 : (unit -> UH0) = closure9()                                      │

00:00:16 #1499 [Verbose] > │     UH0_0(4uy, v0)                                                           │

00:00:16 #1500 [Verbose] > │ and closure7 () () : UH0 =                                                   │

00:00:16 #1501 [Verbose] > │     let v0 : (unit -> UH0) = closure8()                                      │

00:00:16 #1502 [Verbose] > │     UH0_0(4uy, v0)                                                           │

00:00:16 #1503 [Verbose] > │ and closure6 () () : UH0 =                                                   │

00:00:16 #1504 [Verbose] > │     let v0 : (unit -> UH0) = closure7()                                      │

00:00:16 #1505 [Verbose] > │     UH0_0(5uy, v0)                                                           │

00:00:16 #1506 [Verbose] > │ and closure5 () () : UH0 =                                                   │

00:00:16 #1507 [Verbose] > │     let v0 : (unit -> UH0) = closure6()                                      │

00:00:16 #1508 [Verbose] > │     UH0_0(2uy, v0)                                                           │

00:00:16 #1509 [Verbose] > │ and closure4 () () : UH0 =                                                   │

00:00:16 #1510 [Verbose] > │     let v0 : (unit -> UH0) = closure5()                                      │

00:00:16 #1511 [Verbose] > │     UH0_0(2uy, v0)                                                           │

00:00:16 #1512 [Verbose] > │ and closure3 () () : UH0 =                                                   │

00:00:16 #1513 [Verbose] > │     let v0 : (unit -> UH0) = closure4()                                      │

00:00:16 #1514 [Verbose] > │     UH0_0(5uy, v0)                                                           │

00:00:16 #1515 [Verbose] > │ and closure2 () () : UH0 =                                                   │

00:00:16 #1516 [Verbose] > │     let v0 : (unit -> UH0) = closure3()                                      │

00:00:16 #1517 [Verbose] > │     UH0_0(4uy, v0)                                                           │

00:00:16 #1518 [Verbose] > │ and closure1 () () : UH0 =                                                   │

00:00:16 #1519 [Verbose] > │     let v0 : (unit -> UH0) = closure2()                                      │

00:00:16 #1520 [Verbose] > │     UH0_0(4uy, v0)                                                           │

00:00:16 #1521 [Verbose] > │ and closure0 () () : UH0 =                                                   │

00:00:16 #1522 [Verbose] > │     let v0 : (unit -> UH0) = closure1()                                      │

00:00:16 #1523 [Verbose] > │     UH0_0(5uy, v0)                                                           │

00:00:16 #1524 [Verbose] > │ and closure11 (v0 : Mut0) () : UH0 =                                         │

00:00:16 #1525 [Verbose] > │     let v1 : US0 = v0.l0                                                     │

00:00:16 #1526 [Verbose] > │     match v1 with                                                            │

00:00:16 #1527 [Verbose] > │     | US0_0(v2) -> (* Computed *)                                            │

00:00:16 #1528 [Verbose] > │         v2                                                                   │

00:00:16 #1529 [Verbose] > │     | US0_1(v3) -> (* NotComputed *)                                         │

00:00:16 #1530 [Verbose] > │         let v4 : UH0 = v3 ()                                                 │

00:00:16 #1531 [Verbose] > │         let v13 : UH0 =                                                      │

00:00:16 #1532 [Verbose] > │             match v4 with                                                    │

00:00:16 #1533 [Verbose] > │             | UH0_0(v6, v7) -> (* StreamCons *)                              │

00:00:16 #1534 [Verbose] > │                 let v8 : US0 = US0_1(v7)                                     │

00:00:16 #1535 [Verbose] > │                 let v9 : Mut0 = {l0 = v8} : Mut0                             │

00:00:16 #1536 [Verbose] > │                 let v10 : (unit -> UH0) = closure11(v9)                      │

00:00:16 #1537 [Verbose] > │                 UH0_0(v6, v10)                                               │

00:00:16 #1538 [Verbose] > │             | UH0_1 -> (* StreamNil *)                                       │

00:00:16 #1539 [Verbose] > │                 UH0_1                                                        │

00:00:16 #1540 [Verbose] > │         let v14 : US0 = US0_0(v13)                                           │

00:00:16 #1541 [Verbose] > │         v0.l0 <- v14                                                         │

00:00:16 #1542 [Verbose] > │         v13                                                                  │

00:00:16 #1543 [Verbose] > │ and method3 (v0 : int64, v1 : UH0) : US1 =                                   │

00:00:16 #1544 [Verbose] > │     match v1 with                                                            │

00:00:16 #1545 [Verbose] > │     | UH0_0(v2, v3) -> (* StreamCons *)                                      │

00:00:16 #1546 [Verbose] > │         let v4 : bool = v0 <= 0L                                             │

00:00:16 #1547 [Verbose] > │         if v4 then                                                           │

00:00:16 #1548 [Verbose] > │             US1_1(v2)                                                        │

00:00:16 #1549 [Verbose] > │         else                                                                 │

00:00:16 #1550 [Verbose] > │             let v6 : int64 = v0 - 1L                                         │

00:00:16 #1551 [Verbose] > │             let v7 : UH0 = v3 ()                                             │

00:00:16 #1552 [Verbose] > │             method3(v6, v7)                                                  │

00:00:16 #1553 [Verbose] > │     | UH0_1 -> (* StreamNil *)                                               │

00:00:16 #1554 [Verbose] > │         US1_0                                                                │

00:00:16 #1555 [Verbose] > │ and method2 (v0 : Mut0, v1 : Mut1, v2 : Mut1, v3 : Mut1, v4 : Mut2) : uint8  │

00:00:16 #1556 [Verbose] > │ =                                                                            │

00:00:16 #1557 [Verbose] > │     let v5 : int64 = v1.l0                                                   │

00:00:16 #1558 [Verbose] > │     let v6 : int64 = v2.l0                                                   │

00:00:16 #1559 [Verbose] > │     let v7 : int64 = v3.l0                                                   │

00:00:16 #1560 [Verbose] > │     let v8 : US1 = v4.l0                                                     │

00:00:16 #1561 [Verbose] > │     let v9 : string = $"create_sequential_roller / roll / current_index:     │

00:00:16 #1562 [Verbose] > │ {v5} / acc: {v6} / len: {v7} / last_item: %A{v8}"                            │

00:00:16 #1563 [Verbose] > │     System.Console.WriteLine v9                                              │

00:00:16 #1564 [Verbose] > │     let v10 : US0 = v0.l0                                                    │

00:00:16 #1565 [Verbose] > │     let v25 : UH0 =                                                          │

00:00:16 #1566 [Verbose] > │         match v10 with                                                       │

00:00:16 #1567 [Verbose] > │         | US0_0(v11) -> (* Computed *)                                       │

00:00:16 #1568 [Verbose] > │             v11                                                              │

00:00:16 #1569 [Verbose] > │         | US0_1(v12) -> (* NotComputed *)                                    │

00:00:16 #1570 [Verbose] > │             let v13 : UH0 = v12 ()                                           │

00:00:16 #1571 [Verbose] > │             let v22 : UH0 =                                                  │

00:00:16 #1572 [Verbose] > │                 match v13 with                                               │

00:00:16 #1573 [Verbose] > │                 | UH0_0(v15, v16) -> (* StreamCons *)                        │

00:00:16 #1574 [Verbose] > │                     let v17 : US0 = US0_1(v16)                               │

00:00:16 #1575 [Verbose] > │                     let v18 : Mut0 = {l0 = v17} : Mut0                       │

00:00:16 #1576 [Verbose] > │                     let v19 : (unit -> UH0) = closure11(v18)                 │

00:00:16 #1577 [Verbose] > │                     UH0_0(v15, v19)                                          │

00:00:16 #1578 [Verbose] > │                 | UH0_1 -> (* StreamNil *)                                   │

00:00:16 #1579 [Verbose] > │                     UH0_1                                                    │

00:00:16 #1580 [Verbose] > │             let v23 : US0 = US0_0(v22)                                       │

00:00:16 #1581 [Verbose] > │             v0.l0 <- v23                                                     │

00:00:16 #1582 [Verbose] > │             v22                                                              │

00:00:16 #1583 [Verbose] > │     let v26 : int64 = v1.l0                                                  │

00:00:16 #1584 [Verbose] > │     let v27 : US1 = method3(v26, v25)                                        │

00:00:16 #1585 [Verbose] > │     match v27 with                                                           │

00:00:16 #1586 [Verbose] > │     | US1_0 -> (* None *)                                                    │

00:00:16 #1587 [Verbose] > │         let v32 : string = $"create_sequential_roller / roll / None"         │

00:00:16 #1588 [Verbose] > │         System.Console.WriteLine v32                                         │

00:00:16 #1589 [Verbose] > │         let v33 : int64 = v3.l0                                              │

00:00:16 #1590 [Verbose] > │         let v34 : bool = v33 = -1L                                           │

00:00:16 #1591 [Verbose] > │         if v34 then                                                          │

00:00:16 #1592 [Verbose] > │             let v35 : int64 = v1.l0                                          │

00:00:16 #1593 [Verbose] > │             v3.l0 <- v35                                                     │

00:00:16 #1594 [Verbose] > │             ()                                                               │

00:00:16 #1595 [Verbose] > │         let v36 : int64 = v2.l0                                              │

00:00:16 #1596 [Verbose] > │         let v37 : int64 = v3.l0                                              │

00:00:16 #1597 [Verbose] > │         let v38 : bool = v36 >= v37                                          │

00:00:16 #1598 [Verbose] > │         let v41 : int64 =                                                    │

00:00:16 #1599 [Verbose] > │             if v38 then                                                      │

00:00:16 #1600 [Verbose] > │                 1L                                                           │

00:00:16 #1601 [Verbose] > │             else                                                             │

00:00:16 #1602 [Verbose] > │                 let v39 : int64 = v2.l0                                      │

00:00:16 #1603 [Verbose] > │                 let v40 : int64 = v39 + 1L                                   │

00:00:16 #1604 [Verbose] > │                 v40                                                          │

00:00:16 #1605 [Verbose] > │         v2.l0 <- v41                                                         │

00:00:16 #1606 [Verbose] > │         let v42 : int64 = v2.l0                                              │

00:00:16 #1607 [Verbose] > │         let v43 : int64 = v42 - 1L                                           │

00:00:16 #1608 [Verbose] > │         v1.l0 <- v43                                                         │

00:00:16 #1609 [Verbose] > │         let v44 : US1 = US1_0                                                │

00:00:16 #1610 [Verbose] > │         v4.l0 <- v44                                                         │

00:00:16 #1611 [Verbose] > │         method2(v0, v1, v2, v3, v4)                                          │

00:00:16 #1612 [Verbose] > │     | US1_1(v28) -> (* Some *)                                               │

00:00:16 #1613 [Verbose] > │         let v29 : int64 = v1.l0                                              │

00:00:16 #1614 [Verbose] > │         let v30 : int64 = v29 + 1L                                           │

00:00:16 #1615 [Verbose] > │         v1.l0 <- v30                                                         │

00:00:16 #1616 [Verbose] > │         let v31 : US1 = US1_1(v28)                                           │

00:00:16 #1617 [Verbose] > │         v4.l0 <- v31                                                         │

00:00:16 #1618 [Verbose] > │         v28                                                                  │

00:00:16 #1619 [Verbose] > │ and method9 (v0 : UH1, v1 : int32) : US2 =                                   │

00:00:16 #1620 [Verbose] > │     let v2 : string = $"accumulate_dice_rolls / power: {-1y} / acc: {v1}"    │

00:00:16 #1621 [Verbose] > │     System.Console.WriteLine v2                                              │

00:00:16 #1622 [Verbose] > │     let v3 : int32 = v1 + 1                                                  │

00:00:16 #1623 [Verbose] > │     US2_1(v3, v0)                                                            │

00:00:16 #1624 [Verbose] > │ and method8 (v0 : UH1, v1 : int32) : US2 =                                   │

00:00:16 #1625 [Verbose] > │     match v0 with                                                            │

00:00:16 #1626 [Verbose] > │     | UH1_0(v3, v4) -> (* Cons *)                                            │

00:00:16 #1627 [Verbose] > │         let v5 : bool = v3 > 1uy                                             │

00:00:16 #1628 [Verbose] > │         if v5 then                                                           │

00:00:16 #1629 [Verbose] > │             let v6 : uint8 = v3 - 1uy                                        │

00:00:16 #1630 [Verbose] > │             let v7 : int32 = int32 v6                                        │

00:00:16 #1631 [Verbose] > │             let v8 : string = $"accumulate_dice_rolls / power: {0y} / acc:   │

00:00:16 #1632 [Verbose] > │ {v1} / roll: {v3} / value: {v7}"                                             │

00:00:16 #1633 [Verbose] > │             System.Console.WriteLine v8                                      │

00:00:16 #1634 [Verbose] > │             let v9 : int32 = v1 + v7                                         │

00:00:16 #1635 [Verbose] > │             method9(v4, v9)                                                  │

00:00:16 #1636 [Verbose] > │         else                                                                 │

00:00:16 #1637 [Verbose] > │             let v11 : string = $"accumulate_dice_rolls / power: {0y} / acc:  │

00:00:16 #1638 [Verbose] > │ {v1} / roll: {v3}"                                                           │

00:00:16 #1639 [Verbose] > │             System.Console.WriteLine v11                                     │

00:00:16 #1640 [Verbose] > │             method9(v4, v1)                                                  │

00:00:16 #1641 [Verbose] > │     | UH1_1 -> (* Nil *)                                                     │

00:00:16 #1642 [Verbose] > │         US2_0                                                                │

00:00:16 #1643 [Verbose] > │ and method7 (v0 : UH1, v1 : int32) : US2 =                                   │

00:00:16 #1644 [Verbose] > │     match v0 with                                                            │

00:00:16 #1645 [Verbose] > │     | UH1_0(v3, v4) -> (* Cons *)                                            │

00:00:16 #1646 [Verbose] > │         let v5 : bool = v3 > 1uy                                             │

00:00:16 #1647 [Verbose] > │         if v5 then                                                           │

00:00:16 #1648 [Verbose] > │             let v6 : uint8 = v3 - 1uy                                        │

00:00:16 #1649 [Verbose] > │             let v7 : int32 = int32 v6                                        │

00:00:16 #1650 [Verbose] > │             let v8 : int32 = v7 * 6                                          │

00:00:16 #1651 [Verbose] > │             let v9 : string = $"accumulate_dice_rolls / power: {1y} / acc:   │

00:00:16 #1652 [Verbose] > │ {v1} / roll: {v3} / value: {v8}"                                             │

00:00:16 #1653 [Verbose] > │             System.Console.WriteLine v9                                      │

00:00:16 #1654 [Verbose] > │             let v10 : int32 = v1 + v8                                        │

00:00:16 #1655 [Verbose] > │             method8(v4, v10)                                                 │

00:00:16 #1656 [Verbose] > │         else                                                                 │

00:00:16 #1657 [Verbose] > │             let v12 : string = $"accumulate_dice_rolls / power: {1y} / acc:  │

00:00:16 #1658 [Verbose] > │ {v1} / roll: {v3}"                                                           │

00:00:16 #1659 [Verbose] > │             System.Console.WriteLine v12                                     │

00:00:16 #1660 [Verbose] > │             method8(v4, v1)                                                  │

00:00:16 #1661 [Verbose] > │     | UH1_1 -> (* Nil *)                                                     │

00:00:16 #1662 [Verbose] > │         US2_0                                                                │

00:00:16 #1663 [Verbose] > │ and method6 (v0 : UH1, v1 : int32) : US2 =                                   │

00:00:16 #1664 [Verbose] > │     match v0 with                                                            │

00:00:16 #1665 [Verbose] > │     | UH1_0(v3, v4) -> (* Cons *)                                            │

00:00:16 #1666 [Verbose] > │         let v5 : bool = v3 > 1uy                                             │

00:00:16 #1667 [Verbose] > │         if v5 then                                                           │

00:00:16 #1668 [Verbose] > │             let v6 : uint8 = v3 - 1uy                                        │

00:00:16 #1669 [Verbose] > │             let v7 : int32 = int32 v6                                        │

00:00:16 #1670 [Verbose] > │             let v8 : int32 = v7 * 36                                         │

00:00:16 #1671 [Verbose] > │             let v9 : string = $"accumulate_dice_rolls / power: {2y} / acc:   │

00:00:16 #1672 [Verbose] > │ {v1} / roll: {v3} / value: {v8}"                                             │

00:00:16 #1673 [Verbose] > │             System.Console.WriteLine v9                                      │

00:00:16 #1674 [Verbose] > │             let v10 : int32 = v1 + v8                                        │

00:00:16 #1675 [Verbose] > │             method7(v4, v10)                                                 │

00:00:16 #1676 [Verbose] > │         else                                                                 │

00:00:16 #1677 [Verbose] > │             let v12 : string = $"accumulate_dice_rolls / power: {2y} / acc:  │

00:00:16 #1678 [Verbose] > │ {v1} / roll: {v3}"                                                           │

00:00:16 #1679 [Verbose] > │             System.Console.WriteLine v12                                     │

00:00:16 #1680 [Verbose] > │             method7(v4, v1)                                                  │

00:00:16 #1681 [Verbose] > │     | UH1_1 -> (* Nil *)                                                     │

00:00:16 #1682 [Verbose] > │         US2_0                                                                │

00:00:16 #1683 [Verbose] > │ and method5 (v0 : UH1, v1 : int32) : US2 =                                   │

00:00:16 #1684 [Verbose] > │     match v0 with                                                            │

00:00:16 #1685 [Verbose] > │     | UH1_0(v3, v4) -> (* Cons *)                                            │

00:00:16 #1686 [Verbose] > │         let v5 : bool = v3 > 1uy                                             │

00:00:16 #1687 [Verbose] > │         if v5 then                                                           │

00:00:16 #1688 [Verbose] > │             let v6 : uint8 = v3 - 1uy                                        │

00:00:16 #1689 [Verbose] > │             let v7 : int32 = int32 v6                                        │

00:00:16 #1690 [Verbose] > │             let v8 : int32 = v7 * 216                                        │

00:00:16 #1691 [Verbose] > │             let v9 : string = $"accumulate_dice_rolls / power: {3y} / acc:   │

00:00:16 #1692 [Verbose] > │ {v1} / roll: {v3} / value: {v8}"                                             │

00:00:16 #1693 [Verbose] > │             System.Console.WriteLine v9                                      │

00:00:16 #1694 [Verbose] > │             let v10 : int32 = v1 + v8                                        │

00:00:16 #1695 [Verbose] > │             method6(v4, v10)                                                 │

00:00:16 #1696 [Verbose] > │         else                                                                 │

00:00:16 #1697 [Verbose] > │             let v12 : string = $"accumulate_dice_rolls / power: {3y} / acc:  │

00:00:16 #1698 [Verbose] > │ {v1} / roll: {v3}"                                                           │

00:00:16 #1699 [Verbose] > │             System.Console.WriteLine v12                                     │

00:00:16 #1700 [Verbose] > │             method6(v4, v1)                                                  │

00:00:16 #1701 [Verbose] > │     | UH1_1 -> (* Nil *)                                                     │

00:00:16 #1702 [Verbose] > │         US2_0                                                                │

00:00:16 #1703 [Verbose] > │ and method4 (v0 : UH1, v1 : int32) : US2 =                                   │

00:00:16 #1704 [Verbose] > │     match v0 with                                                            │

00:00:16 #1705 [Verbose] > │     | UH1_0(v3, v4) -> (* Cons *)                                            │

00:00:16 #1706 [Verbose] > │         let v5 : bool = v3 > 1uy                                             │

00:00:16 #1707 [Verbose] > │         if v5 then                                                           │

00:00:16 #1708 [Verbose] > │             let v6 : uint8 = v3 - 1uy                                        │

00:00:16 #1709 [Verbose] > │             let v7 : int32 = int32 v6                                        │

00:00:16 #1710 [Verbose] > │             let v8 : int32 = v7 * 1296                                       │

00:00:16 #1711 [Verbose] > │             let v9 : string = $"accumulate_dice_rolls / power: {4y} / acc:   │

00:00:16 #1712 [Verbose] > │ {v1} / roll: {v3} / value: {v8}"                                             │

00:00:16 #1713 [Verbose] > │             System.Console.WriteLine v9                                      │

00:00:16 #1714 [Verbose] > │             let v10 : int32 = v1 + v8                                        │

00:00:16 #1715 [Verbose] > │             method5(v4, v10)                                                 │

00:00:16 #1716 [Verbose] > │         else                                                                 │

00:00:16 #1717 [Verbose] > │             let v12 : string = $"accumulate_dice_rolls / power: {4y} / acc:  │

00:00:16 #1718 [Verbose] > │ {v1} / roll: {v3}"                                                           │

00:00:16 #1719 [Verbose] > │             System.Console.WriteLine v12                                     │

00:00:16 #1720 [Verbose] > │             method5(v4, v1)                                                  │

00:00:16 #1721 [Verbose] > │     | UH1_1 -> (* Nil *)                                                     │

00:00:16 #1722 [Verbose] > │         US2_0                                                                │

00:00:16 #1723 [Verbose] > │ and method1 (v0 : Mut0, v1 : Mut1, v2 : Mut1, v3 : Mut1, v4 : Mut2, v5 :     │

00:00:16 #1724 [Verbose] > │ UH1, v6 : int8) : int32 =                                                    │

00:00:16 #1725 [Verbose] > │     let v7 : bool = v6 < 5y                                                  │

00:00:16 #1726 [Verbose] > │     if v7 then                                                               │

00:00:16 #1727 [Verbose] > │         let v8 : uint8 = method2(v0, v1, v2, v3, v4)                         │

00:00:16 #1728 [Verbose] > │         let v9 : UH1 = UH1_0(v8, v5)                                         │

00:00:16 #1729 [Verbose] > │         let v10 : int8 = v6 + 1y                                             │

00:00:16 #1730 [Verbose] > │         method1(v0, v1, v2, v3, v4, v9, v10)                                 │

00:00:16 #1731 [Verbose] > │     else                                                                     │

00:00:16 #1732 [Verbose] > │         let v12 : int32 = 0                                                  │

00:00:16 #1733 [Verbose] > │         let v13 : US2 = method4(v5, v12)                                     │

00:00:16 #1734 [Verbose] > │         match v13 with                                                       │

00:00:16 #1735 [Verbose] > │         | US2_1(v14, v15) -> (* Some *)                                      │

00:00:16 #1736 [Verbose] > │             let v16 : bool = v14 <= 2000                                     │

00:00:16 #1737 [Verbose] > │             if v16 then                                                      │

00:00:16 #1738 [Verbose] > │                 v14                                                          │

00:00:16 #1739 [Verbose] > │             else                                                             │

00:00:16 #1740 [Verbose] > │                 let v17 : uint8 = method2(v0, v1, v2, v3, v4)                │

00:00:16 #1741 [Verbose] > │                 let v18 : UH1 = UH1_0(v17, v5)                               │

00:00:16 #1742 [Verbose] > │                 let v19 : int8 = v6 + 1y                                     │

00:00:16 #1743 [Verbose] > │                 method1(v0, v1, v2, v3, v4, v18, v19)                        │

00:00:16 #1744 [Verbose] > │         | _ ->                                                               │

00:00:16 #1745 [Verbose] > │             let v22 : uint8 = method2(v0, v1, v2, v3, v4)                    │

00:00:16 #1746 [Verbose] > │             let v23 : UH1 = UH1_0(v22, v5)                                   │

00:00:16 #1747 [Verbose] > │             let v24 : int8 = v6 + 1y                                         │

00:00:16 #1748 [Verbose] > │             method1(v0, v1, v2, v3, v4, v23, v24)                            │

00:00:16 #1749 [Verbose] > │ and method0 () : unit =                                                      │

00:00:16 #1750 [Verbose] > │     let v0 : string = $"create_sequential_roller ()"                         │

00:00:16 #1751 [Verbose] > │     System.Console.WriteLine v0                                              │

00:00:16 #1752 [Verbose] > │     let v1 : (unit -> UH0) = closure0()                                      │

00:00:16 #1753 [Verbose] > │     let v2 : US0 = US0_1(v1)                                                 │

00:00:16 #1754 [Verbose] > │     let v3 : Mut0 = {l0 = v2} : Mut0                                         │

00:00:16 #1755 [Verbose] > │     let v4 : Mut1 = {l0 = 0L} : Mut1                                         │

00:00:16 #1756 [Verbose] > │     let v5 : Mut1 = {l0 = 1L} : Mut1                                         │

00:00:16 #1757 [Verbose] > │     let v6 : Mut1 = {l0 = -1L} : Mut1                                        │

00:00:16 #1758 [Verbose] > │     let v7 : US1 = US1_0                                                     │

00:00:16 #1759 [Verbose] > │     let v8 : Mut2 = {l0 = v7} : Mut2                                         │

00:00:16 #1760 [Verbose] > │     let v9 : string = $"calculate_dice_count / max: {2000} / n: {5y} / p:    │

00:00:16 #1761 [Verbose] > │ {7776}"                                                                      │

00:00:16 #1762 [Verbose] > │     System.Console.WriteLine v9                                              │

00:00:16 #1763 [Verbose] > │     let v10 : UH1 = UH1_1                                                    │

00:00:16 #1764 [Verbose] > │     let v11 : int8 = 0y                                                      │

00:00:16 #1765 [Verbose] > │     let v12 : int32 = method1(v3, v4, v5, v6, v8, v10, v11)                  │

00:00:16 #1766 [Verbose] > │     let v13 : string = $"__expect / actual: %A{v12} / expected: %A{1678}"    │

00:00:16 #1767 [Verbose] > │     let v14 : bool = v12 = 1678                                              │

00:00:16 #1768 [Verbose] > │     let v15 : bool = v14 = false                                             │

00:00:16 #1769 [Verbose] > │     if v15 then                                                              │

00:00:16 #1770 [Verbose] > │         failwith<unit> v13                                                   │

00:00:16 #1771 [Verbose] > │ method0()                                                                    │

00:00:16 #1772 [Verbose] > │                                                                              │

00:00:16 #1773 [Verbose] > │ create_sequential_roller ()                                                  │

00:00:16 #1774 [Verbose] > │ calculate_dice_count / max: 2000 / n: 5 / p: 7776                            │

00:00:16 #1775 [Verbose] > │ create_sequential_roller / roll / current_index: 0 / acc: 1 / len: -1 /      │

00:00:16 #1776 [Verbose] > │ last_item: US1_0                                                             │

00:00:16 #1777 [Verbose] > │ create_sequential_roller / roll / current_index: 1 / acc: 1 / len: -1 /      │

00:00:16 #1778 [Verbose] > │ last_item: US1_1 5uy                                                         │

00:00:16 #1779 [Verbose] > │ create_sequential_roller / roll / current_index: 2 / acc: 1 / len: -1 /      │

00:00:16 #1780 [Verbose] > │ last_item: US1_1 4uy                                                         │

00:00:16 #1781 [Verbose] > │ create_sequential_roller / roll / current_index: 3 / acc: 1 / len: -1 /      │

00:00:16 #1782 [Verbose] > │ last_item: US1_1 4uy                                                         │

00:00:16 #1783 [Verbose] > │ create_sequential_roller / roll / current_index: 4 / acc: 1 / len: -1 /      │

00:00:16 #1784 [Verbose] > │ last_item: US1_1 5uy                                                         │

00:00:16 #1785 [Verbose] > │ accumulate_dice_rolls / power: 4 / acc: 0 / roll: 2 / value: 1296            │

00:00:16 #1786 [Verbose] > │ accumulate_dice_rolls / power: 3 / acc: 1296 / roll: 5 / value: 864          │

00:00:16 #1787 [Verbose] > │ accumulate_dice_rolls / power: 2 / acc: 2160 / roll: 4 / value: 108          │

00:00:16 #1788 [Verbose] > │ accumulate_dice_rolls / power: 1 / acc: 2268 / roll: 4 / value: 18           │

00:00:16 #1789 [Verbose] > │ accumulate_dice_rolls / power: 0 / acc: 2286 / roll: 5 / value: 4            │

00:00:16 #1790 [Verbose] > │ accumulate_dice_rolls / power: -1 / acc: 2290                                │

00:00:16 #1791 [Verbose] > │ create_sequential_roller / roll / current_index: 5 / acc: 1 / len: -1 /      │

00:00:16 #1792 [Verbose] > │ last_item: US1_1 2uy                                                         │

00:00:16 #1793 [Verbose] > │ accumulate_dice_rolls / power: 4 / acc: 0 / roll: 2 / value: 1296            │

00:00:16 #1794 [Verbose] > │ accumulate_dice_rolls / power: 3 / acc: 1296 / roll: 2 / value: 216          │

00:00:16 #1795 [Verbose] > │ accumulate_dice_rolls / power: 2 / acc: 1512 / roll: 5 / value: 144          │

00:00:16 #1796 [Verbose] > │ accumulate_dice_rolls / power: 1 / acc: 1656 / roll: 4 / value: 18           │

00:00:16 #1797 [Verbose] > │ accumulate_dice_rolls / power: 0 / acc: 1674 / roll: 4 / value: 3            │

00:00:16 #1798 [Verbose] > │ accumulate_dice_rolls / power: -1 / acc: 1677                                │

00:00:16 #1799 [Verbose] > │                                                                              │

00:00:16 #1800 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:16 #1801 [Verbose] >

00:00:16 #1802 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:16 #1803 [Verbose] > // // test

00:00:16 #1804 [Verbose] >

00:00:16 #1805 [Verbose] > join dyn listm'.init_series 1i32 10000 1

00:00:16 #1806 [Verbose] > |> listm.map (fun _ => roll_progressively None roll_dice false 10i32)

00:00:16 #1807 [Verbose] > |> listm'.group_by id

00:00:16 #1808 [Verbose] > |> listm.map (fun (k, v) => k, (listm.length v : i32))

00:00:16 #1809 [Verbose] > |> listm.toArray

00:00:16 #1810 [Verbose] > |> fun (ar : a i32 _) =>

00:00:16 #1811 [Verbose] >     $"!ar |> Array.sortBy (fun (struct (a, b)) -> a)" : a i32 $"struct (int32 *

00:00:16 #1812 [Verbose] > int32)"

00:00:16 #1813 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0908-1105-0551-098577fafe98\main.spi

00:00:17 #1814 [Verbose] >

00:00:17 #1815 [Verbose] > ╭─[ 855.87ms - return value ]──────────────────────────────────────────────────╮

00:00:17 #1816 [Verbose] > │ <table><thead><tr><th><i>index</i></th><th>value</th></tr></thead><tbody><tr │

00:00:17 #1817 [Verbose] > │ ><td>0</td><td><details class="dni-treeview"><summary><span                  │

00:00:17 #1818 [Verbose] > │ class="dni-code-hint"><code>(1,                                              │

00:00:17 #1819 [Verbose] > │ 265)</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr>< │

00:00:17 #1820 [Verbose] > │ td>Item1</td><td><div                                                        │

00:00:17 #1821 [Verbose] > │ class="dni-plaintext"><pre>1</pre></div></td></tr><tr><td>Item2</td><td><div │

00:00:17 #1822 [Verbose] > │ class="dni-plaintext"><pre>265</pre></div></td></tr></tbody></table></div></ │

00:00:17 #1823 [Verbose] > │ details></td></tr><tr><td>1</td><td><details                                 │

00:00:17 #1824 [Verbose] > │ class="dni-treeview"><summary><span class="dni-code-hint"><code>(2,          │

00:00:17 #1825 [Verbose] > │ 686)</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr>< │

00:00:17 #1826 [Verbose] > │ td>Item1</td><td><div                                                        │

00:00:17 #1827 [Verbose] > │ class="dni-plaintext"><pre>2</pre></div></td></tr><tr><td>Item2</td><td><div │

00:00:17 #1828 [Verbose] > │ class="dni-plaintext"><pre>686</pre></div><...                               │

00:00:17 #1829 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:17 #1830 [Verbose] >

00:00:17 #1831 [Verbose] > ╭─[ 876.07ms - stdout ]────────────────────────────────────────────────────────╮

00:00:17 #1832 [Verbose] > │ type UH0 =                                                                   │

00:00:17 #1833 [Verbose] > │     | UH0_0 of int32 * UH0                                                   │

00:00:17 #1834 [Verbose] > │     | UH0_1                                                                  │

00:00:17 #1835 [Verbose] > │ and UH1 =                                                                    │

00:00:17 #1836 [Verbose] > │     | UH1_0 of uint8 * UH1                                                   │

00:00:17 #1837 [Verbose] > │     | UH1_1                                                                  │

00:00:17 #1838 [Verbose] > │ and [<Struct>] US0 =                                                         │

00:00:17 #1839 [Verbose] > │     | US0_0                                                                  │

00:00:17 #1840 [Verbose] > │     | US0_1 of f1_0 : int32 * f1_1 : UH1                                     │

00:00:17 #1841 [Verbose] > │ and UH2 =                                                                    │

00:00:17 #1842 [Verbose] > │     | UH2_0 of int32 * UH0 * UH2                                             │

00:00:17 #1843 [Verbose] > │     | UH2_1                                                                  │

00:00:17 #1844 [Verbose] > │ and UH3 =                                                                    │

00:00:17 #1845 [Verbose] > │     | UH3_0 of int32 * int32 * UH3                                           │

00:00:17 #1846 [Verbose] > │     | UH3_1                                                                  │

00:00:17 #1847 [Verbose] > │ let rec method2 (v0 : float, v1 : int32, v2 : int32, v3 : float) : UH0 =     │

00:00:17 #1848 [Verbose] > │     let v4 : bool = v3 < v0                                                  │

00:00:17 #1849 [Verbose] > │     if v4 then                                                               │

00:00:17 #1850 [Verbose] > │         let v5 : int32 = int32 v3                                            │

00:00:17 #1851 [Verbose] > │         let v6 : int32 = v1 * v5                                             │

00:00:17 #1852 [Verbose] > │         let v7 : int32 = v2 + v6                                             │

00:00:17 #1853 [Verbose] > │         let v8 : float = v3 + 1.0                                            │

00:00:17 #1854 [Verbose] > │         let v9 : UH0 = method2(v0, v1, v2, v8)                               │

00:00:17 #1855 [Verbose] > │         UH0_0(v7, v9)                                                        │

00:00:17 #1856 [Verbose] > │     else                                                                     │

00:00:17 #1857 [Verbose] > │         UH0_1                                                                │

00:00:17 #1858 [Verbose] > │ and closure2 (v0 : int32, v1 : int32) (v2 : int32) : UH0 =                   │

00:00:17 #1859 [Verbose] > │     let v3 : int32 = v1 - v0                                                 │

00:00:17 #1860 [Verbose] > │     let v4 : int32 = v3 / v2                                                 │

00:00:17 #1861 [Verbose] > │     let v5 : float = float v4                                                │

00:00:17 #1862 [Verbose] > │     let v6 : float = v5 + 1.0                                                │

00:00:17 #1863 [Verbose] > │     let v7 : float = 0.0                                                     │

00:00:17 #1864 [Verbose] > │     method2(v6, v2, v0, v7)                                                  │

00:00:17 #1865 [Verbose] > │ and closure1 (v0 : int32) (v1 : int32) : (int32 -> UH0) =                    │

00:00:17 #1866 [Verbose] > │     closure2(v0, v1)                                                         │

00:00:17 #1867 [Verbose] > │ and closure0 () (v0 : int32) : (int32 -> (int32 -> UH0)) =                   │

00:00:17 #1868 [Verbose] > │     closure1(v0)                                                             │

00:00:17 #1869 [Verbose] > │ and method1 () : UH0 =                                                       │

00:00:17 #1870 [Verbose] > │     let v0 : (int32 -> (int32 -> (int32 -> UH0))) = closure0()               │

00:00:17 #1871 [Verbose] > │     let v1 : (int32 -> (int32 -> UH0)) = v0 1                                │

00:00:17 #1872 [Verbose] > │     let v2 : (int32 -> UH0) = v1 10000                                       │

00:00:17 #1873 [Verbose] > │     v2 1                                                                     │

00:00:17 #1874 [Verbose] > │ and method7 (v0 : UH1, v1 : int32) : US0 =                                   │

00:00:17 #1875 [Verbose] > │     let v2 : string = $"accumulate_dice_rolls / power: {-1y} / acc: {v1}"    │

00:00:17 #1876 [Verbose] > │     let v3 : int32 = v1 + 1                                                  │

00:00:17 #1877 [Verbose] > │     US0_1(v3, v0)                                                            │

00:00:17 #1878 [Verbose] > │ and method6 (v0 : UH1, v1 : int32) : US0 =                                   │

00:00:17 #1879 [Verbose] > │     match v0 with                                                            │

00:00:17 #1880 [Verbose] > │     | UH1_0(v3, v4) -> (* Cons *)                                            │

00:00:17 #1881 [Verbose] > │         let v5 : bool = v3 > 1uy                                             │

00:00:17 #1882 [Verbose] > │         if v5 then                                                           │

00:00:17 #1883 [Verbose] > │             let v6 : uint8 = v3 - 1uy                                        │

00:00:17 #1884 [Verbose] > │             let v7 : int32 = int32 v6                                        │

00:00:17 #1885 [Verbose] > │             let v8 : string = $"accumulate_dice_rolls / power: {0y} / acc:   │

00:00:17 #1886 [Verbose] > │ {v1} / roll: {v3} / value: {v7}"                                             │

00:00:17 #1887 [Verbose] > │             let v9 : int32 = v1 + v7                                         │

00:00:17 #1888 [Verbose] > │             method7(v4, v9)                                                  │

00:00:17 #1889 [Verbose] > │         else                                                                 │

00:00:17 #1890 [Verbose] > │             let v11 : string = $"accumulate_dice_rolls / power: {0y} / acc:  │

00:00:17 #1891 [Verbose] > │ {v1} / roll: {v3}"                                                           │

00:00:17 #1892 [Verbose] > │             method7(v4, v1)                                                  │

00:00:17 #1893 [Verbose] > │     | UH1_1 -> (* Nil *)                                                     │

00:00:17 #1894 [Verbose] > │         US0_0                                                                │

00:00:17 #1895 [Verbose] > │ and method5 (v0 : UH1, v1 : int32) : US0 =                                   │

00:00:17 #1896 [Verbose] > │     match v0 with                                                            │

00:00:17 #1897 [Verbose] > │     | UH1_0(v3, v4) -> (* Cons *)                                            │

00:00:17 #1898 [Verbose] > │         let v5 : bool = v3 > 1uy                                             │

00:00:17 #1899 [Verbose] > │         if v5 then                                                           │

00:00:17 #1900 [Verbose] > │             let v6 : uint8 = v3 - 1uy                                        │

00:00:17 #1901 [Verbose] > │             let v7 : int32 = int32 v6                                        │

00:00:17 #1902 [Verbose] > │             let v8 : int32 = v7 * 6                                          │

00:00:17 #1903 [Verbose] > │             let v9 : string = $"accumulate_dice_rolls / power: {1y} / acc:   │

00:00:17 #1904 [Verbose] > │ {v1} / roll: {v3} / value: {v8}"                                             │

00:00:17 #1905 [Verbose] > │             let v10 : int32 = v1 + v8                                        │

00:00:17 #1906 [Verbose] > │             method6(v4, v10)                                                 │

00:00:17 #1907 [Verbose] > │         else                                                                 │

00:00:17 #1908 [Verbose] > │             let v12 : string = $"accumulate_dice_rolls / power: {1y} / acc:  │

00:00:17 #1909 [Verbose] > │ {v1} / roll: {v3}"                                                           │

00:00:17 #1910 [Verbose] > │             method6(v4, v1)                                                  │

00:00:17 #1911 [Verbose] > │     | UH1_1 -> (* Nil *)                                                     │

00:00:17 #1912 [Verbose] > │         US0_0                                                                │

00:00:17 #1913 [Verbose] > │ and method4 (v0 : UH1, v1 : int8) : int32 =                                  │

00:00:17 #1914 [Verbose] > │     let v2 : bool = v1 < 2y                                                  │

00:00:17 #1915 [Verbose] > │     if v2 then                                                               │

00:00:17 #1916 [Verbose] > │         let mutable result = None                                            │

00:00:17 #1917 [Verbose] > │         #if FABLE_COMPILER_RUST                                              │

00:00:17 #1918 [Verbose] > │         #if !WASM                                                            │

00:00:17 #1919 [Verbose] > │         let v3 : string = "rand::Rng::gen_range(&mut rand::thread_rng(),     │

00:00:17 #1920 [Verbose] > │ 1..7)"                                                                       │

00:00:17 #1921 [Verbose] > │         let v4 : uint8 = Fable.Core.RustInterop.emitRustExpr () v3           │

00:00:17 #1922 [Verbose] > │         v4                                                                   │

00:00:17 #1923 [Verbose] > │         #else                                                                │

00:00:17 #1924 [Verbose] > │         let v5 : string = "1"                                                │

00:00:17 #1925 [Verbose] > │         let v6 : uint8 = Fable.Core.RustInterop.emitRustExpr () v5           │

00:00:17 #1926 [Verbose] > │         v6                                                                   │

00:00:17 #1927 [Verbose] > │         #endif                                                               │

00:00:17 #1928 [Verbose] > │         #else                                                                │

00:00:17 #1929 [Verbose] > │         let v7 : uint8 = System.Random().Next (1, 7) |> uint8                │

00:00:17 #1930 [Verbose] > │         v7                                                                   │

00:00:17 #1931 [Verbose] > │         #endif                                                               │

00:00:17 #1932 [Verbose] > │         |> fun x -> result <- Some x                                         │

00:00:17 #1933 [Verbose] > │         let v8 : uint8 = result |> Option.get                                │

00:00:17 #1934 [Verbose] > │         let v9 : UH1 = UH1_0(v8, v0)                                         │

00:00:17 #1935 [Verbose] > │         let v10 : int8 = v1 + 1y                                             │

00:00:17 #1936 [Verbose] > │         method4(v9, v10)                                                     │

00:00:17 #1937 [Verbose] > │     else                                                                     │

00:00:17 #1938 [Verbose] > │         let v12 : int32 = 0                                                  │

00:00:17 #1939 [Verbose] > │         let v13 : US0 = method5(v0, v12)                                     │

00:00:17 #1940 [Verbose] > │         match v13 with                                                       │

00:00:17 #1941 [Verbose] > │         | US0_1(v14, v15) -> (* Some *)                                      │

00:00:17 #1942 [Verbose] > │             let v16 : bool = v14 <= 10                                       │

00:00:17 #1943 [Verbose] > │             if v16 then                                                      │

00:00:17 #1944 [Verbose] > │                 v14                                                          │

00:00:17 #1945 [Verbose] > │             else                                                             │

00:00:17 #1946 [Verbose] > │                 let mutable result = None                                    │

00:00:17 #1947 [Verbose] > │                 #if FABLE_COMPILER_RUST                                      │

00:00:17 #1948 [Verbose] > │                 #if !WASM                                                    │

00:00:17 #1949 [Verbose] > │                 let v17 : string = "rand::Rng::gen_range(&mut                │

00:00:17 #1950 [Verbose] > │ rand::thread_rng(), 1..7)"                                                   │

00:00:17 #1951 [Verbose] > │                 let v18 : uint8 = Fable.Core.RustInterop.emitRustExpr () v17 │

00:00:17 #1952 [Verbose] > │                 v18                                                          │

00:00:17 #1953 [Verbose] > │                 #else                                                        │

00:00:17 #1954 [Verbose] > │                 let v19 : string = "1"                                       │

00:00:17 #1955 [Verbose] > │                 let v20 : uint8 = Fable.Core.RustInterop.emitRustExpr () v19 │

00:00:17 #1956 [Verbose] > │                 v20                                                          │

00:00:17 #1957 [Verbose] > │                 #endif                                                       │

00:00:17 #1958 [Verbose] > │                 #else                                                        │

00:00:17 #1959 [Verbose] > │                 let v21 : uint8 = System.Random().Next (1, 7) |> uint8       │

00:00:17 #1960 [Verbose] > │                 v21                                                          │

00:00:17 #1961 [Verbose] > │                 #endif                                                       │

00:00:17 #1962 [Verbose] > │                 |> fun x -> result <- Some x                                 │

00:00:17 #1963 [Verbose] > │                 let v22 : uint8 = result |> Option.get                       │

00:00:17 #1964 [Verbose] > │                 let v23 : UH1 = UH1_0(v22, v0)                               │

00:00:17 #1965 [Verbose] > │                 let v24 : int8 = v1 + 1y                                     │

00:00:17 #1966 [Verbose] > │                 method4(v23, v24)                                            │

00:00:17 #1967 [Verbose] > │         | _ ->                                                               │

00:00:17 #1968 [Verbose] > │             let mutable result = None                                        │

00:00:17 #1969 [Verbose] > │             #if FABLE_COMPILER_RUST                                          │

00:00:17 #1970 [Verbose] > │             #if !WASM                                                        │

00:00:17 #1971 [Verbose] > │             let v27 : string = "rand::Rng::gen_range(&mut                    │

00:00:17 #1972 [Verbose] > │ rand::thread_rng(), 1..7)"                                                   │

00:00:17 #1973 [Verbose] > │             let v28 : uint8 = Fable.Core.RustInterop.emitRustExpr () v27     │

00:00:17 #1974 [Verbose] > │             v28                                                              │

00:00:17 #1975 [Verbose] > │             #else                                                            │

00:00:17 #1976 [Verbose] > │             let v29 : string = "1"                                           │

00:00:17 #1977 [Verbose] > │             let v30 : uint8 = Fable.Core.RustInterop.emitRustExpr () v29     │

00:00:17 #1978 [Verbose] > │             v30                                                              │

00:00:17 #1979 [Verbose] > │             #endif                                                           │

00:00:17 #1980 [Verbose] > │             #else                                                            │

00:00:17 #1981 [Verbose] > │             let v31 : uint8 = System.Random().Next (1, 7) |> uint8           │

00:00:17 #1982 [Verbose] > │             v31                                                              │

00:00:17 #1983 [Verbose] > │             #endif                                                           │

00:00:17 #1984 [Verbose] > │             |> fun x -> result <- Some x                                     │

00:00:17 #1985 [Verbose] > │             let v32 : uint8 = result |> Option.get                           │

00:00:17 #1986 [Verbose] > │             let v33 : UH1 = UH1_0(v32, v0)                                   │

00:00:17 #1987 [Verbose] > │             let v34 : int8 = v1 + 1y                                         │

00:00:17 #1988 [Verbose] > │             method4(v33, v34)                                                │

00:00:17 #1989 [Verbose] > │ and method3 (v0 : UH0, v1 : UH0) : UH0 =                                     │

00:00:17 #1990 [Verbose] > │     match v0 with                                                            │

00:00:17 #1991 [Verbose] > │     | UH0_0(v2, v3) -> (* Cons *)                                            │

00:00:17 #1992 [Verbose] > │         let v4 : UH0 = method3(v3, v1)                                       │

00:00:17 #1993 [Verbose] > │         let v5 : string = $"calculate_dice_count / max: {10} / n: {2y} / p:  │

00:00:17 #1994 [Verbose] > │ {36}"                                                                        │

00:00:17 #1995 [Verbose] > │         let v6 : UH1 = UH1_1                                                 │

00:00:17 #1996 [Verbose] > │         let v7 : int8 = 0y                                                   │

00:00:17 #1997 [Verbose] > │         let v8 : int32 = method4(v6, v7)                                     │

00:00:17 #1998 [Verbose] > │         UH0_0(v8, v4)                                                        │

00:00:17 #1999 [Verbose] > │     | UH0_1 -> (* Nil *)                                                     │

00:00:17 #2000 [Verbose] > │         v1                                                                   │

00:00:17 #2001 [Verbose] > │ and method9 (v0 : int32, v1 : UH2, v2 : bool, v3 : UH2) : struct (bool *     │

00:00:17 #2002 [Verbose] > │ UH2) =                                                                       │

00:00:17 #2003 [Verbose] > │     match v1 with                                                            │

00:00:17 #2004 [Verbose] > │     | UH2_0(v4, v5, v6) -> (* Cons *)                                        │

00:00:17 #2005 [Verbose] > │         let v7 : bool = v4 = v0                                              │

00:00:17 #2006 [Verbose] > │         let struct (v11 : bool, v12 : UH2) =                                 │

00:00:17 #2007 [Verbose] > │             if v7 then                                                       │

00:00:17 #2008 [Verbose] > │                 let v8 : UH0 = UH0_0(v0, v5)                                 │

00:00:17 #2009 [Verbose] > │                 let v9 : UH2 = UH2_0(v4, v8, v3)                             │

00:00:17 #2010 [Verbose] > │                 struct (true, v9)                                            │

00:00:17 #2011 [Verbose] > │             else                                                             │

00:00:17 #2012 [Verbose] > │                 let v10 : UH2 = UH2_0(v4, v5, v3)                            │

00:00:17 #2013 [Verbose] > │                 struct (v2, v10)                                             │

00:00:17 #2014 [Verbose] > │         method9(v0, v6, v11, v12)                                            │

00:00:17 #2015 [Verbose] > │     | UH2_1 -> (* Nil *)                                                     │

00:00:17 #2016 [Verbose] > │         struct (v2, v3)                                                      │

00:00:17 #2017 [Verbose] > │ and method8 (v0 : UH0, v1 : UH2) : UH2 =                                     │

00:00:17 #2018 [Verbose] > │     match v0 with                                                            │

00:00:17 #2019 [Verbose] > │     | UH0_0(v2, v3) -> (* Cons *)                                            │

00:00:17 #2020 [Verbose] > │         let v4 : UH2 = method8(v3, v1)                                       │

00:00:17 #2021 [Verbose] > │         let v5 : bool = false                                                │

00:00:17 #2022 [Verbose] > │         let v6 : UH2 = UH2_1                                                 │

00:00:17 #2023 [Verbose] > │         let struct (v7 : bool, v8 : UH2) = method9(v2, v4, v5, v6)           │

00:00:17 #2024 [Verbose] > │         if v7 then                                                           │

00:00:17 #2025 [Verbose] > │             v8                                                               │

00:00:17 #2026 [Verbose] > │         else                                                                 │

00:00:17 #2027 [Verbose] > │             let v9 : UH0 = UH0_1                                             │

00:00:17 #2028 [Verbose] > │             let v10 : UH0 = UH0_0(v2, v9)                                    │

00:00:17 #2029 [Verbose] > │             UH2_0(v2, v10, v8)                                               │

00:00:17 #2030 [Verbose] > │     | UH0_1 -> (* Nil *)                                                     │

00:00:17 #2031 [Verbose] > │         v1                                                                   │

00:00:17 #2032 [Verbose] > │ and method11 (v0 : UH0, v1 : int32) : int32 =                                │

00:00:17 #2033 [Verbose] > │     match v0 with                                                            │

00:00:17 #2034 [Verbose] > │     | UH0_0(v2, v3) -> (* Cons *)                                            │

00:00:17 #2035 [Verbose] > │         let v4 : int32 = v1 + 1                                              │

00:00:17 #2036 [Verbose] > │         method11(v3, v4)                                                     │

00:00:17 #2037 [Verbose] > │     | UH0_1 -> (* Nil *)                                                     │

00:00:17 #2038 [Verbose] > │         v1                                                                   │

00:00:17 #2039 [Verbose] > │ and method10 (v0 : UH2, v1 : UH3) : UH3 =                                    │

00:00:17 #2040 [Verbose] > │     match v0 with                                                            │

00:00:17 #2041 [Verbose] > │     | UH2_0(v2, v3, v4) -> (* Cons *)                                        │

00:00:17 #2042 [Verbose] > │         let v5 : UH3 = method10(v4, v1)                                      │

00:00:17 #2043 [Verbose] > │         let v6 : int32 = 0                                                   │

00:00:17 #2044 [Verbose] > │         let v7 : int32 = method11(v3, v6)                                    │

00:00:17 #2045 [Verbose] > │         UH3_0(v2, v7, v5)                                                    │

00:00:17 #2046 [Verbose] > │     | UH2_1 -> (* Nil *)                                                     │

00:00:17 #2047 [Verbose] > │         v1                                                                   │

00:00:17 #2048 [Verbose] > │ and method13 (v0 : UH3, v1 : int32) : int32 =                                │

00:00:17 #2049 [Verbose] > │     match v0 with                                                            │

00:00:17 #2050 [Verbose] > │     | UH3_0(v2, v3, v4) -> (* Cons *)                                        │

00:00:17 #2051 [Verbose] > │         let v5 : int32 = v1 + 1                                              │

00:00:17 #2052 [Verbose] > │         method13(v4, v5)                                                     │

00:00:17 #2053 [Verbose] > │     | UH3_1 -> (* Nil *)                                                     │

00:00:17 #2054 [Verbose] > │         v1                                                                   │

00:00:17 #2055 [Verbose] > │ and method14 (v0 : (struct (int32 * int32) []), v1 : UH3, v2 : int32) :      │

00:00:17 #2056 [Verbose] > │ int32 =                                                                      │

00:00:17 #2057 [Verbose] > │     match v1 with                                                            │

00:00:17 #2058 [Verbose] > │     | UH3_0(v3, v4, v5) -> (* Cons *)                                        │

00:00:17 #2059 [Verbose] > │         v0.[int v2] <- struct (v3, v4)                                       │

00:00:17 #2060 [Verbose] > │         let v6 : int32 = v2 + 1                                              │

00:00:17 #2061 [Verbose] > │         method14(v0, v5, v6)                                                 │

00:00:17 #2062 [Verbose] > │     | UH3_1 -> (* Nil *)                                                     │

00:00:17 #2063 [Verbose] > │         v2                                                                   │

00:00:17 #2064 [Verbose] > │ and method12 (v0 : UH3) : (struct (int32 * int32) []) =                      │

00:00:17 #2065 [Verbose] > │     let v1 : int32 = 0                                                       │

00:00:17 #2066 [Verbose] > │     let v2 : int32 = method13(v0, v1)                                        │

00:00:17 #2067 [Verbose] > │     let v3 : (struct (int32 * int32) []) = Array.zeroCreate<struct (int32 *  │

00:00:17 #2068 [Verbose] > │ int32)> (v2)                                                                 │

00:00:17 #2069 [Verbose] > │     let v4 : int32 = 0                                                       │

00:00:17 #2070 [Verbose] > │     let v5 : int32 = method14(v3, v0, v4)                                    │

00:00:17 #2071 [Verbose] > │     v3                                                                       │

00:00:17 #2072 [Verbose] > │ and method0 () : (struct (int32 * int32) []) =                               │

00:00:17 #2073 [Verbose] > │     let v0 : UH0 = method1()                                                 │

00:00:17 #2074 [Verbose] > │     let v1 : UH0 = UH0_1                                                     │

00:00:17 #2075 [Verbose] > │     let v2 : UH0 = method3(v0, v1)                                           │

00:00:17 #2076 [Verbose] > │     let v3 : UH2 = UH2_1                                                     │

00:00:17 #2077 [Verbose] > │     let v4 : UH2 = method8(v2, v3)                                           │

00:00:17 #2078 [Verbose] > │     let v5 : UH3 = UH3_1                                                     │

00:00:17 #2079 [Verbose] > │     let v6 : UH3 = method10(v4, v5)                                          │

00:00:17 #2080 [Verbose] > │     let v7 : (struct (int32 * int32) []) = method12(v6)                      │

00:00:17 #2081 [Verbose] > │     let v8 : (struct (int32 * int32) []) = v7 |> Array.sortBy (fun (struct   │

00:00:17 #2082 [Verbose] > │ (a, b)) -> a)                                                                │

00:00:17 #2083 [Verbose] > │     v8                                                                       │

00:00:17 #2084 [Verbose] > │ method0()                                                                    │

00:00:17 #2085 [Verbose] > │                                                                              │

00:00:17 #2086 [Verbose] > │                                                                              │

00:00:17 #2087 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:17 #2088 [Verbose] >

00:00:17 #2089 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:17 #2090 [Verbose] > // // test

00:00:17 #2091 [Verbose] > // // print_code=false

00:00:17 #2092 [Verbose] >

00:00:17 #2093 [Verbose] > join dyn listm'.init_series 1i32 10000 1

00:00:17 #2094 [Verbose] > |> listm.map (fun _ => roll_progressively None roll_dice true 10i32)

00:00:17 #2095 [Verbose] > |> listm'.group_by id

00:00:17 #2096 [Verbose] > |> listm.map (fun (k, v) => k, (listm.length v : i32))

00:00:17 #2097 [Verbose] > |> listm.toArray

00:00:17 #2098 [Verbose] > |> fun (ar : a i32 _) =>

00:00:17 #2099 [Verbose] >     $"!ar |> Array.sortBy (fun (struct (a, b)) -> a)" : a i32 $"struct (int32 *

00:00:17 #2100 [Verbose] > int32)"

00:00:17 #2101 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0908-1202-0263-0ebe08e34eed\main.spi

00:00:17 #2102 [Verbose] >

00:00:17 #2103 [Verbose] > ╭─[ 662.81ms - return value ]──────────────────────────────────────────────────╮

00:00:17 #2104 [Verbose] > │ <table><thead><tr><th><i>index</i></th><th>value</th></tr></thead><tbody><tr │

00:00:17 #2105 [Verbose] > │ ><td>0</td><td><details class="dni-treeview"><summary><span                  │

00:00:17 #2106 [Verbose] > │ class="dni-code-hint"><code>(1,                                              │

00:00:17 #2107 [Verbose] > │ 1049)</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr> │

00:00:17 #2108 [Verbose] > │ <td>Item1</td><td><div                                                       │

00:00:17 #2109 [Verbose] > │ class="dni-plaintext"><pre>1</pre></div></td></tr><tr><td>Item2</td><td><div │

00:00:17 #2110 [Verbose] > │ class="dni-plaintext"><pre>1049</pre></div></td></tr></tbody></table></div>< │

00:00:17 #2111 [Verbose] > │ /details></td></tr><tr><td>1</td><td><details                                │

00:00:17 #2112 [Verbose] > │ class="dni-treeview"><summary><span class="dni-code-hint"><code>(2,          │

00:00:17 #2113 [Verbose] > │ 1001)</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr> │

00:00:17 #2114 [Verbose] > │ <td>Item1</td><td><div                                                       │

00:00:17 #2115 [Verbose] > │ class="dni-plaintext"><pre>2</pre></div></td></tr><tr><td>Item2</td><td><div │

00:00:17 #2116 [Verbose] > │ class="dni-plaintext"><pre>1001</pre></d...                                  │

00:00:17 #2117 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:17 #2118 [Verbose] >

00:00:17 #2119 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:17 #2120 [Verbose] > // // test

00:00:17 #2121 [Verbose] > // // timeout=60000

00:00:17 #2122 [Verbose] >

00:00:17 #2123 [Verbose] > join dyn listm'.init_series 1i32 100 1

00:00:17 #2124 [Verbose] > |> listm.iter fun n =>

00:00:17 #2125 [Verbose] >     listm'.init_series 0i32 1 1

00:00:17 #2126 [Verbose] >     |> listm.iter fun reroll =>

00:00:17 #2127 [Verbose] >         join dyn listm'.init_series 1i32 3500 1

00:00:17 #2128 [Verbose] >         |> listm.map fun _ => roll_progressively None roll_dice (reroll = 1) n

00:00:17 #2129 [Verbose] >         |> listm'.group_by id

00:00:17 #2130 [Verbose] >         |> listm.length

00:00:17 #2131 [Verbose] >         |> _equal n

00:00:18 #2132 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0908-1269-6961-650a2e880feb\main.spi

00:00:30 #2133 [Verbose] >

00:00:30 #2134 [Verbose] > ╭─[ 12.79s - stdout ]──────────────────────────────────────────────────────────╮

00:00:30 #2135 [Verbose] > │ type UH0 =                                                                   │

00:00:30 #2136 [Verbose] > │     | UH0_0 of int32 * UH0                                                   │

00:00:30 #2137 [Verbose] > │     | UH0_1                                                                  │

00:00:30 #2138 [Verbose] > │ and UH1 =                                                                    │

00:00:30 #2139 [Verbose] > │     | UH1_0 of uint8 * UH1                                                   │

00:00:30 #2140 [Verbose] > │     | UH1_1                                                                  │

00:00:30 #2141 [Verbose] > │ and [<Struct>] US0 =                                                         │

00:00:30 #2142 [Verbose] > │     | US0_0                                                                  │

00:00:30 #2143 [Verbose] > │     | US0_1 of f1_0 : int32 * f1_1 : UH1                                     │

00:00:30 #2144 [Verbose] > │ and UH2 =                                                                    │

00:00:30 #2145 [Verbose] > │     | UH2_0 of int32 * (unit -> UH2)                                         │

00:00:30 #2146 [Verbose] > │     | UH2_1                                                                  │

00:00:30 #2147 [Verbose] > │ and [<Struct>] US1 =                                                         │

00:00:30 #2148 [Verbose] > │     | US1_0                                                                  │

00:00:30 #2149 [Verbose] > │     | US1_1 of f1_0 : int32                                                  │

00:00:30 #2150 [Verbose] > │ and UH3 =                                                                    │

00:00:30 #2151 [Verbose] > │     | UH3_0 of int32 * UH0 * UH3                                             │

00:00:30 #2152 [Verbose] > │     | UH3_1                                                                  │

00:00:30 #2153 [Verbose] > │ let rec method2 (v0 : float, v1 : int32, v2 : int32, v3 : float) : UH0 =     │

00:00:30 #2154 [Verbose] > │     let v4 : bool = v3 < v0                                                  │

00:00:30 #2155 [Verbose] > │     if v4 then                                                               │

00:00:30 #2156 [Verbose] > │         let v5 : int32 = int32 v3                                            │

00:00:30 #2157 [Verbose] > │         let v6 : int32 = v1 * v5                                             │

00:00:30 #2158 [Verbose] > │         let v7 : int32 = v2 + v6                                             │

00:00:30 #2159 [Verbose] > │         let v8 : float = v3 + 1.0                                            │

00:00:30 #2160 [Verbose] > │         let v9 : UH0 = method2(v0, v1, v2, v8)                               │

00:00:30 #2161 [Verbose] > │         UH0_0(v7, v9)                                                        │

00:00:30 #2162 [Verbose] > │     else                                                                     │

00:00:30 #2163 [Verbose] > │         UH0_1                                                                │

00:00:30 #2164 [Verbose] > │ and closure2 (v0 : int32, v1 : int32) (v2 : int32) : UH0 =                   │

00:00:30 #2165 [Verbose] > │     let v3 : int32 = v1 - v0                                                 │

00:00:30 #2166 [Verbose] > │     let v4 : int32 = v3 / v2                                                 │

00:00:30 #2167 [Verbose] > │     let v5 : float = float v4                                                │

00:00:30 #2168 [Verbose] > │     let v6 : float = v5 + 1.0                                                │

00:00:30 #2169 [Verbose] > │     let v7 : float = 0.0                                                     │

00:00:30 #2170 [Verbose] > │     method2(v6, v2, v0, v7)                                                  │

00:00:30 #2171 [Verbose] > │ and closure1 (v0 : int32) (v1 : int32) : (int32 -> UH0) =                    │

00:00:30 #2172 [Verbose] > │     closure2(v0, v1)                                                         │

00:00:30 #2173 [Verbose] > │ and closure0 () (v0 : int32) : (int32 -> (int32 -> UH0)) =                   │

00:00:30 #2174 [Verbose] > │     closure1(v0)                                                             │

00:00:30 #2175 [Verbose] > │ and method1 () : UH0 =                                                       │

00:00:30 #2176 [Verbose] > │     let v0 : (int32 -> (int32 -> (int32 -> UH0))) = closure0()               │

00:00:30 #2177 [Verbose] > │     let v1 : (int32 -> (int32 -> UH0)) = v0 1                                │

00:00:30 #2178 [Verbose] > │     let v2 : (int32 -> UH0) = v1 100                                         │

00:00:30 #2179 [Verbose] > │     v2 1                                                                     │

00:00:30 #2180 [Verbose] > │ and method4 () : UH0 =                                                       │

00:00:30 #2181 [Verbose] > │     let v0 : (int32 -> (int32 -> (int32 -> UH0))) = closure0()               │

00:00:30 #2182 [Verbose] > │     let v1 : (int32 -> (int32 -> UH0)) = v0 1                                │

00:00:30 #2183 [Verbose] > │     let v2 : (int32 -> UH0) = v1 3500                                        │

00:00:30 #2184 [Verbose] > │     v2 1                                                                     │

00:00:30 #2185 [Verbose] > │ and method6 (v0 : int32, v1 : int8, v2 : int32) : int8 =                     │

00:00:30 #2186 [Verbose] > │     let v3 : bool = v2 < v0                                                  │

00:00:30 #2187 [Verbose] > │     if v3 then                                                               │

00:00:30 #2188 [Verbose] > │         let v4 : int32 = v2 * 6                                              │

00:00:30 #2189 [Verbose] > │         let v5 : bool = v4 > v2                                              │

00:00:30 #2190 [Verbose] > │         if v5 then                                                           │

00:00:30 #2191 [Verbose] > │             let v6 : int8 = v1 + 1y                                          │

00:00:30 #2192 [Verbose] > │             method6(v0, v6, v4)                                              │

00:00:30 #2193 [Verbose] > │         else                                                                 │

00:00:30 #2194 [Verbose] > │             let v8 : string = $"calculate_dice_count / max: {v0} / n: {v1} / │

00:00:30 #2195 [Verbose] > │ p: {v2}"                                                                     │

00:00:30 #2196 [Verbose] > │             v1                                                               │

00:00:30 #2197 [Verbose] > │     else                                                                     │

00:00:30 #2198 [Verbose] > │         let v10 : string = $"calculate_dice_count / max: {v0} / n: {v1} / p: │

00:00:30 #2199 [Verbose] > │ {v2}"                                                                        │

00:00:30 #2200 [Verbose] > │         v1                                                                   │

00:00:30 #2201 [Verbose] > │ and closure34 () () : UH2 =                                                  │

00:00:30 #2202 [Verbose] > │     let v0 : (unit -> UH2) = closure34()                                     │

00:00:30 #2203 [Verbose] > │     UH2_0(0, v0)                                                             │

00:00:30 #2204 [Verbose] > │ and closure33 () () : UH2 =                                                  │

00:00:30 #2205 [Verbose] > │     let v0 : (unit -> UH2) = closure34()                                     │

00:00:30 #2206 [Verbose] > │     UH2_0(-2147483648, v0)                                                   │

00:00:30 #2207 [Verbose] > │ and closure32 () () : UH2 =                                                  │

00:00:30 #2208 [Verbose] > │     let v0 : (unit -> UH2) = closure33()                                     │

00:00:30 #2209 [Verbose] > │     UH2_0(1073741824, v0)                                                    │

00:00:30 #2210 [Verbose] > │ and closure31 () () : UH2 =                                                  │

00:00:30 #2211 [Verbose] > │     let v0 : (unit -> UH2) = closure32()                                     │

00:00:30 #2212 [Verbose] > │     UH2_0(1610612736, v0)                                                    │

00:00:30 #2213 [Verbose] > │ and closure30 () () : UH2 =                                                  │

00:00:30 #2214 [Verbose] > │     let v0 : (unit -> UH2) = closure31()                                     │

00:00:30 #2215 [Verbose] > │     UH2_0(268435456, v0)                                                     │

00:00:30 #2216 [Verbose] > │ and closure29 () () : UH2 =                                                  │

00:00:30 #2217 [Verbose] > │     let v0 : (unit -> UH2) = closure30()                                     │

00:00:30 #2218 [Verbose] > │     UH2_0(-671088640, v0)                                                    │

00:00:30 #2219 [Verbose] > │ and closure28 () () : UH2 =                                                  │

00:00:30 #2220 [Verbose] > │     let v0 : (unit -> UH2) = closure29()                                     │

00:00:30 #2221 [Verbose] > │     UH2_0(-1543503872, v0)                                                   │

00:00:30 #2222 [Verbose] > │ and closure27 () () : UH2 =                                                  │

00:00:30 #2223 [Verbose] > │     let v0 : (unit -> UH2) = closure28()                                     │

00:00:30 #2224 [Verbose] > │     UH2_0(1174405120, v0)                                                    │

00:00:30 #2225 [Verbose] > │ and closure26 () () : UH2 =                                                  │

00:00:30 #2226 [Verbose] > │     let v0 : (unit -> UH2) = closure27()                                     │

00:00:30 #2227 [Verbose] > │     UH2_0(-520093696, v0)                                                    │

00:00:30 #2228 [Verbose] > │ and closure25 () () : UH2 =                                                  │

00:00:30 #2229 [Verbose] > │     let v0 : (unit -> UH2) = closure26()                                     │

00:00:30 #2230 [Verbose] > │     UH2_0(629145600, v0)                                                     │

00:00:30 #2231 [Verbose] > │ and closure24 () () : UH2 =                                                  │

00:00:30 #2232 [Verbose] > │     let v0 : (unit -> UH2) = closure25()                                     │

00:00:30 #2233 [Verbose] > │     UH2_0(104857600, v0)                                                     │

00:00:30 #2234 [Verbose] > │ and closure23 () () : UH2 =                                                  │

00:00:30 #2235 [Verbose] > │     let v0 : (unit -> UH2) = closure24()                                     │

00:00:30 #2236 [Verbose] > │     UH2_0(1449132032, v0)                                                    │

00:00:30 #2237 [Verbose] > │ and closure22 () () : UH2 =                                                  │

00:00:30 #2238 [Verbose] > │     let v0 : (unit -> UH2) = closure23()                                     │

00:00:30 #2239 [Verbose] > │     UH2_0(-1190133760, v0)                                                   │

00:00:30 #2240 [Verbose] > │ and closure21 () () : UH2 =                                                  │

00:00:30 #2241 [Verbose] > │     let v0 : (unit -> UH2) = closure22()                                     │

00:00:30 #2242 [Verbose] > │     UH2_0(-1630011392, v0)                                                   │

00:00:30 #2243 [Verbose] > │ and closure20 () () : UH2 =                                                  │

00:00:30 #2244 [Verbose] > │     let v0 : (unit -> UH2) = closure21()                                     │

00:00:30 #2245 [Verbose] > │     UH2_0(1159987200, v0)                                                    │

00:00:30 #2246 [Verbose] > │ and closure19 () () : UH2 =                                                  │

00:00:30 #2247 [Verbose] > │     let v0 : (unit -> UH2) = closure20()                                     │

00:00:30 #2248 [Verbose] > │     UH2_0(193331200, v0)                                                     │

00:00:30 #2249 [Verbose] > │ and closure18 () () : UH2 =                                                  │

00:00:30 #2250 [Verbose] > │     let v0 : (unit -> UH2) = closure19()                                     │

00:00:30 #2251 [Verbose] > │     UH2_0(-683606016, v0)                                                    │

00:00:30 #2252 [Verbose] > │ and closure17 () () : UH2 =                                                  │

00:00:30 #2253 [Verbose] > │     let v0 : (unit -> UH2) = closure18()                                     │

00:00:30 #2254 [Verbose] > │     UH2_0(2033549312, v0)                                                    │

00:00:30 #2255 [Verbose] > │ and closure16 () () : UH2 =                                                  │

00:00:30 #2256 [Verbose] > │     let v0 : (unit -> UH2) = closure17()                                     │

00:00:30 #2257 [Verbose] > │     UH2_0(1054752768, v0)                                                    │

00:00:30 #2258 [Verbose] > │ and closure15 () () : UH2 =                                                  │

00:00:30 #2259 [Verbose] > │     let v0 : (unit -> UH2) = closure16()                                     │

00:00:30 #2260 [Verbose] > │     UH2_0(175792128, v0)                                                     │

00:00:30 #2261 [Verbose] > │ and closure14 () () : UH2 =                                                  │

00:00:30 #2262 [Verbose] > │     let v0 : (unit -> UH2) = closure15()                                     │

00:00:30 #2263 [Verbose] > │     UH2_0(-2118184960, v0)                                                   │

00:00:30 #2264 [Verbose] > │ and closure13 () () : UH2 =                                                  │

00:00:30 #2265 [Verbose] > │     let v0 : (unit -> UH2) = closure14()                                     │

00:00:30 #2266 [Verbose] > │     UH2_0(362797056, v0)                                                     │

00:00:30 #2267 [Verbose] > │ and closure12 () () : UH2 =                                                  │

00:00:30 #2268 [Verbose] > │     let v0 : (unit -> UH2) = closure13()                                     │

00:00:30 #2269 [Verbose] > │     UH2_0(60466176, v0)                                                      │

00:00:30 #2270 [Verbose] > │ and closure11 () () : UH2 =                                                  │

00:00:30 #2271 [Verbose] > │     let v0 : (unit -> UH2) = closure12()                                     │

00:00:30 #2272 [Verbose] > │     UH2_0(10077696, v0)                                                      │

00:00:30 #2273 [Verbose] > │ and closure10 () () : UH2 =                                                  │

00:00:30 #2274 [Verbose] > │     let v0 : (unit -> UH2) = closure11()                                     │

00:00:30 #2275 [Verbose] > │     UH2_0(1679616, v0)                                                       │

00:00:30 #2276 [Verbose] > │ and closure9 () () : UH2 =                                                   │

00:00:30 #2277 [Verbose] > │     let v0 : (unit -> UH2) = closure10()                                     │

00:00:30 #2278 [Verbose] > │     UH2_0(279936, v0)                                                        │

00:00:30 #2279 [Verbose] > │ and closure8 () () : UH2 =                                                   │

00:00:30 #2280 [Verbose] > │     let v0 : (unit -> UH2) = closure9()                                      │

00:00:30 #2281 [Verbose] > │     UH2_0(46656, v0)                                                         │

00:00:30 #2282 [Verbose] > │ and closure7 () () : UH2 =                                                   │

00:00:30 #2283 [Verbose] > │     let v0 : (unit -> UH2) = closure8()                                      │

00:00:30 #2284 [Verbose] > │     UH2_0(7776, v0)                                                          │

00:00:30 #2285 [Verbose] > │ and closure6 () () : UH2 =                                                   │

00:00:30 #2286 [Verbose] > │     let v0 : (unit -> UH2) = closure7()                                      │

00:00:30 #2287 [Verbose] > │     UH2_0(1296, v0)                                                          │

00:00:30 #2288 [Verbose] > │ and closure5 () () : UH2 =                                                   │

00:00:30 #2289 [Verbose] > │     let v0 : (unit -> UH2) = closure6()                                      │

00:00:30 #2290 [Verbose] > │     UH2_0(216, v0)                                                           │

00:00:30 #2291 [Verbose] > │ and closure4 () () : UH2 =                                                   │

00:00:30 #2292 [Verbose] > │     let v0 : (unit -> UH2) = closure5()                                      │

00:00:30 #2293 [Verbose] > │     UH2_0(36, v0)                                                            │

00:00:30 #2294 [Verbose] > │ and closure3 () () : UH2 =                                                   │

00:00:30 #2295 [Verbose] > │     let v0 : (unit -> UH2) = closure4()                                      │

00:00:30 #2296 [Verbose] > │     UH2_0(6, v0)                                                             │

00:00:30 #2297 [Verbose] > │ and method9 (v0 : int8, v1 : UH2) : US1 =                                    │

00:00:30 #2298 [Verbose] > │     match v1 with                                                            │

00:00:30 #2299 [Verbose] > │     | UH2_0(v2, v3) -> (* StreamCons *)                                      │

00:00:30 #2300 [Verbose] > │         let v4 : bool = v0 <= 0y                                             │

00:00:30 #2301 [Verbose] > │         if v4 then                                                           │

00:00:30 #2302 [Verbose] > │             US1_1(v2)                                                        │

00:00:30 #2303 [Verbose] > │         else                                                                 │

00:00:30 #2304 [Verbose] > │             let v6 : int8 = v0 - 1y                                          │

00:00:30 #2305 [Verbose] > │             let v7 : UH2 = v3 ()                                             │

00:00:30 #2306 [Verbose] > │             method9(v6, v7)                                                  │

00:00:30 #2307 [Verbose] > │     | UH2_1 -> (* StreamNil *)                                               │

00:00:30 #2308 [Verbose] > │         US1_0                                                                │

00:00:30 #2309 [Verbose] > │ and method8 (v0 : int8, v1 : UH1, v2 : int32) : US0 =                        │

00:00:30 #2310 [Verbose] > │     let v3 : bool = v0 < 0y                                                  │

00:00:30 #2311 [Verbose] > │     if v3 then                                                               │

00:00:30 #2312 [Verbose] > │         let v4 : string = $"accumulate_dice_rolls / power: {v0} / acc: {v2}" │

00:00:30 #2313 [Verbose] > │         let v5 : int32 = v2 + 1                                              │

00:00:30 #2314 [Verbose] > │         US0_1(v5, v1)                                                        │

00:00:30 #2315 [Verbose] > │     else                                                                     │

00:00:30 #2316 [Verbose] > │         match v1 with                                                        │

00:00:30 #2317 [Verbose] > │         | UH1_0(v8, v9) -> (* Cons *)                                        │

00:00:30 #2318 [Verbose] > │             let v10 : bool = v8 > 1uy                                        │

00:00:30 #2319 [Verbose] > │             if v10 then                                                      │

00:00:30 #2320 [Verbose] > │                 let v11 : int32 = 1                                          │

00:00:30 #2321 [Verbose] > │                 let v12 : (unit -> UH2) = closure3()                         │

00:00:30 #2322 [Verbose] > │                 let v13 : UH2 = UH2_0(v11, v12)                              │

00:00:30 #2323 [Verbose] > │                 let v14 : US1 = method9(v0, v13)                             │

00:00:30 #2324 [Verbose] > │                 let v18 : int32 =                                            │

00:00:30 #2325 [Verbose] > │                     match v14 with                                           │

00:00:30 #2326 [Verbose] > │                     | US1_0 -> (* None *)                                    │

00:00:30 #2327 [Verbose] > │                         failwith<int32> "Option does not have a value."      │

00:00:30 #2328 [Verbose] > │                     | US1_1(v15) -> (* Some *)                               │

00:00:30 #2329 [Verbose] > │                         v15                                                  │

00:00:30 #2330 [Verbose] > │                 let v19 : uint8 = v8 - 1uy                                   │

00:00:30 #2331 [Verbose] > │                 let v20 : int32 = int32 v19                                  │

00:00:30 #2332 [Verbose] > │                 let v21 : int32 = v20 * v18                                  │

00:00:30 #2333 [Verbose] > │                 let v22 : string = $"accumulate_dice_rolls / power: {v0} /   │

00:00:30 #2334 [Verbose] > │ acc: {v2} / roll: {v8} / value: {v21}"                                       │

00:00:30 #2335 [Verbose] > │                 let v23 : int32 = v2 + v21                                   │

00:00:30 #2336 [Verbose] > │                 let v24 : int8 = v0 - 1y                                     │

00:00:30 #2337 [Verbose] > │                 method8(v24, v9, v23)                                        │

00:00:30 #2338 [Verbose] > │             else                                                             │

00:00:30 #2339 [Verbose] > │                 let v26 : string = $"accumulate_dice_rolls / power: {v0} /   │

00:00:30 #2340 [Verbose] > │ acc: {v2} / roll: {v8}"                                                      │

00:00:30 #2341 [Verbose] > │                 let v27 : int8 = v0 - 1y                                     │

00:00:30 #2342 [Verbose] > │                 method8(v27, v9, v2)                                         │

00:00:30 #2343 [Verbose] > │         | UH1_1 -> (* Nil *)                                                 │

00:00:30 #2344 [Verbose] > │             US0_0                                                            │

00:00:30 #2345 [Verbose] > │ and method7 (v0 : int32, v1 : int8, v2 : UH1, v3 : int8) : int32 =           │

00:00:30 #2346 [Verbose] > │     let v4 : int8 = v1 + 1y                                                  │

00:00:30 #2347 [Verbose] > │     let v5 : bool = v3 < v4                                                  │

00:00:30 #2348 [Verbose] > │     if v5 then                                                               │

00:00:30 #2349 [Verbose] > │         let mutable result = None                                            │

00:00:30 #2350 [Verbose] > │         #if FABLE_COMPILER_RUST                                              │

00:00:30 #2351 [Verbose] > │         #if !WASM                                                            │

00:00:30 #2352 [Verbose] > │         let v6 : string = "rand::Rng::gen_range(&mut rand::thread_rng(),     │

00:00:30 #2353 [Verbose] > │ 1..7)"                                                                       │

00:00:30 #2354 [Verbose] > │         let v7 : uint8 = Fable.Core.RustInterop.emitRustExpr () v6           │

00:00:30 #2355 [Verbose] > │         v7                                                                   │

00:00:30 #2356 [Verbose] > │         #else                                                                │

00:00:30 #2357 [Verbose] > │         let v8 : string = "1"                                                │

00:00:30 #2358 [Verbose] > │         let v9 : uint8 = Fable.Core.RustInterop.emitRustExpr () v8           │

00:00:30 #2359 [Verbose] > │         v9                                                                   │

00:00:30 #2360 [Verbose] > │         #endif                                                               │

00:00:30 #2361 [Verbose] > │         #else                                                                │

00:00:30 #2362 [Verbose] > │         let v10 : uint8 = System.Random().Next (1, 7) |> uint8               │

00:00:30 #2363 [Verbose] > │         v10                                                                  │

00:00:30 #2364 [Verbose] > │         #endif                                                               │

00:00:30 #2365 [Verbose] > │         |> fun x -> result <- Some x                                         │

00:00:30 #2366 [Verbose] > │         let v11 : uint8 = result |> Option.get                               │

00:00:30 #2367 [Verbose] > │         let v12 : UH1 = UH1_0(v11, v2)                                       │

00:00:30 #2368 [Verbose] > │         let v13 : int8 = v3 + 1y                                             │

00:00:30 #2369 [Verbose] > │         method7(v0, v1, v12, v13)                                            │

00:00:30 #2370 [Verbose] > │     else                                                                     │

00:00:30 #2371 [Verbose] > │         let v15 : int32 = 0                                                  │

00:00:30 #2372 [Verbose] > │         let v16 : US0 = method8(v1, v2, v15)                                 │

00:00:30 #2373 [Verbose] > │         match v16 with                                                       │

00:00:30 #2374 [Verbose] > │         | US0_1(v17, v18) -> (* Some *)                                      │

00:00:30 #2375 [Verbose] > │             let v19 : bool = v17 <= v0                                       │

00:00:30 #2376 [Verbose] > │             if v19 then                                                      │

00:00:30 #2377 [Verbose] > │                 v17                                                          │

00:00:30 #2378 [Verbose] > │             else                                                             │

00:00:30 #2379 [Verbose] > │                 let mutable result = None                                    │

00:00:30 #2380 [Verbose] > │                 #if FABLE_COMPILER_RUST                                      │

00:00:30 #2381 [Verbose] > │                 #if !WASM                                                    │

00:00:30 #2382 [Verbose] > │                 let v20 : string = "rand::Rng::gen_range(&mut                │

00:00:30 #2383 [Verbose] > │ rand::thread_rng(), 1..7)"                                                   │

00:00:30 #2384 [Verbose] > │                 let v21 : uint8 = Fable.Core.RustInterop.emitRustExpr () v20 │

00:00:30 #2385 [Verbose] > │                 v21                                                          │

00:00:30 #2386 [Verbose] > │                 #else                                                        │

00:00:30 #2387 [Verbose] > │                 let v22 : string = "1"                                       │

00:00:30 #2388 [Verbose] > │                 let v23 : uint8 = Fable.Core.RustInterop.emitRustExpr () v22 │

00:00:30 #2389 [Verbose] > │                 v23                                                          │

00:00:30 #2390 [Verbose] > │                 #endif                                                       │

00:00:30 #2391 [Verbose] > │                 #else                                                        │

00:00:30 #2392 [Verbose] > │                 let v24 : uint8 = System.Random().Next (1, 7) |> uint8       │

00:00:30 #2393 [Verbose] > │                 v24                                                          │

00:00:30 #2394 [Verbose] > │                 #endif                                                       │

00:00:30 #2395 [Verbose] > │                 |> fun x -> result <- Some x                                 │

00:00:30 #2396 [Verbose] > │                 let v25 : uint8 = result |> Option.get                       │

00:00:30 #2397 [Verbose] > │                 let v26 : UH1 = UH1_0(v25, v2)                               │

00:00:30 #2398 [Verbose] > │                 let v27 : int8 = v3 + 1y                                     │

00:00:30 #2399 [Verbose] > │                 method7(v0, v1, v26, v27)                                    │

00:00:30 #2400 [Verbose] > │         | _ ->                                                               │

00:00:30 #2401 [Verbose] > │             let mutable result = None                                        │

00:00:30 #2402 [Verbose] > │             #if FABLE_COMPILER_RUST                                          │

00:00:30 #2403 [Verbose] > │             #if !WASM                                                        │

00:00:30 #2404 [Verbose] > │             let v30 : string = "rand::Rng::gen_range(&mut                    │

00:00:30 #2405 [Verbose] > │ rand::thread_rng(), 1..7)"                                                   │

00:00:30 #2406 [Verbose] > │             let v31 : uint8 = Fable.Core.RustInterop.emitRustExpr () v30     │

00:00:30 #2407 [Verbose] > │             v31                                                              │

00:00:30 #2408 [Verbose] > │             #else                                                            │

00:00:30 #2409 [Verbose] > │             let v32 : string = "1"                                           │

00:00:30 #2410 [Verbose] > │             let v33 : uint8 = Fable.Core.RustInterop.emitRustExpr () v32     │

00:00:30 #2411 [Verbose] > │             v33                                                              │

00:00:30 #2412 [Verbose] > │             #endif                                                           │

00:00:30 #2413 [Verbose] > │             #else                                                            │

00:00:30 #2414 [Verbose] > │             let v34 : uint8 = System.Random().Next (1, 7) |> uint8           │

00:00:30 #2415 [Verbose] > │             v34                                                              │

00:00:30 #2416 [Verbose] > │             #endif                                                           │

00:00:30 #2417 [Verbose] > │             |> fun x -> result <- Some x                                     │

00:00:30 #2418 [Verbose] > │             let v35 : uint8 = result |> Option.get                           │

00:00:30 #2419 [Verbose] > │             let v36 : UH1 = UH1_0(v35, v2)                                   │

00:00:30 #2420 [Verbose] > │             let v37 : int8 = v3 + 1y                                         │

00:00:30 #2421 [Verbose] > │             method7(v0, v1, v36, v37)                                        │

00:00:30 #2422 [Verbose] > │ and method5 (v0 : int32, v1 : UH0, v2 : UH0) : UH0 =                         │

00:00:30 #2423 [Verbose] > │     match v1 with                                                            │

00:00:30 #2424 [Verbose] > │     | UH0_0(v3, v4) -> (* Cons *)                                            │

00:00:30 #2425 [Verbose] > │         let v5 : UH0 = method5(v0, v4, v2)                                   │

00:00:30 #2426 [Verbose] > │         let v6 : bool = v0 = 1                                               │

00:00:30 #2427 [Verbose] > │         let v10 : int8 =                                                     │

00:00:30 #2428 [Verbose] > │             if v6 then                                                       │

00:00:30 #2429 [Verbose] > │                 1y                                                           │

00:00:30 #2430 [Verbose] > │             else                                                             │

00:00:30 #2431 [Verbose] > │                 let v7 : int8 = 0y                                           │

00:00:30 #2432 [Verbose] > │                 let v8 : int32 = 1                                           │

00:00:30 #2433 [Verbose] > │                 method6(v0, v7, v8)                                          │

00:00:30 #2434 [Verbose] > │         let v11 : int8 = v10 - 1y                                            │

00:00:30 #2435 [Verbose] > │         let v12 : UH1 = UH1_1                                                │

00:00:30 #2436 [Verbose] > │         let v13 : int8 = 0y                                                  │

00:00:30 #2437 [Verbose] > │         let v14 : int32 = method7(v0, v11, v12, v13)                         │

00:00:30 #2438 [Verbose] > │         UH0_0(v14, v5)                                                       │

00:00:30 #2439 [Verbose] > │     | UH0_1 -> (* Nil *)                                                     │

00:00:30 #2440 [Verbose] > │         v2                                                                   │

00:00:30 #2441 [Verbose] > │ and method11 (v0 : int32, v1 : UH3, v2 : bool, v3 : UH3) : struct (bool *    │

00:00:30 #2442 [Verbose] > │ UH3) =                                                                       │

00:00:30 #2443 [Verbose] > │     match v1 with                                                            │

00:00:30 #2444 [Verbose] > │     | UH3_0(v4, v5, v6) -> (* Cons *)                                        │

00:00:30 #2445 [Verbose] > │         let v7 : bool = v4 = v0                                              │

00:00:30 #2446 [Verbose] > │         let struct (v11 : bool, v12 : UH3) =                                 │

00:00:30 #2447 [Verbose] > │             if v7 then                                                       │

00:00:30 #2448 [Verbose] > │                 let v8 : UH0 = UH0_0(v0, v5)                                 │

00:00:30 #2449 [Verbose] > │                 let v9 : UH3 = UH3_0(v4, v8, v3)                             │

00:00:30 #2450 [Verbose] > │                 struct (true, v9)                                            │

00:00:30 #2451 [Verbose] > │             else                                                             │

00:00:30 #2452 [Verbose] > │                 let v10 : UH3 = UH3_0(v4, v5, v3)                            │

00:00:30 #2453 [Verbose] > │                 struct (v2, v10)                                             │

00:00:30 #2454 [Verbose] > │         method11(v0, v6, v11, v12)                                           │

00:00:30 #2455 [Verbose] > │     | UH3_1 -> (* Nil *)                                                     │

00:00:30 #2456 [Verbose] > │         struct (v2, v3)                                                      │

00:00:30 #2457 [Verbose] > │ and method10 (v0 : UH0, v1 : UH3) : UH3 =                                    │

00:00:30 #2458 [Verbose] > │     match v0 with                                                            │

00:00:30 #2459 [Verbose] > │     | UH0_0(v2, v3) -> (* Cons *)                                            │

00:00:30 #2460 [Verbose] > │         let v4 : UH3 = method10(v3, v1)                                      │

00:00:30 #2461 [Verbose] > │         let v5 : bool = false                                                │

00:00:30 #2462 [Verbose] > │         let v6 : UH3 = UH3_1                                                 │

00:00:30 #2463 [Verbose] > │         let struct (v7 : bool, v8 : UH3) = method11(v2, v4, v5, v6)          │

00:00:30 #2464 [Verbose] > │         if v7 then                                                           │

00:00:30 #2465 [Verbose] > │             v8                                                               │

00:00:30 #2466 [Verbose] > │         else                                                                 │

00:00:30 #2467 [Verbose] > │             let v9 : UH0 = UH0_1                                             │

00:00:30 #2468 [Verbose] > │             let v10 : UH0 = UH0_0(v2, v9)                                    │

00:00:30 #2469 [Verbose] > │             UH3_0(v2, v10, v8)                                               │

00:00:30 #2470 [Verbose] > │     | UH0_1 -> (* Nil *)                                                     │

00:00:30 #2471 [Verbose] > │         v1                                                                   │

00:00:30 #2472 [Verbose] > │ and method12 (v0 : UH3, v1 : int32) : int32 =                                │

00:00:30 #2473 [Verbose] > │     match v0 with                                                            │

00:00:30 #2474 [Verbose] > │     | UH3_0(v2, v3, v4) -> (* Cons *)                                        │

00:00:30 #2475 [Verbose] > │         let v5 : int32 = v1 + 1                                              │

00:00:30 #2476 [Verbose] > │         method12(v4, v5)                                                     │

00:00:30 #2477 [Verbose] > │     | UH3_1 -> (* Nil *)                                                     │

00:00:30 #2478 [Verbose] > │         v1                                                                   │

00:00:30 #2479 [Verbose] > │ and method15 (v0 : int8, v1 : int8) : UH1 =                                  │

00:00:30 #2480 [Verbose] > │     let v2 : bool = v1 < v0                                                  │

00:00:30 #2481 [Verbose] > │     if v2 then                                                               │

00:00:30 #2482 [Verbose] > │         let mutable result = None                                            │

00:00:30 #2483 [Verbose] > │         #if FABLE_COMPILER_RUST                                              │

00:00:30 #2484 [Verbose] > │         #if !WASM                                                            │

00:00:30 #2485 [Verbose] > │         let v3 : string = "rand::Rng::gen_range(&mut rand::thread_rng(),     │

00:00:30 #2486 [Verbose] > │ 1..7)"                                                                       │

00:00:30 #2487 [Verbose] > │         let v4 : uint8 = Fable.Core.RustInterop.emitRustExpr () v3           │

00:00:30 #2488 [Verbose] > │         v4                                                                   │

00:00:30 #2489 [Verbose] > │         #else                                                                │

00:00:30 #2490 [Verbose] > │         let v5 : string = "1"                                                │

00:00:30 #2491 [Verbose] > │         let v6 : uint8 = Fable.Core.RustInterop.emitRustExpr () v5           │

00:00:30 #2492 [Verbose] > │         v6                                                                   │

00:00:30 #2493 [Verbose] > │         #endif                                                               │

00:00:30 #2494 [Verbose] > │         #else                                                                │

00:00:30 #2495 [Verbose] > │         let v7 : uint8 = System.Random().Next (1, 7) |> uint8                │

00:00:30 #2496 [Verbose] > │         v7                                                                   │

00:00:30 #2497 [Verbose] > │         #endif                                                               │

00:00:30 #2498 [Verbose] > │         |> fun x -> result <- Some x                                         │

00:00:30 #2499 [Verbose] > │         let v8 : uint8 = result |> Option.get                                │

00:00:30 #2500 [Verbose] > │         let v9 : int8 = v1 + 1y                                              │

00:00:30 #2501 [Verbose] > │         let v10 : UH1 = method15(v0, v9)                                     │

00:00:30 #2502 [Verbose] > │         UH1_0(v8, v10)                                                       │

00:00:30 #2503 [Verbose] > │     else                                                                     │

00:00:30 #2504 [Verbose] > │         UH1_1                                                                │

00:00:30 #2505 [Verbose] > │ and method16 (v0 : int32, v1 : int8, v2 : UH1) : int32 =                     │

00:00:30 #2506 [Verbose] > │     let v3 : int8 = v1 + 1y                                                  │

00:00:30 #2507 [Verbose] > │     let v4 : bool = v1 < v3                                                  │

00:00:30 #2508 [Verbose] > │     if v4 then                                                               │

00:00:30 #2509 [Verbose] > │         let mutable result = None                                            │

00:00:30 #2510 [Verbose] > │         #if FABLE_COMPILER_RUST                                              │

00:00:30 #2511 [Verbose] > │         #if !WASM                                                            │

00:00:30 #2512 [Verbose] > │         let v5 : string = "rand::Rng::gen_range(&mut rand::thread_rng(),     │

00:00:30 #2513 [Verbose] > │ 1..7)"                                                                       │

00:00:30 #2514 [Verbose] > │         let v6 : uint8 = Fable.Core.RustInterop.emitRustExpr () v5           │

00:00:30 #2515 [Verbose] > │         v6                                                                   │

00:00:30 #2516 [Verbose] > │         #else                                                                │

00:00:30 #2517 [Verbose] > │         let v7 : string = "1"                                                │

00:00:30 #2518 [Verbose] > │         let v8 : uint8 = Fable.Core.RustInterop.emitRustExpr () v7           │

00:00:30 #2519 [Verbose] > │         v8                                                                   │

00:00:30 #2520 [Verbose] > │         #endif                                                               │

00:00:30 #2521 [Verbose] > │         #else                                                                │

00:00:30 #2522 [Verbose] > │         let v9 : uint8 = System.Random().Next (1, 7) |> uint8                │

00:00:30 #2523 [Verbose] > │         v9                                                                   │

00:00:30 #2524 [Verbose] > │         #endif                                                               │

00:00:30 #2525 [Verbose] > │         |> fun x -> result <- Some x                                         │

00:00:30 #2526 [Verbose] > │         let v10 : uint8 = result |> Option.get                               │

00:00:30 #2527 [Verbose] > │         let v11 : UH1 = UH1_0(v10, v2)                                       │

00:00:30 #2528 [Verbose] > │         method14(v0, v1, v11, v3)                                            │

00:00:30 #2529 [Verbose] > │     else                                                                     │

00:00:30 #2530 [Verbose] > │         let v13 : int32 = 0                                                  │

00:00:30 #2531 [Verbose] > │         let v14 : US0 = method8(v1, v2, v13)                                 │

00:00:30 #2532 [Verbose] > │         match v14 with                                                       │

00:00:30 #2533 [Verbose] > │         | US0_1(v15, v16) -> (* Some *)                                      │

00:00:30 #2534 [Verbose] > │             let v17 : bool = v15 <= v0                                       │

00:00:30 #2535 [Verbose] > │             if v17 then                                                      │

00:00:30 #2536 [Verbose] > │                 v15                                                          │

00:00:30 #2537 [Verbose] > │             else                                                             │

00:00:30 #2538 [Verbose] > │                 let v18 : int8 = 0y                                          │

00:00:30 #2539 [Verbose] > │                 let v19 : UH1 = method15(v1, v18)                            │

00:00:30 #2540 [Verbose] > │                 method16(v0, v1, v19)                                        │

00:00:30 #2541 [Verbose] > │         | _ ->                                                               │

00:00:30 #2542 [Verbose] > │             let v22 : int8 = 0y                                              │

00:00:30 #2543 [Verbose] > │             let v23 : UH1 = method15(v1, v22)                                │

00:00:30 #2544 [Verbose] > │             method16(v0, v1, v23)                                            │

00:00:30 #2545 [Verbose] > │ and method14 (v0 : int32, v1 : int8, v2 : UH1, v3 : int8) : int32 =          │

00:00:30 #2546 [Verbose] > │     let v4 : int8 = v1 + 1y                                                  │

00:00:30 #2547 [Verbose] > │     let v5 : bool = v3 < v4                                                  │

00:00:30 #2548 [Verbose] > │     if v5 then                                                               │

00:00:30 #2549 [Verbose] > │         let mutable result = None                                            │

00:00:30 #2550 [Verbose] > │         #if FABLE_COMPILER_RUST                                              │

00:00:30 #2551 [Verbose] > │         #if !WASM                                                            │

00:00:30 #2552 [Verbose] > │         let v6 : string = "rand::Rng::gen_range(&mut rand::thread_rng(),     │

00:00:30 #2553 [Verbose] > │ 1..7)"                                                                       │

00:00:30 #2554 [Verbose] > │         let v7 : uint8 = Fable.Core.RustInterop.emitRustExpr () v6           │

00:00:30 #2555 [Verbose] > │         v7                                                                   │

00:00:30 #2556 [Verbose] > │         #else                                                                │

00:00:30 #2557 [Verbose] > │         let v8 : string = "1"                                                │

00:00:30 #2558 [Verbose] > │         let v9 : uint8 = Fable.Core.RustInterop.emitRustExpr () v8           │

00:00:30 #2559 [Verbose] > │         v9                                                                   │

00:00:30 #2560 [Verbose] > │         #endif                                                               │

00:00:30 #2561 [Verbose] > │         #else                                                                │

00:00:30 #2562 [Verbose] > │         let v10 : uint8 = System.Random().Next (1, 7) |> uint8               │

00:00:30 #2563 [Verbose] > │         v10                                                                  │

00:00:30 #2564 [Verbose] > │         #endif                                                               │

00:00:30 #2565 [Verbose] > │         |> fun x -> result <- Some x                                         │

00:00:30 #2566 [Verbose] > │         let v11 : uint8 = result |> Option.get                               │

00:00:30 #2567 [Verbose] > │         let v12 : UH1 = UH1_0(v11, v2)                                       │

00:00:30 #2568 [Verbose] > │         let v13 : int8 = v3 + 1y                                             │

00:00:30 #2569 [Verbose] > │         method14(v0, v1, v12, v13)                                           │

00:00:30 #2570 [Verbose] > │     else                                                                     │

00:00:30 #2571 [Verbose] > │         let v15 : int32 = 0                                                  │

00:00:30 #2572 [Verbose] > │         let v16 : US0 = method8(v1, v2, v15)                                 │

00:00:30 #2573 [Verbose] > │         match v16 with                                                       │

00:00:30 #2574 [Verbose] > │         | US0_1(v17, v18) -> (* Some *)                                      │

00:00:30 #2575 [Verbose] > │             let v19 : bool = v17 <= v0                                       │

00:00:30 #2576 [Verbose] > │             if v19 then                                                      │

00:00:30 #2577 [Verbose] > │                 v17                                                          │

00:00:30 #2578 [Verbose] > │             else                                                             │

00:00:30 #2579 [Verbose] > │                 let v20 : int8 = 0y                                          │

00:00:30 #2580 [Verbose] > │                 let v21 : UH1 = method15(v1, v20)                            │

00:00:30 #2581 [Verbose] > │                 method16(v0, v1, v21)                                        │

00:00:30 #2582 [Verbose] > │         | _ ->                                                               │

00:00:30 #2583 [Verbose] > │             let v24 : int8 = 0y                                              │

00:00:30 #2584 [Verbose] > │             let v25 : UH1 = method15(v1, v24)                                │

00:00:30 #2585 [Verbose] > │             method16(v0, v1, v25)                                            │

00:00:30 #2586 [Verbose] > │ and method13 (v0 : int32, v1 : UH0, v2 : UH0) : UH0 =                        │

00:00:30 #2587 [Verbose] > │     match v1 with                                                            │

00:00:30 #2588 [Verbose] > │     | UH0_0(v3, v4) -> (* Cons *)                                            │

00:00:30 #2589 [Verbose] > │         let v5 : UH0 = method13(v0, v4, v2)                                  │

00:00:30 #2590 [Verbose] > │         let v6 : bool = v0 = 1                                               │

00:00:30 #2591 [Verbose] > │         let v10 : int8 =                                                     │

00:00:30 #2592 [Verbose] > │             if v6 then                                                       │

00:00:30 #2593 [Verbose] > │                 1y                                                           │

00:00:30 #2594 [Verbose] > │             else                                                             │

00:00:30 #2595 [Verbose] > │                 let v7 : int8 = 0y                                           │

00:00:30 #2596 [Verbose] > │                 let v8 : int32 = 1                                           │

00:00:30 #2597 [Verbose] > │                 method6(v0, v7, v8)                                          │

00:00:30 #2598 [Verbose] > │         let v11 : int8 = v10 - 1y                                            │

00:00:30 #2599 [Verbose] > │         let v12 : UH1 = UH1_1                                                │

00:00:30 #2600 [Verbose] > │         let v13 : int8 = 0y                                                  │

00:00:30 #2601 [Verbose] > │         let v14 : int32 = method14(v0, v11, v12, v13)                        │

00:00:30 #2602 [Verbose] > │         UH0_0(v14, v5)                                                       │

00:00:30 #2603 [Verbose] > │     | UH0_1 -> (* Nil *)                                                     │

00:00:30 #2604 [Verbose] > │         v2                                                                   │

00:00:30 #2605 [Verbose] > │ and method3 (v0 : UH0) : unit =                                              │

00:00:30 #2606 [Verbose] > │     match v0 with                                                            │

00:00:30 #2607 [Verbose] > │     | UH0_0(v1, v2) -> (* Cons *)                                            │

00:00:30 #2608 [Verbose] > │         let v3 : UH0 = method4()                                             │

00:00:30 #2609 [Verbose] > │         let v4 : UH0 = UH0_1                                                 │

00:00:30 #2610 [Verbose] > │         let v5 : UH0 = method5(v1, v3, v4)                                   │

00:00:30 #2611 [Verbose] > │         let v6 : UH3 = UH3_1                                                 │

00:00:30 #2612 [Verbose] > │         let v7 : UH3 = method10(v5, v6)                                      │

00:00:30 #2613 [Verbose] > │         let v8 : int32 = 0                                                   │

00:00:30 #2614 [Verbose] > │         let v9 : int32 = method12(v7, v8)                                    │

00:00:30 #2615 [Verbose] > │         let v10 : string = $"__expect / actual: %A{v9} / expected: %A{v1}"   │

00:00:30 #2616 [Verbose] > │         let v11 : bool = v9 = v1                                             │

00:00:30 #2617 [Verbose] > │         let v12 : bool = v11 = false                                         │

00:00:30 #2618 [Verbose] > │         if v12 then                                                          │

00:00:30 #2619 [Verbose] > │             failwith<unit> v10                                               │

00:00:30 #2620 [Verbose] > │         let v13 : UH0 = method4()                                            │

00:00:30 #2621 [Verbose] > │         let v14 : UH0 = UH0_1                                                │

00:00:30 #2622 [Verbose] > │         let v15 : UH0 = method13(v1, v13, v14)                               │

00:00:30 #2623 [Verbose] > │         let v16 : UH3 = UH3_1                                                │

00:00:30 #2624 [Verbose] > │         let v17 : UH3 = method10(v15, v16)                                   │

00:00:30 #2625 [Verbose] > │         let v18 : int32 = 0                                                  │

00:00:30 #2626 [Verbose] > │         let v19 : int32 = method12(v17, v18)                                 │

00:00:30 #2627 [Verbose] > │         let v20 : string = $"__expect / actual: %A{v19} / expected: %A{v1}"  │

00:00:30 #2628 [Verbose] > │         let v21 : bool = v19 = v1                                            │

00:00:30 #2629 [Verbose] > │         let v22 : bool = v21 = false                                         │

00:00:30 #2630 [Verbose] > │         if v22 then                                                          │

00:00:30 #2631 [Verbose] > │             failwith<unit> v20                                               │

00:00:30 #2632 [Verbose] > │         method3(v2)                                                          │

00:00:30 #2633 [Verbose] > │     | UH0_1 -> (* Nil *)                                                     │

00:00:30 #2634 [Verbose] > │         ()                                                                   │

00:00:30 #2635 [Verbose] > │ and method0 () : unit =                                                      │

00:00:30 #2636 [Verbose] > │     let v0 : UH0 = method1()                                                 │

00:00:30 #2637 [Verbose] > │     method3(v0)                                                              │

00:00:30 #2638 [Verbose] > │ method0()                                                                    │

00:00:30 #2639 [Verbose] > │                                                                              │

00:00:30 #2640 [Verbose] > │                                                                              │

00:00:30 #2641 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:30 #2642 [Verbose] >

00:00:30 #2643 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────

00:00:30 #2644 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮

00:00:30 #2645 [Verbose] > │ ## main                                                                      │

00:00:30 #2646 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:30 #2647 [Verbose] >

00:00:30 #2648 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:30 #2649 [Verbose] > inl main (_args : array_base string) =

00:00:30 #2650 [Verbose] >     inl result = roll_progressively (Some console.write_line) roll_dice true

00:00:30 #2651 [Verbose] > (limit.max : i64)

00:00:30 #2652 [Verbose] >     console.write_line ($"$\"result: {!result}\"" : string)

00:00:30 #2653 [Verbose] >     0i32

00:00:30 #2654 [Verbose] >

00:00:30 #2655 [Verbose] > inl main () =

00:00:30 #2656 [Verbose] >     inl rotate_numbers' : i64 -> stream.stream u8 -> stream.stream u8 =

00:00:30 #2657 [Verbose] >         rotate_numbers

00:00:30 #2658 [Verbose] >

00:00:30 #2659 [Verbose] >     inl create_sequential_roller' :

00:00:30 #2660 [Verbose] >         optionm'.option' (string -> ())

00:00:30 #2661 [Verbose] >         -> list u8

00:00:30 #2662 [Verbose] >         -> (() -> u8)

00:00:30 #2663 [Verbose] >         =

00:00:30 #2664 [Verbose] >         optionm'.unbox >> create_sequential_roller

00:00:30 #2665 [Verbose] >

00:00:30 #2666 [Verbose] >     inl roll_progressively' :

00:00:30 #2667 [Verbose] >         optionm'.option' (string -> ())

00:00:30 #2668 [Verbose] >         -> (() -> u8)

00:00:30 #2669 [Verbose] >         -> bool

00:00:30 #2670 [Verbose] >         -> u64

00:00:30 #2671 [Verbose] >         -> u64

00:00:30 #2672 [Verbose] >         =

00:00:30 #2673 [Verbose] >         optionm'.unbox >> roll_progressively

00:00:30 #2674 [Verbose] >

00:00:30 #2675 [Verbose] >     inl roll_within_bounds' :

00:00:30 #2676 [Verbose] >         optionm'.option' (string -> ())

00:00:30 #2677 [Verbose] >         -> u64

00:00:30 #2678 [Verbose] >         -> list u8

00:00:30 #2679 [Verbose] >         -> optionm'.option' u64

00:00:30 #2680 [Verbose] >         =

00:00:30 #2681 [Verbose] >         fun a b c =>

00:00:30 #2682 [Verbose] >             (optionm'.unbox >> roll_within_bounds) a b c

00:00:30 #2683 [Verbose] >             |> optionm'.box

00:00:30 #2684 [Verbose] >

00:00:30 #2685 [Verbose] >     $"let rotate_numbers x = !rotate_numbers' x" : ()

00:00:30 #2686 [Verbose] >     $"let create_sequential_roller x = !create_sequential_roller' x" : ()

00:00:30 #2687 [Verbose] >     $"let roll_progressively x = !roll_progressively' x" : ()

00:00:30 #2688 [Verbose] >     $"let roll_within_bounds x = !roll_within_bounds' x" : ()

00:00:30 #2689 [Verbose] >     $"let main args = !main args" : ()

00:00:31 #2690 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0908-2565-6584-6ae62bbb4218\main.spi

00:00:32 #2691 [Verbose] >

00:00:32 #2692 [Verbose] > ╭─[ 1.31s - stdout ]───────────────────────────────────────────────────────────╮

00:00:32 #2693 [Verbose] > │ type UH0 =                                                                   │

00:00:32 #2694 [Verbose] > │     | UH0_0 of uint8 * (unit -> UH0)                                         │

00:00:32 #2695 [Verbose] > │     | UH0_1                                                                  │

00:00:32 #2696 [Verbose] > │ and UH1 =                                                                    │

00:00:32 #2697 [Verbose] > │     | UH1_0 of uint8 * UH1                                                   │

00:00:32 #2698 [Verbose] > │     | UH1_1                                                                  │

00:00:32 #2699 [Verbose] > │ and [<Struct>] US0 =                                                         │

00:00:32 #2700 [Verbose] > │     | US0_0                                                                  │

00:00:32 #2701 [Verbose] > │     | US0_1 of f1_0 : (string -> unit)                                       │

00:00:32 #2702 [Verbose] > │ and [<Struct>] US1 =                                                         │

00:00:32 #2703 [Verbose] > │     | US1_0 of f0_0 : UH0                                                    │

00:00:32 #2704 [Verbose] > │     | US1_1 of f1_0 : (unit -> UH0)                                          │

00:00:32 #2705 [Verbose] > │ and Mut0 = {mutable l0 : US1}                                                │

00:00:32 #2706 [Verbose] > │ and Mut1 = {mutable l0 : int64}                                              │

00:00:32 #2707 [Verbose] > │ and [<Struct>] US2 =                                                         │

00:00:32 #2708 [Verbose] > │     | US2_0                                                                  │

00:00:32 #2709 [Verbose] > │     | US2_1 of f1_0 : uint8                                                  │

00:00:32 #2710 [Verbose] > │ and Mut2 = {mutable l0 : US2}                                                │

00:00:32 #2711 [Verbose] > │ and [<Struct>] US3 =                                                         │

00:00:32 #2712 [Verbose] > │     | US3_0                                                                  │

00:00:32 #2713 [Verbose] > │     | US3_1 of f1_0 : uint64 * f1_1 : UH1                                    │

00:00:32 #2714 [Verbose] > │ and UH2 =                                                                    │

00:00:32 #2715 [Verbose] > │     | UH2_0 of uint64 * (unit -> UH2)                                        │

00:00:32 #2716 [Verbose] > │     | UH2_1                                                                  │

00:00:32 #2717 [Verbose] > │ and [<Struct>] US4 =                                                         │

00:00:32 #2718 [Verbose] > │     | US4_0                                                                  │

00:00:32 #2719 [Verbose] > │     | US4_1 of f1_0 : uint64                                                 │

00:00:32 #2720 [Verbose] > │ and [<Struct>] US5 =                                                         │

00:00:32 #2721 [Verbose] > │     | US5_0                                                                  │

00:00:32 #2722 [Verbose] > │     | US5_1 of f1_0 : int64 * f1_1 : UH1                                     │

00:00:32 #2723 [Verbose] > │ let rec closure2 (v0 : UH0) () : UH0 =                                       │

00:00:32 #2724 [Verbose] > │     v0                                                                       │

00:00:32 #2725 [Verbose] > │ and method0 (v0 : int64, v1 : UH0, v2 : UH0) : UH0 =                         │

00:00:32 #2726 [Verbose] > │     match v1 with                                                            │

00:00:32 #2727 [Verbose] > │     | UH0_0(v3, v4) -> (* StreamCons *)                                      │

00:00:32 #2728 [Verbose] > │         let v5 : UH0 = v4 ()                                                 │

00:00:32 #2729 [Verbose] > │         let v6 : UH0 = method0(v0, v5, v2)                                   │

00:00:32 #2730 [Verbose] > │         let v7 : int64 = int64 v3                                            │

00:00:32 #2731 [Verbose] > │         let v8 : int64 = v7 - 1L                                             │

00:00:32 #2732 [Verbose] > │         let v9 : int64 = v8 + v0                                             │

00:00:32 #2733 [Verbose] > │         let v10 : int64 = v9 % v0                                            │

00:00:32 #2734 [Verbose] > │         let v11 : int64 = v10 + 1L                                           │

00:00:32 #2735 [Verbose] > │         let v12 : uint8 = uint8 v11                                          │

00:00:32 #2736 [Verbose] > │         let v13 : (unit -> UH0) = closure2(v6)                               │

00:00:32 #2737 [Verbose] > │         UH0_0(v12, v13)                                                      │

00:00:32 #2738 [Verbose] > │     | UH0_1 -> (* StreamNil *)                                               │

00:00:32 #2739 [Verbose] > │         v2                                                                   │

00:00:32 #2740 [Verbose] > │ and closure1 (v0 : int64) (v1 : UH0) : UH0 =                                 │

00:00:32 #2741 [Verbose] > │     let v2 : UH0 = UH0_1                                                     │

00:00:32 #2742 [Verbose] > │     method0(v0, v1, v2)                                                      │

00:00:32 #2743 [Verbose] > │ and closure0 () (v0 : int64) : (UH0 -> UH0) =                                │

00:00:32 #2744 [Verbose] > │     closure1(v0)                                                             │

00:00:32 #2745 [Verbose] > │ and closure4 () (v0 : (string -> unit)) : US0 =                              │

00:00:32 #2746 [Verbose] > │     US0_1(v0)                                                                │

00:00:32 #2747 [Verbose] > │ and method1 (v0 : UH1, v1 : UH1) : UH1 =                                     │

00:00:32 #2748 [Verbose] > │     match v0 with                                                            │

00:00:32 #2749 [Verbose] > │     | UH1_0(v2, v3) -> (* Cons *)                                            │

00:00:32 #2750 [Verbose] > │         let v4 : UH1 = UH1_0(v2, v1)                                         │

00:00:32 #2751 [Verbose] > │         method1(v3, v4)                                                      │

00:00:32 #2752 [Verbose] > │     | UH1_1 -> (* Nil *)                                                     │

00:00:32 #2753 [Verbose] > │         v1                                                                   │

00:00:32 #2754 [Verbose] > │ and method2 (v0 : UH1, v1 : UH1) : UH1 =                                     │

00:00:32 #2755 [Verbose] > │     match v0 with                                                            │

00:00:32 #2756 [Verbose] > │     | UH1_0(v2, v3) -> (* Cons *)                                            │

00:00:32 #2757 [Verbose] > │         let v4 : UH1 = method2(v3, v1)                                       │

00:00:32 #2758 [Verbose] > │         UH1_0(v2, v4)                                                        │

00:00:32 #2759 [Verbose] > │     | UH1_1 -> (* Nil *)                                                     │

00:00:32 #2760 [Verbose] > │         v1                                                                   │

00:00:32 #2761 [Verbose] > │ and closure6 (v0 : UH0) () : UH0 =                                           │

00:00:32 #2762 [Verbose] > │     v0                                                                       │

00:00:32 #2763 [Verbose] > │ and method3 (v0 : UH1, v1 : UH0) : UH0 =                                     │

00:00:32 #2764 [Verbose] > │     match v0 with                                                            │

00:00:32 #2765 [Verbose] > │     | UH1_0(v2, v3) -> (* Cons *)                                            │

00:00:32 #2766 [Verbose] > │         let v4 : UH0 = method3(v3, v1)                                       │

00:00:32 #2767 [Verbose] > │         let v5 : (unit -> UH0) = closure6(v4)                                │

00:00:32 #2768 [Verbose] > │         UH0_0(v2, v5)                                                        │

00:00:32 #2769 [Verbose] > │     | UH1_1 -> (* Nil *)                                                     │

00:00:32 #2770 [Verbose] > │         v1                                                                   │

00:00:32 #2771 [Verbose] > │ and closure7 (v0 : UH0) () : UH0 =                                           │

00:00:32 #2772 [Verbose] > │     v0                                                                       │

00:00:32 #2773 [Verbose] > │ and closure8 (v0 : UH0, v1 : Mut0) () : UH0 =                                │

00:00:32 #2774 [Verbose] > │     let v2 : US1 = v1.l0                                                     │

00:00:32 #2775 [Verbose] > │     match v2 with                                                            │

00:00:32 #2776 [Verbose] > │     | US1_0(v3) -> (* Computed *)                                            │

00:00:32 #2777 [Verbose] > │         v3                                                                   │

00:00:32 #2778 [Verbose] > │     | US1_1(v4) -> (* NotComputed *)                                         │

00:00:32 #2779 [Verbose] > │         let v5 : UH0 = v4 ()                                                 │

00:00:32 #2780 [Verbose] > │         let v12 : UH0 =                                                      │

00:00:32 #2781 [Verbose] > │             match v5 with                                                    │

00:00:32 #2782 [Verbose] > │             | UH0_0(v7, v8) -> (* StreamCons *)                              │

00:00:32 #2783 [Verbose] > │                 let v9 : (unit -> UH0) = method4(v0, v8)                     │

00:00:32 #2784 [Verbose] > │                 UH0_0(v7, v9)                                                │

00:00:32 #2785 [Verbose] > │             | UH0_1 -> (* StreamNil *)                                       │

00:00:32 #2786 [Verbose] > │                 UH0_1                                                        │

00:00:32 #2787 [Verbose] > │         let v13 : US1 = US1_0(v12)                                           │

00:00:32 #2788 [Verbose] > │         v1.l0 <- v13                                                         │

00:00:32 #2789 [Verbose] > │         v12                                                                  │

00:00:32 #2790 [Verbose] > │ and method4 (v0 : UH0, v1 : (unit -> UH0)) : (unit -> UH0) =                 │

00:00:32 #2791 [Verbose] > │     let v2 : US1 = US1_1(v1)                                                 │

00:00:32 #2792 [Verbose] > │     let v3 : Mut0 = {l0 = v2} : Mut0                                         │

00:00:32 #2793 [Verbose] > │     closure8(v0, v3)                                                         │

00:00:32 #2794 [Verbose] > │ and method6 (v0 : int64, v1 : UH0) : US2 =                                   │

00:00:32 #2795 [Verbose] > │     match v1 with                                                            │

00:00:32 #2796 [Verbose] > │     | UH0_0(v2, v3) -> (* StreamCons *)                                      │

00:00:32 #2797 [Verbose] > │         let v4 : bool = v0 <= 0L                                             │

00:00:32 #2798 [Verbose] > │         if v4 then                                                           │

00:00:32 #2799 [Verbose] > │             US2_1(v2)                                                        │

00:00:32 #2800 [Verbose] > │         else                                                                 │

00:00:32 #2801 [Verbose] > │             let v6 : int64 = v0 - 1L                                         │

00:00:32 #2802 [Verbose] > │             let v7 : UH0 = v3 ()                                             │

00:00:32 #2803 [Verbose] > │             method6(v6, v7)                                                  │

00:00:32 #2804 [Verbose] > │     | UH0_1 -> (* StreamNil *)                                               │

00:00:32 #2805 [Verbose] > │         US2_0                                                                │

00:00:32 #2806 [Verbose] > │ and method5 (v0 : US0, v1 : (unit -> UH0), v2 : Mut1, v3 : Mut1, v4 : Mut1,  │

00:00:32 #2807 [Verbose] > │ v5 : Mut2) : uint8 =                                                         │

00:00:32 #2808 [Verbose] > │     let v6 : int64 = v2.l0                                                   │

00:00:32 #2809 [Verbose] > │     let v7 : int64 = v3.l0                                                   │

00:00:32 #2810 [Verbose] > │     let v8 : int64 = v4.l0                                                   │

00:00:32 #2811 [Verbose] > │     let v9 : US2 = v5.l0                                                     │

00:00:32 #2812 [Verbose] > │     let v10 : string = $"create_sequential_roller / roll / current_index:    │

00:00:32 #2813 [Verbose] > │ {v6} / acc: {v7} / len: {v8} / last_item: %A{v9}"                            │

00:00:32 #2814 [Verbose] > │     match v0 with                                                            │

00:00:32 #2815 [Verbose] > │     | US0_0 -> (* None *)                                                    │

00:00:32 #2816 [Verbose] > │         ()                                                                   │

00:00:32 #2817 [Verbose] > │     | US0_1(v11) -> (* Some *)                                               │

00:00:32 #2818 [Verbose] > │         v11 v10                                                              │

00:00:32 #2819 [Verbose] > │     let v12 : UH0 = v1 ()                                                    │

00:00:32 #2820 [Verbose] > │     let v13 : int64 = v2.l0                                                  │

00:00:32 #2821 [Verbose] > │     let v14 : US2 = method6(v13, v12)                                        │

00:00:32 #2822 [Verbose] > │     match v14 with                                                           │

00:00:32 #2823 [Verbose] > │     | US2_0 -> (* None *)                                                    │

00:00:32 #2824 [Verbose] > │         let v19 : string = $"create_sequential_roller / roll / None"         │

00:00:32 #2825 [Verbose] > │         match v0 with                                                        │

00:00:32 #2826 [Verbose] > │         | US0_0 -> (* None *)                                                │

00:00:32 #2827 [Verbose] > │             ()                                                               │

00:00:32 #2828 [Verbose] > │         | US0_1(v20) -> (* Some *)                                           │

00:00:32 #2829 [Verbose] > │             v20 v19                                                          │

00:00:32 #2830 [Verbose] > │         let v21 : int64 = v4.l0                                              │

00:00:32 #2831 [Verbose] > │         let v22 : bool = v21 = -1L                                           │

00:00:32 #2832 [Verbose] > │         if v22 then                                                          │

00:00:32 #2833 [Verbose] > │             let v23 : int64 = v2.l0                                          │

00:00:32 #2834 [Verbose] > │             v4.l0 <- v23                                                     │

00:00:32 #2835 [Verbose] > │             ()                                                               │

00:00:32 #2836 [Verbose] > │         let v24 : int64 = v3.l0                                              │

00:00:32 #2837 [Verbose] > │         let v25 : int64 = v4.l0                                              │

00:00:32 #2838 [Verbose] > │         let v26 : bool = v24 >= v25                                          │

00:00:32 #2839 [Verbose] > │         let v29 : int64 =                                                    │

00:00:32 #2840 [Verbose] > │             if v26 then                                                      │

00:00:32 #2841 [Verbose] > │                 1L                                                           │

00:00:32 #2842 [Verbose] > │             else                                                             │

00:00:32 #2843 [Verbose] > │                 let v27 : int64 = v3.l0                                      │

00:00:32 #2844 [Verbose] > │                 let v28 : int64 = v27 + 1L                                   │

00:00:32 #2845 [Verbose] > │                 v28                                                          │

00:00:32 #2846 [Verbose] > │         v3.l0 <- v29                                                         │

00:00:32 #2847 [Verbose] > │         let v30 : int64 = v3.l0                                              │

00:00:32 #2848 [Verbose] > │         let v31 : int64 = v30 - 1L                                           │

00:00:32 #2849 [Verbose] > │         v2.l0 <- v31                                                         │

00:00:32 #2850 [Verbose] > │         let v32 : US2 = US2_0                                                │

00:00:32 #2851 [Verbose] > │         v5.l0 <- v32                                                         │

00:00:32 #2852 [Verbose] > │         method5(v0, v1, v2, v3, v4, v5)                                      │

00:00:32 #2853 [Verbose] > │     | US2_1(v15) -> (* Some *)                                               │

00:00:32 #2854 [Verbose] > │         let v16 : int64 = v2.l0                                              │

00:00:32 #2855 [Verbose] > │         let v17 : int64 = v16 + 1L                                           │

00:00:32 #2856 [Verbose] > │         v2.l0 <- v17                                                         │

00:00:32 #2857 [Verbose] > │         let v18 : US2 = US2_1(v15)                                           │

00:00:32 #2858 [Verbose] > │         v5.l0 <- v18                                                         │

00:00:32 #2859 [Verbose] > │         v15                                                                  │

00:00:32 #2860 [Verbose] > │ and closure9 (v0 : US0, v1 : (unit -> UH0), v2 : Mut1, v3 : Mut1, v4 : Mut1, │

00:00:32 #2861 [Verbose] > │ v5 : Mut2) () : uint8 =                                                      │

00:00:32 #2862 [Verbose] > │     method5(v0, v1, v2, v3, v4, v5)                                          │

00:00:32 #2863 [Verbose] > │ and closure5 (v0 : US0) (v1 : UH1) : (unit -> uint8) =                       │

00:00:32 #2864 [Verbose] > │     let v2 : string = $"create_sequential_roller ()"                         │

00:00:32 #2865 [Verbose] > │     match v0 with                                                            │

00:00:32 #2866 [Verbose] > │     | US0_0 -> (* None *)                                                    │

00:00:32 #2867 [Verbose] > │         ()                                                                   │

00:00:32 #2868 [Verbose] > │     | US0_1(v3) -> (* Some *)                                                │

00:00:32 #2869 [Verbose] > │         v3 v2                                                                │

00:00:32 #2870 [Verbose] > │     let v4 : UH1 = UH1_1                                                     │

00:00:32 #2871 [Verbose] > │     let v5 : UH1 = method1(v1, v4)                                           │

00:00:32 #2872 [Verbose] > │     let v6 : UH1 = method2(v1, v5)                                           │

00:00:32 #2873 [Verbose] > │     let v7 : UH0 = UH0_1                                                     │

00:00:32 #2874 [Verbose] > │     let v8 : UH0 = method3(v6, v7)                                           │

00:00:32 #2875 [Verbose] > │     let v9 : (unit -> UH0) = closure7(v8)                                    │

00:00:32 #2876 [Verbose] > │     let v10 : (unit -> UH0) = method4(v8, v9)                                │

00:00:32 #2877 [Verbose] > │     let v11 : Mut1 = {l0 = 0L} : Mut1                                        │

00:00:32 #2878 [Verbose] > │     let v12 : Mut1 = {l0 = 1L} : Mut1                                        │

00:00:32 #2879 [Verbose] > │     let v13 : Mut1 = {l0 = -1L} : Mut1                                       │

00:00:32 #2880 [Verbose] > │     let v14 : US2 = US2_0                                                    │

00:00:32 #2881 [Verbose] > │     let v15 : Mut2 = {l0 = v14} : Mut2                                       │

00:00:32 #2882 [Verbose] > │     closure9(v0, v10, v11, v12, v13, v15)                                    │

00:00:32 #2883 [Verbose] > │ and closure3 () (v0 : (string -> unit) option) : (UH1 -> (unit -> uint8)) =  │

00:00:32 #2884 [Verbose] > │     let v1 : ((string -> unit) -> US0) = closure4()                          │

00:00:32 #2885 [Verbose] > │     let v2 : US0 = US0_0                                                     │

00:00:32 #2886 [Verbose] > │     let v3 : US0 = v0 |> Option.map v1 |> Option.defaultValue v2             │

00:00:32 #2887 [Verbose] > │     closure5(v3)                                                             │

00:00:32 #2888 [Verbose] > │ and method7 (v0 : US0, v1 : uint64, v2 : int8, v3 : uint64) : int8 =         │

00:00:32 #2889 [Verbose] > │     let v4 : bool = v3 < v1                                                  │

00:00:32 #2890 [Verbose] > │     if v4 then                                                               │

00:00:32 #2891 [Verbose] > │         let v5 : uint64 = v3 * 6UL                                           │

00:00:32 #2892 [Verbose] > │         let v6 : bool = v5 > v3                                              │

00:00:32 #2893 [Verbose] > │         if v6 then                                                           │

00:00:32 #2894 [Verbose] > │             let v7 : int8 = v2 + 1y                                          │

00:00:32 #2895 [Verbose] > │             method7(v0, v1, v7, v5)                                          │

00:00:32 #2896 [Verbose] > │         else                                                                 │

00:00:32 #2897 [Verbose] > │             let v9 : string = $"calculate_dice_count / max: {v1} / n: {v2} / │

00:00:32 #2898 [Verbose] > │ p: {v3}"                                                                     │

00:00:32 #2899 [Verbose] > │             match v0 with                                                    │

00:00:32 #2900 [Verbose] > │             | US0_0 -> (* None *)                                            │

00:00:32 #2901 [Verbose] > │                 ()                                                           │

00:00:32 #2902 [Verbose] > │             | US0_1(v10) -> (* Some *)                                       │

00:00:32 #2903 [Verbose] > │                 v10 v9                                                       │

00:00:32 #2904 [Verbose] > │             v2                                                               │

00:00:32 #2905 [Verbose] > │     else                                                                     │

00:00:32 #2906 [Verbose] > │         let v12 : string = $"calculate_dice_count / max: {v1} / n: {v2} / p: │

00:00:32 #2907 [Verbose] > │ {v3}"                                                                        │

00:00:32 #2908 [Verbose] > │         match v0 with                                                        │

00:00:32 #2909 [Verbose] > │         | US0_0 -> (* None *)                                                │

00:00:32 #2910 [Verbose] > │             ()                                                               │

00:00:32 #2911 [Verbose] > │         | US0_1(v13) -> (* Some *)                                           │

00:00:32 #2912 [Verbose] > │             v13 v12                                                          │

00:00:32 #2913 [Verbose] > │         v2                                                                   │

00:00:32 #2914 [Verbose] > │ and closure77 () () : UH2 =                                                  │

00:00:32 #2915 [Verbose] > │     let v0 : (unit -> UH2) = closure77()                                     │

00:00:32 #2916 [Verbose] > │     UH2_0(0UL, v0)                                                           │

00:00:32 #2917 [Verbose] > │ and closure76 () () : UH2 =                                                  │

00:00:32 #2918 [Verbose] > │     let v0 : (unit -> UH2) = closure77()                                     │

00:00:32 #2919 [Verbose] > │     UH2_0(9223372036854775808UL, v0)                                         │

00:00:32 #2920 [Verbose] > │ and closure75 () () : UH2 =                                                  │

00:00:32 #2921 [Verbose] > │     let v0 : (unit -> UH2) = closure76()                                     │

00:00:32 #2922 [Verbose] > │     UH2_0(4611686018427387904UL, v0)                                         │

00:00:32 #2923 [Verbose] > │ and closure74 () () : UH2 =                                                  │

00:00:32 #2924 [Verbose] > │     let v0 : (unit -> UH2) = closure75()                                     │

00:00:32 #2925 [Verbose] > │     UH2_0(6917529027641081856UL, v0)                                         │

00:00:32 #2926 [Verbose] > │ and closure73 () () : UH2 =                                                  │

00:00:32 #2927 [Verbose] > │     let v0 : (unit -> UH2) = closure74()                                     │

00:00:32 #2928 [Verbose] > │     UH2_0(1152921504606846976UL, v0)                                         │

00:00:32 #2929 [Verbose] > │ and closure72 () () : UH2 =                                                  │

00:00:32 #2930 [Verbose] > │     let v0 : (unit -> UH2) = closure73()                                     │

00:00:32 #2931 [Verbose] > │     UH2_0(15564440312192434176UL, v0)                                        │

00:00:32 #2932 [Verbose] > │ and closure71 () () : UH2 =                                                  │

00:00:32 #2933 [Verbose] > │     let v0 : (unit -> UH2) = closure72()                                     │

00:00:32 #2934 [Verbose] > │     UH2_0(11817445422220181504UL, v0)                                        │

00:00:32 #2935 [Verbose] > │ and closure70 () () : UH2 =                                                  │

00:00:32 #2936 [Verbose] > │     let v0 : (unit -> UH2) = closure71()                                     │

00:00:32 #2937 [Verbose] > │     UH2_0(5044031582654955520UL, v0)                                         │

00:00:32 #2938 [Verbose] > │ and closure69 () () : UH2 =                                                  │

00:00:32 #2939 [Verbose] > │     let v0 : (unit -> UH2) = closure70()                                     │

00:00:32 #2940 [Verbose] > │     UH2_0(6989586621679009792UL, v0)                                         │

00:00:32 #2941 [Verbose] > │ and closure68 () () : UH2 =                                                  │

00:00:32 #2942 [Verbose] > │     let v0 : (unit -> UH2) = closure69()                                     │

00:00:32 #2943 [Verbose] > │     UH2_0(16537217831704461312UL, v0)                                        │

00:00:32 #2944 [Verbose] > │ and closure67 () () : UH2 =                                                  │

00:00:32 #2945 [Verbose] > │     let v0 : (unit -> UH2) = closure68()                                     │

00:00:32 #2946 [Verbose] > │     UH2_0(11979575008805519360UL, v0)                                        │

00:00:32 #2947 [Verbose] > │ and closure66 () () : UH2 =                                                  │

00:00:32 #2948 [Verbose] > │     let v0 : (unit -> UH2) = closure67()                                     │

00:00:32 #2949 [Verbose] > │     UH2_0(14294425217273954304UL, v0)                                        │

00:00:32 #2950 [Verbose] > │ and closure65 () () : UH2 =                                                  │

00:00:32 #2951 [Verbose] > │     let v0 : (unit -> UH2) = closure66()                                     │

00:00:32 #2952 [Verbose] > │     UH2_0(2382404202878992384UL, v0)                                         │

00:00:32 #2953 [Verbose] > │ and closure64 () () : UH2 =                                                  │

00:00:32 #2954 [Verbose] > │     let v0 : (unit -> UH2) = closure65()                                     │

00:00:32 #2955 [Verbose] > │     UH2_0(6545982058383015936UL, v0)                                         │

00:00:32 #2956 [Verbose] > │ and closure63 () () : UH2 =                                                  │

00:00:32 #2957 [Verbose] > │     let v0 : (unit -> UH2) = closure64()                                     │

00:00:32 #2958 [Verbose] > │     UH2_0(10314369046585278464UL, v0)                                        │

00:00:32 #2959 [Verbose] > │ and closure62 () () : UH2 =                                                  │

00:00:32 #2960 [Verbose] > │     let v0 : (unit -> UH2) = closure63()                                     │

00:00:32 #2961 [Verbose] > │     UH2_0(4793518853382471680UL, v0)                                         │

00:00:32 #2962 [Verbose] > │ and closure61 () () : UH2 =                                                  │

00:00:32 #2963 [Verbose] > │     let v0 : (unit -> UH2) = closure62()                                     │

00:00:32 #2964 [Verbose] > │     UH2_0(3873377154515337216UL, v0)                                         │

00:00:32 #2965 [Verbose] > │ and closure60 () () : UH2 =                                                  │

00:00:32 #2966 [Verbose] > │     let v0 : (unit -> UH2) = closure61()                                     │

00:00:32 #2967 [Verbose] > │     UH2_0(645562859085889536UL, v0)                                          │

00:00:32 #2968 [Verbose] > │ and closure59 () () : UH2 =                                                  │

00:00:32 #2969 [Verbose] > │     let v0 : (unit -> UH2) = closure60()                                     │

00:00:32 #2970 [Verbose] > │     UH2_0(107593809847648256UL, v0)                                          │

00:00:32 #2971 [Verbose] > │ and closure58 () () : UH2 =                                                  │

00:00:32 #2972 [Verbose] > │     let v0 : (unit -> UH2) = closure59()                                     │

00:00:32 #2973 [Verbose] > │     UH2_0(3092389647259533312UL, v0)                                         │

00:00:32 #2974 [Verbose] > │ and closure57 () () : UH2 =                                                  │

00:00:32 #2975 [Verbose] > │     let v0 : (unit -> UH2) = closure58()                                     │

00:00:32 #2976 [Verbose] > │     UH2_0(9738770311398031360UL, v0)                                         │

00:00:32 #2977 [Verbose] > │ and closure56 () () : UH2 =                                                  │

00:00:32 #2978 [Verbose] > │     let v0 : (unit -> UH2) = closure57()                                     │

00:00:32 #2979 [Verbose] > │     UH2_0(16995415113324298240UL, v0)                                        │

00:00:32 #2980 [Verbose] > │ and closure55 () () : UH2 =                                                  │

00:00:32 #2981 [Verbose] > │     let v0 : (unit -> UH2) = closure56()                                     │

00:00:32 #2982 [Verbose] > │     UH2_0(8981483876790566912UL, v0)                                         │

00:00:32 #2983 [Verbose] > │ and closure54 () () : UH2 =                                                  │

00:00:32 #2984 [Verbose] > │     let v0 : (unit -> UH2) = closure55()                                     │

00:00:32 #2985 [Verbose] > │     UH2_0(13794743361938128896UL, v0)                                        │

00:00:32 #2986 [Verbose] > │ and closure53 () () : UH2 =                                                  │

00:00:32 #2987 [Verbose] > │     let v0 : (unit -> UH2) = closure54()                                     │

00:00:32 #2988 [Verbose] > │     UH2_0(2299123893656354816UL, v0)                                         │

00:00:32 #2989 [Verbose] > │ and closure52 () () : UH2 =                                                  │

00:00:32 #2990 [Verbose] > │     let v0 : (unit -> UH2) = closure53()                                     │

00:00:32 #2991 [Verbose] > │     UH2_0(3457644661227651072UL, v0)                                         │

00:00:32 #2992 [Verbose] > │ and closure51 () () : UH2 =                                                  │

00:00:32 #2993 [Verbose] > │     let v0 : (unit -> UH2) = closure52()                                     │

00:00:32 #2994 [Verbose] > │     UH2_0(576274110204608512UL, v0)                                          │

00:00:32 #2995 [Verbose] > │ and closure50 () () : UH2 =                                                  │

00:00:32 #2996 [Verbose] > │     let v0 : (unit -> UH2) = closure51()                                     │

00:00:32 #2997 [Verbose] > │     UH2_0(6244960376270618624UL, v0)                                         │

00:00:32 #2998 [Verbose] > │ and closure49 () () : UH2 =                                                  │

00:00:32 #2999 [Verbose] > │     let v0 : (unit -> UH2) = closure50()                                     │

00:00:32 #3000 [Verbose] > │     UH2_0(13338656111851470848UL, v0)                                        │

00:00:32 #3001 [Verbose] > │ and closure48 () () : UH2 =                                                  │

00:00:32 #3002 [Verbose] > │     let v0 : (unit -> UH2) = closure49()                                     │

00:00:32 #3003 [Verbose] > │     UH2_0(14520938734448279552UL, v0)                                        │

00:00:32 #3004 [Verbose] > │ and closure47 () () : UH2 =                                                  │

00:00:32 #3005 [Verbose] > │     let v0 : (unit -> UH2) = closure48()                                     │

00:00:32 #3006 [Verbose] > │     UH2_0(14717985838214414336UL, v0)                                        │

00:00:32 #3007 [Verbose] > │ and closure46 () () : UH2 =                                                  │

00:00:32 #3008 [Verbose] > │     let v0 : (unit -> UH2) = closure47()                                     │

00:00:32 #3009 [Verbose] > │     UH2_0(5527454985320660992UL, v0)                                         │

00:00:32 #3010 [Verbose] > │ and closure45 () () : UH2 =                                                  │

00:00:32 #3011 [Verbose] > │     let v0 : (unit -> UH2) = closure46()                                     │

00:00:32 #3012 [Verbose] > │     UH2_0(16293529225644736512UL, v0)                                        │

00:00:32 #3013 [Verbose] > │ and closure44 () () : UH2 =                                                  │

00:00:32 #3014 [Verbose] > │     let v0 : (unit -> UH2) = closure45()                                     │

00:00:32 #3015 [Verbose] > │     UH2_0(11938960241128898560UL, v0)                                        │

00:00:32 #3016 [Verbose] > │ and closure43 () () : UH2 =                                                  │

00:00:32 #3017 [Verbose] > │     let v0 : (unit -> UH2) = closure44()                                     │

00:00:32 #3018 [Verbose] > │     UH2_0(8138741398091333632UL, v0)                                         │

00:00:32 #3019 [Verbose] > │ and closure42 () () : UH2 =                                                  │

00:00:32 #3020 [Verbose] > │     let v0 : (unit -> UH2) = closure43()                                     │

00:00:32 #3021 [Verbose] > │     UH2_0(7505371590918406144UL, v0)                                         │

00:00:32 #3022 [Verbose] > │ and closure41 () () : UH2 =                                                  │

00:00:32 #3023 [Verbose] > │     let v0 : (unit -> UH2) = closure42()                                     │

00:00:32 #3024 [Verbose] > │     UH2_0(16623181993244360704UL, v0)                                        │

00:00:32 #3025 [Verbose] > │ and closure40 () () : UH2 =                                                  │

00:00:32 #3026 [Verbose] > │     let v0 : (unit -> UH2) = closure41()                                     │

00:00:32 #3027 [Verbose] > │     UH2_0(8919445023443910656UL, v0)                                         │

00:00:32 #3028 [Verbose] > │ and closure39 () () : UH2 =                                                  │

00:00:32 #3029 [Verbose] > │     let v0 : (unit -> UH2) = closure40()                                     │

00:00:32 #3030 [Verbose] > │     UH2_0(4561031516192243712UL, v0)                                         │

00:00:32 #3031 [Verbose] > │ and closure38 () () : UH2 =                                                  │

00:00:32 #3032 [Verbose] > │     let v0 : (unit -> UH2) = closure39()                                     │

00:00:32 #3033 [Verbose] > │     UH2_0(9983543956220149760UL, v0)                                         │

00:00:32 #3034 [Verbose] > │ and closure37 () () : UH2 =                                                  │

00:00:32 #3035 [Verbose] > │     let v0 : (unit -> UH2) = closure38()                                     │

00:00:32 #3036 [Verbose] > │     UH2_0(4738381338321616896UL, v0)                                         │

00:00:32 #3037 [Verbose] > │ and closure36 () () : UH2 =                                                  │

00:00:32 #3038 [Verbose] > │     let v0 : (unit -> UH2) = closure37()                                     │

00:00:32 #3039 [Verbose] > │     UH2_0(789730223053602816UL, v0)                                          │

00:00:32 #3040 [Verbose] > │ and closure35 () () : UH2 =                                                  │

00:00:32 #3041 [Verbose] > │     let v0 : (unit -> UH2) = closure36()                                     │

00:00:32 #3042 [Verbose] > │     UH2_0(131621703842267136UL, v0)                                          │

00:00:32 #3043 [Verbose] > │ and closure34 () () : UH2 =                                                  │

00:00:32 #3044 [Verbose] > │     let v0 : (unit -> UH2) = closure35()                                     │

00:00:32 #3045 [Verbose] > │     UH2_0(21936950640377856UL, v0)                                           │

00:00:32 #3046 [Verbose] > │ and closure33 () () : UH2 =                                                  │

00:00:32 #3047 [Verbose] > │     let v0 : (unit -> UH2) = closure34()                                     │

00:00:32 #3048 [Verbose] > │     UH2_0(3656158440062976UL, v0)                                            │

00:00:32 #3049 [Verbose] > │ and closure32 () () : UH2 =                                                  │

00:00:32 #3050 [Verbose] > │     let v0 : (unit -> UH2) = closure33()                                     │

00:00:32 #3051 [Verbose] > │     UH2_0(609359740010496UL, v0)                                             │

00:00:32 #3052 [Verbose] > │ and closure31 () () : UH2 =                                                  │

00:00:32 #3053 [Verbose] > │     let v0 : (unit -> UH2) = closure32()                                     │

00:00:32 #3054 [Verbose] > │     UH2_0(101559956668416UL, v0)                                             │

00:00:32 #3055 [Verbose] > │ and closure30 () () : UH2 =                                                  │

00:00:32 #3056 [Verbose] > │     let v0 : (unit -> UH2) = closure31()                                     │

00:00:32 #3057 [Verbose] > │     UH2_0(16926659444736UL, v0)                                              │

00:00:32 #3058 [Verbose] > │ and closure29 () () : UH2 =                                                  │

00:00:32 #3059 [Verbose] > │     let v0 : (unit -> UH2) = closure30()                                     │

00:00:32 #3060 [Verbose] > │     UH2_0(2821109907456UL, v0)                                               │

00:00:32 #3061 [Verbose] > │ and closure28 () () : UH2 =                                                  │

00:00:32 #3062 [Verbose] > │     let v0 : (unit -> UH2) = closure29()                                     │

00:00:32 #3063 [Verbose] > │     UH2_0(470184984576UL, v0)                                                │

00:00:32 #3064 [Verbose] > │ and closure27 () () : UH2 =                                                  │

00:00:32 #3065 [Verbose] > │     let v0 : (unit -> UH2) = closure28()                                     │

00:00:32 #3066 [Verbose] > │     UH2_0(78364164096UL, v0)                                                 │

00:00:32 #3067 [Verbose] > │ and closure26 () () : UH2 =                                                  │

00:00:32 #3068 [Verbose] > │     let v0 : (unit -> UH2) = closure27()                                     │

00:00:32 #3069 [Verbose] > │     UH2_0(13060694016UL, v0)                                                 │

00:00:32 #3070 [Verbose] > │ and closure25 () () : UH2 =                                                  │

00:00:32 #3071 [Verbose] > │     let v0 : (unit -> UH2) = closure26()                                     │

00:00:32 #3072 [Verbose] > │     UH2_0(2176782336UL, v0)                                                  │

00:00:32 #3073 [Verbose] > │ and closure24 () () : UH2 =                                                  │

00:00:32 #3074 [Verbose] > │     let v0 : (unit -> UH2) = closure25()                                     │

00:00:32 #3075 [Verbose] > │     UH2_0(362797056UL, v0)                                                   │

00:00:32 #3076 [Verbose] > │ and closure23 () () : UH2 =                                                  │

00:00:32 #3077 [Verbose] > │     let v0 : (unit -> UH2) = closure24()                                     │

00:00:32 #3078 [Verbose] > │     UH2_0(60466176UL, v0)                                                    │

00:00:32 #3079 [Verbose] > │ and closure22 () () : UH2 =                                                  │

00:00:32 #3080 [Verbose] > │     let v0 : (unit -> UH2) = closure23()                                     │

00:00:32 #3081 [Verbose] > │     UH2_0(10077696UL, v0)                                                    │

00:00:32 #3082 [Verbose] > │ and closure21 () () : UH2 =                                                  │

00:00:32 #3083 [Verbose] > │     let v0 : (unit -> UH2) = closure22()                                     │

00:00:32 #3084 [Verbose] > │     UH2_0(1679616UL, v0)                                                     │

00:00:32 #3085 [Verbose] > │ and closure20 () () : UH2 =                                                  │

00:00:32 #3086 [Verbose] > │     let v0 : (unit -> UH2) = closure21()                                     │

00:00:32 #3087 [Verbose] > │     UH2_0(279936UL, v0)                                                      │

00:00:32 #3088 [Verbose] > │ and closure19 () () : UH2 =                                                  │

00:00:32 #3089 [Verbose] > │     let v0 : (unit -> UH2) = closure20()                                     │

00:00:32 #3090 [Verbose] > │     UH2_0(46656UL, v0)                                                       │

00:00:32 #3091 [Verbose] > │ and closure18 () () : UH2 =                                                  │

00:00:32 #3092 [Verbose] > │     let v0 : (unit -> UH2) = closure19()                                     │

00:00:32 #3093 [Verbose] > │     UH2_0(7776UL, v0)                                                        │

00:00:32 #3094 [Verbose] > │ and closure17 () () : UH2 =                                                  │

00:00:32 #3095 [Verbose] > │     let v0 : (unit -> UH2) = closure18()                                     │

00:00:32 #3096 [Verbose] > │     UH2_0(1296UL, v0)                                                        │

00:00:32 #3097 [Verbose] > │ and closure16 () () : UH2 =                                                  │

00:00:32 #3098 [Verbose] > │     let v0 : (unit -> UH2) = closure17()                                     │

00:00:32 #3099 [Verbose] > │     UH2_0(216UL, v0)                                                         │

00:00:32 #3100 [Verbose] > │ and closure15 () () : UH2 =                                                  │

00:00:32 #3101 [Verbose] > │     let v0 : (unit -> UH2) = closure16()                                     │

00:00:32 #3102 [Verbose] > │     UH2_0(36UL, v0)                                                          │

00:00:32 #3103 [Verbose] > │ and closure14 () () : UH2 =                                                  │

00:00:32 #3104 [Verbose] > │     let v0 : (unit -> UH2) = closure15()                                     │

00:00:32 #3105 [Verbose] > │     UH2_0(6UL, v0)                                                           │

00:00:32 #3106 [Verbose] > │ and method10 (v0 : int8, v1 : UH2) : US4 =                                   │

00:00:32 #3107 [Verbose] > │     match v1 with                                                            │

00:00:32 #3108 [Verbose] > │     | UH2_0(v2, v3) -> (* StreamCons *)                                      │

00:00:32 #3109 [Verbose] > │         let v4 : bool = v0 <= 0y                                             │

00:00:32 #3110 [Verbose] > │         if v4 then                                                           │

00:00:32 #3111 [Verbose] > │             US4_1(v2)                                                        │

00:00:32 #3112 [Verbose] > │         else                                                                 │

00:00:32 #3113 [Verbose] > │             let v6 : int8 = v0 - 1y                                          │

00:00:32 #3114 [Verbose] > │             let v7 : UH2 = v3 ()                                             │

00:00:32 #3115 [Verbose] > │             method10(v6, v7)                                                 │

00:00:32 #3116 [Verbose] > │     | UH2_1 -> (* StreamNil *)                                               │

00:00:32 #3117 [Verbose] > │         US4_0                                                                │

00:00:32 #3118 [Verbose] > │ and method9 (v0 : US0, v1 : int8, v2 : UH1, v3 : uint64) : US3 =             │

00:00:32 #3119 [Verbose] > │     let v4 : bool = v1 < 0y                                                  │

00:00:32 #3120 [Verbose] > │     if v4 then                                                               │

00:00:32 #3121 [Verbose] > │         let v5 : string = $"accumulate_dice_rolls / power: {v1} / acc: {v3}" │

00:00:32 #3122 [Verbose] > │         match v0 with                                                        │

00:00:32 #3123 [Verbose] > │         | US0_0 -> (* None *)                                                │

00:00:32 #3124 [Verbose] > │             ()                                                               │

00:00:32 #3125 [Verbose] > │         | US0_1(v6) -> (* Some *)                                            │

00:00:32 #3126 [Verbose] > │             v6 v5                                                            │

00:00:32 #3127 [Verbose] > │         let v7 : uint64 = v3 + 1UL                                           │

00:00:32 #3128 [Verbose] > │         US3_1(v7, v2)                                                        │

00:00:32 #3129 [Verbose] > │     else                                                                     │

00:00:32 #3130 [Verbose] > │         match v2 with                                                        │

00:00:32 #3131 [Verbose] > │         | UH1_0(v10, v11) -> (* Cons *)                                      │

00:00:32 #3132 [Verbose] > │             let v12 : bool = v10 > 1uy                                       │

00:00:32 #3133 [Verbose] > │             if v12 then                                                      │

00:00:32 #3134 [Verbose] > │                 let v13 : uint64 = 1UL                                       │

00:00:32 #3135 [Verbose] > │                 let v14 : (unit -> UH2) = closure14()                        │

00:00:32 #3136 [Verbose] > │                 let v15 : UH2 = UH2_0(v13, v14)                              │

00:00:32 #3137 [Verbose] > │                 let v16 : US4 = method10(v1, v15)                            │

00:00:32 #3138 [Verbose] > │                 let v20 : uint64 =                                           │

00:00:32 #3139 [Verbose] > │                     match v16 with                                           │

00:00:32 #3140 [Verbose] > │                     | US4_0 -> (* None *)                                    │

00:00:32 #3141 [Verbose] > │                         failwith<uint64> "Option does not have a value."     │

00:00:32 #3142 [Verbose] > │                     | US4_1(v17) -> (* Some *)                               │

00:00:32 #3143 [Verbose] > │                         v17                                                  │

00:00:32 #3144 [Verbose] > │                 let v21 : uint8 = v10 - 1uy                                  │

00:00:32 #3145 [Verbose] > │                 let v22 : uint64 = uint64 v21                                │

00:00:32 #3146 [Verbose] > │                 let v23 : uint64 = v22 * v20                                 │

00:00:32 #3147 [Verbose] > │                 let v24 : string = $"accumulate_dice_rolls / power: {v1} /   │

00:00:32 #3148 [Verbose] > │ acc: {v3} / roll: {v10} / value: {v23}"                                      │

00:00:32 #3149 [Verbose] > │                 match v0 with                                                │

00:00:32 #3150 [Verbose] > │                 | US0_0 -> (* None *)                                        │

00:00:32 #3151 [Verbose] > │                     ()                                                       │

00:00:32 #3152 [Verbose] > │                 | US0_1(v25) -> (* Some *)                                   │

00:00:32 #3153 [Verbose] > │                     v25 v24                                                  │

00:00:32 #3154 [Verbose] > │                 let v26 : uint64 = v3 + v23                                  │

00:00:32 #3155 [Verbose] > │                 let v27 : int8 = v1 - 1y                                     │

00:00:32 #3156 [Verbose] > │                 method9(v0, v27, v11, v26)                                   │

00:00:32 #3157 [Verbose] > │             else                                                             │

00:00:32 #3158 [Verbose] > │                 let v29 : string = $"accumulate_dice_rolls / power: {v1} /   │

00:00:32 #3159 [Verbose] > │ acc: {v3} / roll: {v10}"                                                     │

00:00:32 #3160 [Verbose] > │                 match v0 with                                                │

00:00:32 #3161 [Verbose] > │                 | US0_0 -> (* None *)                                        │

00:00:32 #3162 [Verbose] > │                     ()                                                       │

00:00:32 #3163 [Verbose] > │                 | US0_1(v30) -> (* Some *)                                   │

00:00:32 #3164 [Verbose] > │                     v30 v29                                                  │

00:00:32 #3165 [Verbose] > │                 let v31 : int8 = v1 - 1y                                     │

00:00:32 #3166 [Verbose] > │                 method9(v0, v31, v11, v3)                                    │

00:00:32 #3167 [Verbose] > │         | UH1_1 -> (* Nil *)                                                 │

00:00:32 #3168 [Verbose] > │             US3_0                                                            │

00:00:32 #3169 [Verbose] > │ and method11 (v0 : int8, v1 : (unit -> uint8), v2 : int8) : UH1 =            │

00:00:32 #3170 [Verbose] > │     let v3 : bool = v2 < v0                                                  │

00:00:32 #3171 [Verbose] > │     if v3 then                                                               │

00:00:32 #3172 [Verbose] > │         let v4 : uint8 = v1 ()                                               │

00:00:32 #3173 [Verbose] > │         let v5 : int8 = v2 + 1y                                              │

00:00:32 #3174 [Verbose] > │         let v6 : UH1 = method11(v0, v1, v5)                                  │

00:00:32 #3175 [Verbose] > │         UH1_0(v4, v6)                                                        │

00:00:32 #3176 [Verbose] > │     else                                                                     │

00:00:32 #3177 [Verbose] > │         UH1_1                                                                │

00:00:32 #3178 [Verbose] > │ and method12 (v0 : US0, v1 : (unit -> uint8), v2 : bool, v3 : uint64, v4 :   │

00:00:32 #3179 [Verbose] > │ int8, v5 : UH1) : uint64 =                                                   │

00:00:32 #3180 [Verbose] > │     let v6 : int8 = v4 + 1y                                                  │

00:00:32 #3181 [Verbose] > │     let v7 : bool = v4 < v6                                                  │

00:00:32 #3182 [Verbose] > │     if v7 then                                                               │

00:00:32 #3183 [Verbose] > │         let v8 : uint8 = v1 ()                                               │

00:00:32 #3184 [Verbose] > │         let v9 : UH1 = UH1_0(v8, v5)                                         │

00:00:32 #3185 [Verbose] > │         method8(v0, v1, v2, v3, v4, v9, v6)                                  │

00:00:32 #3186 [Verbose] > │     else                                                                     │

00:00:32 #3187 [Verbose] > │         let v11 : uint64 = 0UL                                               │

00:00:32 #3188 [Verbose] > │         let v12 : US3 = method9(v0, v4, v5, v11)                             │

00:00:32 #3189 [Verbose] > │         match v12 with                                                       │

00:00:32 #3190 [Verbose] > │         | US3_1(v13, v14) -> (* Some *)                                      │

00:00:32 #3191 [Verbose] > │             let v15 : bool = v13 <= v3                                       │

00:00:32 #3192 [Verbose] > │             if v15 then                                                      │

00:00:32 #3193 [Verbose] > │                 v13                                                          │

00:00:32 #3194 [Verbose] > │             else                                                             │

00:00:32 #3195 [Verbose] > │                 if v2 then                                                   │

00:00:32 #3196 [Verbose] > │                     let v16 : int8 = 0y                                      │

00:00:32 #3197 [Verbose] > │                     let v17 : UH1 = method11(v4, v1, v16)                    │

00:00:32 #3198 [Verbose] > │                     method12(v0, v1, v2, v3, v4, v17)                        │

00:00:32 #3199 [Verbose] > │                 else                                                         │

00:00:32 #3200 [Verbose] > │                     let v19 : uint8 = v1 ()                                  │

00:00:32 #3201 [Verbose] > │                     let v20 : UH1 = UH1_0(v19, v5)                           │

00:00:32 #3202 [Verbose] > │                     method8(v0, v1, v2, v3, v4, v20, v6)                     │

00:00:32 #3203 [Verbose] > │         | _ ->                                                               │

00:00:32 #3204 [Verbose] > │             if v2 then                                                       │

00:00:32 #3205 [Verbose] > │                 let v24 : int8 = 0y                                          │

00:00:32 #3206 [Verbose] > │                 let v25 : UH1 = method11(v4, v1, v24)                        │

00:00:32 #3207 [Verbose] > │                 method12(v0, v1, v2, v3, v4, v25)                            │

00:00:32 #3208 [Verbose] > │             else                                                             │

00:00:32 #3209 [Verbose] > │                 let v27 : uint8 = v1 ()                                      │

00:00:32 #3210 [Verbose] > │                 let v28 : UH1 = UH1_0(v27, v5)                               │

00:00:32 #3211 [Verbose] > │                 method8(v0, v1, v2, v3, v4, v28, v6)                         │

00:00:32 #3212 [Verbose] > │ and method8 (v0 : US0, v1 : (unit -> uint8), v2 : bool, v3 : uint64, v4 :    │

00:00:32 #3213 [Verbose] > │ int8, v5 : UH1, v6 : int8) : uint64 =                                        │

00:00:32 #3214 [Verbose] > │     let v7 : int8 = v4 + 1y                                                  │

00:00:32 #3215 [Verbose] > │     let v8 : bool = v6 < v7                                                  │

00:00:32 #3216 [Verbose] > │     if v8 then                                                               │

00:00:32 #3217 [Verbose] > │         let v9 : uint8 = v1 ()                                               │

00:00:32 #3218 [Verbose] > │         let v10 : UH1 = UH1_0(v9, v5)                                        │

00:00:32 #3219 [Verbose] > │         let v11 : int8 = v6 + 1y                                             │

00:00:32 #3220 [Verbose] > │         method8(v0, v1, v2, v3, v4, v10, v11)                                │

00:00:32 #3221 [Verbose] > │     else                                                                     │

00:00:32 #3222 [Verbose] > │         let v13 : uint64 = 0UL                                               │

00:00:32 #3223 [Verbose] > │         let v14 : US3 = method9(v0, v4, v5, v13)                             │

00:00:32 #3224 [Verbose] > │         match v14 with                                                       │

00:00:32 #3225 [Verbose] > │         | US3_1(v15, v16) -> (* Some *)                                      │

00:00:32 #3226 [Verbose] > │             let v17 : bool = v15 <= v3                                       │

00:00:32 #3227 [Verbose] > │             if v17 then                                                      │

00:00:32 #3228 [Verbose] > │                 v15                                                          │

00:00:32 #3229 [Verbose] > │             else                                                             │

00:00:32 #3230 [Verbose] > │                 if v2 then                                                   │

00:00:32 #3231 [Verbose] > │                     let v18 : int8 = 0y                                      │

00:00:32 #3232 [Verbose] > │                     let v19 : UH1 = method11(v4, v1, v18)                    │

00:00:32 #3233 [Verbose] > │                     method12(v0, v1, v2, v3, v4, v19)                        │

00:00:32 #3234 [Verbose] > │                 else                                                         │

00:00:32 #3235 [Verbose] > │                     let v21 : uint8 = v1 ()                                  │

00:00:32 #3236 [Verbose] > │                     let v22 : UH1 = UH1_0(v21, v5)                           │

00:00:32 #3237 [Verbose] > │                     let v23 : int8 = v6 + 1y                                 │

00:00:32 #3238 [Verbose] > │                     method8(v0, v1, v2, v3, v4, v22, v23)                    │

00:00:32 #3239 [Verbose] > │         | _ ->                                                               │

00:00:32 #3240 [Verbose] > │             if v2 then                                                       │

00:00:32 #3241 [Verbose] > │                 let v27 : int8 = 0y                                          │

00:00:32 #3242 [Verbose] > │                 let v28 : UH1 = method11(v4, v1, v27)                        │

00:00:32 #3243 [Verbose] > │                 method12(v0, v1, v2, v3, v4, v28)                            │

00:00:32 #3244 [Verbose] > │             else                                                             │

00:00:32 #3245 [Verbose] > │                 let v30 : uint8 = v1 ()                                      │

00:00:32 #3246 [Verbose] > │                 let v31 : UH1 = UH1_0(v30, v5)                               │

00:00:32 #3247 [Verbose] > │                 let v32 : int8 = v6 + 1y                                     │

00:00:32 #3248 [Verbose] > │                 method8(v0, v1, v2, v3, v4, v31, v32)                        │

00:00:32 #3249 [Verbose] > │ and closure13 (v0 : US0, v1 : (unit -> uint8), v2 : bool) (v3 : uint64) :    │

00:00:32 #3250 [Verbose] > │ uint64 =                                                                     │

00:00:32 #3251 [Verbose] > │     let v4 : bool = v3 = 1UL                                                 │

00:00:32 #3252 [Verbose] > │     let v8 : int8 =                                                          │

00:00:32 #3253 [Verbose] > │         if v4 then                                                           │

00:00:32 #3254 [Verbose] > │             1y                                                               │

00:00:32 #3255 [Verbose] > │         else                                                                 │

00:00:32 #3256 [Verbose] > │             let v5 : int8 = 0y                                               │

00:00:32 #3257 [Verbose] > │             let v6 : uint64 = 1UL                                            │

00:00:32 #3258 [Verbose] > │             method7(v0, v3, v5, v6)                                          │

00:00:32 #3259 [Verbose] > │     let v9 : int8 = v8 - 1y                                                  │

00:00:32 #3260 [Verbose] > │     let v10 : UH1 = UH1_1                                                    │

00:00:32 #3261 [Verbose] > │     let v11 : int8 = 0y                                                      │

00:00:32 #3262 [Verbose] > │     method8(v0, v1, v2, v3, v9, v10, v11)                                    │

00:00:32 #3263 [Verbose] > │ and closure12 (v0 : US0, v1 : (unit -> uint8)) (v2 : bool) : (uint64 ->      │

00:00:32 #3264 [Verbose] > │ uint64) =                                                                    │

00:00:32 #3265 [Verbose] > │     closure13(v0, v1, v2)                                                    │

00:00:32 #3266 [Verbose] > │ and closure11 (v0 : US0) (v1 : (unit -> uint8)) : (bool -> (uint64 ->        │

00:00:32 #3267 [Verbose] > │ uint64)) =                                                                   │

00:00:32 #3268 [Verbose] > │     closure12(v0, v1)                                                        │

00:00:32 #3269 [Verbose] > │ and closure10 () (v0 : (string -> unit) option) : ((unit -> uint8) -> (bool  │

00:00:32 #3270 [Verbose] > │ -> (uint64 -> uint64))) =                                                    │

00:00:32 #3271 [Verbose] > │     let v1 : ((string -> unit) -> US0) = closure4()                          │

00:00:32 #3272 [Verbose] > │     let v2 : US0 = US0_0                                                     │

00:00:32 #3273 [Verbose] > │     let v3 : US0 = v0 |> Option.map v1 |> Option.defaultValue v2             │

00:00:32 #3274 [Verbose] > │     closure11(v3)                                                            │

00:00:32 #3275 [Verbose] > │ and method13 (v0 : UH1, v1 : int8) : int8 =                                  │

00:00:32 #3276 [Verbose] > │     match v0 with                                                            │

00:00:32 #3277 [Verbose] > │     | UH1_0(v2, v3) -> (* Cons *)                                            │

00:00:32 #3278 [Verbose] > │         let v4 : int8 = v1 + 1y                                              │

00:00:32 #3279 [Verbose] > │         method13(v3, v4)                                                     │

00:00:32 #3280 [Verbose] > │     | UH1_1 -> (* Nil *)                                                     │

00:00:32 #3281 [Verbose] > │         v1                                                                   │

00:00:32 #3282 [Verbose] > │ and closure80 (v0 : (string -> unit) option, v1 : uint64) (v2 : UH1) :       │

00:00:32 #3283 [Verbose] > │ uint64 option =                                                              │

00:00:32 #3284 [Verbose] > │     let v3 : ((string -> unit) -> US0) = closure4()                          │

00:00:32 #3285 [Verbose] > │     let v4 : US0 = US0_0                                                     │

00:00:32 #3286 [Verbose] > │     let v5 : US0 = v0 |> Option.map v3 |> Option.defaultValue v4             │

00:00:32 #3287 [Verbose] > │     let v6 : int8 = 0y                                                       │

00:00:32 #3288 [Verbose] > │     let v7 : int8 = method13(v2, v6)                                         │

00:00:32 #3289 [Verbose] > │     let v8 : int8 = v7 - 1y                                                  │

00:00:32 #3290 [Verbose] > │     let v9 : uint64 = 0UL                                                    │

00:00:32 #3291 [Verbose] > │     let v10 : US3 = method9(v5, v8, v2, v9)                                  │

00:00:32 #3292 [Verbose] > │     let v20 : US4 =                                                          │

00:00:32 #3293 [Verbose] > │         match v10 with                                                       │

00:00:32 #3294 [Verbose] > │         | US3_1(v11, v12) -> (* Some *)                                      │

00:00:32 #3295 [Verbose] > │             let v13 : bool = v11 >= 1UL                                      │

00:00:32 #3296 [Verbose] > │             let v15 : bool =                                                 │

00:00:32 #3297 [Verbose] > │                 if v13 then                                                  │

00:00:32 #3298 [Verbose] > │                     let v14 : bool = v11 <= v1                               │

00:00:32 #3299 [Verbose] > │                     v14                                                      │

00:00:32 #3300 [Verbose] > │                 else                                                         │

00:00:32 #3301 [Verbose] > │                     false                                                    │

00:00:32 #3302 [Verbose] > │             if v15 then                                                      │

00:00:32 #3303 [Verbose] > │                 US4_1(v11)                                                   │

00:00:32 #3304 [Verbose] > │             else                                                             │

00:00:32 #3305 [Verbose] > │                 US4_0                                                        │

00:00:32 #3306 [Verbose] > │         | _ ->                                                               │

00:00:32 #3307 [Verbose] > │             US4_0                                                            │

00:00:32 #3308 [Verbose] > │     match v20 with                                                           │

00:00:32 #3309 [Verbose] > │     | US4_0 -> (* None *)                                                    │

00:00:32 #3310 [Verbose] > │         let v23 : uint64 option = None                                       │

00:00:32 #3311 [Verbose] > │         v23                                                                  │

00:00:32 #3312 [Verbose] > │     | US4_1(v21) -> (* Some *)                                               │

00:00:32 #3313 [Verbose] > │         let v22 : uint64 option = Some v21                                   │

00:00:32 #3314 [Verbose] > │         v22                                                                  │

00:00:32 #3315 [Verbose] > │ and closure79 (v0 : (string -> unit) option) (v1 : uint64) : (UH1 -> uint64  │

00:00:32 #3316 [Verbose] > │ option) =                                                                    │

00:00:32 #3317 [Verbose] > │     closure80(v0, v1)                                                        │

00:00:32 #3318 [Verbose] > │ and closure78 () (v0 : (string -> unit) option) : (uint64 -> (UH1 -> uint64  │

00:00:32 #3319 [Verbose] > │ option)) =                                                                   │

00:00:32 #3320 [Verbose] > │     closure79(v0)                                                            │

00:00:32 #3321 [Verbose] > │ and method39 (v0 : UH1, v1 : int64) : US5 =                                  │

00:00:32 #3322 [Verbose] > │     let v2 : string = $"accumulate_dice_rolls / power: {-1y} / acc: {v1}"    │

00:00:32 #3323 [Verbose] > │     System.Console.WriteLine v2                                              │

00:00:32 #3324 [Verbose] > │     let v3 : int64 = v1 + 1L                                                 │

00:00:32 #3325 [Verbose] > │     US5_1(v3, v0)                                                            │

00:00:32 #3326 [Verbose] > │ and method38 (v0 : UH1, v1 : int64) : US5 =                                  │

00:00:32 #3327 [Verbose] > │     match v0 with                                                            │

00:00:32 #3328 [Verbose] > │     | UH1_0(v3, v4) -> (* Cons *)                                            │

00:00:32 #3329 [Verbose] > │         let v5 : bool = v3 > 1uy                                             │

00:00:32 #3330 [Verbose] > │         if v5 then                                                           │

00:00:32 #3331 [Verbose] > │             let v6 : uint8 = v3 - 1uy                                        │

00:00:32 #3332 [Verbose] > │             let v7 : int64 = int64 v6                                        │

00:00:32 #3333 [Verbose] > │             let v8 : string = $"accumulate_dice_rolls / power: {0y} / acc:   │

00:00:32 #3334 [Verbose] > │ {v1} / roll: {v3} / value: {v7}"                                             │

00:00:32 #3335 [Verbose] > │             System.Console.WriteLine v8                                      │

00:00:32 #3336 [Verbose] > │             let v9 : int64 = v1 + v7                                         │

00:00:32 #3337 [Verbose] > │             method39(v4, v9)                                                 │

00:00:32 #3338 [Verbose] > │         else                                                                 │

00:00:32 #3339 [Verbose] > │             let v11 : string = $"accumulate_dice_rolls / power: {0y} / acc:  │

00:00:32 #3340 [Verbose] > │ {v1} / roll: {v3}"                                                           │

00:00:32 #3341 [Verbose] > │             System.Console.WriteLine v11                                     │

00:00:32 #3342 [Verbose] > │             method39(v4, v1)                                                 │

00:00:32 #3343 [Verbose] > │     | UH1_1 -> (* Nil *)                                                     │

00:00:32 #3344 [Verbose] > │         US5_0                                                                │

00:00:32 #3345 [Verbose] > │ and method37 (v0 : UH1, v1 : int64) : US5 =                                  │

00:00:32 #3346 [Verbose] > │     match v0 with                                                            │

00:00:32 #3347 [Verbose] > │     | UH1_0(v3, v4) -> (* Cons *)                                            │

00:00:32 #3348 [Verbose] > │         let v5 : bool = v3 > 1uy                                             │

00:00:32 #3349 [Verbose] > │         if v5 then                                                           │

00:00:32 #3350 [Verbose] > │             let v6 : uint8 = v3 - 1uy                                        │

00:00:32 #3351 [Verbose] > │             let v7 : int64 = int64 v6                                        │

00:00:32 #3352 [Verbose] > │             let v8 : int64 = v7 * 6L                                         │

00:00:32 #3353 [Verbose] > │             let v9 : string = $"accumulate_dice_rolls / power: {1y} / acc:   │

00:00:32 #3354 [Verbose] > │ {v1} / roll: {v3} / value: {v8}"                                             │

00:00:32 #3355 [Verbose] > │             System.Console.WriteLine v9                                      │

00:00:32 #3356 [Verbose] > │             let v10 : int64 = v1 + v8                                        │

00:00:32 #3357 [Verbose] > │             method38(v4, v10)                                                │

00:00:32 #3358 [Verbose] > │         else                                                                 │

00:00:32 #3359 [Verbose] > │             let v12 : string = $"accumulate_dice_rolls / power: {1y} / acc:  │

00:00:32 #3360 [Verbose] > │ {v1} / roll: {v3}"                                                           │

00:00:32 #3361 [Verbose] > │             System.Console.WriteLine v12                                     │

00:00:32 #3362 [Verbose] > │             method38(v4, v1)                                                 │

00:00:32 #3363 [Verbose] > │     | UH1_1 -> (* Nil *)                                                     │

00:00:32 #3364 [Verbose] > │         US5_0                                                                │

00:00:32 #3365 [Verbose] > │ and method36 (v0 : UH1, v1 : int64) : US5 =                                  │

00:00:32 #3366 [Verbose] > │     match v0 with                                                            │

00:00:32 #3367 [Verbose] > │     | UH1_0(v3, v4) -> (* Cons *)                                            │

00:00:32 #3368 [Verbose] > │         let v5 : bool = v3 > 1uy                                             │

00:00:32 #3369 [Verbose] > │         if v5 then                                                           │

00:00:32 #3370 [Verbose] > │             let v6 : uint8 = v3 - 1uy                                        │

00:00:32 #3371 [Verbose] > │             let v7 : int64 = int64 v6                                        │

00:00:32 #3372 [Verbose] > │             let v8 : int64 = v7 * 36L                                        │

00:00:32 #3373 [Verbose] > │             let v9 : string = $"accumulate_dice_rolls / power: {2y} / acc:   │

00:00:32 #3374 [Verbose] > │ {v1} / roll: {v3} / value: {v8}"                                             │

00:00:32 #3375 [Verbose] > │             System.Console.WriteLine v9                                      │

00:00:32 #3376 [Verbose] > │             let v10 : int64 = v1 + v8                                        │

00:00:32 #3377 [Verbose] > │             method37(v4, v10)                                                │

00:00:32 #3378 [Verbose] > │         else                                                                 │

00:00:32 #3379 [Verbose] > │             let v12 : string = $"accumulate_dice_rolls / power: {2y} / acc:  │

00:00:32 #3380 [Verbose] > │ {v1} / roll: {v3}"                                                           │

00:00:32 #3381 [Verbose] > │             System.Console.WriteLine v12                                     │

00:00:32 #3382 [Verbose] > │             method37(v4, v1)                                                 │

00:00:32 #3383 [Verbose] > │     | UH1_1 -> (* Nil *)                                                     │

00:00:32 #3384 [Verbose] > │         US5_0                                                                │

00:00:32 #3385 [Verbose] > │ and method35 (v0 : UH1, v1 : int64) : US5 =                                  │

00:00:32 #3386 [Verbose] > │     match v0 with                                                            │

00:00:32 #3387 [Verbose] > │     | UH1_0(v3, v4) -> (* Cons *)                                            │

00:00:32 #3388 [Verbose] > │         let v5 : bool = v3 > 1uy                                             │

00:00:32 #3389 [Verbose] > │         if v5 then                                                           │

00:00:32 #3390 [Verbose] > │             let v6 : uint8 = v3 - 1uy                                        │

00:00:32 #3391 [Verbose] > │             let v7 : int64 = int64 v6                                        │

00:00:32 #3392 [Verbose] > │             let v8 : int64 = v7 * 216L                                       │

00:00:32 #3393 [Verbose] > │             let v9 : string = $"accumulate_dice_rolls / power: {3y} / acc:   │

00:00:32 #3394 [Verbose] > │ {v1} / roll: {v3} / value: {v8}"                                             │

00:00:32 #3395 [Verbose] > │             System.Console.WriteLine v9                                      │

00:00:32 #3396 [Verbose] > │             let v10 : int64 = v1 + v8                                        │

00:00:32 #3397 [Verbose] > │             method36(v4, v10)                                                │

00:00:32 #3398 [Verbose] > │         else                                                                 │

00:00:32 #3399 [Verbose] > │             let v12 : string = $"accumulate_dice_rolls / power: {3y} / acc:  │

00:00:32 #3400 [Verbose] > │ {v1} / roll: {v3}"                                                           │

00:00:32 #3401 [Verbose] > │             System.Console.WriteLine v12                                     │

00:00:32 #3402 [Verbose] > │             method36(v4, v1)                                                 │

00:00:32 #3403 [Verbose] > │     | UH1_1 -> (* Nil *)                                                     │

00:00:32 #3404 [Verbose] > │         US5_0                                                                │

00:00:32 #3405 [Verbose] > │ and method34 (v0 : UH1, v1 : int64) : US5 =                                  │

00:00:32 #3406 [Verbose] > │     match v0 with                                                            │

00:00:32 #3407 [Verbose] > │     | UH1_0(v3, v4) -> (* Cons *)                                            │

00:00:32 #3408 [Verbose] > │         let v5 : bool = v3 > 1uy                                             │

00:00:32 #3409 [Verbose] > │         if v5 then                                                           │

00:00:32 #3410 [Verbose] > │             let v6 : uint8 = v3 - 1uy                                        │

00:00:32 #3411 [Verbose] > │             let v7 : int64 = int64 v6                                        │

00:00:32 #3412 [Verbose] > │             let v8 : int64 = v7 * 1296L                                      │

00:00:32 #3413 [Verbose] > │             let v9 : string = $"accumulate_dice_rolls / power: {4y} / acc:   │

00:00:32 #3414 [Verbose] > │ {v1} / roll: {v3} / value: {v8}"                                             │

00:00:32 #3415 [Verbose] > │             System.Console.WriteLine v9                                      │

00:00:32 #3416 [Verbose] > │             let v10 : int64 = v1 + v8                                        │

00:00:32 #3417 [Verbose] > │             method35(v4, v10)                                                │

00:00:32 #3418 [Verbose] > │         else                                                                 │

00:00:32 #3419 [Verbose] > │             let v12 : string = $"accumulate_dice_rolls / power: {4y} / acc:  │

00:00:32 #3420 [Verbose] > │ {v1} / roll: {v3}"                                                           │

00:00:32 #3421 [Verbose] > │             System.Console.WriteLine v12                                     │

00:00:32 #3422 [Verbose] > │             method35(v4, v1)                                                 │

00:00:32 #3423 [Verbose] > │     | UH1_1 -> (* Nil *)                                                     │

00:00:32 #3424 [Verbose] > │         US5_0                                                                │

00:00:32 #3425 [Verbose] > │ and method33 (v0 : UH1, v1 : int64) : US5 =                                  │

00:00:32 #3426 [Verbose] > │     match v0 with                                                            │

00:00:32 #3427 [Verbose] > │     | UH1_0(v3, v4) -> (* Cons *)                                            │

00:00:32 #3428 [Verbose] > │         let v5 : bool = v3 > 1uy                                             │

00:00:32 #3429 [Verbose] > │         if v5 then                                                           │

00:00:32 #3430 [Verbose] > │             let v6 : uint8 = v3 - 1uy                                        │

00:00:32 #3431 [Verbose] > │             let v7 : int64 = int64 v6                                        │

00:00:32 #3432 [Verbose] > │             let v8 : int64 = v7 * 7776L                                      │

00:00:32 #3433 [Verbose] > │             let v9 : string = $"accumulate_dice_rolls / power: {5y} / acc:   │

00:00:32 #3434 [Verbose] > │ {v1} / roll: {v3} / value: {v8}"                                             │

00:00:32 #3435 [Verbose] > │             System.Console.WriteLine v9                                      │

00:00:32 #3436 [Verbose] > │             let v10 : int64 = v1 + v8                                        │

00:00:32 #3437 [Verbose] > │             method34(v4, v10)                                                │

00:00:32 #3438 [Verbose] > │         else                                                                 │

00:00:32 #3439 [Verbose] > │             let v12 : string = $"accumulate_dice_rolls / power: {5y} / acc:  │

00:00:32 #3440 [Verbose] > │ {v1} / roll: {v3}"                                                           │

00:00:32 #3441 [Verbose] > │             System.Console.WriteLine v12                                     │

00:00:32 #3442 [Verbose] > │             method34(v4, v1)                                                 │

00:00:32 #3443 [Verbose] > │     | UH1_1 -> (* Nil *)                                                     │

00:00:32 #3444 [Verbose] > │         US5_0                                                                │

00:00:32 #3445 [Verbose] > │ and method32 (v0 : UH1, v1 : int64) : US5 =                                  │

00:00:32 #3446 [Verbose] > │     match v0 with                                                            │

00:00:32 #3447 [Verbose] > │     | UH1_0(v3, v4) -> (* Cons *)                                            │

00:00:32 #3448 [Verbose] > │         let v5 : bool = v3 > 1uy                                             │

00:00:32 #3449 [Verbose] > │         if v5 then                                                           │

00:00:32 #3450 [Verbose] > │             let v6 : uint8 = v3 - 1uy                                        │

00:00:32 #3451 [Verbose] > │             let v7 : int64 = int64 v6                                        │

00:00:32 #3452 [Verbose] > │             let v8 : int64 = v7 * 46656L                                     │

00:00:32 #3453 [Verbose] > │             let v9 : string = $"accumulate_dice_rolls / power: {6y} / acc:   │

00:00:32 #3454 [Verbose] > │ {v1} / roll: {v3} / value: {v8}"                                             │

00:00:32 #3455 [Verbose] > │             System.Console.WriteLine v9                                      │

00:00:32 #3456 [Verbose] > │             let v10 : int64 = v1 + v8                                        │

00:00:32 #3457 [Verbose] > │             method33(v4, v10)                                                │

00:00:32 #3458 [Verbose] > │         else                                                                 │

00:00:32 #3459 [Verbose] > │             let v12 : string = $"accumulate_dice_rolls / power: {6y} / acc:  │

00:00:32 #3460 [Verbose] > │ {v1} / roll: {v3}"                                                           │

00:00:32 #3461 [Verbose] > │             System.Console.WriteLine v12                                     │

00:00:32 #3462 [Verbose] > │             method33(v4, v1)                                                 │

00:00:32 #3463 [Verbose] > │     | UH1_1 -> (* Nil *)                                                     │

00:00:32 #3464 [Verbose] > │         US5_0                                                                │

00:00:32 #3465 [Verbose] > │ and method31 (v0 : UH1, v1 : int64) : US5 =                                  │

00:00:32 #3466 [Verbose] > │     match v0 with                                                            │

00:00:32 #3467 [Verbose] > │     | UH1_0(v3, v4) -> (* Cons *)                                            │

00:00:32 #3468 [Verbose] > │         let v5 : bool = v3 > 1uy                                             │

00:00:32 #3469 [Verbose] > │         if v5 then                                                           │

00:00:32 #3470 [Verbose] > │             let v6 : uint8 = v3 - 1uy                                        │

00:00:32 #3471 [Verbose] > │             let v7 : int64 = int64 v6                                        │

00:00:32 #3472 [Verbose] > │             let v8 : int64 = v7 * 279936L                                    │

00:00:32 #3473 [Verbose] > │             let v9 : string = $"accumulate_dice_rolls / power: {7y} / acc:   │

00:00:32 #3474 [Verbose] > │ {v1} / roll: {v3} / value: {v8}"                                             │

00:00:32 #3475 [Verbose] > │             System.Console.WriteLine v9                                      │

00:00:32 #3476 [Verbose] > │             let v10 : int64 = v1 + v8                                        │

00:00:32 #3477 [Verbose] > │             method32(v4, v10)                                                │

00:00:32 #3478 [Verbose] > │         else                                                                 │

00:00:32 #3479 [Verbose] > │             let v12 : string = $"accumulate_dice_rolls / power: {7y} / acc:  │

00:00:32 #3480 [Verbose] > │ {v1} / roll: {v3}"                                                           │

00:00:32 #3481 [Verbose] > │             System.Console.WriteLine v12                                     │

00:00:32 #3482 [Verbose] > │             method32(v4, v1)                                                 │

00:00:32 #3483 [Verbose] > │     | UH1_1 -> (* Nil *)                                                     │

00:00:32 #3484 [Verbose] > │         US5_0                                                                │

00:00:32 #3485 [Verbose] > │ and method30 (v0 : UH1, v1 : int64) : US5 =                                  │

00:00:32 #3486 [Verbose] > │     match v0 with                                                            │

00:00:32 #3487 [Verbose] > │     | UH1_0(v3, v4) -> (* Cons *)                                            │

00:00:32 #3488 [Verbose] > │         let v5 : bool = v3 > 1uy                                             │

00:00:32 #3489 [Verbose] > │         if v5 then                                                           │

00:00:32 #3490 [Verbose] > │             let v6 : uint8 = v3 - 1uy                                        │

00:00:32 #3491 [Verbose] > │             let v7 : int64 = int64 v6                                        │

00:00:32 #3492 [Verbose] > │             let v8 : int64 = v7 * 1679616L                                   │

00:00:32 #3493 [Verbose] > │             let v9 : string = $"accumulate_dice_rolls / power: {8y} / acc:   │

00:00:32 #3494 [Verbose] > │ {v1} / roll: {v3} / value: {v8}"                                             │

00:00:32 #3495 [Verbose] > │             System.Console.WriteLine v9                                      │

00:00:32 #3496 [Verbose] > │             let v10 : int64 = v1 + v8                                        │

00:00:32 #3497 [Verbose] > │             method31(v4, v10)                                                │

00:00:32 #3498 [Verbose] > │         else                                                                 │

00:00:32 #3499 [Verbose] > │             let v12 : string = $"accumulate_dice_rolls / power: {8y} / acc:  │

00:00:32 #3500 [Verbose] > │ {v1} / roll: {v3}"                                                           │

00:00:32 #3501 [Verbose] > │             System.Console.WriteLine v12                                     │

00:00:32 #3502 [Verbose] > │             method31(v4, v1)                                                 │

00:00:32 #3503 [Verbose] > │     | UH1_1 -> (* Nil *)                                                     │

00:00:32 #3504 [Verbose] > │         US5_0                                                                │

00:00:32 #3505 [Verbose] > │ and method29 (v0 : UH1, v1 : int64) : US5 =                                  │

00:00:32 #3506 [Verbose] > │     match v0 with                                                            │

00:00:32 #3507 [Verbose] > │     | UH1_0(v3, v4) -> (* Cons *)                                            │

00:00:32 #3508 [Verbose] > │         let v5 : bool = v3 > 1uy                                             │

00:00:32 #3509 [Verbose] > │         if v5 then                                                           │

00:00:32 #3510 [Verbose] > │             let v6 : uint8 = v3 - 1uy                                        │

00:00:32 #3511 [Verbose] > │             let v7 : int64 = int64 v6                                        │

00:00:32 #3512 [Verbose] > │             let v8 : int64 = v7 * 10077696L                                  │

00:00:32 #3513 [Verbose] > │             let v9 : string = $"accumulate_dice_rolls / power: {9y} / acc:   │

00:00:32 #3514 [Verbose] > │ {v1} / roll: {v3} / value: {v8}"                                             │

00:00:32 #3515 [Verbose] > │             System.Console.WriteLine v9                                      │

00:00:32 #3516 [Verbose] > │             let v10 : int64 = v1 + v8                                        │

00:00:32 #3517 [Verbose] > │             method30(v4, v10)                                                │

00:00:32 #3518 [Verbose] > │         else                                                                 │

00:00:32 #3519 [Verbose] > │             let v12 : string = $"accumulate_dice_rolls / power: {9y} / acc:  │

00:00:32 #3520 [Verbose] > │ {v1} / roll: {v3}"                                                           │

00:00:32 #3521 [Verbose] > │             System.Console.WriteLine v12                                     │

00:00:32 #3522 [Verbose] > │             method30(v4, v1)                                                 │

00:00:32 #3523 [Verbose] > │     | UH1_1 -> (* Nil *)                                                     │

00:00:32 #3524 [Verbose] > │         US5_0                                                                │

00:00:32 #3525 [Verbose] > │ and method28 (v0 : UH1, v1 : int64) : US5 =                                  │

00:00:32 #3526 [Verbose] > │     match v0 with                                                            │

00:00:32 #3527 [Verbose] > │     | UH1_0(v3, v4) -> (* Cons *)                                            │

00:00:32 #3528 [Verbose] > │         let v5 : bool = v3 > 1uy                                             │

00:00:32 #3529 [Verbose] > │         if v5 then                                                           │

00:00:32 #3530 [Verbose] > │             let v6 : uint8 = v3 - 1uy                                        │

00:00:32 #3531 [Verbose] > │             let v7 : int64 = int64 v6                                        │

00:00:32 #3532 [Verbose] > │             let v8 : int64 = v7 * 60466176L                                  │

00:00:32 #3533 [Verbose] > │             let v9 : string = $"accumulate_dice_rolls / power: {10y} / acc:  │

00:00:32 #3534 [Verbose] > │ {v1} / roll: {v3} / value: {v8}"                                             │

00:00:32 #3535 [Verbose] > │             System.Console.WriteLine v9                                      │

00:00:32 #3536 [Verbose] > │             let v10 : int64 = v1 + v8                                        │

00:00:32 #3537 [Verbose] > │             method29(v4, v10)                                                │

00:00:32 #3538 [Verbose] > │         else                                                                 │

00:00:32 #3539 [Verbose] > │             let v12 : string = $"accumulate_dice_rolls / power: {10y} / acc: │

00:00:32 #3540 [Verbose] > │ {v1} / roll: {v3}"                                                           │

00:00:32 #3541 [Verbose] > │             System.Console.WriteLine v12                                     │

00:00:32 #3542 [Verbose] > │             method29(v4, v1)                                                 │

00:00:32 #3543 [Verbose] > │     | UH1_1 -> (* Nil *)                                                     │

00:00:32 #3544 [Verbose] > │         US5_0                                                                │

00:00:32 #3545 [Verbose] > │ and method27 (v0 : UH1, v1 : int64) : US5 =                                  │

00:00:32 #3546 [Verbose] > │     match v0 with                                                            │

00:00:32 #3547 [Verbose] > │     | UH1_0(v3, v4) -> (* Cons *)                                            │

00:00:32 #3548 [Verbose] > │         let v5 : bool = v3 > 1uy                                             │

00:00:32 #3549 [Verbose] > │         if v5 then                                                           │

00:00:32 #3550 [Verbose] > │             let v6 : uint8 = v3 - 1uy                                        │

00:00:32 #3551 [Verbose] > │             let v7 : int64 = int64 v6                                        │

00:00:32 #3552 [Verbose] > │             let v8 : int64 = v7 * 362797056L                                 │

00:00:32 #3553 [Verbose] > │             let v9 : string = $"accumulate_dice_rolls / power: {11y} / acc:  │

00:00:32 #3554 [Verbose] > │ {v1} / roll: {v3} / value: {v8}"                                             │

00:00:32 #3555 [Verbose] > │             System.Console.WriteLine v9                                      │

00:00:32 #3556 [Verbose] > │             let v10 : int64 = v1 + v8                                        │

00:00:32 #3557 [Verbose] > │             method28(v4, v10)                                                │

00:00:32 #3558 [Verbose] > │         else                                                                 │

00:00:32 #3559 [Verbose] > │             let v12 : string = $"accumulate_dice_rolls / power: {11y} / acc: │

00:00:32 #3560 [Verbose] > │ {v1} / roll: {v3}"                                                           │

00:00:32 #3561 [Verbose] > │             System.Console.WriteLine v12                                     │

00:00:32 #3562 [Verbose] > │             method28(v4, v1)                                                 │

00:00:32 #3563 [Verbose] > │     | UH1_1 -> (* Nil *)                                                     │

00:00:32 #3564 [Verbose] > │         US5_0                                                                │

00:00:32 #3565 [Verbose] > │ and method26 (v0 : UH1, v1 : int64) : US5 =                                  │

00:00:32 #3566 [Verbose] > │     match v0 with                                                            │

00:00:32 #3567 [Verbose] > │     | UH1_0(v3, v4) -> (* Cons *)                                            │

00:00:32 #3568 [Verbose] > │         let v5 : bool = v3 > 1uy                                             │

00:00:32 #3569 [Verbose] > │         if v5 then                                                           │

00:00:32 #3570 [Verbose] > │             let v6 : uint8 = v3 - 1uy                                        │

00:00:32 #3571 [Verbose] > │             let v7 : int64 = int64 v6                                        │

00:00:32 #3572 [Verbose] > │             let v8 : int64 = v7 * 2176782336L                                │

00:00:32 #3573 [Verbose] > │             let v9 : string = $"accumulate_dice_rolls / power: {12y} / acc:  │

00:00:32 #3574 [Verbose] > │ {v1} / roll: {v3} / value: {v8}"                                             │

00:00:32 #3575 [Verbose] > │             System.Console.WriteLine v9                                      │

00:00:32 #3576 [Verbose] > │             let v10 : int64 = v1 + v8                                        │

00:00:32 #3577 [Verbose] > │             method27(v4, v10)                                                │

00:00:32 #3578 [Verbose] > │         else                                                                 │

00:00:32 #3579 [Verbose] > │             let v12 : string = $"accumulate_dice_rolls / power: {12y} / acc: │

00:00:32 #3580 [Verbose] > │ {v1} / roll: {v3}"                                                           │

00:00:32 #3581 [Verbose] > │             System.Console.WriteLine v12                                     │

00:00:32 #3582 [Verbose] > │             method27(v4, v1)                                                 │

00:00:32 #3583 [Verbose] > │     | UH1_1 -> (* Nil *)                                                     │

00:00:32 #3584 [Verbose] > │         US5_0                                                                │

00:00:32 #3585 [Verbose] > │ and method25 (v0 : UH1, v1 : int64) : US5 =                                  │

00:00:32 #3586 [Verbose] > │     match v0 with                                                            │

00:00:32 #3587 [Verbose] > │     | UH1_0(v3, v4) -> (* Cons *)                                            │

00:00:32 #3588 [Verbose] > │         let v5 : bool = v3 > 1uy                                             │

00:00:32 #3589 [Verbose] > │         if v5 then                                                           │

00:00:32 #3590 [Verbose] > │             let v6 : uint8 = v3 - 1uy                                        │

00:00:32 #3591 [Verbose] > │             let v7 : int64 = int64 v6                                        │

00:00:32 #3592 [Verbose] > │             let v8 : int64 = v7 * 13060694016L                               │

00:00:32 #3593 [Verbose] > │             let v9 : string = $"accumulate_dice_rolls / power: {13y} / acc:  │

00:00:32 #3594 [Verbose] > │ {v1} / roll: {v3} / value: {v8}"                                             │

00:00:32 #3595 [Verbose] > │             System.Console.WriteLine v9                                      │

00:00:32 #3596 [Verbose] > │             let v10 : int64 = v1 + v8                                        │

00:00:32 #3597 [Verbose] > │             method26(v4, v10)                                                │

00:00:32 #3598 [Verbose] > │         else                                                                 │

00:00:32 #3599 [Verbose] > │             let v12 : string = $"accumulate_dice_rolls / power: {13y} / acc: │

00:00:32 #3600 [Verbose] > │ {v1} / roll: {v3}"                                                           │

00:00:32 #3601 [Verbose] > │             System.Console.WriteLine v12                                     │

00:00:32 #3602 [Verbose] > │             method26(v4, v1)                                                 │

00:00:32 #3603 [Verbose] > │     | UH1_1 -> (* Nil *)                                                     │

00:00:32 #3604 [Verbose] > │         US5_0                                                                │

00:00:32 #3605 [Verbose] > │ and method24 (v0 : UH1, v1 : int64) : US5 =                                  │

00:00:32 #3606 [Verbose] > │     match v0 with                                                            │

00:00:32 #3607 [Verbose] > │     | UH1_0(v3, v4) -> (* Cons *)                                            │

00:00:32 #3608 [Verbose] > │         let v5 : bool = v3 > 1uy                                             │

00:00:32 #3609 [Verbose] > │         if v5 then                                                           │

00:00:32 #3610 [Verbose] > │             let v6 : uint8 = v3 - 1uy                                        │

00:00:32 #3611 [Verbose] > │             let v7 : int64 = int64 v6                                        │

00:00:32 #3612 [Verbose] > │             let v8 : int64 = v7 * 78364164096L                               │

00:00:32 #3613 [Verbose] > │             let v9 : string = $"accumulate_dice_rolls / power: {14y} / acc:  │

00:00:32 #3614 [Verbose] > │ {v1} / roll: {v3} / value: {v8}"                                             │

00:00:32 #3615 [Verbose] > │             System.Console.WriteLine v9                                      │

00:00:32 #3616 [Verbose] > │             let v10 : int64 = v1 + v8                                        │

00:00:32 #3617 [Verbose] > │             method25(v4, v10)                                                │

00:00:32 #3618 [Verbose] > │         else                                                                 │

00:00:32 #3619 [Verbose] > │             let v12 : string = $"accumulate_dice_rolls / power: {14y} / acc: │

00:00:32 #3620 [Verbose] > │ {v1} / roll: {v3}"                                                           │

00:00:32 #3621 [Verbose] > │             System.Console.WriteLine v12                                     │

00:00:32 #3622 [Verbose] > │             method25(v4, v1)                                                 │

00:00:32 #3623 [Verbose] > │     | UH1_1 -> (* Nil *)                                                     │

00:00:32 #3624 [Verbose] > │         US5_0                                                                │

00:00:32 #3625 [Verbose] > │ and method23 (v0 : UH1, v1 : int64) : US5 =                                  │

00:00:32 #3626 [Verbose] > │     match v0 with                                                            │

00:00:32 #3627 [Verbose] > │     | UH1_0(v3, v4) -> (* Cons *)                                            │

00:00:32 #3628 [Verbose] > │         let v5 : bool = v3 > 1uy                                             │

00:00:32 #3629 [Verbose] > │         if v5 then                                                           │

00:00:32 #3630 [Verbose] > │             let v6 : uint8 = v3 - 1uy                                        │

00:00:32 #3631 [Verbose] > │             let v7 : int64 = int64 v6                                        │

00:00:32 #3632 [Verbose] > │             let v8 : int64 = v7 * 470184984576L                              │

00:00:32 #3633 [Verbose] > │             let v9 : string = $"accumulate_dice_rolls / power: {15y} / acc:  │

00:00:32 #3634 [Verbose] > │ {v1} / roll: {v3} / value: {v8}"                                             │

00:00:32 #3635 [Verbose] > │             System.Console.WriteLine v9                                      │

00:00:32 #3636 [Verbose] > │             let v10 : int64 = v1 + v8                                        │

00:00:32 #3637 [Verbose] > │             method24(v4, v10)                                                │

00:00:32 #3638 [Verbose] > │         else                                                                 │

00:00:32 #3639 [Verbose] > │             let v12 : string = $"accumulate_dice_rolls / power: {15y} / acc: │

00:00:32 #3640 [Verbose] > │ {v1} / roll: {v3}"                                                           │

00:00:32 #3641 [Verbose] > │             System.Console.WriteLine v12                                     │

00:00:32 #3642 [Verbose] > │             method24(v4, v1)                                                 │

00:00:32 #3643 [Verbose] > │     | UH1_1 -> (* Nil *)                                                     │

00:00:32 #3644 [Verbose] > │         US5_0                                                                │

00:00:32 #3645 [Verbose] > │ and method22 (v0 : UH1, v1 : int64) : US5 =                                  │

00:00:32 #3646 [Verbose] > │     match v0 with                                                            │

00:00:32 #3647 [Verbose] > │     | UH1_0(v3, v4) -> (* Cons *)                                            │

00:00:32 #3648 [Verbose] > │         let v5 : bool = v3 > 1uy                                             │

00:00:32 #3649 [Verbose] > │         if v5 then                                                           │

00:00:32 #3650 [Verbose] > │             let v6 : uint8 = v3 - 1uy                                        │

00:00:32 #3651 [Verbose] > │             let v7 : int64 = int64 v6                                        │

00:00:32 #3652 [Verbose] > │             let v8 : int64 = v7 * 2821109907456L                             │

00:00:32 #3653 [Verbose] > │             let v9 : string = $"accumulate_dice_rolls / power: {16y} / acc:  │

00:00:32 #3654 [Verbose] > │ {v1} / roll: {v3} / value: {v8}"                                             │

00:00:32 #3655 [Verbose] > │             System.Console.WriteLine v9                                      │

00:00:32 #3656 [Verbose] > │             let v10 : int64 = v1 + v8                                        │

00:00:32 #3657 [Verbose] > │             method23(v4, v10)                                                │

00:00:32 #3658 [Verbose] > │         else                                                                 │

00:00:32 #3659 [Verbose] > │             let v12 : string = $"accumulate_dice_rolls / power: {16y} / acc: │

00:00:32 #3660 [Verbose] > │ {v1} / roll: {v3}"                                                           │

00:00:32 #3661 [Verbose] > │             System.Console.WriteLine v12                                     │

00:00:32 #3662 [Verbose] > │             method23(v4, v1)                                                 │

00:00:32 #3663 [Verbose] > │     | UH1_1 -> (* Nil *)                                                     │

00:00:32 #3664 [Verbose] > │         US5_0                                                                │

00:00:32 #3665 [Verbose] > │ and method21 (v0 : UH1, v1 : int64) : US5 =                                  │

00:00:32 #3666 [Verbose] > │     match v0 with                                                            │

00:00:32 #3667 [Verbose] > │     | UH1_0(v3, v4) -> (* Cons *)                                            │

00:00:32 #3668 [Verbose] > │         let v5 : bool = v3 > 1uy                                             │

00:00:32 #3669 [Verbose] > │         if v5 then                                                           │

00:00:32 #3670 [Verbose] > │             let v6 : uint8 = v3 - 1uy                                        │

00:00:32 #3671 [Verbose] > │             let v7 : int64 = int64 v6                                        │

00:00:32 #3672 [Verbose] > │             let v8 : int64 = v7 * 16926659444736L                            │

00:00:32 #3673 [Verbose] > │             let v9 : string = $"accumulate_dice_rolls / power: {17y} / acc:  │

00:00:32 #3674 [Verbose] > │ {v1} / roll: {v3} / value: {v8}"                                             │

00:00:32 #3675 [Verbose] > │             System.Console.WriteLine v9                                      │

00:00:32 #3676 [Verbose] > │             let v10 : int64 = v1 + v8                                        │

00:00:32 #3677 [Verbose] > │             method22(v4, v10)                                                │

00:00:32 #3678 [Verbose] > │         else                                                                 │

00:00:32 #3679 [Verbose] > │             let v12 : string = $"accumulate_dice_rolls / power: {17y} / acc: │

00:00:32 #3680 [Verbose] > │ {v1} / roll: {v3}"                                                           │

00:00:32 #3681 [Verbose] > │             System.Console.WriteLine v12                                     │

00:00:32 #3682 [Verbose] > │             method22(v4, v1)                                                 │

00:00:32 #3683 [Verbose] > │     | UH1_1 -> (* Nil *)                                                     │

00:00:32 #3684 [Verbose] > │         US5_0                                                                │

00:00:32 #3685 [Verbose] > │ and method20 (v0 : UH1, v1 : int64) : US5 =                                  │

00:00:32 #3686 [Verbose] > │     match v0 with                                                            │

00:00:32 #3687 [Verbose] > │     | UH1_0(v3, v4) -> (* Cons *)                                            │

00:00:32 #3688 [Verbose] > │         let v5 : bool = v3 > 1uy                                             │

00:00:32 #3689 [Verbose] > │         if v5 then                                                           │

00:00:32 #3690 [Verbose] > │             let v6 : uint8 = v3 - 1uy                                        │

00:00:32 #3691 [Verbose] > │             let v7 : int64 = int64 v6                                        │

00:00:32 #3692 [Verbose] > │             let v8 : int64 = v7 * 101559956668416L                           │

00:00:32 #3693 [Verbose] > │             let v9 : string = $"accumulate_dice_rolls / power: {18y} / acc:  │

00:00:32 #3694 [Verbose] > │ {v1} / roll: {v3} / value: {v8}"                                             │

00:00:32 #3695 [Verbose] > │             System.Console.WriteLine v9                                      │

00:00:32 #3696 [Verbose] > │             let v10 : int64 = v1 + v8                                        │

00:00:32 #3697 [Verbose] > │             method21(v4, v10)                                                │

00:00:32 #3698 [Verbose] > │         else                                                                 │

00:00:32 #3699 [Verbose] > │             let v12 : string = $"accumulate_dice_rolls / power: {18y} / acc: │

00:00:32 #3700 [Verbose] > │ {v1} / roll: {v3}"                                                           │

00:00:32 #3701 [Verbose] > │             System.Console.WriteLine v12                                     │

00:00:32 #3702 [Verbose] > │             method21(v4, v1)                                                 │

00:00:32 #3703 [Verbose] > │     | UH1_1 -> (* Nil *)                                                     │

00:00:32 #3704 [Verbose] > │         US5_0                                                                │

00:00:32 #3705 [Verbose] > │ and method19 (v0 : UH1, v1 : int64) : US5 =                                  │

00:00:32 #3706 [Verbose] > │     match v0 with                                                            │

00:00:32 #3707 [Verbose] > │     | UH1_0(v3, v4) -> (* Cons *)                                            │

00:00:32 #3708 [Verbose] > │         let v5 : bool = v3 > 1uy                                             │

00:00:32 #3709 [Verbose] > │         if v5 then                                                           │

00:00:32 #3710 [Verbose] > │             let v6 : uint8 = v3 - 1uy                                        │

00:00:32 #3711 [Verbose] > │             let v7 : int64 = int64 v6                                        │

00:00:32 #3712 [Verbose] > │             let v8 : int64 = v7 * 609359740010496L                           │

00:00:32 #3713 [Verbose] > │             let v9 : string = $"accumulate_dice_rolls / power: {19y} / acc:  │

00:00:32 #3714 [Verbose] > │ {v1} / roll: {v3} / value: {v8}"                                             │

00:00:32 #3715 [Verbose] > │             System.Console.WriteLine v9                                      │

00:00:32 #3716 [Verbose] > │             let v10 : int64 = v1 + v8                                        │

00:00:32 #3717 [Verbose] > │             method20(v4, v10)                                                │

00:00:32 #3718 [Verbose] > │         else                                                                 │

00:00:32 #3719 [Verbose] > │             let v12 : string = $"accumulate_dice_rolls / power: {19y} / acc: │

00:00:32 #3720 [Verbose] > │ {v1} / roll: {v3}"                                                           │

00:00:32 #3721 [Verbose] > │             System.Console.WriteLine v12                                     │

00:00:32 #3722 [Verbose] > │             method20(v4, v1)                                                 │

00:00:32 #3723 [Verbose] > │     | UH1_1 -> (* Nil *)                                                     │

00:00:32 #3724 [Verbose] > │         US5_0                                                                │

00:00:32 #3725 [Verbose] > │ and method18 (v0 : UH1, v1 : int64) : US5 =                                  │

00:00:32 #3726 [Verbose] > │     match v0 with                                                            │

00:00:32 #3727 [Verbose] > │     | UH1_0(v3, v4) -> (* Cons *)                                            │

00:00:32 #3728 [Verbose] > │         let v5 : bool = v3 > 1uy                                             │

00:00:32 #3729 [Verbose] > │         if v5 then                                                           │

00:00:32 #3730 [Verbose] > │             let v6 : uint8 = v3 - 1uy                                        │

00:00:32 #3731 [Verbose] > │             let v7 : int64 = int64 v6                                        │

00:00:32 #3732 [Verbose] > │             let v8 : int64 = v7 * 3656158440062976L                          │

00:00:32 #3733 [Verbose] > │             let v9 : string = $"accumulate_dice_rolls / power: {20y} / acc:  │

00:00:32 #3734 [Verbose] > │ {v1} / roll: {v3} / value: {v8}"                                             │

00:00:32 #3735 [Verbose] > │             System.Console.WriteLine v9                                      │

00:00:32 #3736 [Verbose] > │             let v10 : int64 = v1 + v8                                        │

00:00:32 #3737 [Verbose] > │             method19(v4, v10)                                                │

00:00:32 #3738 [Verbose] > │         else                                                                 │

00:00:32 #3739 [Verbose] > │             let v12 : string = $"accumulate_dice_rolls / power: {20y} / acc: │

00:00:32 #3740 [Verbose] > │ {v1} / roll: {v3}"                                                           │

00:00:32 #3741 [Verbose] > │             System.Console.WriteLine v12                                     │

00:00:32 #3742 [Verbose] > │             method19(v4, v1)                                                 │

00:00:32 #3743 [Verbose] > │     | UH1_1 -> (* Nil *)                                                     │

00:00:32 #3744 [Verbose] > │         US5_0                                                                │

00:00:32 #3745 [Verbose] > │ and method17 (v0 : UH1, v1 : int64) : US5 =                                  │

00:00:32 #3746 [Verbose] > │     match v0 with                                                            │

00:00:32 #3747 [Verbose] > │     | UH1_0(v3, v4) -> (* Cons *)                                            │

00:00:32 #3748 [Verbose] > │         let v5 : bool = v3 > 1uy                                             │

00:00:32 #3749 [Verbose] > │         if v5 then                                                           │

00:00:32 #3750 [Verbose] > │             let v6 : uint8 = v3 - 1uy                                        │

00:00:32 #3751 [Verbose] > │             let v7 : int64 = int64 v6                                        │

00:00:32 #3752 [Verbose] > │             let v8 : int64 = v7 * 21936950640377856L                         │

00:00:32 #3753 [Verbose] > │             let v9 : string = $"accumulate_dice_rolls / power: {21y} / acc:  │

00:00:32 #3754 [Verbose] > │ {v1} / roll: {v3} / value: {v8}"                                             │

00:00:32 #3755 [Verbose] > │             System.Console.WriteLine v9                                      │

00:00:32 #3756 [Verbose] > │             let v10 : int64 = v1 + v8                                        │

00:00:32 #3757 [Verbose] > │             method18(v4, v10)                                                │

00:00:32 #3758 [Verbose] > │         else                                                                 │

00:00:32 #3759 [Verbose] > │             let v12 : string = $"accumulate_dice_rolls / power: {21y} / acc: │

00:00:32 #3760 [Verbose] > │ {v1} / roll: {v3}"                                                           │

00:00:32 #3761 [Verbose] > │             System.Console.WriteLine v12                                     │

00:00:32 #3762 [Verbose] > │             method18(v4, v1)                                                 │

00:00:32 #3763 [Verbose] > │     | UH1_1 -> (* Nil *)                                                     │

00:00:32 #3764 [Verbose] > │         US5_0                                                                │

00:00:32 #3765 [Verbose] > │ and method16 (v0 : UH1, v1 : int64) : US5 =                                  │

00:00:32 #3766 [Verbose] > │     match v0 with                                                            │

00:00:32 #3767 [Verbose] > │     | UH1_0(v3, v4) -> (* Cons *)                                            │

00:00:32 #3768 [Verbose] > │         let v5 : bool = v3 > 1uy                                             │

00:00:32 #3769 [Verbose] > │         if v5 then                                                           │

00:00:32 #3770 [Verbose] > │             let v6 : uint8 = v3 - 1uy                                        │

00:00:32 #3771 [Verbose] > │             let v7 : int64 = int64 v6                                        │

00:00:32 #3772 [Verbose] > │             let v8 : int64 = v7 * 131621703842267136L                        │

00:00:32 #3773 [Verbose] > │             let v9 : string = $"accumulate_dice_rolls / power: {22y} / acc:  │

00:00:32 #3774 [Verbose] > │ {v1} / roll: {v3} / value: {v8}"                                             │

00:00:32 #3775 [Verbose] > │             System.Console.WriteLine v9                                      │

00:00:32 #3776 [Verbose] > │             let v10 : int64 = v1 + v8                                        │

00:00:32 #3777 [Verbose] > │             method17(v4, v10)                                                │

00:00:32 #3778 [Verbose] > │         else                                                                 │

00:00:32 #3779 [Verbose] > │             let v12 : string = $"accumulate_dice_rolls / power: {22y} / acc: │

00:00:32 #3780 [Verbose] > │ {v1} / roll: {v3}"                                                           │

00:00:32 #3781 [Verbose] > │             System.Console.WriteLine v12                                     │

00:00:32 #3782 [Verbose] > │             method17(v4, v1)                                                 │

00:00:32 #3783 [Verbose] > │     | UH1_1 -> (* Nil *)                                                     │

00:00:32 #3784 [Verbose] > │         US5_0                                                                │

00:00:32 #3785 [Verbose] > │ and method15 (v0 : UH1, v1 : int64) : US5 =                                  │

00:00:32 #3786 [Verbose] > │     match v0 with                                                            │

00:00:32 #3787 [Verbose] > │     | UH1_0(v3, v4) -> (* Cons *)                                            │

00:00:32 #3788 [Verbose] > │         let v5 : bool = v3 > 1uy                                             │

00:00:32 #3789 [Verbose] > │         if v5 then                                                           │

00:00:32 #3790 [Verbose] > │             let v6 : uint8 = v3 - 1uy                                        │

00:00:32 #3791 [Verbose] > │             let v7 : int64 = int64 v6                                        │

00:00:32 #3792 [Verbose] > │             let v8 : int64 = v7 * 789730223053602816L                        │

00:00:32 #3793 [Verbose] > │             let v9 : string = $"accumulate_dice_rolls / power: {23y} / acc:  │

00:00:32 #3794 [Verbose] > │ {v1} / roll: {v3} / value: {v8}"                                             │

00:00:32 #3795 [Verbose] > │             System.Console.WriteLine v9                                      │

00:00:32 #3796 [Verbose] > │             let v10 : int64 = v1 + v8                                        │

00:00:32 #3797 [Verbose] > │             method16(v4, v10)                                                │

00:00:32 #3798 [Verbose] > │         else                                                                 │

00:00:32 #3799 [Verbose] > │             let v12 : string = $"accumulate_dice_rolls / power: {23y} / acc: │

00:00:32 #3800 [Verbose] > │ {v1} / roll: {v3}"                                                           │

00:00:32 #3801 [Verbose] > │             System.Console.WriteLine v12                                     │

00:00:32 #3802 [Verbose] > │             method16(v4, v1)                                                 │

00:00:32 #3803 [Verbose] > │     | UH1_1 -> (* Nil *)                                                     │

00:00:32 #3804 [Verbose] > │         US5_0                                                                │

00:00:32 #3805 [Verbose] > │ and method14 (v0 : UH1, v1 : int8) : int64 =                                 │

00:00:32 #3806 [Verbose] > │     let v2 : bool = v1 < 24y                                                 │

00:00:32 #3807 [Verbose] > │     if v2 then                                                               │

00:00:32 #3808 [Verbose] > │         let mutable result = None                                            │

00:00:32 #3809 [Verbose] > │         #if FABLE_COMPILER_RUST                                              │

00:00:32 #3810 [Verbose] > │         #if !WASM                                                            │

00:00:32 #3811 [Verbose] > │         let v3 : string = "rand::Rng::gen_range(&mut rand::thread_rng(),     │

00:00:32 #3812 [Verbose] > │ 1..7)"                                                                       │

00:00:32 #3813 [Verbose] > │         let v4 : uint8 = Fable.Core.RustInterop.emitRustExpr () v3           │

00:00:32 #3814 [Verbose] > │         v4                                                                   │

00:00:32 #3815 [Verbose] > │         #else                                                                │

00:00:32 #3816 [Verbose] > │         let v5 : string = "1"                                                │

00:00:32 #3817 [Verbose] > │         let v6 : uint8 = Fable.Core.RustInterop.emitRustExpr () v5           │

00:00:32 #3818 [Verbose] > │         v6                                                                   │

00:00:32 #3819 [Verbose] > │         #endif                                                               │

00:00:32 #3820 [Verbose] > │         #else                                                                │

00:00:32 #3821 [Verbose] > │         let v7 : uint8 = System.Random().Next (1, 7) |> uint8                │

00:00:32 #3822 [Verbose] > │         v7                                                                   │

00:00:32 #3823 [Verbose] > │         #endif                                                               │

00:00:32 #3824 [Verbose] > │         |> fun x -> result <- Some x                                         │

00:00:32 #3825 [Verbose] > │         let v8 : uint8 = result |> Option.get                                │

00:00:32 #3826 [Verbose] > │         let v9 : UH1 = UH1_0(v8, v0)                                         │

00:00:32 #3827 [Verbose] > │         let v10 : int8 = v1 + 1y                                             │

00:00:32 #3828 [Verbose] > │         method14(v9, v10)                                                    │

00:00:32 #3829 [Verbose] > │     else                                                                     │

00:00:32 #3830 [Verbose] > │         let v12 : int64 = 0L                                                 │

00:00:32 #3831 [Verbose] > │         let v13 : US5 = method15(v0, v12)                                    │

00:00:32 #3832 [Verbose] > │         match v13 with                                                       │

00:00:32 #3833 [Verbose] > │         | US5_1(v14, v15) -> (* Some *)                                      │

00:00:32 #3834 [Verbose] > │             let v16 : bool = v14 <= 9223372036854775807L                     │

00:00:32 #3835 [Verbose] > │             if v16 then                                                      │

00:00:32 #3836 [Verbose] > │                 v14                                                          │

00:00:32 #3837 [Verbose] > │             else                                                             │

00:00:32 #3838 [Verbose] > │                 let mutable result = None                                    │

00:00:32 #3839 [Verbose] > │                 #if FABLE_COMPILER_RUST                                      │

00:00:32 #3840 [Verbose] > │                 #if !WASM                                                    │

00:00:32 #3841 [Verbose] > │                 let v17 : string = "rand::Rng::gen_range(&mut                │

00:00:32 #3842 [Verbose] > │ rand::thread_rng(), 1..7)"                                                   │

00:00:32 #3843 [Verbose] > │                 let v18 : uint8 = Fable.Core.RustInterop.emitRustExpr () v17 │

00:00:32 #3844 [Verbose] > │                 v18                                                          │

00:00:32 #3845 [Verbose] > │                 #else                                                        │

00:00:32 #3846 [Verbose] > │                 let v19 : string = "1"                                       │

00:00:32 #3847 [Verbose] > │                 let v20 : uint8 = Fable.Core.RustInterop.emitRustExpr () v19 │

00:00:32 #3848 [Verbose] > │                 v20                                                          │

00:00:32 #3849 [Verbose] > │                 #endif                                                       │

00:00:32 #3850 [Verbose] > │                 #else                                                        │

00:00:32 #3851 [Verbose] > │                 let v21 : uint8 = System.Random().Next (1, 7) |> uint8       │

00:00:32 #3852 [Verbose] > │                 v21                                                          │

00:00:32 #3853 [Verbose] > │                 #endif                                                       │

00:00:32 #3854 [Verbose] > │                 |> fun x -> result <- Some x                                 │

00:00:32 #3855 [Verbose] > │                 let v22 : uint8 = result |> Option.get                       │

00:00:32 #3856 [Verbose] > │                 let mutable result = None                                    │

00:00:32 #3857 [Verbose] > │                 #if FABLE_COMPILER_RUST                                      │

00:00:32 #3858 [Verbose] > │                 #if !WASM                                                    │

00:00:32 #3859 [Verbose] > │                 let v23 : uint8 = Fable.Core.RustInterop.emitRustExpr () v17 │

00:00:32 #3860 [Verbose] > │                 v23                                                          │

00:00:32 #3861 [Verbose] > │                 #else                                                        │

00:00:32 #3862 [Verbose] > │                 let v24 : uint8 = Fable.Core.RustInterop.emitRustExpr () v19 │

00:00:32 #3863 [Verbose] > │                 v24                                                          │

00:00:32 #3864 [Verbose] > │                 #endif                                                       │

00:00:32 #3865 [Verbose] > │                 #else                                                        │

00:00:32 #3866 [Verbose] > │                 let v25 : uint8 = System.Random().Next (1, 7) |> uint8       │

00:00:32 #3867 [Verbose] > │                 v25                                                          │

00:00:32 #3868 [Verbose] > │                 #endif                                                       │

00:00:32 #3869 [Verbose] > │                 |> fun x -> result <- Some x                                 │

00:00:32 #3870 [Verbose] > │                 let v26 : uint8 = result |> Option.get                       │

00:00:32 #3871 [Verbose] > │                 let mutable result = None                                    │

00:00:32 #3872 [Verbose] > │                 #if FABLE_COMPILER_RUST                                      │

00:00:32 #3873 [Verbose] > │                 #if !WASM                                                    │

00:00:32 #3874 [Verbose] > │                 let v27 : uint8 = Fable.Core.RustInterop.emitRustExpr () v17 │

00:00:32 #3875 [Verbose] > │                 v27                                                          │

00:00:32 #3876 [Verbose] > │                 #else                                                        │

00:00:32 #3877 [Verbose] > │                 let v28 : uint8 = Fable.Core.RustInterop.emitRustExpr () v19 │

00:00:32 #3878 [Verbose] > │                 v28                                                          │

00:00:32 #3879 [Verbose] > │                 #endif                                                       │

00:00:32 #3880 [Verbose] > │                 #else                                                        │

00:00:32 #3881 [Verbose] > │                 let v29 : uint8 = System.Random().Next (1, 7) |> uint8       │

00:00:32 #3882 [Verbose] > │                 v29                                                          │

00:00:32 #3883 [Verbose] > │                 #endif                                                       │

00:00:32 #3884 [Verbose] > │                 |> fun x -> result <- Some x                                 │

00:00:32 #3885 [Verbose] > │                 let v30 : uint8 = result |> Option.get                       │

00:00:32 #3886 [Verbose] > │                 let mutable result = None                                    │

00:00:32 #3887 [Verbose] > │                 #if FABLE_COMPILER_RUST                                      │

00:00:32 #3888 [Verbose] > │                 #if !WASM                                                    │

00:00:32 #3889 [Verbose] > │                 let v31 : uint8 = Fable.Core.RustInterop.emitRustExpr () v17 │

00:00:32 #3890 [Verbose] > │                 v31                                                          │

00:00:32 #3891 [Verbose] > │                 #else                                                        │

00:00:32 #3892 [Verbose] > │                 let v32 : uint8 = Fable.Core.RustInterop.emitRustExpr () v19 │

00:00:32 #3893 [Verbose] > │                 v32                                                          │

00:00:32 #3894 [Verbose] > │                 #endif                                                       │

00:00:32 #3895 [Verbose] > │                 #else                                                        │

00:00:32 #3896 [Verbose] > │                 let v33 : uint8 = System.Random().Next (1, 7) |> uint8       │

00:00:32 #3897 [Verbose] > │                 v33                                                          │

00:00:32 #3898 [Verbose] > │                 #endif                                                       │

00:00:32 #3899 [Verbose] > │                 |> fun x -> result <- Some x                                 │

00:00:32 #3900 [Verbose] > │                 let v34 : uint8 = result |> Option.get                       │

00:00:32 #3901 [Verbose] > │                 let mutable result = None                                    │

00:00:32 #3902 [Verbose] > │                 #if FABLE_COMPILER_RUST                                      │

00:00:32 #3903 [Verbose] > │                 #if !WASM                                                    │

00:00:32 #3904 [Verbose] > │                 let v35 : uint8 = Fable.Core.RustInterop.emitRustExpr () v17 │

00:00:32 #3905 [Verbose] > │                 v35                                                          │

00:00:32 #3906 [Verbose] > │                 #else                                                        │

00:00:32 #3907 [Verbose] > │                 let v36 : uint8 = Fable.Core.RustInterop.emitRustExpr () v19 │

00:00:32 #3908 [Verbose] > │                 v36                                                          │

00:00:32 #3909 [Verbose] > │                 #endif                                                       │

00:00:32 #3910 [Verbose] > │                 #else                                                        │

00:00:32 #3911 [Verbose] > │                 let v37 : uint8 = System.Random().Next (1, 7) |> uint8       │

00:00:32 #3912 [Verbose] > │                 v37                                                          │

00:00:32 #3913 [Verbose] > │                 #endif                                                       │

00:00:32 #3914 [Verbose] > │                 |> fun x -> result <- Some x                                 │

00:00:32 #3915 [Verbose] > │                 let v38 : uint8 = result |> Option.get                       │

00:00:32 #3916 [Verbose] > │                 let mutable result = None                                    │

00:00:32 #3917 [Verbose] > │                 #if FABLE_COMPILER_RUST                                      │

00:00:32 #3918 [Verbose] > │                 #if !WASM                                                    │

00:00:32 #3919 [Verbose] > │                 let v39 : uint8 = Fable.Core.RustInterop.emitRustExpr () v17 │

00:00:32 #3920 [Verbose] > │                 v39                                                          │

00:00:32 #3921 [Verbose] > │                 #else                                                        │

00:00:32 #3922 [Verbose] > │                 let v40 : uint8 = Fable.Core.RustInterop.emitRustExpr () v19 │

00:00:32 #3923 [Verbose] > │                 v40                                                          │

00:00:32 #3924 [Verbose] > │                 #endif                                                       │

00:00:32 #3925 [Verbose] > │                 #else                                                        │

00:00:32 #3926 [Verbose] > │                 let v41 : uint8 = System.Random().Next (1, 7) |> uint8       │

00:00:32 #3927 [Verbose] > │                 v41                                                          │

00:00:32 #3928 [Verbose] > │                 #endif                                                       │

00:00:32 #3929 [Verbose] > │                 |> fun x -> result <- Some x                                 │

00:00:32 #3930 [Verbose] > │                 let v42 : uint8 = result |> Option.get                       │

00:00:32 #3931 [Verbose] > │                 let mutable result = None                                    │

00:00:32 #3932 [Verbose] > │                 #if FABLE_COMPILER_RUST                                      │

00:00:32 #3933 [Verbose] > │                 #if !WASM                                                    │

00:00:32 #3934 [Verbose] > │                 let v43 : uint8 = Fable.Core.RustInterop.emitRustExpr () v17 │

00:00:32 #3935 [Verbose] > │                 v43                                                          │

00:00:32 #3936 [Verbose] > │                 #else                                                        │

00:00:32 #3937 [Verbose] > │                 let v44 : uint8 = Fable.Core.RustInterop.emitRustExpr () v19 │

00:00:32 #3938 [Verbose] > │                 v44                                                          │

00:00:32 #3939 [Verbose] > │                 #endif                                                       │

00:00:32 #3940 [Verbose] > │                 #else                                                        │

00:00:32 #3941 [Verbose] > │                 let v45 : uint8 = System.Random().Next (1, 7) |> uint8       │

00:00:32 #3942 [Verbose] > │                 v45                                                          │

00:00:32 #3943 [Verbose] > │                 #endif                                                       │

00:00:32 #3944 [Verbose] > │                 |> fun x -> result <- Some x                                 │

00:00:32 #3945 [Verbose] > │                 let v46 : uint8 = result |> Option.get                       │

00:00:32 #3946 [Verbose] > │                 let mutable result = None                                    │

00:00:32 #3947 [Verbose] > │                 #if FABLE_COMPILER_RUST                                      │

00:00:32 #3948 [Verbose] > │                 #if !WASM                                                    │

00:00:32 #3949 [Verbose] > │                 let v47 : uint8 = Fable.Core.RustInterop.emitRustExpr () v17 │

00:00:32 #3950 [Verbose] > │                 v47                                                          │

00:00:32 #3951 [Verbose] > │                 #else                                                        │

00:00:32 #3952 [Verbose] > │                 let v48 : uint8 = Fable.Core.RustInterop.emitRustExpr () v19 │

00:00:32 #3953 [Verbose] > │                 v48                                                          │

00:00:32 #3954 [Verbose] > │                 #endif                                                       │

00:00:32 #3955 [Verbose] > │                 #else                                                        │

00:00:32 #3956 [Verbose] > │                 let v49 : uint8 = System.Random().Next (1, 7) |> uint8       │

00:00:32 #3957 [Verbose] > │                 v49                                                          │

00:00:32 #3958 [Verbose] > │                 #endif                                                       │

00:00:32 #3959 [Verbose] > │                 |> fun x -> result <- Some x                                 │

00:00:32 #3960 [Verbose] > │                 let v50 : uint8 = result |> Option.get                       │

00:00:32 #3961 [Verbose] > │                 let mutable result = None                                    │

00:00:32 #3962 [Verbose] > │                 #if FABLE_COMPILER_RUST                                      │

00:00:32 #3963 [Verbose] > │                 #if !WASM                                                    │

00:00:32 #3964 [Verbose] > │                 let v51 : uint8 = Fable.Core.RustInterop.emitRustExpr () v17 │

00:00:32 #3965 [Verbose] > │                 v51                                                          │

00:00:32 #3966 [Verbose] > │                 #else                                                        │

00:00:32 #3967 [Verbose] > │                 let v52 : uint8 = Fable.Core.RustInterop.emitRustExpr () v19 │

00:00:32 #3968 [Verbose] > │                 v52                                                          │

00:00:32 #3969 [Verbose] > │                 #endif                                                       │

00:00:32 #3970 [Verbose] > │                 #else                                                        │

00:00:32 #3971 [Verbose] > │                 let v53 : uint8 = System.Random().Next (1, 7) |> uint8       │

00:00:32 #3972 [Verbose] > │                 v53                                                          │

00:00:32 #3973 [Verbose] > │                 #endif                                                       │

00:00:32 #3974 [Verbose] > │                 |> fun x -> result <- Some x                                 │

00:00:32 #3975 [Verbose] > │                 let v54 : uint8 = result |> Option.get                       │

00:00:32 #3976 [Verbose] > │                 let mutable result = None                                    │

00:00:32 #3977 [Verbose] > │                 #if FABLE_COMPILER_RUST                                      │

00:00:32 #3978 [Verbose] > │                 #if !WASM                                                    │

00:00:32 #3979 [Verbose] > │                 let v55 : uint8 = Fable.Core.RustInterop.emitRustExpr () v17 │

00:00:32 #3980 [Verbose] > │                 v55                                                          │

00:00:32 #3981 [Verbose] > │                 #else                                                        │

00:00:32 #3982 [Verbose] > │                 let v56 : uint8 = Fable.Core.RustInterop.emitRustExpr () v19 │

00:00:32 #3983 [Verbose] > │                 v56                                                          │

00:00:32 #3984 [Verbose] > │                 #endif                                                       │

00:00:32 #3985 [Verbose] > │                 #else                                                        │

00:00:32 #3986 [Verbose] > │                 let v57 : uint8 = System.Random().Next (1, 7) |> uint8       │

00:00:32 #3987 [Verbose] > │                 v57                                                          │

00:00:32 #3988 [Verbose] > │                 #endif                                                       │

00:00:32 #3989 [Verbose] > │                 |> fun x -> result <- Some x                                 │

00:00:32 #3990 [Verbose] > │                 let v58 : uint8 = result |> Option.get                       │

00:00:32 #3991 [Verbose] > │                 let mutable result = None                                    │

00:00:32 #3992 [Verbose] > │                 #if FABLE_COMPILER_RUST                                      │

00:00:32 #3993 [Verbose] > │                 #if !WASM                                                    │

00:00:32 #3994 [Verbose] > │                 let v59 : uint8 = Fable.Core.RustInterop.emitRustExpr () v17 │

00:00:32 #3995 [Verbose] > │                 v59                                                          │

00:00:32 #3996 [Verbose] > │                 #else                                                        │

00:00:32 #3997 [Verbose] > │                 let v60 : uint8 = Fable.Core.RustInterop.emitRustExpr () v19 │

00:00:32 #3998 [Verbose] > │                 v60                                                          │

00:00:32 #3999 [Verbose] > │                 #endif                                                       │

00:00:32 #4000 [Verbose] > │                 #else                                                        │

00:00:32 #4001 [Verbose] > │                 let v61 : uint8 = System.Random().Next (1, 7) |> uint8       │

00:00:32 #4002 [Verbose] > │                 v61                                                          │

00:00:32 #4003 [Verbose] > │                 #endif                                                       │

00:00:32 #4004 [Verbose] > │                 |> fun x -> result <- Some x                                 │

00:00:32 #4005 [Verbose] > │                 let v62 : uint8 = result |> Option.get                       │

00:00:32 #4006 [Verbose] > │                 let mutable result = None                                    │

00:00:32 #4007 [Verbose] > │                 #if FABLE_COMPILER_RUST                                      │

00:00:32 #4008 [Verbose] > │                 #if !WASM                                                    │

00:00:32 #4009 [Verbose] > │                 let v63 : uint8 = Fable.Core.RustInterop.emitRustExpr () v17 │

00:00:32 #4010 [Verbose] > │                 v63                                                          │

00:00:32 #4011 [Verbose] > │                 #else                                                        │

00:00:32 #4012 [Verbose] > │                 let v64 : uint8 = Fable.Core.RustInterop.emitRustExpr () v19 │

00:00:32 #4013 [Verbose] > │                 v64                                                          │

00:00:32 #4014 [Verbose] > │                 #endif                                                       │

00:00:32 #4015 [Verbose] > │                 #else                                                        │

00:00:32 #4016 [Verbose] > │                 let v65 : uint8 = System.Random().Next (1, 7) |> uint8       │

00:00:32 #4017 [Verbose] > │                 v65                                                          │

00:00:32 #4018 [Verbose] > │                 #endif                                                       │

00:00:32 #4019 [Verbose] > │                 |> fun x -> result <- Some x                                 │

00:00:32 #4020 [Verbose] > │                 let v66 : uint8 = result |> Option.get                       │

00:00:32 #4021 [Verbose] > │                 let mutable result = None                                    │

00:00:32 #4022 [Verbose] > │                 #if FABLE_COMPILER_RUST                                      │

00:00:32 #4023 [Verbose] > │                 #if !WASM                                                    │

00:00:32 #4024 [Verbose] > │                 let v67 : uint8 = Fable.Core.RustInterop.emitRustExpr () v17 │

00:00:32 #4025 [Verbose] > │                 v67                                                          │

00:00:32 #4026 [Verbose] > │                 #else                                                        │

00:00:32 #4027 [Verbose] > │                 let v68 : uint8 = Fable.Core.RustInterop.emitRustExpr () v19 │

00:00:32 #4028 [Verbose] > │                 v68                                                          │

00:00:32 #4029 [Verbose] > │                 #endif                                                       │

00:00:32 #4030 [Verbose] > │                 #else                                                        │

00:00:32 #4031 [Verbose] > │                 let v69 : uint8 = System.Random().Next (1, 7) |> uint8       │

00:00:32 #4032 [Verbose] > │                 v69                                                          │

00:00:32 #4033 [Verbose] > │                 #endif                                                       │

00:00:32 #4034 [Verbose] > │                 |> fun x -> result <- Some x                                 │

00:00:32 #4035 [Verbose] > │                 let v70 : uint8 = result |> Option.get                       │

00:00:32 #4036 [Verbose] > │                 let mutable result = None                                    │

00:00:32 #4037 [Verbose] > │                 #if FABLE_COMPILER_RUST                                      │

00:00:32 #4038 [Verbose] > │                 #if !WASM                                                    │

00:00:32 #4039 [Verbose] > │                 let v71 : uint8 = Fable.Core.RustInterop.emitRustExpr () v17 │

00:00:32 #4040 [Verbose] > │                 v71                                                          │

00:00:32 #4041 [Verbose] > │                 #else                                                        │

00:00:32 #4042 [Verbose] > │                 let v72 : uint8 = Fable.Core.RustInterop.emitRustExpr () v19 │

00:00:32 #4043 [Verbose] > │                 v72                                                          │

00:00:32 #4044 [Verbose] > │                 #endif                                                       │

00:00:32 #4045 [Verbose] > │                 #else                                                        │

00:00:32 #4046 [Verbose] > │                 let v73 : uint8 = System.Random().Next (1, 7) |> uint8       │

00:00:32 #4047 [Verbose] > │                 v73                                                          │

00:00:32 #4048 [Verbose] > │                 #endif                                                       │

00:00:32 #4049 [Verbose] > │                 |> fun x -> result <- Some x                                 │

00:00:32 #4050 [Verbose] > │                 let v74 : uint8 = result |> Option.get                       │

00:00:32 #4051 [Verbose] > │                 let mutable result = None                                    │

00:00:32 #4052 [Verbose] > │                 #if FABLE_COMPILER_RUST                                      │

00:00:32 #4053 [Verbose] > │                 #if !WASM                                                    │

00:00:32 #4054 [Verbose] > │                 let v75 : uint8 = Fable.Core.RustInterop.emitRustExpr () v17 │

00:00:32 #4055 [Verbose] > │                 v75                                                          │

00:00:32 #4056 [Verbose] > │                 #else                                                        │

00:00:32 #4057 [Verbose] > │                 let v76 : uint8 = Fable.Core.RustInterop.emitRustExpr () v19 │

00:00:32 #4058 [Verbose] > │                 v76                                                          │

00:00:32 #4059 [Verbose] > │                 #endif                                                       │

00:00:32 #4060 [Verbose] > │                 #else                                                        │

00:00:32 #4061 [Verbose] > │                 let v77 : uint8 = System.Random().Next (1, 7) |> uint8       │

00:00:32 #4062 [Verbose] > │                 v77                                                          │

00:00:32 #4063 [Verbose] > │                 #endif                                                       │

00:00:32 #4064 [Verbose] > │                 |> fun x -> result <- Some x                                 │

00:00:32 #4065 [Verbose] > │                 let v78 : uint8 = result |> Option.get                       │

00:00:32 #4066 [Verbose] > │                 let mutable result = None                                    │

00:00:32 #4067 [Verbose] > │                 #if FABLE_COMPILER_RUST                                      │

00:00:32 #4068 [Verbose] > │                 #if !WASM                                                    │

00:00:32 #4069 [Verbose] > │                 let v79 : uint8 = Fable.Core.RustInterop.emitRustExpr () v17 │

00:00:32 #4070 [Verbose] > │                 v79                                                          │

00:00:32 #4071 [Verbose] > │                 #else                                                        │

00:00:32 #4072 [Verbose] > │                 let v80 : uint8 = Fable.Core.RustInterop.emitRustExpr () v19 │

00:00:32 #4073 [Verbose] > │                 v80                                                          │

00:00:32 #4074 [Verbose] > │                 #endif                                                       │

00:00:32 #4075 [Verbose] > │                 #else                                                        │

00:00:32 #4076 [Verbose] > │                 let v81 : uint8 = System.Random().Next (1, 7) |> uint8       │

00:00:32 #4077 [Verbose] > │                 v81                                                          │

00:00:32 #4078 [Verbose] > │                 #endif                                                       │

00:00:32 #4079 [Verbose] > │                 |> fun x -> result <- Some x                                 │

00:00:32 #4080 [Verbose] > │                 let v82 : uint8 = result |> Option.get                       │

00:00:32 #4081 [Verbose] > │                 let mutable result = None                                    │

00:00:32 #4082 [Verbose] > │                 #if FABLE_COMPILER_RUST                                      │

00:00:32 #4083 [Verbose] > │                 #if !WASM                                                    │

00:00:32 #4084 [Verbose] > │                 let v83 : uint8 = Fable.Core.RustInterop.emitRustExpr () v17 │

00:00:32 #4085 [Verbose] > │                 v83                                                          │

00:00:32 #4086 [Verbose] > │                 #else                                                        │

00:00:32 #4087 [Verbose] > │                 let v84 : uint8 = Fable.Core.RustInterop.emitRustExpr () v19 │

00:00:32 #4088 [Verbose] > │                 v84                                                          │

00:00:32 #4089 [Verbose] > │                 #endif                                                       │

00:00:32 #4090 [Verbose] > │                 #else                                                        │

00:00:32 #4091 [Verbose] > │                 let v85 : uint8 = System.Random().Next (1, 7) |> uint8       │

00:00:32 #4092 [Verbose] > │                 v85                                                          │

00:00:32 #4093 [Verbose] > │                 #endif                                                       │

00:00:32 #4094 [Verbose] > │                 |> fun x -> result <- Some x                                 │

00:00:32 #4095 [Verbose] > │                 let v86 : uint8 = result |> Option.get                       │

00:00:32 #4096 [Verbose] > │                 let mutable result = None                                    │

00:00:32 #4097 [Verbose] > │                 #if FABLE_COMPILER_RUST                                      │

00:00:32 #4098 [Verbose] > │                 #if !WASM                                                    │

00:00:32 #4099 [Verbose] > │                 let v87 : uint8 = Fable.Core.RustInterop.emitRustExpr () v17 │

00:00:32 #4100 [Verbose] > │                 v87                                                          │

00:00:32 #4101 [Verbose] > │                 #else                                                        │

00:00:32 #4102 [Verbose] > │                 let v88 : uint8 = Fable.Core.RustInterop.emitRustExpr () v19 │

00:00:32 #4103 [Verbose] > │                 v88                                                          │

00:00:32 #4104 [Verbose] > │                 #endif                                                       │

00:00:32 #4105 [Verbose] > │                 #else                                                        │

00:00:32 #4106 [Verbose] > │                 let v89 : uint8 = System.Random().Next (1, 7) |> uint8       │

00:00:32 #4107 [Verbose] > │                 v89                                                          │

00:00:32 #4108 [Verbose] > │                 #endif                                                       │

00:00:32 #4109 [Verbose] > │                 |> fun x -> result <- Some x                                 │

00:00:32 #4110 [Verbose] > │                 let v90 : uint8 = result |> Option.get                       │

00:00:32 #4111 [Verbose] > │                 let mutable result = None                                    │

00:00:32 #4112 [Verbose] > │                 #if FABLE_COMPILER_RUST                                      │

00:00:32 #4113 [Verbose] > │                 #if !WASM                                                    │

00:00:32 #4114 [Verbose] > │                 let v91 : uint8 = Fable.Core.RustInterop.emitRustExpr () v17 │

00:00:32 #4115 [Verbose] > │                 v91                                                          │

00:00:32 #4116 [Verbose] > │                 #else                                                        │

00:00:32 #4117 [Verbose] > │                 let v92 : uint8 = Fable.Core.RustInterop.emitRustExpr () v19 │

00:00:32 #4118 [Verbose] > │                 v92                                                          │

00:00:32 #4119 [Verbose] > │                 #endif                                                       │

00:00:32 #4120 [Verbose] > │                 #else                                                        │

00:00:32 #4121 [Verbose] > │                 let v93 : uint8 = System.Random().Next (1, 7) |> uint8       │

00:00:32 #4122 [Verbose] > │                 v93                                                          │

00:00:32 #4123 [Verbose] > │                 #endif                                                       │

00:00:32 #4124 [Verbose] > │                 |> fun x -> result <- Some x                                 │

00:00:32 #4125 [Verbose] > │                 let v94 : uint8 = result |> Option.get                       │

00:00:32 #4126 [Verbose] > │                 let mutable result = None                                    │

00:00:32 #4127 [Verbose] > │                 #if FABLE_COMPILER_RUST                                      │

00:00:32 #4128 [Verbose] > │                 #if !WASM                                                    │

00:00:32 #4129 [Verbose] > │                 let v95 : uint8 = Fable.Core.RustInterop.emitRustExpr () v17 │

00:00:32 #4130 [Verbose] > │                 v95                                                          │

00:00:32 #4131 [Verbose] > │                 #else                                                        │

00:00:32 #4132 [Verbose] > │                 let v96 : uint8 = Fable.Core.RustInterop.emitRustExpr () v19 │

00:00:32 #4133 [Verbose] > │                 v96                                                          │

00:00:32 #4134 [Verbose] > │                 #endif                                                       │

00:00:32 #4135 [Verbose] > │                 #else                                                        │

00:00:32 #4136 [Verbose] > │                 let v97 : uint8 = System.Random().Next (1, 7) |> uint8       │

00:00:32 #4137 [Verbose] > │                 v97                                                          │

00:00:32 #4138 [Verbose] > │                 #endif                                                       │

00:00:32 #4139 [Verbose] > │                 |> fun x -> result <- Some x                                 │

00:00:32 #4140 [Verbose] > │                 let v98 : uint8 = result |> Option.get                       │

00:00:32 #4141 [Verbose] > │                 let mutable result = None                                    │

00:00:32 #4142 [Verbose] > │                 #if FABLE_COMPILER_RUST                                      │

00:00:32 #4143 [Verbose] > │                 #if !WASM                                                    │

00:00:32 #4144 [Verbose] > │                 let v99 : uint8 = Fable.Core.RustInterop.emitRustExpr () v17 │

00:00:32 #4145 [Verbose] > │                 v99                                                          │

00:00:32 #4146 [Verbose] > │                 #else                                                        │

00:00:32 #4147 [Verbose] > │                 let v100 : uint8 = Fable.Core.RustInterop.emitRustExpr ()    │

00:00:32 #4148 [Verbose] > │ v19                                                                          │

00:00:32 #4149 [Verbose] > │                 v100                                                         │

00:00:32 #4150 [Verbose] > │                 #endif                                                       │

00:00:32 #4151 [Verbose] > │                 #else                                                        │

00:00:32 #4152 [Verbose] > │                 let v101 : uint8 = System.Random().Next (1, 7) |> uint8      │

00:00:32 #4153 [Verbose] > │                 v101                                                         │

00:00:32 #4154 [Verbose] > │                 #endif                                                       │

00:00:32 #4155 [Verbose] > │                 |> fun x -> result <- Some x                                 │

00:00:32 #4156 [Verbose] > │                 let v102 : uint8 = result |> Option.get                      │

00:00:32 #4157 [Verbose] > │                 let mutable result = None                                    │

00:00:32 #4158 [Verbose] > │                 #if FABLE_COMPILER_RUST                                      │

00:00:32 #4159 [Verbose] > │                 #if !WASM                                                    │

00:00:32 #4160 [Verbose] > │                 let v103 : uint8 = Fable.Core.RustInterop.emitRustExpr ()    │

00:00:32 #4161 [Verbose] > │ v17                                                                          │

00:00:32 #4162 [Verbose] > │                 v103                                                         │

00:00:32 #4163 [Verbose] > │                 #else                                                        │

00:00:32 #4164 [Verbose] > │                 let v104 : uint8 = Fable.Core.RustInterop.emitRustExpr ()    │

00:00:32 #4165 [Verbose] > │ v19                                                                          │

00:00:32 #4166 [Verbose] > │                 v104                                                         │

00:00:32 #4167 [Verbose] > │                 #endif                                                       │

00:00:32 #4168 [Verbose] > │                 #else                                                        │

00:00:32 #4169 [Verbose] > │                 let v105 : uint8 = System.Random().Next (1, 7) |> uint8      │

00:00:32 #4170 [Verbose] > │                 v105                                                         │

00:00:32 #4171 [Verbose] > │                 #endif                                                       │

00:00:32 #4172 [Verbose] > │                 |> fun x -> result <- Some x                                 │

00:00:32 #4173 [Verbose] > │                 let v106 : uint8 = result |> Option.get                      │

00:00:32 #4174 [Verbose] > │                 let mutable result = None                                    │

00:00:32 #4175 [Verbose] > │                 #if FABLE_COMPILER_RUST                                      │

00:00:32 #4176 [Verbose] > │                 #if !WASM                                                    │

00:00:32 #4177 [Verbose] > │                 let v107 : uint8 = Fable.Core.RustInterop.emitRustExpr ()    │

00:00:32 #4178 [Verbose] > │ v17                                                                          │

00:00:32 #4179 [Verbose] > │                 v107                                                         │

00:00:32 #4180 [Verbose] > │                 #else                                                        │

00:00:32 #4181 [Verbose] > │                 let v108 : uint8 = Fable.Core.RustInterop.emitRustExpr ()    │

00:00:32 #4182 [Verbose] > │ v19                                                                          │

00:00:32 #4183 [Verbose] > │                 v108                                                         │

00:00:32 #4184 [Verbose] > │                 #endif                                                       │

00:00:32 #4185 [Verbose] > │                 #else                                                        │

00:00:32 #4186 [Verbose] > │                 let v109 : uint8 = System.Random().Next (1, 7) |> uint8      │

00:00:32 #4187 [Verbose] > │                 v109                                                         │

00:00:32 #4188 [Verbose] > │                 #endif                                                       │

00:00:32 #4189 [Verbose] > │                 |> fun x -> result <- Some x                                 │

00:00:32 #4190 [Verbose] > │                 let v110 : uint8 = result |> Option.get                      │

00:00:32 #4191 [Verbose] > │                 let v111 : UH1 = UH1_1                                       │

00:00:32 #4192 [Verbose] > │                 let v112 : UH1 = UH1_0(v110, v111)                           │

00:00:32 #4193 [Verbose] > │                 let v113 : UH1 = UH1_0(v106, v112)                           │

00:00:32 #4194 [Verbose] > │                 let v114 : UH1 = UH1_0(v102, v113)                           │

00:00:32 #4195 [Verbose] > │                 let v115 : UH1 = UH1_0(v98, v114)                            │

00:00:32 #4196 [Verbose] > │                 let v116 : UH1 = UH1_0(v94, v115)                            │

00:00:32 #4197 [Verbose] > │                 let v117 : UH1 = UH1_0(v90, v116)                            │

00:00:32 #4198 [Verbose] > │                 let v118 : UH1 = UH1_0(v86, v117)                            │

00:00:32 #4199 [Verbose] > │                 let v119 : UH1 = UH1_0(v82, v118)                            │

00:00:32 #4200 [Verbose] > │                 let v120 : UH1 = UH1_0(v78, v119)                            │

00:00:32 #4201 [Verbose] > │                 let v121 : UH1 = UH1_0(v74, v120)                            │

00:00:32 #4202 [Verbose] > │                 let v122 : UH1 = UH1_0(v70, v121)                            │

00:00:32 #4203 [Verbose] > │                 let v123 : UH1 = UH1_0(v66, v122)                            │

00:00:32 #4204 [Verbose] > │                 let v124 : UH1 = UH1_0(v62, v123)                            │

00:00:32 #4205 [Verbose] > │                 let v125 : UH1 = UH1_0(v58, v124)                            │

00:00:32 #4206 [Verbose] > │                 let v126 : UH1 = UH1_0(v54, v125)                            │

00:00:32 #4207 [Verbose] > │                 let v127 : UH1 = UH1_0(v50, v126)                            │

00:00:32 #4208 [Verbose] > │                 let v128 : UH1 = UH1_0(v46, v127)                            │

00:00:32 #4209 [Verbose] > │                 let v129 : UH1 = UH1_0(v42, v128)                            │

00:00:32 #4210 [Verbose] > │                 let v130 : UH1 = UH1_0(v38, v129)                            │

00:00:32 #4211 [Verbose] > │                 let v131 : UH1 = UH1_0(v34, v130)                            │

00:00:32 #4212 [Verbose] > │                 let v132 : UH1 = UH1_0(v30, v131)                            │

00:00:32 #4213 [Verbose] > │                 let v133 : UH1 = UH1_0(v26, v132)                            │

00:00:32 #4214 [Verbose] > │                 let v134 : UH1 = UH1_0(v22, v133)                            │

00:00:32 #4215 [Verbose] > │                 let v135 : int8 = 23y                                        │

00:00:32 #4216 [Verbose] > │                 method14(v134, v135)                                         │

00:00:32 #4217 [Verbose] > │         | _ ->                                                               │

00:00:32 #4218 [Verbose] > │             let mutable result = None                                        │

00:00:32 #4219 [Verbose] > │             #if FABLE_COMPILER_RUST                                          │

00:00:32 #4220 [Verbose] > │             #if !WASM                                                        │

00:00:32 #4221 [Verbose] > │             let v138 : string = "rand::Rng::gen_range(&mut                   │

00:00:32 #4222 [Verbose] > │ rand::thread_rng(), 1..7)"                                                   │

00:00:32 #4223 [Verbose] > │             let v139 : uint8 = Fable.Core.RustInterop.emitRustExpr () v138   │

00:00:32 #4224 [Verbose] > │             v139                                                             │

00:00:32 #4225 [Verbose] > │             #else                                                            │

00:00:32 #4226 [Verbose] > │             let v140 : string = "1"                                          │

00:00:32 #4227 [Verbose] > │             let v141 : uint8 = Fable.Core.RustInterop.emitRustExpr () v140   │

00:00:32 #4228 [Verbose] > │             v141                                                             │

00:00:32 #4229 [Verbose] > │             #endif                                                           │

00:00:32 #4230 [Verbose] > │             #else                                                            │

00:00:32 #4231 [Verbose] > │             let v142 : uint8 = System.Random().Next (1, 7) |> uint8          │

00:00:32 #4232 [Verbose] > │             v142                                                             │

00:00:32 #4233 [Verbose] > │             #endif                                                           │

00:00:32 #4234 [Verbose] > │             |> fun x -> result <- Some x                                     │

00:00:32 #4235 [Verbose] > │             let v143 : uint8 = result |> Option.get                          │

00:00:32 #4236 [Verbose] > │             let mutable result = None                                        │

00:00:32 #4237 [Verbose] > │             #if FABLE_COMPILER_RUST                                          │

00:00:32 #4238 [Verbose] > │             #if !WASM                                                        │

00:00:32 #4239 [Verbose] > │             let v144 : uint8 = Fable.Core.RustInterop.emitRustExpr () v138   │

00:00:32 #4240 [Verbose] > │             v144                                                             │

00:00:32 #4241 [Verbose] > │             #else                                                            │

00:00:32 #4242 [Verbose] > │             let v145 : uint8 = Fable.Core.RustInterop.emitRustExpr () v140   │

00:00:32 #4243 [Verbose] > │             v145                                                             │

00:00:32 #4244 [Verbose] > │             #endif                                                           │

00:00:32 #4245 [Verbose] > │             #else                                                            │

00:00:32 #4246 [Verbose] > │             let v146 : uint8 = System.Random().Next (1, 7) |> uint8          │

00:00:32 #4247 [Verbose] > │             v146                                                             │

00:00:32 #4248 [Verbose] > │             #endif                                                           │

00:00:32 #4249 [Verbose] > │             |> fun x -> result <- Some x                                     │

00:00:32 #4250 [Verbose] > │             let v147 : uint8 = result |> Option.get                          │

00:00:32 #4251 [Verbose] > │             let mutable result = None                                        │

00:00:32 #4252 [Verbose] > │             #if FABLE_COMPILER_RUST                                          │

00:00:32 #4253 [Verbose] > │             #if !WASM                                                        │

00:00:32 #4254 [Verbose] > │             let v148 : uint8 = Fable.Core.RustInterop.emitRustExpr () v138   │

00:00:32 #4255 [Verbose] > │             v148                                                             │

00:00:32 #4256 [Verbose] > │             #else                                                            │

00:00:32 #4257 [Verbose] > │             let v149 : uint8 = Fable.Core.RustInterop.emitRustExpr () v140   │

00:00:32 #4258 [Verbose] > │             v149                                                             │

00:00:32 #4259 [Verbose] > │             #endif                                                           │

00:00:32 #4260 [Verbose] > │             #else                                                            │

00:00:32 #4261 [Verbose] > │             let v150 : uint8 = System.Random().Next (1, 7) |> uint8          │

00:00:32 #4262 [Verbose] > │             v150                                                             │

00:00:32 #4263 [Verbose] > │             #endif                                                           │

00:00:32 #4264 [Verbose] > │             |> fun x -> result <- Some x                                     │

00:00:32 #4265 [Verbose] > │             let v151 : uint8 = result |> Option.get                          │

00:00:32 #4266 [Verbose] > │             let mutable result = None                                        │

00:00:32 #4267 [Verbose] > │             #if FABLE_COMPILER_RUST                                          │

00:00:32 #4268 [Verbose] > │             #if !WASM                                                        │

00:00:32 #4269 [Verbose] > │             let v152 : uint8 = Fable.Core.RustInterop.emitRustExpr () v138   │

00:00:32 #4270 [Verbose] > │             v152                                                             │

00:00:32 #4271 [Verbose] > │             #else                                                            │

00:00:32 #4272 [Verbose] > │             let v153 : uint8 = Fable.Core.RustInterop.emitRustExpr () v140   │

00:00:32 #4273 [Verbose] > │             v153                                                             │

00:00:32 #4274 [Verbose] > │             #endif                                                           │

00:00:32 #4275 [Verbose] > │             #else                                                            │

00:00:32 #4276 [Verbose] > │             let v154 : uint8 = System.Random().Next (1, 7) |> uint8          │

00:00:32 #4277 [Verbose] > │             v154                                                             │

00:00:32 #4278 [Verbose] > │             #endif                                                           │

00:00:32 #4279 [Verbose] > │             |> fun x -> result <- Some x                                     │

00:00:32 #4280 [Verbose] > │             let v155 : uint8 = result |> Option.get                          │

00:00:32 #4281 [Verbose] > │             let mutable result = None                                        │

00:00:32 #4282 [Verbose] > │             #if FABLE_COMPILER_RUST                                          │

00:00:32 #4283 [Verbose] > │             #if !WASM                                                        │

00:00:32 #4284 [Verbose] > │             let v156 : uint8 = Fable.Core.RustInterop.emitRustExpr () v138   │

00:00:32 #4285 [Verbose] > │             v156                                                             │

00:00:32 #4286 [Verbose] > │             #else                                                            │

00:00:32 #4287 [Verbose] > │             let v157 : uint8 = Fable.Core.RustInterop.emitRustExpr () v140   │

00:00:32 #4288 [Verbose] > │             v157                                                             │

00:00:32 #4289 [Verbose] > │             #endif                                                           │

00:00:32 #4290 [Verbose] > │             #else                                                            │

00:00:32 #4291 [Verbose] > │             let v158 : uint8 = System.Random().Next (1, 7) |> uint8          │

00:00:32 #4292 [Verbose] > │             v158                                                             │

00:00:32 #4293 [Verbose] > │             #endif                                                           │

00:00:32 #4294 [Verbose] > │             |> fun x -> result <- Some x                                     │

00:00:32 #4295 [Verbose] > │             let v159 : uint8 = result |> Option.get                          │

00:00:32 #4296 [Verbose] > │             let mutable result = None                                        │

00:00:32 #4297 [Verbose] > │             #if FABLE_COMPILER_RUST                                          │

00:00:32 #4298 [Verbose] > │             #if !WASM                                                        │

00:00:32 #4299 [Verbose] > │             let v160 : uint8 = Fable.Core.RustInterop.emitRustExpr () v138   │

00:00:32 #4300 [Verbose] > │             v160                                                             │

00:00:32 #4301 [Verbose] > │             #else                                                            │

00:00:32 #4302 [Verbose] > │             let v161 : uint8 = Fable.Core.RustInterop.emitRustExpr () v140   │

00:00:32 #4303 [Verbose] > │             v161                                                             │

00:00:32 #4304 [Verbose] > │             #endif                                                           │

00:00:32 #4305 [Verbose] > │             #else                                                            │

00:00:32 #4306 [Verbose] > │             let v162 : uint8 = System.Random().Next (1, 7) |> uint8          │

00:00:32 #4307 [Verbose] > │             v162                                                             │

00:00:32 #4308 [Verbose] > │             #endif                                                           │

00:00:32 #4309 [Verbose] > │             |> fun x -> result <- Some x                                     │

00:00:32 #4310 [Verbose] > │             let v163 : uint8 = result |> Option.get                          │

00:00:32 #4311 [Verbose] > │             let mutable result = None                                        │

00:00:32 #4312 [Verbose] > │             #if FABLE_COMPILER_RUST                                          │

00:00:32 #4313 [Verbose] > │             #if !WASM                                                        │

00:00:32 #4314 [Verbose] > │             let v164 : uint8 = Fable.Core.RustInterop.emitRustExpr () v138   │

00:00:32 #4315 [Verbose] > │             v164                                                             │

00:00:32 #4316 [Verbose] > │             #else                                                            │

00:00:32 #4317 [Verbose] > │             let v165 : uint8 = Fable.Core.RustInterop.emitRustExpr () v140   │

00:00:32 #4318 [Verbose] > │             v165                                                             │

00:00:32 #4319 [Verbose] > │             #endif                                                           │

00:00:32 #4320 [Verbose] > │             #else                                                            │

00:00:32 #4321 [Verbose] > │             let v166 : uint8 = System.Random().Next (1, 7) |> uint8          │

00:00:32 #4322 [Verbose] > │             v166                                                             │

00:00:32 #4323 [Verbose] > │             #endif                                                           │

00:00:32 #4324 [Verbose] > │             |> fun x -> result <- Some x                                     │

00:00:32 #4325 [Verbose] > │             let v167 : uint8 = result |> Option.get                          │

00:00:32 #4326 [Verbose] > │             let mutable result = None                                        │

00:00:32 #4327 [Verbose] > │             #if FABLE_COMPILER_RUST                                          │

00:00:32 #4328 [Verbose] > │             #if !WASM                                                        │

00:00:32 #4329 [Verbose] > │             let v168 : uint8 = Fable.Core.RustInterop.emitRustExpr () v138   │

00:00:32 #4330 [Verbose] > │             v168                                                             │

00:00:32 #4331 [Verbose] > │             #else                                                            │

00:00:32 #4332 [Verbose] > │             let v169 : uint8 = Fable.Core.RustInterop.emitRustExpr () v140   │

00:00:32 #4333 [Verbose] > │             v169                                                             │

00:00:32 #4334 [Verbose] > │             #endif                                                           │

00:00:32 #4335 [Verbose] > │             #else                                                            │

00:00:32 #4336 [Verbose] > │             let v170 : uint8 = System.Random().Next (1, 7) |> uint8          │

00:00:32 #4337 [Verbose] > │             v170                                                             │

00:00:32 #4338 [Verbose] > │             #endif                                                           │

00:00:32 #4339 [Verbose] > │             |> fun x -> result <- Some x                                     │

00:00:32 #4340 [Verbose] > │             let v171 : uint8 = result |> Option.get                          │

00:00:32 #4341 [Verbose] > │             let mutable result = None                                        │

00:00:32 #4342 [Verbose] > │             #if FABLE_COMPILER_RUST                                          │

00:00:32 #4343 [Verbose] > │             #if !WASM                                                        │

00:00:32 #4344 [Verbose] > │             let v172 : uint8 = Fable.Core.RustInterop.emitRustExpr () v138   │

00:00:32 #4345 [Verbose] > │             v172                                                             │

00:00:32 #4346 [Verbose] > │             #else                                                            │

00:00:32 #4347 [Verbose] > │             let v173 : uint8 = Fable.Core.RustInterop.emitRustExpr () v140   │

00:00:32 #4348 [Verbose] > │             v173                                                             │

00:00:32 #4349 [Verbose] > │             #endif                                                           │

00:00:32 #4350 [Verbose] > │             #else                                                            │

00:00:32 #4351 [Verbose] > │             let v174 : uint8 = System.Random().Next (1, 7) |> uint8          │

00:00:32 #4352 [Verbose] > │             v174                                                             │

00:00:32 #4353 [Verbose] > │             #endif                                                           │

00:00:32 #4354 [Verbose] > │             |> fun x -> result <- Some x                                     │

00:00:32 #4355 [Verbose] > │             let v175 : uint8 = result |> Option.get                          │

00:00:32 #4356 [Verbose] > │             let mutable result = None                                        │

00:00:32 #4357 [Verbose] > │             #if FABLE_COMPILER_RUST                                          │

00:00:32 #4358 [Verbose] > │             #if !WASM                                                        │

00:00:32 #4359 [Verbose] > │             let v176 : uint8 = Fable.Core.RustInterop.emitRustExpr () v138   │

00:00:32 #4360 [Verbose] > │             v176                                                             │

00:00:32 #4361 [Verbose] > │             #else                                                            │

00:00:32 #4362 [Verbose] > │             let v177 : uint8 = Fable.Core.RustInterop.emitRustExpr () v140   │

00:00:32 #4363 [Verbose] > │             v177                                                             │

00:00:32 #4364 [Verbose] > │             #endif                                                           │

00:00:32 #4365 [Verbose] > │             #else                                                            │

00:00:32 #4366 [Verbose] > │             let v178 : uint8 = System.Random().Next (1, 7) |> uint8          │

00:00:32 #4367 [Verbose] > │             v178                                                             │

00:00:32 #4368 [Verbose] > │             #endif                                                           │

00:00:32 #4369 [Verbose] > │             |> fun x -> result <- Some x                                     │

00:00:32 #4370 [Verbose] > │             let v179 : uint8 = result |> Option.get                          │

00:00:32 #4371 [Verbose] > │             let mutable result = None                                        │

00:00:32 #4372 [Verbose] > │             #if FABLE_COMPILER_RUST                                          │

00:00:32 #4373 [Verbose] > │             #if !WASM                                                        │

00:00:32 #4374 [Verbose] > │             let v180 : uint8 = Fable.Core.RustInterop.emitRustExpr () v138   │

00:00:32 #4375 [Verbose] > │             v180                                                             │

00:00:32 #4376 [Verbose] > │             #else                                                            │

00:00:32 #4377 [Verbose] > │             let v181 : uint8 = Fable.Core.RustInterop.emitRustExpr () v140   │

00:00:32 #4378 [Verbose] > │             v181                                                             │

00:00:32 #4379 [Verbose] > │             #endif                                                           │

00:00:32 #4380 [Verbose] > │             #else                                                            │

00:00:32 #4381 [Verbose] > │             let v182 : uint8 = System.Random().Next (1, 7) |> uint8          │

00:00:32 #4382 [Verbose] > │             v182                                                             │

00:00:32 #4383 [Verbose] > │             #endif                                                           │

00:00:32 #4384 [Verbose] > │             |> fun x -> result <- Some x                                     │

00:00:32 #4385 [Verbose] > │             let v183 : uint8 = result |> Option.get                          │

00:00:32 #4386 [Verbose] > │             let mutable result = None                                        │

00:00:32 #4387 [Verbose] > │             #if FABLE_COMPILER_RUST                                          │

00:00:32 #4388 [Verbose] > │             #if !WASM                                                        │

00:00:32 #4389 [Verbose] > │             let v184 : uint8 = Fable.Core.RustInterop.emitRustExpr () v138   │

00:00:32 #4390 [Verbose] > │             v184                                                             │

00:00:32 #4391 [Verbose] > │             #else                                                            │

00:00:32 #4392 [Verbose] > │             let v185 : uint8 = Fable.Core.RustInterop.emitRustExpr () v140   │

00:00:32 #4393 [Verbose] > │             v185                                                             │

00:00:32 #4394 [Verbose] > │             #endif                                                           │

00:00:32 #4395 [Verbose] > │             #else                                                            │

00:00:32 #4396 [Verbose] > │             let v186 : uint8 = System.Random().Next (1, 7) |> uint8          │

00:00:32 #4397 [Verbose] > │             v186                                                             │

00:00:32 #4398 [Verbose] > │             #endif                                                           │

00:00:32 #4399 [Verbose] > │             |> fun x -> result <- Some x                                     │

00:00:32 #4400 [Verbose] > │             let v187 : uint8 = result |> Option.get                          │

00:00:32 #4401 [Verbose] > │             let mutable result = None                                        │

00:00:32 #4402 [Verbose] > │             #if FABLE_COMPILER_RUST                                          │

00:00:32 #4403 [Verbose] > │             #if !WASM                                                        │

00:00:32 #4404 [Verbose] > │             let v188 : uint8 = Fable.Core.RustInterop.emitRustExpr () v138   │

00:00:32 #4405 [Verbose] > │             v188                                                             │

00:00:32 #4406 [Verbose] > │             #else                                                            │

00:00:32 #4407 [Verbose] > │             let v189 : uint8 = Fable.Core.RustInterop.emitRustExpr () v140   │

00:00:32 #4408 [Verbose] > │             v189                                                             │

00:00:32 #4409 [Verbose] > │             #endif                                                           │

00:00:32 #4410 [Verbose] > │             #else                                                            │

00:00:32 #4411 [Verbose] > │             let v190 : uint8 = System.Random().Next (1, 7) |> uint8          │

00:00:32 #4412 [Verbose] > │             v190                                                             │

00:00:32 #4413 [Verbose] > │             #endif                                                           │

00:00:32 #4414 [Verbose] > │             |> fun x -> result <- Some x                                     │

00:00:32 #4415 [Verbose] > │             let v191 : uint8 = result |> Option.get                          │

00:00:32 #4416 [Verbose] > │             let mutable result = None                                        │

00:00:32 #4417 [Verbose] > │             #if FABLE_COMPILER_RUST                                          │

00:00:32 #4418 [Verbose] > │             #if !WASM                                                        │

00:00:32 #4419 [Verbose] > │             let v192 : uint8 = Fable.Core.RustInterop.emitRustExpr () v138   │

00:00:32 #4420 [Verbose] > │             v192                                                             │

00:00:32 #4421 [Verbose] > │             #else                                                            │

00:00:32 #4422 [Verbose] > │             let v193 : uint8 = Fable.Core.RustInterop.emitRustExpr () v140   │

00:00:32 #4423 [Verbose] > │             v193                                                             │

00:00:32 #4424 [Verbose] > │             #endif                                                           │

00:00:32 #4425 [Verbose] > │             #else                                                            │

00:00:32 #4426 [Verbose] > │             let v194 : uint8 = System.Random().Next (1, 7) |> uint8          │

00:00:32 #4427 [Verbose] > │             v194                                                             │

00:00:32 #4428 [Verbose] > │             #endif                                                           │

00:00:32 #4429 [Verbose] > │             |> fun x -> result <- Some x                                     │

00:00:32 #4430 [Verbose] > │             let v195 : uint8 = result |> Option.get                          │

00:00:32 #4431 [Verbose] > │             let mutable result = None                                        │

00:00:32 #4432 [Verbose] > │             #if FABLE_COMPILER_RUST                                          │

00:00:32 #4433 [Verbose] > │             #if !WASM                                                        │

00:00:32 #4434 [Verbose] > │             let v196 : uint8 = Fable.Core.RustInterop.emitRustExpr () v138   │

00:00:32 #4435 [Verbose] > │             v196                                                             │

00:00:32 #4436 [Verbose] > │             #else                                                            │

00:00:32 #4437 [Verbose] > │             let v197 : uint8 = Fable.Core.RustInterop.emitRustExpr () v140   │

00:00:32 #4438 [Verbose] > │             v197                                                             │

00:00:32 #4439 [Verbose] > │             #endif                                                           │

00:00:32 #4440 [Verbose] > │             #else                                                            │

00:00:32 #4441 [Verbose] > │             let v198 : uint8 = System.Random().Next (1, 7) |> uint8          │

00:00:32 #4442 [Verbose] > │             v198                                                             │

00:00:32 #4443 [Verbose] > │             #endif                                                           │

00:00:32 #4444 [Verbose] > │             |> fun x -> result <- Some x                                     │

00:00:32 #4445 [Verbose] > │             let v199 : uint8 = result |> Option.get                          │

00:00:32 #4446 [Verbose] > │             let mutable result = None                                        │

00:00:32 #4447 [Verbose] > │             #if FABLE_COMPILER_RUST                                          │

00:00:32 #4448 [Verbose] > │             #if !WASM                                                        │

00:00:32 #4449 [Verbose] > │             let v200 : uint8 = Fable.Core.RustInterop.emitRustExpr () v138   │

00:00:32 #4450 [Verbose] > │             v200                                                             │

00:00:32 #4451 [Verbose] > │             #else                                                            │

00:00:32 #4452 [Verbose] > │             let v201 : uint8 = Fable.Core.RustInterop.emitRustExpr () v140   │

00:00:32 #4453 [Verbose] > │             v201                                                             │

00:00:32 #4454 [Verbose] > │             #endif                                                           │

00:00:32 #4455 [Verbose] > │             #else                                                            │

00:00:32 #4456 [Verbose] > │             let v202 : uint8 = System.Random().Next (1, 7) |> uint8          │

00:00:32 #4457 [Verbose] > │             v202                                                             │

00:00:32 #4458 [Verbose] > │             #endif                                                           │

00:00:32 #4459 [Verbose] > │             |> fun x -> result <- Some x                                     │

00:00:32 #4460 [Verbose] > │             let v203 : uint8 = result |> Option.get                          │

00:00:32 #4461 [Verbose] > │             let mutable result = None                                        │

00:00:32 #4462 [Verbose] > │             #if FABLE_COMPILER_RUST                                          │

00:00:32 #4463 [Verbose] > │             #if !WASM                                                        │

00:00:32 #4464 [Verbose] > │             let v204 : uint8 = Fable.Core.RustInterop.emitRustExpr () v138   │

00:00:32 #4465 [Verbose] > │             v204                                                             │

00:00:32 #4466 [Verbose] > │             #else                                                            │

00:00:32 #4467 [Verbose] > │             let v205 : uint8 = Fable.Core.RustInterop.emitRustExpr () v140   │

00:00:32 #4468 [Verbose] > │             v205                                                             │

00:00:32 #4469 [Verbose] > │             #endif                                                           │

00:00:32 #4470 [Verbose] > │             #else                                                            │

00:00:32 #4471 [Verbose] > │             let v206 : uint8 = System.Random().Next (1, 7) |> uint8          │

00:00:32 #4472 [Verbose] > │             v206                                                             │

00:00:32 #4473 [Verbose] > │             #endif                                                           │

00:00:32 #4474 [Verbose] > │             |> fun x -> result <- Some x                                     │

00:00:32 #4475 [Verbose] > │             let v207 : uint8 = result |> Option.get                          │

00:00:32 #4476 [Verbose] > │             let mutable result = None                                        │

00:00:32 #4477 [Verbose] > │             #if FABLE_COMPILER_RUST                                          │

00:00:32 #4478 [Verbose] > │             #if !WASM                                                        │

00:00:32 #4479 [Verbose] > │             let v208 : uint8 = Fable.Core.RustInterop.emitRustExpr () v138   │

00:00:32 #4480 [Verbose] > │             v208                                                             │

00:00:32 #4481 [Verbose] > │             #else                                                            │

00:00:32 #4482 [Verbose] > │             let v209 : uint8 = Fable.Core.RustInterop.emitRustExpr () v140   │

00:00:32 #4483 [Verbose] > │             v209                                                             │

00:00:32 #4484 [Verbose] > │             #endif                                                           │

00:00:32 #4485 [Verbose] > │             #else                                                            │

00:00:32 #4486 [Verbose] > │             let v210 : uint8 = System.Random().Next (1, 7) |> uint8          │

00:00:32 #4487 [Verbose] > │             v210                                                             │

00:00:32 #4488 [Verbose] > │             #endif                                                           │

00:00:32 #4489 [Verbose] > │             |> fun x -> result <- Some x                                     │

00:00:32 #4490 [Verbose] > │             let v211 : uint8 = result |> Option.get                          │

00:00:32 #4491 [Verbose] > │             let mutable result = None                                        │

00:00:32 #4492 [Verbose] > │             #if FABLE_COMPILER_RUST                                          │

00:00:32 #4493 [Verbose] > │             #if !WASM                                                        │

00:00:32 #4494 [Verbose] > │             let v212 : uint8 = Fable.Core.RustInterop.emitRustExpr () v138   │

00:00:32 #4495 [Verbose] > │             v212                                                             │

00:00:32 #4496 [Verbose] > │             #else                                                            │

00:00:32 #4497 [Verbose] > │             let v213 : uint8 = Fable.Core.RustInterop.emitRustExpr () v140   │

00:00:32 #4498 [Verbose] > │             v213                                                             │

00:00:32 #4499 [Verbose] > │             #endif                                                           │

00:00:32 #4500 [Verbose] > │             #else                                                            │

00:00:32 #4501 [Verbose] > │             let v214 : uint8 = System.Random().Next (1, 7) |> uint8          │

00:00:32 #4502 [Verbose] > │             v214                                                             │

00:00:32 #4503 [Verbose] > │             #endif                                                           │

00:00:32 #4504 [Verbose] > │             |> fun x -> result <- Some x                                     │

00:00:32 #4505 [Verbose] > │             let v215 : uint8 = result |> Option.get                          │

00:00:32 #4506 [Verbose] > │             let mutable result = None                                        │

00:00:32 #4507 [Verbose] > │             #if FABLE_COMPILER_RUST                                          │

00:00:32 #4508 [Verbose] > │             #if !WASM                                                        │

00:00:32 #4509 [Verbose] > │             let v216 : uint8 = Fable.Core.RustInterop.emitRustExpr () v138   │

00:00:32 #4510 [Verbose] > │             v216                                                             │

00:00:32 #4511 [Verbose] > │             #else                                                            │

00:00:32 #4512 [Verbose] > │             let v217 : uint8 = Fable.Core.RustInterop.emitRustExpr () v140   │

00:00:32 #4513 [Verbose] > │             v217                                                             │

00:00:32 #4514 [Verbose] > │             #endif                                                           │

00:00:32 #4515 [Verbose] > │             #else                                                            │

00:00:32 #4516 [Verbose] > │             let v218 : uint8 = System.Random().Next (1, 7) |> uint8          │

00:00:32 #4517 [Verbose] > │             v218                                                             │

00:00:32 #4518 [Verbose] > │             #endif                                                           │

00:00:32 #4519 [Verbose] > │             |> fun x -> result <- Some x                                     │

00:00:32 #4520 [Verbose] > │             let v219 : uint8 = result |> Option.get                          │

00:00:32 #4521 [Verbose] > │             let mutable result = None                                        │

00:00:32 #4522 [Verbose] > │             #if FABLE_COMPILER_RUST                                          │

00:00:32 #4523 [Verbose] > │             #if !WASM                                                        │

00:00:32 #4524 [Verbose] > │             let v220 : uint8 = Fable.Core.RustInterop.emitRustExpr () v138   │

00:00:32 #4525 [Verbose] > │             v220                                                             │

00:00:32 #4526 [Verbose] > │             #else                                                            │

00:00:32 #4527 [Verbose] > │             let v221 : uint8 = Fable.Core.RustInterop.emitRustExpr () v140   │

00:00:32 #4528 [Verbose] > │             v221                                                             │

00:00:32 #4529 [Verbose] > │             #endif                                                           │

00:00:32 #4530 [Verbose] > │             #else                                                            │

00:00:32 #4531 [Verbose] > │             let v222 : uint8 = System.Random().Next (1, 7) |> uint8          │

00:00:32 #4532 [Verbose] > │             v222                                                             │

00:00:32 #4533 [Verbose] > │             #endif                                                           │

00:00:32 #4534 [Verbose] > │             |> fun x -> result <- Some x                                     │

00:00:32 #4535 [Verbose] > │             let v223 : uint8 = result |> Option.get                          │

00:00:32 #4536 [Verbose] > │             let mutable result = None                                        │

00:00:32 #4537 [Verbose] > │             #if FABLE_COMPILER_RUST                                          │

00:00:32 #4538 [Verbose] > │             #if !WASM                                                        │

00:00:32 #4539 [Verbose] > │             let v224 : uint8 = Fable.Core.RustInterop.emitRustExpr () v138   │

00:00:32 #4540 [Verbose] > │             v224                                                             │

00:00:32 #4541 [Verbose] > │             #else                                                            │

00:00:32 #4542 [Verbose] > │             let v225 : uint8 = Fable.Core.RustInterop.emitRustExpr () v140   │

00:00:32 #4543 [Verbose] > │             v225                                                             │

00:00:32 #4544 [Verbose] > │             #endif                                                           │

00:00:32 #4545 [Verbose] > │             #else                                                            │

00:00:32 #4546 [Verbose] > │             let v226 : uint8 = System.Random().Next (1, 7) |> uint8          │

00:00:32 #4547 [Verbose] > │             v226                                                             │

00:00:32 #4548 [Verbose] > │             #endif                                                           │

00:00:32 #4549 [Verbose] > │             |> fun x -> result <- Some x                                     │

00:00:32 #4550 [Verbose] > │             let v227 : uint8 = result |> Option.get                          │

00:00:32 #4551 [Verbose] > │             let mutable result = None                                        │

00:00:32 #4552 [Verbose] > │             #if FABLE_COMPILER_RUST                                          │

00:00:32 #4553 [Verbose] > │             #if !WASM                                                        │

00:00:32 #4554 [Verbose] > │             let v228 : uint8 = Fable.Core.RustInterop.emitRustExpr () v138   │

00:00:32 #4555 [Verbose] > │             v228                                                             │

00:00:32 #4556 [Verbose] > │             #else                                                            │

00:00:32 #4557 [Verbose] > │             let v229 : uint8 = Fable.Core.RustInterop.emitRustExpr () v140   │

00:00:32 #4558 [Verbose] > │             v229                                                             │

00:00:32 #4559 [Verbose] > │             #endif                                                           │

00:00:32 #4560 [Verbose] > │             #else                                                            │

00:00:32 #4561 [Verbose] > │             let v230 : uint8 = System.Random().Next (1, 7) |> uint8          │

00:00:32 #4562 [Verbose] > │             v230                                                             │

00:00:32 #4563 [Verbose] > │             #endif                                                           │

00:00:32 #4564 [Verbose] > │             |> fun x -> result <- Some x                                     │

00:00:32 #4565 [Verbose] > │             let v231 : uint8 = result |> Option.get                          │

00:00:32 #4566 [Verbose] > │             let v232 : UH1 = UH1_1                                           │

00:00:32 #4567 [Verbose] > │             let v233 : UH1 = UH1_0(v231, v232)                               │

00:00:32 #4568 [Verbose] > │             let v234 : UH1 = UH1_0(v227, v233)                               │

00:00:32 #4569 [Verbose] > │             let v235 : UH1 = UH1_0(v223, v234)                               │

00:00:32 #4570 [Verbose] > │             let v236 : UH1 = UH1_0(v219, v235)                               │

00:00:32 #4571 [Verbose] > │             let v237 : UH1 = UH1_0(v215, v236)                               │

00:00:32 #4572 [Verbose] > │             let v238 : UH1 = UH1_0(v211, v237)                               │

00:00:32 #4573 [Verbose] > │             let v239 : UH1 = UH1_0(v207, v238)                               │

00:00:32 #4574 [Verbose] > │             let v240 : UH1 = UH1_0(v203, v239)                               │

00:00:32 #4575 [Verbose] > │             let v241 : UH1 = UH1_0(v199, v240)                               │

00:00:32 #4576 [Verbose] > │             let v242 : UH1 = UH1_0(v195, v241)                               │

00:00:32 #4577 [Verbose] > │             let v243 : UH1 = UH1_0(v191, v242)                               │

00:00:32 #4578 [Verbose] > │             let v244 : UH1 = UH1_0(v187, v243)                               │

00:00:32 #4579 [Verbose] > │             let v245 : UH1 = UH1_0(v183, v244)                               │

00:00:32 #4580 [Verbose] > │             let v246 : UH1 = UH1_0(v179, v245)                               │

00:00:32 #4581 [Verbose] > │             let v247 : UH1 = UH1_0(v175, v246)                               │

00:00:32 #4582 [Verbose] > │             let v248 : UH1 = UH1_0(v171, v247)                               │

00:00:32 #4583 [Verbose] > │             let v249 : UH1 = UH1_0(v167, v248)                               │

00:00:32 #4584 [Verbose] > │             let v250 : UH1 = UH1_0(v163, v249)                               │

00:00:32 #4585 [Verbose] > │             let v251 : UH1 = UH1_0(v159, v250)                               │

00:00:32 #4586 [Verbose] > │             let v252 : UH1 = UH1_0(v155, v251)                               │

00:00:32 #4587 [Verbose] > │             let v253 : UH1 = UH1_0(v151, v252)                               │

00:00:32 #4588 [Verbose] > │             let v254 : UH1 = UH1_0(v147, v253)                               │

00:00:32 #4589 [Verbose] > │             let v255 : UH1 = UH1_0(v143, v254)                               │

00:00:32 #4590 [Verbose] > │             let v256 : int8 = 23y                                            │

00:00:32 #4591 [Verbose] > │             method14(v255, v256)                                             │

00:00:32 #4592 [Verbose] > │ and closure81 () (v0 : (string [])) : int32 =                                │

00:00:32 #4593 [Verbose] > │     let v1 : string = $"calculate_dice_count / max: {9223372036854775807L} / │

00:00:32 #4594 [Verbose] > │ n: {24y} / p: {4738381338321616896L}"                                        │

00:00:32 #4595 [Verbose] > │     System.Console.WriteLine v1                                              │

00:00:32 #4596 [Verbose] > │     let v2 : UH1 = UH1_1                                                     │

00:00:32 #4597 [Verbose] > │     let v3 : int8 = 0y                                                       │

00:00:32 #4598 [Verbose] > │     let v4 : int64 = method14(v2, v3)                                        │

00:00:32 #4599 [Verbose] > │     let v5 : string = $"result: {v4}"                                        │

00:00:32 #4600 [Verbose] > │     System.Console.WriteLine v5                                              │

00:00:32 #4601 [Verbose] > │     0                                                                        │

00:00:32 #4602 [Verbose] > │ let v0 : (int64 -> (UH0 -> UH0)) = closure0()                                │

00:00:32 #4603 [Verbose] > │ let rotate_numbers x = v0 x                                                  │

00:00:32 #4604 [Verbose] > │ let v1 : ((string -> unit) option -> (UH1 -> (unit -> uint8))) = closure3()  │

00:00:32 #4605 [Verbose] > │ let create_sequential_roller x = v1 x                                        │

00:00:32 #4606 [Verbose] > │ let v2 : ((string -> unit) option -> ((unit -> uint8) -> (bool -> (uint64 -> │

00:00:32 #4607 [Verbose] > │ uint64)))) = closure10()                                                     │

00:00:32 #4608 [Verbose] > │ let roll_progressively x = v2 x                                              │

00:00:32 #4609 [Verbose] > │ let v3 : ((string -> unit) option -> (uint64 -> (UH1 -> uint64 option))) =   │

00:00:32 #4610 [Verbose] > │ closure78()                                                                  │

00:00:32 #4611 [Verbose] > │ let roll_within_bounds x = v3 x                                              │

00:00:32 #4612 [Verbose] > │ let v4 : ((string []) -> int32) = closure81()                                │

00:00:32 #4613 [Verbose] > │ let main args = v4 args                                                      │

00:00:32 #4614 [Verbose] > │ ()                                                                           │

00:00:32 #4615 [Verbose] > │                                                                              │

00:00:32 #4616 [Verbose] > │                                                                              │

00:00:32 #4617 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:34 #4618 [Verbose] > [NbConvertApp] Converting notebook dice.dib.ipynb to html

00:00:34 #4619 [Verbose] > C:\Users\i574n\scoop\apps\python\current\Lib\site-packages\nbformat\__init__.py:93: MissingIDFieldWarning: Code cell is missing an id field, this will become a hard error in future nbformat versions. You may want to use `normalize()` on your notebooks before validations (available since nbformat 5.1.4). Previous versions of nbformat are fixing this issue transparently, and will stop doing so in the future.

00:00:34 #4620 [Verbose] >   validate(nb)

00:00:35 #4621 [Verbose] > C:\Users\i574n\scoop\apps\python\current\Lib\site-packages\nbconvert\filters\highlight.py:71: UserWarning: IPython3 lexer unavailable, falling back on Python 3

00:00:35 #4622 [Verbose] >   return _pygments_highlight(

00:00:35 #4623 [Verbose] > [NbConvertApp] Writing 497067 bytes to dice.dib.html

00:00:36 #4624 [Debug] executeAsync / exitCode: 0 / output.Length: 352996

00:00:36 #4625 [Debug] main / executeCommand / exitCode: 0

00:00:00 #1 [Debug] writeDibCode / output: Spi / path: dice.dib

00:00:00 #2 [Debug] parseDibCode / output: Spi / file: dice.dib

00:00:00 #1 [Debug] runWithTimeoutAsync / timeout: 60

00:00:00 #2 [Debug] executeAsync / options: { Command =

   "dotnet "C:\home\git\polyglot\deps\The-Spiral-Language\The Spiral Language 2\artifacts\bin\The Spiral Language 2\release\Spiral.dll" port=13805"

  WorkingDirectory = None

  CancellationToken = Some System.Threading.CancellationToken

  OnLine = Some <fun:main@411-297> }

00:00:00 #3 [Verbose] > pwd: C:\home\git\polyglot\apps\dice

00:00:00 #4 [Verbose] > dll_path: C:\home\git\polyglot\deps\The-Spiral-Language\The Spiral Language 2\artifacts\bin\The Spiral Language 2\release

00:00:00 #5 [Debug] runWithTimeoutAsync / timeout: 500

00:00:00 #6 [Verbose] waitForPortAccess / port: 13805 / retry: 0

00:00:01 #7 [Debug] sendJson / port: 13805 / json: {"Ping":true} / result.Length:

00:00:01 #8 [Verbose] awaitCompiler / Ping / result: Some(null) / port: 13805 / retry: 0

00:00:01 #9 [Verbose] > Server bound to: http://localhost:13805

00:00:01 #10 [Debug] buildFile / takeWhileInclusive / fsxContent:  / errors: [] / typeErrorCount: 0

00:00:01 #11 [Debug] buildFile / takeWhileInclusive / fsxContent:  / errors: [] / typeErrorCount: 0

00:00:01 #12 [Debug] sendJson / port: 13805 / json: {"FileOpen":{"spiText":"// // # dice (Polyglot)\n\n// // ## sixth_power_sequence\n\ninl sixth_power_sequence () =\n    stream.iterate ((*) 6) 1\n\n// // ## accumulate_dice_rolls\n\ninl accumulate_dice_rolls\n    (log : option (string -\u003E ()))\n    (rolls : list u8)\n    (power : i8)\n    acc\n    =\n    inl rec body acc power rolls =\n        match rolls with\n        | _ when power \u003C 0 =\u003E\n            log |\u003E optionm\u0027.iter ((|\u003E) $\u0022$\\\u0022accumulate_dice_rolls / power: {!power} / acc: {!acc}\\\u0022\u0022)\n            Some (acc \u002B 1, rolls)\n        | [] =\u003E None\n        | roll :: rest when roll \u003E 1 =\u003E\n            inl coeff = sixth_power_sequence () |\u003E stream.item power\n            inl value = conv (roll - 1) * coeff\n            log |\u003E optionm\u0027.iter ((|\u003E) $\u0022$\\\u0022accumulate_dice_rolls / power: {!power} / acc: {!acc} / roll: {!roll} / value: {!value}\\\u0022\u0022\n            )\n            loop (acc \u002B value) (power - 1) rest\n        | roll :: rest =\u003E\n            log |\u003E optionm\u0027.iter ((|\u003E) $\u0022$\\\u0022accumulate_dice_rolls / power: {!power} / acc: {!acc} / roll: {!roll}\\\u0022\u0022)\n            loop acc (power - 1) rest\n    and inl loop acc power rolls =\n        if var_is rolls |\u003E not\n        then body acc power rolls\n        else\n            inl acc = dyn acc\n            join body acc power rolls\n    loop acc power rolls\n\n// // ## roll_within_bounds\n\ninl roll_within_bounds (log : option (string -\u003E ())) max rolls =\n    inl power = listm.length rolls - 1\n    match accumulate_dice_rolls log rolls power 0 with\n    | Some (result, _) when result \u003E= 1 \u0026\u0026 result \u003C= max =\u003E Some result\n    | _ =\u003E None\n\n// // ## calculate_dice_count\n\ninl calculate_dice_count (log : option (string -\u003E ())) max =\n    inl rec body n p =\n        inl return () =\n            log |\u003E optionm\u0027.iter ((|\u003E) $\u0022$\\\u0022calculate_dice_count / max: {!max} / n: {!n} / p: {!p}\\\u0022\u0022)\n            n\n\n        if p \u003C max then\n            inl p\u0027 = p * 6\n            if p\u0027 \u003E p\n            then loop (n \u002B 1) p\u0027\n            else return ()\n        else return ()\n\n    and inl loop n p =\n        if var_is max |\u003E not\n        then body n p\n        else\n            inl n = dyn n\n            inl p = dyn p\n            join body n p\n    if max = 1\n    then 1\n    else loop 0 1\n\n// // ## roll_dice\n\ninl roll_dice () : u8 =\n    run_target function\n        | Fsharp =\u003E fun () =\u003E $\u0022System.Random().Next (1, 7) |\u003E uint8\u0022\n        | Rust (Native) =\u003E fun () =\u003E rust.emit_expr () \u0022rand::Rng::gen_range(\u0026mut rand::thread_rng(), 1..7)\u0022\n        | Rust (Wasm) =\u003E fun () =\u003E rust.emit_expr () \u00221\u0022\n\n// // ## rotate_number\n\ninl rotate_number forall t {number}. (max : i64) (n : t) : t =\n    (conv n - 1 \u002B max) % max \u002B 1 |\u003E conv\n\n// // ## rotate_numbers\n\ninl rotate_numbers max items =\n    items |\u003E stream.map (rotate_number max)\n\n// // ## create_sequential_roller\n\ninl create_sequential_roller (log : option (string -\u003E ())) list =\n    log |\u003E optionm\u0027.iter ((|\u003E) $\u0022$\\\u0022create_sequential_roller ()\\\u0022\u0022)\n    inl s = list |\u003E listm.rev |\u003E listm.append list |\u003E stream.from_list |\u003E stream.memoize\n    inl current_index = mut 0i64\n    inl acc = mut 1\n    inl len = mut -1\n    inl last_item = mut None\n    let rec loop () =\n        fun () =\u003E\n            inl current_index = *current_index\n            inl acc = *acc\n            inl len = *len\n            inl last_item = *last_item\n            log |\u003E optionm\u0027.iter ((|\u003E) $\u0022$\\\u0022create_sequential_roller / roll / current_index: {!current_index} / acc: {!acc} / len: {!len} / last_item: %A{!last_item}\\\u0022\u0022)\n        |\u003E fun x =\u003E x ()\n        match s () |\u003E stream.try_item *current_index with\n        | Some item =\u003E\n            current_index \u003C- *current_index \u002B 1\n            last_item \u003C- Some item\n            item\n        | None =\u003E\n            log |\u003E optionm\u0027.iter ((|\u003E) $\u0022$\\\u0022create_sequential_roller / roll / None\\\u0022\u0022)\n            if *len = -1\n            then len \u003C- *current_index\n            acc \u003C-\n                if *acc \u003E= *len\n                then 1\n                else *acc \u002B 1\n            current_index \u003C- *acc - 1\n            last_item \u003C- None\n            loop ()\n    loop\n\n// // ## roll_progressively\n\ninl roll_progressively (log : option (string -\u003E ())) roll reroll max =\n    inl power = (calculate_dice_count log max) - 1\n    let rec loop rolls size =\n        if size \u003C power \u002B 1\n        then loop (roll () :: rolls) (size \u002B 1)\n        else accumulate_dice_rolls log rolls power 0 |\u003E function\n            | Some (result, _) when result \u003C= max =\u003E result\n            | _ when reroll =\u003E loop (listm.init power (fun _ =\u003E roll ())) power\n            | _ =\u003E loop (roll () :: rolls) (size \u002B 1)\n    loop [] 0\n\n// // ## main\n\ninl main (_args : array_base string) =\n    inl result = roll_progressively (Some console.write_line) roll_dice true (limit.max : i64)\n    console.write_line ($\u0022$\\\u0022result: {!result}\\\u0022\u0022 : string)\n    0i32\n\ninl main () =\n    inl rotate_numbers\u0027 : i64 -\u003E stream.stream u8 -\u003E stream.stream u8 =\n        rotate_numbers\n\n    inl create_sequential_roller\u0027 :\n        optionm\u0027.option\u0027 (string -\u003E ())\n        -\u003E list u8 \n        -\u003E (() -\u003E u8)\n        =\n        optionm\u0027.unbox \u003E\u003E create_sequential_roller\n\n    inl roll_progressively\u0027 :\n        optionm\u0027.option\u0027 (string -\u003E ()) \n        -\u003E (() -\u003E u8)\n        -\u003E bool\n        -\u003E u64\n        -\u003E u64\n        =\n        optionm\u0027.unbox \u003E\u003E roll_progressively\n\n    inl roll_within_bounds\u0027 :\n        optionm\u0027.option\u0027 (string -\u003E ())\n        -\u003E u64\n        -\u003E list u8\n        -\u003E optionm\u0027.option\u0027 u64\n        =\n        fun a b c =\u003E\n            (optionm\u0027.unbox \u003E\u003E roll_within_bounds) a b c\n            |\u003E optionm\u0027.box\n\n    $\u0022let rotate_numbers x = !rotate_numbers\u0027 x\u0022 : ()\n    $\u0022let create_sequential_roller x = !create_sequential_roller\u0027 x\u0022 : ()\n    $\u0022let roll_progressively x = !roll_progressively\u0027 x\u0022 : ()\n    $\u0022let roll_within_bounds x = !roll_within_bounds\u0027 x\u0022 : ()\n    $\u0022let main args = !main args\u0022 : ()\n","uri":"file:///C:\\home\\git\\polyglot\\apps\\dice\\dice.spi"}} / result.Length:

00:00:01 #13 [Debug] sendJson / port: 13805 / json: {"BuildFile":{"backend":"Fsharp","uri":"file:///C:\\home\\git\\polyglot\\apps\\dice\\dice.spi"}} / result.Length:

00:00:01 #14 [Verbose] > Building C:\home\git\polyglot\apps\dice\dice.spi

00:00:02 #15 [Debug] buildFile / takeWhileInclusive / fsxContent:  / errors: [] / typeErrorCount: 0

00:00:03 #16 [Debug] buildFile / takeWhileInclusive / fsxContent: type UH0 =

    | UH0_0 of uint8 * (unit -> UH0)

    | UH0_1

and UH1 =

    | UH1_0 of uint8 * UH1

    | UH1_1

and [<Struct>] US0 =

    | US0_0

    | US0_1 of f1_0 : (string -> unit)

and [<Struct>] US1 =

    | US1_0 of f0_0 : UH0

    | US1_1 of f1_0 : (unit -> UH0)

and Mut0 = {mutable l0 : US1}

and Mut1 = {mutable l0 : int64}

and [<Struct>] US2 =

    | US2_0

    | US2_1 of f1_0 : uint8

and Mut2 = {mutable l0 : US2}

and [<Struct>] US3 =

    | US3_0

    | US3_1 of f1_0 : uint64 * f1_1 : UH1

and UH2 =

    | UH2_0 of uint64 * (unit -> UH2)

    | UH2_1

and [<Struct>] US4 =

    | US4_0

    | US4_1 of f1_0 : uint64

and [<Struct>] US5 =

    | US5_0

    | US5_1 of f1_0 : int64 * f1_1 : UH1

let rec closure2 (v0 : UH0) () : UH0 =

    v0

and method0 (v0 ... / errors: [] / typeErrorCount: 0

00:00:03 #17 [Debug] watchWithFilter / Disposing watch stream / filter: FileName, LastWrite

00:00:00 #1 [Debug] persistCodeProject / packages: [Fable.Core] / modules: [lib/fsharp/Common.fs] / name: dice / code.Length: 67754

00:00:00 #2 [Debug] buildProject / fullPath: C:\home\git\polyglot\target\polyglot\builder\dice\dice.fsproj

00:00:00 #3 [Debug] executeAsync / options: { Command =

   "dotnet publish "C:\home\git\polyglot\target/polyglot/builder\dice\dice.fsproj" --configuration Release --output "C:\home\git\polyglot\apps\dice\dist" --runtime linux-x64"

  WorkingDirectory = Some "C:\home\git\polyglot\target\polyglot\builder\dice"

  CancellationToken = None

  OnLine = None }

00:00:00 #4 [Verbose] > MSBuild version 17.8.3+195e7f5a3 for .NET

00:00:00 #5 [Verbose] >   Determining projects to restore...

00:00:02 #6 [Verbose] >   Restored C:\home\git\polyglot\target\polyglot\builder\dice\dice.fsproj (in 1.24 sec).

00:00:06 #7 [Verbose] >   dice -> C:\home\git\polyglot\target\polyglot\builder\dice\bin\Release\net8.0\linux-x64\dice.dll

00:00:07 #8 [Verbose] >   dice -> C:\home\git\polyglot\apps\dice\dist\

00:00:07 #9 [Debug] executeAsync / exitCode: 0 / output.Length: 311

00:00:07 #10 [Debug] executeAsync / options: { Command =

   "dotnet publish "C:\home\git\polyglot\target/polyglot/builder\dice\dice.fsproj" --configuration Release --output "C:\home\git\polyglot\apps\dice\dist" --runtime win-x64"

  WorkingDirectory = Some "C:\home\git\polyglot\target\polyglot\builder\dice"

  CancellationToken = None

  OnLine = None }

00:00:08 #11 [Verbose] > MSBuild version 17.8.3+195e7f5a3 for .NET

00:00:08 #12 [Verbose] >   Determining projects to restore...

00:00:09 #13 [Verbose] >   Restored C:\home\git\polyglot\target\polyglot\builder\dice\dice.fsproj (in 328 ms).

00:00:13 #14 [Verbose] >   dice -> C:\home\git\polyglot\target\polyglot\builder\dice\bin\Release\net8.0\win-x64\dice.dll

00:00:16 #15 [Verbose] >   dice -> C:\home\git\polyglot\apps\dice\dist\

00:00:16 #16 [Debug] executeAsync / exitCode: 0 / output.Length: 307

Fable 4.5.0: F# to Rust compiler (status: alpha)



Thanks to the contributor! @ctaggart

Stand with Ukraine! https://standwithukraine.com.ua/



Parsing ..\..\target\polyglot\builder\dice\dice.fsproj...

Retrieving project options from cache, in case of issues run `dotnet fable clean` or try `--noCache` option.

Project and references (2 source files) parsed in 195ms



Started Fable compilation...

Fable compilation finished in 3126ms



Fable 4.5.0: F# to TypeScript compiler

Minimum fable-library version (when installed from npm): 1.1.1



Thanks to the contributor! @justinjstark

Stand with Ukraine! https://standwithukraine.com.ua/



Parsing ..\..\target\polyglot\builder\dice\dice.fsproj...

Retrieving project options from cache, in case of issues run `dotnet fable clean` or try `--noCache` option.

Project and references (2 source files) parsed in 207ms



Started Fable compilation...

Fable compilation finished in 3347ms



Fable 4.5.0: F# to Python compiler (status: beta)



Thanks to the contributor! @hensou

Stand with Ukraine! https://standwithukraine.com.ua/



Parsing ..\..\target\polyglot\builder\dice\dice.fsproj...

Retrieving project options from cache, in case of issues run `dotnet fable clean` or try `--noCache` option.

Project and references (2 source files) parsed in 196ms



Started Fable compilation...

Fable compilation finished in 2932ms



Fable 4.5.0: F# to PHP compiler (status: experimental)



Thanks to the contributor! @Choc13

Stand with Ukraine! https://standwithukraine.com.ua/



Parsing ..\..\target\polyglot\builder\dice\dice.fsproj...

Retrieving project options from cache, in case of issues run `dotnet fable clean` or try `--noCache` option.

Project and references (2 source files) parsed in 208ms



Started Fable compilation...

Fable compilation finished in 3007ms



.\..\..\lib\fsharp\Common.fs(56,17): (56,49) error FABLE: String templates are not supported

.\..\..\lib\fsharp\Common.fs(135,23): (135,35) error FABLE: String templates are not supported

.\..\..\target\polyglot\builder\dice\dice.fs(39,30): (39,32) error FABLE: Numeric literal is not supported: System.Int64

.\..\..\target\polyglot\builder\dice\dice.fs(42,32): (42,34) error FABLE: Numeric literal is not supported: System.Int64

.\..\..\target\polyglot\builder\dice\dice.fs(105,30): (105,32) error FABLE: Numeric literal is not supported: System.Int64

.\..\..\target\polyglot\builder\dice\dice.fs(109,34): (109,36) error FABLE: Numeric literal is not supported: System.Int64

.\..\..\target\polyglot\builder\dice\dice.fs(161,32): (161,34) error FABLE: Numeric literal is not supported: System.Int64

.\..\..\target\polyglot\builder\dice\dice.fs(137,31): (137,34) error FABLE: Numeric literal is not supported: System.Int64

.\..\..\target\polyglot\builder\dice\dice.fs(147,16): (147,18) error FABLE: Numeric literal is not supported: System.Int64

.\..\..\target\polyglot\builder\dice\dice.fs(150,40): (150,42) error FABLE: Numeric literal is not supported: System.Int64

.\..\..\target\polyglot\builder\dice\dice.fs(154,32): (154,34) error FABLE: Numeric literal is not supported: System.Int64

.\..\..\target\polyglot\builder\dice\dice.fs(182,27): (182,29) error FABLE: Numeric literal is not supported: System.Int64

.\..\..\target\polyglot\builder\dice\dice.fs(183,27): (183,29) error FABLE: Numeric literal is not supported: System.Int64

.\..\..\target\polyglot\builder\dice\dice.fs(184,27): (184,30) error FABLE: Numeric literal is not supported: System.Int64

.\..\..\target\polyglot\builder\dice\dice.fs(196,31): (196,34) error FABLE: Numeric literal is not supported: System.UInt64

.\..\..\target\polyglot\builder\dice\dice.fs(202,30): (202,85) error FABLE: String templates are not supported

.\..\..\target\polyglot\builder\dice\dice.fs(210,27): (210,82) error FABLE: String templates are not supported

.\..\..\target\polyglot\builder\dice\dice.fs(219,10): (219,13) error FABLE: Numeric literal is not supported: System.UInt64

.\..\..\target\polyglot\builder\dice\dice.fs(222,10): (222,31) error FABLE: Numeric literal is not supported: System.UInt64

.\..\..\target\polyglot\builder\dice\dice.fs(225,10): (225,31) error FABLE: Numeric literal is not supported: System.UInt64

.\..\..\target\polyglot\builder\dice\dice.fs(228,10): (228,31) error FABLE: Numeric literal is not supported: System.UInt64

.\..\..\target\polyglot\builder\dice\dice.fs(231,10): (231,31) error FABLE: Numeric literal is not supported: System.UInt64

.\..\..\target\polyglot\builder\dice\dice.fs(234,10): (234,32) error FABLE: Numeric literal is not supported: System.UInt64

.\..\..\target\polyglot\builder\dice\dice.fs(237,10): (237,32) error FABLE: Numeric literal is not supported: System.UInt64

.\..\..\target\polyglot\builder\dice\dice.fs(240,10): (240,31) error FABLE: Numeric literal is not supported: System.UInt64

.\..\..\target\polyglot\builder\dice\dice.fs(243,10): (243,31) error FABLE: Numeric literal is not supported: System.UInt64

.\..\..\target\polyglot\builder\dice\dice.fs(246,10): (246,32) error FABLE: Numeric literal is not supported: System.UInt64

.\..\..\target\polyglot\builder\dice\dice.fs(249,10): (249,32) error FABLE: Numeric literal is not supported: System.UInt64

.\..\..\target\polyglot\builder\dice\dice.fs(252,10): (252,32) error FABLE: Numeric literal is not supported: System.UInt64

.\..\..\target\polyglot\builder\dice\dice.fs(255,10): (255,31) error FABLE: Numeric literal is not supported: System.UInt64

.\..\..\target\polyglot\builder\dice\dice.fs(258,10): (258,31) error FABLE: Numeric literal is not supported: System.UInt64

.\..\..\target\polyglot\builder\dice\dice.fs(261,10): (261,32) error FABLE: Numeric literal is not supported: System.UInt64

.\..\..\target\polyglot\builder\dice\dice.fs(264,10): (264,31) error FABLE: Numeric literal is not supported: System.UInt64

.\..\..\target\polyglot\builder\dice\dice.fs(267,10): (267,31) error FABLE: Numeric literal is not supported: System.UInt64

.\..\..\target\polyglot\builder\dice\dice.fs(270,10): (270,30) error FABLE: Numeric literal is not supported: System.UInt64

.\..\..\target\polyglot\builder\dice\dice.fs(273,10): (273,30) error FABLE: Numeric literal is not supported: System.UInt64

.\..\..\target\polyglot\builder\dice\dice.fs(276,10): (276,31) error FABLE: Numeric literal is not supported: System.UInt64

.\..\..\target\polyglot\builder\dice\dice.fs(279,10): (279,31) error FABLE: Numeric literal is not supported: System.UInt64

.\..\..\target\polyglot\builder\dice\dice.fs(282,10): (282,32) error FABLE: Numeric literal is not supported: System.UInt64

.\..\..\target\polyglot\builder\dice\dice.fs(285,10): (285,31) error FABLE: Numeric literal is not supported: System.UInt64

.\..\..\target\polyglot\builder\dice\dice.fs(288,10): (288,32) error FABLE: Numeric literal is not supported: System.UInt64

.\..\..\target\polyglot\builder\dice\dice.fs(291,10): (291,31) error FABLE: Numeric literal is not supported: System.UInt64

.\..\..\target\polyglot\builder\dice\dice.fs(294,10): (294,31) error FABLE: Numeric literal is not supported: System.UInt64

.\..\..\target\polyglot\builder\dice\dice.fs(297,10): (297,30) error FABLE: Numeric literal is not supported: System.UInt64

.\..\..\target\polyglot\builder\dice\dice.fs(300,10): (300,31) error FABLE: Numeric literal is not supported: System.UInt64

.\..\..\target\polyglot\builder\dice\dice.fs(303,10): (303,32) error FABLE: Numeric literal is not supported: System.UInt64

.\..\..\target\polyglot\builder\dice\dice.fs(306,10): (306,32) error FABLE: Numeric literal is not supported: System.UInt64

.\..\..\target\polyglot\builder\dice\dice.fs(309,10): (309,32) error FABLE: Numeric literal is not supported: System.UInt64

.\..\..\target\polyglot\builder\dice\dice.fs(312,10): (312,31) error FABLE: Numeric literal is not supported: System.UInt64

.\..\..\target\polyglot\builder\dice\dice.fs(315,10): (315,32) error FABLE: Numeric literal is not supported: System.UInt64

.\..\..\target\polyglot\builder\dice\dice.fs(318,10): (318,32) error FABLE: Numeric literal is not supported: System.UInt64

.\..\..\target\polyglot\builder\dice\dice.fs(321,10): (321,31) error FABLE: Numeric literal is not supported: System.UInt64

.\..\..\target\polyglot\builder\dice\dice.fs(324,10): (324,31) error FABLE: Numeric literal is not supported: System.UInt64

.\..\..\target\polyglot\builder\dice\dice.fs(327,10): (327,32) error FABLE: Numeric literal is not supported: System.UInt64

.\..\..\target\polyglot\builder\dice\dice.fs(330,10): (330,31) error FABLE: Numeric literal is not supported: System.UInt64

.\..\..\target\polyglot\builder\dice\dice.fs(333,10): (333,31) error FABLE: Numeric literal is not supported: System.UInt64

.\..\..\target\polyglot\builder\dice\dice.fs(336,10): (336,31) error FABLE: Numeric literal is not supported: System.UInt64

.\..\..\target\polyglot\builder\dice\dice.fs(339,10): (339,31) error FABLE: Numeric literal is not supported: System.UInt64

.\..\..\target\polyglot\builder\dice\dice.fs(342,10): (342,30) error FABLE: Numeric literal is not supported: System.UInt64

.\..\..\target\polyglot\builder\dice\dice.fs(345,10): (345,30) error FABLE: Numeric literal is not supported: System.UInt64

.\..\..\target\polyglot\builder\dice\dice.fs(348,10): (348,29) error FABLE: Numeric literal is not supported: System.UInt64

.\..\..\target\polyglot\builder\dice\dice.fs(351,10): (351,28) error FABLE: Numeric literal is not supported: System.UInt64

.\..\..\target\polyglot\builder\dice\dice.fs(354,10): (354,27) error FABLE: Numeric literal is not supported: System.UInt64

.\..\..\target\polyglot\builder\dice\dice.fs(357,10): (357,27) error FABLE: Numeric literal is not supported: System.UInt64

.\..\..\target\polyglot\builder\dice\dice.fs(360,10): (360,26) error FABLE: Numeric literal is not supported: System.UInt64

.\..\..\target\polyglot\builder\dice\dice.fs(363,10): (363,25) error FABLE: Numeric literal is not supported: System.UInt64

.\..\..\target\polyglot\builder\dice\dice.fs(366,10): (366,24) error FABLE: Numeric literal is not supported: System.UInt64

.\..\..\target\polyglot\builder\dice\dice.fs(369,10): (369,23) error FABLE: Numeric literal is not supported: System.UInt64

.\..\..\target\polyglot\builder\dice\dice.fs(372,10): (372,23) error FABLE: Numeric literal is not supported: System.UInt64

.\..\..\target\polyglot\builder\dice\dice.fs(375,10): (375,22) error FABLE: Numeric literal is not supported: System.UInt64

.\..\..\target\polyglot\builder\dice\dice.fs(378,10): (378,21) error FABLE: Numeric literal is not supported: System.UInt64

.\..\..\target\polyglot\builder\dice\dice.fs(381,10): (381,20) error FABLE: Numeric literal is not supported: System.UInt64

.\..\..\target\polyglot\builder\dice\dice.fs(384,10): (384,20) error FABLE: Numeric literal is not supported: System.UInt64

.\..\..\target\polyglot\builder\dice\dice.fs(387,10): (387,19) error FABLE: Numeric literal is not supported: System.UInt64

.\..\..\target\polyglot\builder\dice\dice.fs(390,10): (390,18) error FABLE: Numeric literal is not supported: System.UInt64

.\..\..\target\polyglot\builder\dice\dice.fs(393,10): (393,17) error FABLE: Numeric literal is not supported: System.UInt64

.\..\..\target\polyglot\builder\dice\dice.fs(396,10): (396,16) error FABLE: Numeric literal is not supported: System.UInt64

.\..\..\target\polyglot\builder\dice\dice.fs(399,10): (399,16) error FABLE: Numeric literal is not supported: System.UInt64

.\..\..\target\polyglot\builder\dice\dice.fs(402,10): (402,15) error FABLE: Numeric literal is not supported: System.UInt64

.\..\..\target\polyglot\builder\dice\dice.fs(405,10): (405,14) error FABLE: Numeric literal is not supported: System.UInt64

.\..\..\target\polyglot\builder\dice\dice.fs(408,10): (408,13) error FABLE: Numeric literal is not supported: System.UInt64

.\..\..\target\polyglot\builder\dice\dice.fs(424,26): (424,76) error FABLE: String templates are not supported

.\..\..\target\polyglot\builder\dice\dice.fs(430,31): (430,34) error FABLE: Numeric literal is not supported: System.UInt64

.\..\..\target\polyglot\builder\dice\dice.fs(437,35): (437,38) error FABLE: Numeric literal is not supported: System.UInt64

.\..\..\target\polyglot\builder\dice\dice.fs(450,35): (450,114) error FABLE: String templates are not supported

.\..\..\target\polyglot\builder\dice\dice.fs(460,35): (460,99) error FABLE: String templates are not supported

.\..\..\target\polyglot\builder\dice\dice.fs(487,27): (487,30) error FABLE: Numeric literal is not supported: System.UInt64

.\..\..\target\polyglot\builder\dice\dice.fs(521,27): (521,30) error FABLE: Numeric literal is not supported: System.UInt64

.\..\..\target\polyglot\builder\dice\dice.fs(549,25): (549,28) error FABLE: Numeric literal is not supported: System.UInt64

.\..\..\target\polyglot\builder\dice\dice.fs(555,30): (555,33) error FABLE: Numeric literal is not supported: System.UInt64

.\..\..\target\polyglot\builder\dice\dice.fs(584,22): (584,25) error FABLE: Numeric literal is not supported: System.UInt64

.\..\..\target\polyglot\builder\dice\dice.fs(589,36): (589,39) error FABLE: Numeric literal is not supported: System.UInt64

.\..\..\target\polyglot\builder\dice\dice.fs(614,22): (614,73) error FABLE: String templates are not supported

.\..\..\target\polyglot\builder\dice\dice.fs(616,26): (616,28) error FABLE: Numeric literal is not supported: System.Int64

.\..\..\target\polyglot\builder\dice\dice.fs(625,30): (625,107) error FABLE: String templates are not supported

.\..\..\target\polyglot\builder\dice\dice.fs(630,31): (630,94) error FABLE: String templates are not supported

.\..\..\target\polyglot\builder\dice\dice.fs(642,34): (642,36) error FABLE: Numeric literal is not supported: System.Int64

.\..\..\target\polyglot\builder\dice\dice.fs(643,30): (643,107) error FABLE: String templates are not supported

.\..\..\target\polyglot\builder\dice\dice.fs(648,31): (648,94) error FABLE: String templates are not supported

.\..\..\target\polyglot\builder\dice\dice.fs(660,34): (660,37) error FABLE: Numeric literal is not supported: System.Int64

.\..\..\target\polyglot\builder\dice\dice.fs(661,30): (661,107) error FABLE: String templates are not supported

.\..\..\target\polyglot\builder\dice\dice.fs(666,31): (666,94) error FABLE: String templates are not supported

.\..\..\target\polyglot\builder\dice\dice.fs(678,34): (678,38) error FABLE: Numeric literal is not supported: System.Int64

.\..\..\target\polyglot\builder\dice\dice.fs(679,30): (679,107) error FABLE: String templates are not supported

.\..\..\target\polyglot\builder\dice\dice.fs(684,31): (684,94) error FABLE: String templates are not supported

.\..\..\target\polyglot\builder\dice\dice.fs(696,34): (696,39) error FABLE: Numeric literal is not supported: System.Int64

.\..\..\target\polyglot\builder\dice\dice.fs(697,30): (697,107) error FABLE: String templates are not supported

.\..\..\target\polyglot\builder\dice\dice.fs(702,31): (702,94) error FABLE: String templates are not supported

.\..\..\target\polyglot\builder\dice\dice.fs(714,34): (714,39) error FABLE: Numeric literal is not supported: System.Int64

.\..\..\target\polyglot\builder\dice\dice.fs(715,30): (715,107) error FABLE: String templates are not supported

.\..\..\target\polyglot\builder\dice\dice.fs(720,31): (720,94) error FABLE: String templates are not supported

.\..\..\target\polyglot\builder\dice\dice.fs(732,34): (732,40) error FABLE: Numeric literal is not supported: System.Int64

.\..\..\target\polyglot\builder\dice\dice.fs(733,30): (733,107) error FABLE: String templates are not supported

.\..\..\target\polyglot\builder\dice\dice.fs(738,31): (738,94) error FABLE: String templates are not supported

.\..\..\target\polyglot\builder\dice\dice.fs(750,34): (750,41) error FABLE: Numeric literal is not supported: System.Int64

.\..\..\target\polyglot\builder\dice\dice.fs(751,30): (751,107) error FABLE: String templates are not supported

.\..\..\target\polyglot\builder\dice\dice.fs(756,31): (756,94) error FABLE: String templates are not supported

.\..\..\target\polyglot\builder\dice\dice.fs(768,34): (768,42) error FABLE: Numeric literal is not supported: System.Int64

.\..\..\target\polyglot\builder\dice\dice.fs(769,30): (769,107) error FABLE: String templates are not supported

.\..\..\target\polyglot\builder\dice\dice.fs(774,31): (774,94) error FABLE: String templates are not supported

.\..\..\target\polyglot\builder\dice\dice.fs(786,34): (786,43) error FABLE: Numeric literal is not supported: System.Int64

.\..\..\target\polyglot\builder\dice\dice.fs(787,30): (787,107) error FABLE: String templates are not supported

.\..\..\target\polyglot\builder\dice\dice.fs(792,31): (792,94) error FABLE: String templates are not supported

.\..\..\target\polyglot\builder\dice\dice.fs(804,34): (804,43) error FABLE: Numeric literal is not supported: System.Int64

.\..\..\target\polyglot\builder\dice\dice.fs(805,30): (805,108) error FABLE: String templates are not supported

.\..\..\target\polyglot\builder\dice\dice.fs(810,31): (810,95) error FABLE: String templates are not supported

.\..\..\target\polyglot\builder\dice\dice.fs(822,34): (822,44) error FABLE: Numeric literal is not supported: System.Int64

.\..\..\target\polyglot\builder\dice\dice.fs(823,30): (823,108) error FABLE: String templates are not supported

.\..\..\target\polyglot\builder\dice\dice.fs(828,31): (828,95) error FABLE: String templates are not supported

.\..\..\target\polyglot\builder\dice\dice.fs(840,34): (840,45) error FABLE: Numeric literal is not supported: System.Int64

.\..\..\target\polyglot\builder\dice\dice.fs(841,30): (841,108) error FABLE: String templates are not supported

.\..\..\target\polyglot\builder\dice\dice.fs(846,31): (846,95) error FABLE: String templates are not supported

.\..\..\target\polyglot\builder\dice\dice.fs(858,34): (858,46) error FABLE: Numeric literal is not supported: System.Int64

.\..\..\target\polyglot\builder\dice\dice.fs(859,30): (859,108) error FABLE: String templates are not supported

.\..\..\target\polyglot\builder\dice\dice.fs(864,31): (864,95) error FABLE: String templates are not supported

.\..\..\target\polyglot\builder\dice\dice.fs(876,34): (876,46) error FABLE: Numeric literal is not supported: System.Int64

.\..\..\target\polyglot\builder\dice\dice.fs(877,30): (877,108) error FABLE: String templates are not supported

.\..\..\target\polyglot\builder\dice\dice.fs(882,31): (882,95) error FABLE: String templates are not supported

.\..\..\target\polyglot\builder\dice\dice.fs(894,34): (894,47) error FABLE: Numeric literal is not supported: System.Int64

.\..\..\target\polyglot\builder\dice\dice.fs(895,30): (895,108) error FABLE: String templates are not supported

.\..\..\target\polyglot\builder\dice\dice.fs(900,31): (900,95) error FABLE: String templates are not supported

.\..\..\target\polyglot\builder\dice\dice.fs(912,34): (912,48) error FABLE: Numeric literal is not supported: System.Int64

.\..\..\target\polyglot\builder\dice\dice.fs(913,30): (913,108) error FABLE: String templates are not supported

.\..\..\target\polyglot\builder\dice\dice.fs(918,31): (918,95) error FABLE: String templates are not supported

.\..\..\target\polyglot\builder\dice\dice.fs(930,34): (930,49) error FABLE: Numeric literal is not supported: System.Int64

.\..\..\target\polyglot\builder\dice\dice.fs(931,30): (931,108) error FABLE: String templates are not supported

.\..\..\target\polyglot\builder\dice\dice.fs(936,31): (936,95) error FABLE: String templates are not supported

.\..\..\target\polyglot\builder\dice\dice.fs(948,34): (948,50) error FABLE: Numeric literal is not supported: System.Int64

.\..\..\target\polyglot\builder\dice\dice.fs(949,30): (949,108) error FABLE: String templates are not supported

.\..\..\target\polyglot\builder\dice\dice.fs(954,31): (954,95) error FABLE: String templates are not supported

.\..\..\target\polyglot\builder\dice\dice.fs(966,34): (966,50) error FABLE: Numeric literal is not supported: System.Int64

.\..\..\target\polyglot\builder\dice\dice.fs(967,30): (967,108) error FABLE: String templates are not supported

.\..\..\target\polyglot\builder\dice\dice.fs(972,31): (972,95) error FABLE: String templates are not supported

.\..\..\target\polyglot\builder\dice\dice.fs(984,34): (984,51) error FABLE: Numeric literal is not supported: System.Int64

.\..\..\target\polyglot\builder\dice\dice.fs(985,30): (985,108) error FABLE: String templates are not supported

.\..\..\target\polyglot\builder\dice\dice.fs(990,31): (990,95) error FABLE: String templates are not supported

.\..\..\target\polyglot\builder\dice\dice.fs(1002,34): (1002,52) error FABLE: Numeric literal is not supported: System.Int64

.\..\..\target\polyglot\builder\dice\dice.fs(1003,30): (1003,108) error FABLE: String templates are not supported

.\..\..\target\polyglot\builder\dice\dice.fs(1008,31): (1008,95) error FABLE: String templates are not supported

.\..\..\target\polyglot\builder\dice\dice.fs(1020,34): (1020,53) error FABLE: Numeric literal is not supported: System.Int64

.\..\..\target\polyglot\builder\dice\dice.fs(1021,30): (1021,108) error FABLE: String templates are not supported

.\..\..\target\polyglot\builder\dice\dice.fs(1026,31): (1026,95) error FABLE: String templates are not supported

.\..\..\target\polyglot\builder\dice\dice.fs(1038,34): (1038,53) error FABLE: Numeric literal is not supported: System.Int64

.\..\..\target\polyglot\builder\dice\dice.fs(1039,30): (1039,108) error FABLE: String templates are not supported

.\..\..\target\polyglot\builder\dice\dice.fs(1044,31): (1044,95) error FABLE: String templates are not supported

.\..\..\target\polyglot\builder\dice\dice.fs(1073,26): (1073,28) error FABLE: Numeric literal is not supported: System.Int64

.\..\..\target\polyglot\builder\dice\dice.fs(1077,36): (1077,56) error FABLE: Numeric literal is not supported: System.Int64

.\..\..\target\polyglot\builder\dice\dice.fs(1829,22): (1829,114) error FABLE: String templates are not supported

.\..\..\target\polyglot\builder\dice\dice.fs(1834,22): (1834,37) error FABLE: String templates are not supported

Compilation failed


# Invoke-Block / $Retry: 1 / $OnError: Continue / $exitcode: 1 / $EnvVars: null / $Error: '' / $ScriptBlock:
'dotnet fable $targetDir/dice.fsproj --optimize --lang php --extension .php --outDir $targetDir/php'


Fable 4.5.0: F# to Dart compiler (status: beta)



Thanks to the contributor! @byte-666

Stand with Ukraine! https://standwithukraine.com.ua/



Parsing ..\..\target\polyglot\builder\dice\dice.fsproj...

Retrieving project options from cache, in case of issues run `dotnet fable clean` or try `--noCache` option.

Project and references (2 source files) parsed in 203ms



Started Fable compilation...

Fable compilation finished in 3037ms



.\..\..\lib\fsharp\Common.fs(1,1): error FABLE: Cannot find reference for Microsoft.FSharp.Core.PrintfFormat`5

.\..\..\target\polyglot\builder\dice\dice.fs(1,1): error FABLE: Cannot find reference for Microsoft.FSharp.Core.PrintfFormat`5

.\..\..\target\polyglot\builder\dice\dice.fs(1,1): error FABLE: Cannot find reference for System.Random

Compilation failed


# Invoke-Block / $Retry: 1 / $OnError: Continue / $exitcode: 1 / $EnvVars: null / $Error: '' / $ScriptBlock:
'dotnet fable $targetDir/dice.fsproj --optimize --lang dart --extension .dart --outDir $targetDir/dart'


Fable 4.5.0: F# to Rust compiler (status: alpha)



Thanks to the contributor! @worldbeater

Stand with Ukraine! https://standwithukraine.com.ua/



Parsing ..\..\target\polyglot\builder\dice\dice.fsproj...

Retrieving project options from cache, in case of issues run `dotnet fable clean` or try `--noCache` option.

Project and references (2 source files) parsed in 198ms



Started Fable compilation...

Fable compilation finished in 3040ms



   Compiling dice v0.0.1 (C:\home\git\polyglot\apps\dice)

    Finished release [optimized] target(s) in 6.77s

     Running `C:\home\git\polyglot\target\release\dice.exe`

calculate_dice_count / max: 9223372036854775807 / n: 24 / p: 4738381338321616896

accumulate_dice_rolls / power: 23 / acc: 0 / roll: 4 / value: 2369190669160808448

accumulate_dice_rolls / power: 22 / acc: 2369190669160808448 / roll: 1

accumulate_dice_rolls / power: 21 / acc: 2369190669160808448 / roll: 4 / value: 65810851921133568

accumulate_dice_rolls / power: 20 / acc: 2435001521081942016 / roll: 1

accumulate_dice_rolls / power: 19 / acc: 2435001521081942016 / roll: 5 / value: 2437438960041984

accumulate_dice_rolls / power: 18 / acc: 2437438960041984000 / roll: 3 / value: 203119913336832

accumulate_dice_rolls / power: 17 / acc: 2437642079955320832 / roll: 4 / value: 50779978334208

accumulate_dice_rolls / power: 16 / acc: 2437692859933655040 / roll: 3 / value: 5642219814912

accumulate_dice_rolls / power: 15 / acc: 2437698502153469952 / roll: 3 / value: 940369969152

accumulate_dice_rolls / power: 14 / acc: 2437699442523439104 / roll: 3 / value: 156728328192

accumulate_dice_rolls / power: 13 / acc: 2437699599251767296 / roll: 6 / value: 65303470080

accumulate_dice_rolls / power: 12 / acc: 2437699664555237376 / roll: 5 / value: 8707129344

accumulate_dice_rolls / power: 11 / acc: 2437699673262366720 / roll: 3 / value: 725594112

accumulate_dice_rolls / power: 10 / acc: 2437699673987960832 / roll: 5 / value: 241864704

accumulate_dice_rolls / power: 9 / acc: 2437699674229825536 / roll: 3 / value: 20155392

accumulate_dice_rolls / power: 8 / acc: 2437699674249980928 / roll: 2 / value: 1679616

accumulate_dice_rolls / power: 7 / acc: 2437699674251660544 / roll: 3 / value: 559872

accumulate_dice_rolls / power: 6 / acc: 2437699674252220416 / roll: 3 / value: 93312

accumulate_dice_rolls / power: 5 / acc: 2437699674252313728 / roll: 6 / value: 38880

accumulate_dice_rolls / power: 4 / acc: 2437699674252352608 / roll: 1

accumulate_dice_rolls / power: 3 / acc: 2437699674252352608 / roll: 5 / value: 864

accumulate_dice_rolls / power: 2 / acc: 2437699674252353472 / roll: 3 / value: 72

accumulate_dice_rolls / power: 1 / acc: 2437699674252353544 / roll: 6 / value: 30

accumulate_dice_rolls / power: 0 / acc: 2437699674252353574 / roll: 2 / value: 1

accumulate_dice_rolls / power: -1 / acc: 2437699674252353575

result: 2437699674252353576

   Compiling dice v0.0.1 (C:\home\git\polyglot\apps\dice)

   Compiling dice_contract v0.0.1 (C:\home\git\polyglot\apps\dice\contract)

    Finished release [optimized] target(s) in 5.83s

## 7

    Finished release [optimized] target(s) in 16.56s

     Running `/mnt/c/home/git/polyglot/target/release/dice_contract_tests`





new: ExecutionFinalResult {

    total_gas_burnt: NearGas {

        inner: 5275933424310,

    },

    transaction: ExecutionOutcome {

        transaction_hash: AkMz97dCd7wrGhFbuqyA6iL34BvpZS7h59nTzvn4SY6H,

        block_hash: 9PupixcxRUB4SmRinPhRVoysm7vivkaMm6HFYCCP8p3X,

        logs: [],

        receipt_ids: [

            F1QEboVFzKcQ31XJ2Z22C8gttDn1JjxH9qx25zT9CQmc,

        ],

        gas_burnt: NearGas {

            inner: 2427927707802,

        },

        tokens_burnt: NearToken {

            inner: 242792770780200000000,

        },

        executor_id: AccountId(

            "dev-20231130131004-67019978302256",

        ),

        status: SuccessReceiptId(F1QEboVFzKcQ31XJ2Z22C8gttDn1JjxH9qx25zT9CQmc),

    },

    receipts: [

        ExecutionOutcome {

            transaction_hash: F1QEboVFzKcQ31XJ2Z22C8gttDn1JjxH9qx25zT9CQmc,

            block_hash: 9PupixcxRUB4SmRinPhRVoysm7vivkaMm6HFYCCP8p3X,

            logs: [],

            receipt_ids: [

                H2vbyhxV2RHBhbqZ36NEPcztLt9Qsv5UYdJ1d3k8up8K,

            ],

            gas_burnt: NearGas {

                inner: 2624823154008,

            },

            tokens_burnt: NearToken {

                inner: 262482315400800000000,

            },

            executor_id: AccountId(

                "dev-20231130131004-67019978302256",

            ),

            status: SuccessValue(''),

        },

        ExecutionOutcome {

            transaction_hash: H2vbyhxV2RHBhbqZ36NEPcztLt9Qsv5UYdJ1d3k8up8K,

            block_hash: De6qB5JZP1ks7YyNkLrDXZ93YmGRXVAyVUz1t3vvtUnK,

            logs: [],

            receipt_ids: [],

            gas_burnt: NearGas {

                inner: 223182562500,

            },

            tokens_burnt: NearToken {

                inner: 0,

            },

            executor_id: AccountId(

                "dev-20231130131004-67019978302256",

            ),

            status: SuccessValue(''),

        },

    ],

    status: SuccessValue(''),

}

total_gas_burnt_usd: 0.00352432352743908

outcome (success: true):

  outcome_gas_burnt_usd: 0.001621855708811736

  outcome_tokens_burnt_usd: 0.0

outcome (success: true):

  outcome_gas_burnt_usd: 0.001753381866877344

  outcome_tokens_burnt_usd: 0.0

outcome (success: true):

  outcome_gas_burnt_usd: 0.00014908595175

  outcome_tokens_burnt_usd: 0.0





roll_within_bounds(contract, ''): ExecutionFinalResult {

    total_gas_burnt: NearGas {

        inner: 5425938418399,

    },

    transaction: ExecutionOutcome {

        transaction_hash: DTht6B4LgBFV42K8vyRjA7yfdDXXxB1EUJwrTRnvcS3E,

        block_hash: CFDUJ3ygUD4f1TvSQ3V5pm3C6rdV3SevfLDbLH9qdHYz,

        logs: [],

        receipt_ids: [

            uSrA74RZFFBm5bfpHvUFXtVpN7Yuo9wFkkB9W7wD6vZ,

        ],

        gas_burnt: NearGas {

            inner: 2428032796700,

        },

        tokens_burnt: NearToken {

            inner: 242803279670000000000,

        },

        executor_id: AccountId(

            "dev-20231130131004-67019978302256",

        ),

        status: SuccessReceiptId(uSrA74RZFFBm5bfpHvUFXtVpN7Yuo9wFkkB9W7wD6vZ),

    },

    receipts: [

        ExecutionOutcome {

            transaction_hash: uSrA74RZFFBm5bfpHvUFXtVpN7Yuo9wFkkB9W7wD6vZ,

            block_hash: CFDUJ3ygUD4f1TvSQ3V5pm3C6rdV3SevfLDbLH9qdHYz,

            logs: [

                "roll_within_bounds / max: 2000 / rolls: [1, 5, 4, 4, 5]",

                "accumulate_dice_rolls / power: 4 / acc: 0 / roll: 1\naccumulate_dice_rolls / power: 3 / acc: 0 / roll: 5 / value: 864\naccumulate_dice_rolls / power: 2 / acc: 864 / roll: 4 / value: 108\naccumulate_dice_rolls / power: 1 / acc: 972 / roll: 4 / value: 18\naccumulate_dice_rolls / power: 0 / acc: 990 / roll: 5 / value: 4",

                "accumulate_dice_rolls / power: -1 / acc: 994",

            ],

            receipt_ids: [

                FwicfpP4thKvZsg4kaCwdZ1TnPA9rmMoqbtNxU1RxHoz,

            ],

            gas_burnt: NearGas {

                inner: 2774723059199,

            },

            tokens_burnt: NearToken {

                inner: 277472305919900000000,

            },

            executor_id: AccountId(

                "dev-20231130131004-67019978302256",

            ),

            status: SuccessValue('995'),

        },

        ExecutionOutcome {

            transaction_hash: FwicfpP4thKvZsg4kaCwdZ1TnPA9rmMoqbtNxU1RxHoz,

            block_hash: CETvFZL2p81RxyFcnCr6jFfCLQsFe1LM4RetHi6TcndU,

            logs: [],

            receipt_ids: [],

            gas_burnt: NearGas {

                inner: 223182562500,

            },

            tokens_burnt: NearToken {

                inner: 0,

            },

            executor_id: AccountId(

                "dev-20231130131004-67019978302256",

            ),

            status: SuccessValue(''),

        },

    ],

    status: SuccessValue('995'),

}

total_gas_burnt_usd: 0.003624526863490532

outcome (success: true):

  outcome_gas_burnt_usd: 0.0016219259081956

  outcome_tokens_burnt_usd: 0.0

outcome (success: true):

  outcome_gas_burnt_usd: 0.001853515003544932

  outcome_tokens_burnt_usd: 0.0

outcome (success: true):

  outcome_gas_burnt_usd: 0.00014908595175

  outcome_tokens_burnt_usd: 0.0





roll_within_bounds_borsh(contract, ''): ExecutionFinalResult {

    total_gas_burnt: NearGas {

        inner: 5435279367742,

    },

    transaction: ExecutionOutcome {

        transaction_hash: 85nEoxpae4Amh8jxevosmkuWPgp4xapQpsDNPS4vCXBU,

        block_hash: 4WZTXtnBnzi3K8ZUJ4Mq2ikhHZ8giRgauK7rUFAunSsr,

        logs: [],

        receipt_ids: [

            4srSsmJPdLAQptPNHqKq6cBVRy4hrD5eCPcC7ejYy5ip,

        ],

        gas_burnt: NearGas {

            inner: 2428012673294,

        },

        tokens_burnt: NearToken {

            inner: 242801267329400000000,

        },

        executor_id: AccountId(

            "dev-20231130131004-67019978302256",

        ),

        status: SuccessReceiptId(4srSsmJPdLAQptPNHqKq6cBVRy4hrD5eCPcC7ejYy5ip),

    },

    receipts: [

        ExecutionOutcome {

            transaction_hash: 4srSsmJPdLAQptPNHqKq6cBVRy4hrD5eCPcC7ejYy5ip,

            block_hash: 4WZTXtnBnzi3K8ZUJ4Mq2ikhHZ8giRgauK7rUFAunSsr,

            logs: [

                "roll_within_bounds / max: 2000 / rolls: [2, 2, 6, 4, 5]",

                "accumulate_dice_rolls / power: 4 / acc: 0 / roll: 2 / value: 1296\naccumulate_dice_rolls / power: 3 / acc: 1296 / roll: 2 / value: 216\naccumulate_dice_rolls / power: 2 / acc: 1512 / roll: 6 / value: 180\naccumulate_dice_rolls / power: 1 / acc: 1692 / roll: 4 / value: 18\naccumulate_dice_rolls / power: 0 / acc: 1710 / roll: 5 / value: 4",

                "accumulate_dice_rolls / power: -1 / acc: 1714",

            ],

            receipt_ids: [

                GeNb4eKN3TV1hroc2ZN9Qr9CqCfciXRnG4mqrstrJC3W,

            ],

            gas_burnt: NearGas {

                inner: 2784084131948,

            },

            tokens_burnt: NearToken {

                inner: 278408413194800000000,

            },

            executor_id: AccountId(

                "dev-20231130131004-67019978302256",

            ),

            status: SuccessValue(AbMGAAAAAAAA),

        },

        ExecutionOutcome {

            transaction_hash: GeNb4eKN3TV1hroc2ZN9Qr9CqCfciXRnG4mqrstrJC3W,

            block_hash: 4DhiW9AECj7gP5a4XRAxaXWHERBxv9soifQrb6GWHySW,

            logs: [],

            receipt_ids: [],

            gas_burnt: NearGas {

                inner: 223182562500,

            },

            tokens_burnt: NearToken {

                inner: 0,

            },

            executor_id: AccountId(

                "dev-20231130131004-67019978302256",

            ),

            status: SuccessValue(''),

        },

    ],

    status: SuccessValue(AbMGAAAAAAAA),

}

total_gas_burnt_usd: 0.003630766617651656

outcome (success: true):

  outcome_gas_burnt_usd: 0.001621912465760392

  outcome_tokens_burnt_usd: 0.0

outcome (success: true):

  outcome_gas_burnt_usd: 0.001859768200141264

  outcome_tokens_burnt_usd: 0.0

outcome (success: true):

  outcome_gas_burnt_usd: 0.00014908595175

  outcome_tokens_burnt_usd: 0.0

n: Some(

    Some(

        1715,

    ),

)





generate_random_number(contract, ''): ExecutionFinalResult {

    total_gas_burnt: NearGas {

        inner: 12711838370809,

    },

    transaction: ExecutionOutcome {

        transaction_hash: 3dEcN5Y7ieRqLqCkY5ZsHY3nJ68ePCnwo7qBKJk2E5Hz,

        block_hash: HRTWpM5DAqUWSqyEzngTy2Pc6rkNrwwRty4n6mmdbJyN,

        logs: [],

        receipt_ids: [

            CoyRjD21fQh5Ts2qDbEztv9M1xyNNJAvaHKSJ6NdDGH,

        ],

        gas_burnt: NearGas {

            inner: 2428059627908,

        },

        tokens_burnt: NearToken {

            inner: 242805962790800000000,

        },

        executor_id: AccountId(

            "dev-20231130131004-67019978302256",

        ),

        status: SuccessReceiptId(CoyRjD21fQh5Ts2qDbEztv9M1xyNNJAvaHKSJ6NdDGH),

    },

    receipts: [

        ExecutionOutcome {

            transaction_hash: CoyRjD21fQh5Ts2qDbEztv9M1xyNNJAvaHKSJ6NdDGH,

            block_hash: HRTWpM5DAqUWSqyEzngTy2Pc6rkNrwwRty4n6mmdbJyN,

            logs: [

                "generate_random_number / max: 2000 / key: \"key\" / proof: \"proof\" / block_timestamp: 1701349808896442897 / block_height: 21 / epoch_height: 1 / account_balance: 99996918930554009940280000 / signer_account_id: \"dev-20231130131004-67019978302256\" / seed: [178, 174, 208, 184, 143, 73, 146, 77, 54, 67, 254, 154, 176, 62, 114, 4, 61, 196, 14, 63, 175, 173, 196, 234, 228, 110, 46, 235, 148, 224, 161, 180] / entropy: [178, 174, 208, 184, 143, 73, 146, 77, 54, 67, 254, 154, 176, 62, 114, 4, 61, 196, 14, 63, 175, 173, 196, 234, 228, 110, 46, 235, 148, 224, 161, 180, 17, 130, 243, 21, 163, 104, 156, 23, 21, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 192, 66, 230, 192, 230, 123, 90, 214, 43, 183, 82, 0, 0, 0, 0, 0, 100, 101, 118, 45, 50, 48, 50, 51, 49, 49, 51, 48, 49, 51, 49, 48, 48, 52, 45, 54, 55, 48, 49, 57, 57, 55, 56, 51, 48, 50, 50, 53, 54, 107, 101, 121, 112, 114, 111, 111, 102] / hash_u8: [133, 91, 71, 142, 101, 142, 61, 126, 195, 251, 133, 90, 145, 190, 212, 206, 153, 102, 158, 161, 45, 84, 113, 177, 72, 132, 128, 219, 182, 46, 196, 119, 218, 191, 142, 182, 180, 72, 104, 113, 151, 1, 65, 9, 108, 152, 210, 27, 9, 164, 201, 201, 88, 22, 74, 29, 38, 245, 222, 91, 20, 133, 196, 157] / rolls_list: [1, 1, 5, 4, 5, 4, 1, 6, 3, 5, 1, 6, 1, 4, 2, 2, 3, 6, 2, 5, 3, 6, 5, 3, 6, 6, 2, 3, 2, 4, 4, 5, 2, 5, 4, 2, 6, 6, 2, 5, 1, 1, 5, 3, 6, 2, 6, 3, 3, 2, 3, 3, 4, 4, 2, 5, 2, 5, 6, 1, 2, 1, 4, 1]",

                "create_sequential_roller ()\ncalculate_dice_count / max: 2000 / n: 5 / p: 7776\ncreate_sequential_roller / roll / current_index: 0 / acc: 1 / len: -1 / last_item: US2_0\ncreate_sequential_roller / roll / current_index: 1 / acc: 1 / len: -1 / last_item: US2_1(1)\ncreate_sequential_roller / roll / current_index: 2 / acc: 1 / len: -1 / last_item: US2_1(1)",

                "create_sequential_roller / roll / current_index: 3 / acc: 1 / len: -1 / last_item: US2_1(5)\ncreate_sequential_roller / roll / current_index: 4 / acc: 1 / len: -1 / last_item: US2_1(4)\naccumulate_dice_rolls / power: 4 / acc: 0 / roll: 5 / value: 5184\naccumulate_dice_rolls / power: 3 / acc: 5184 / roll: 4 / value: 648\naccumulate_dice_rolls / power: 2 / acc: 5832 / roll: 5 / value: 144\naccumulate_dice_rolls / power: 1 / acc: 5976 / roll: 1",

                "accumulate_dice_rolls / power: 0 / acc: 5976 / roll: 1\naccumulate_dice_rolls / power: -1 / acc: 5976\ncreate_sequential_roller / roll / current_index: 5 / acc: 1 / len: -1 / last_item: US2_1(5)\ncreate_sequential_roller / roll / current_index: 6 / acc: 1 / len: -1 / last_item: US2_1(4)\ncreate_sequential_roller / roll / current_index: 7 / acc: 1 / len: -1 / last_item: US2_1(1)\ncreate_sequential_roller / roll / current_index: 8 / acc: 1 / len: -1 / last_item: US2_1(6)",

                "create_sequential_roller / roll / current_index: 9 / acc: 1 / len: -1 / last_item: US2_1(3)\naccumulate_dice_rolls / power: 4 / acc: 0 / roll: 5 / value: 5184\naccumulate_dice_rolls / power: 3 / acc: 5184 / roll: 4 / value: 648\naccumulate_dice_rolls / power: 2 / acc: 5832 / roll: 1\naccumulate_dice_rolls / power: 1 / acc: 5832 / roll: 6 / value: 30\naccumulate_dice_rolls / power: 0 / acc: 5862 / roll: 3 / value: 2",

                "accumulate_dice_rolls / power: -1 / acc: 5864\ncreate_sequential_roller / roll / current_index: 10 / acc: 1 / len: -1 / last_item: US2_1(5)\ncreate_sequential_roller / roll / current_index: 11 / acc: 1 / len: -1 / last_item: US2_1(1)\ncreate_sequential_roller / roll / current_index: 12 / acc: 1 / len: -1 / last_item: US2_1(6)\ncreate_sequential_roller / roll / current_index: 13 / acc: 1 / len: -1 / last_item: US2_1(1)\ncreate_sequential_roller / roll / current_index: 14 / acc: 1 / len: -1 / last_item: US2_1(4)",

                "accumulate_dice_rolls / power: 4 / acc: 0 / roll: 2 / value: 1296\naccumulate_dice_rolls / power: 3 / acc: 1296 / roll: 1\naccumulate_dice_rolls / power: 2 / acc: 1296 / roll: 6 / value: 180\naccumulate_dice_rolls / power: 1 / acc: 1476 / roll: 1\naccumulate_dice_rolls / power: 0 / acc: 1476 / roll: 4 / value: 3\naccumulate_dice_rolls / power: -1 / acc: 1479",

            ],

            receipt_ids: [

                8c9bDHYjbGJ7njJcnxhQ9nUEhWKzan1m3kjUQrGmzNve,

            ],

            gas_burnt: NearGas {

                inner: 10060596180401,

            },

            tokens_burnt: NearToken {

                inner: 1006059618040100000000,

            },

            executor_id: AccountId(

                "dev-20231130131004-67019978302256",

            ),

            status: SuccessValue('1480'),

        },

        ExecutionOutcome {

            transaction_hash: 8c9bDHYjbGJ7njJcnxhQ9nUEhWKzan1m3kjUQrGmzNve,

            block_hash: CjH4rgXX962HSAb5uUWrXfmuAJgrRnKL8xfmqJdPQvhK,

            logs: [],

            receipt_ids: [],

            gas_burnt: NearGas {

                inner: 223182562500,

            },

            tokens_burnt: NearToken {

                inner: 0,

            },

            executor_id: AccountId(

                "dev-20231130131004-67019978302256",

            ),

            status: SuccessValue(''),

        },

    ],

    status: SuccessValue('1480'),

}

total_gas_burnt_usd: 0.008491508031700411

outcome (success: true):

  outcome_gas_burnt_usd: 0.001621943831442544

  outcome_tokens_burnt_usd: 0.0

outcome (success: true):

  outcome_gas_burnt_usd: 0.006720478248507867

  outcome_tokens_burnt_usd: 0.0

outcome (success: true):

  outcome_gas_burnt_usd: 0.00014908595175

  outcome_tokens_burnt_usd: 0.0

n: 1480

00:00:00 #1 [Debug] runWithTimeoutAsync / timeout: 60

00:00:00 #2 [Debug] executeAsync / options: { Command =

   "dotnet "C:\home\git\polyglot\deps\The-Spiral-Language\The Spiral Language 2\artifacts\bin\The Spiral Language 2\release\Spiral.dll" port=13805"

  WorkingDirectory = None

  CancellationToken = Some System.Threading.CancellationToken

  OnLine = Some <fun:main@411-297> }

00:00:00 #3 [Verbose] > pwd: C:\home\git\polyglot\apps\dice\ui

00:00:00 #4 [Verbose] > dll_path: C:\home\git\polyglot\deps\The-Spiral-Language\The Spiral Language 2\artifacts\bin\The Spiral Language 2\release

00:00:00 #5 [Debug] runWithTimeoutAsync / timeout: 500

00:00:00 #6 [Verbose] waitForPortAccess / port: 13805 / retry: 0

00:00:01 #7 [Debug] sendJson / port: 13805 / json: {"Ping":true} / result.Length:

00:00:01 #8 [Verbose] awaitCompiler / Ping / result: Some(null) / port: 13805 / retry: 0

00:00:01 #9 [Verbose] > Server bound to: http://localhost:13805

00:00:01 #10 [Debug] buildFile / takeWhileInclusive / fsxContent:  / errors: [] / typeErrorCount: 0

00:00:01 #11 [Debug] buildFile / takeWhileInclusive / fsxContent:  / errors: [] / typeErrorCount: 0

00:00:01 #12 [Debug] sendJson / port: 13805 / json: {"FileOpen":{"spiText":"open rust_operators\n\ninl main (args : array_base string) =\n    leptos.log $\u0027\u0022main / args: \u0022 \u002B string !args \u002B \u0022\u0022\u0027\n\n    !\\($\u0027\u0022let _ = console_log::init_with_level(log::Level::Debug)\u0022\u0027)\n    !\\($\u0027\u0022console_error_panic_hook::set_once()\u0022\u0027)\n\n    inl body : optionm\u0027.option\u0027 rust.html_element = !\\($\u0027\u0022leptos::document().body()\u0022\u0027)\n    inl body = body |\u003E optionm\u0027.unbox\n    inl body_log = body |\u003E sm\u0027.format_debug\n\n    leptos.log $\u0027\u0022main / mount_to_body / body: \u0022 \u002B string !body_log \u002B \u0022\u0022\u0027\n\n    let mount () =\n        fun () =\u003E\n            components.app.render ()\n            |\u003E leptos.to_view_trait\n        |\u003E leptos.mount_to_body\n\n    match body with\n    | Some body =\u003E\n        body |\u003E leptos.set_inner_html \u0022\u0022\n\n        mount ()\n    | _ =\u003E\n        inl fn : rust.box (rust.dyn\u0027 rust.fn_unit) = rust.box_fn mount\n        inl fn_closure = fn |\u003E rust.closure_wrap\n        inl fn = fn_closure |\u003E rust.closure_as_ref |\u003E rust.unchecked_ref\n\n        !\\($\u0027\u0022leptos::document().add_event_listener_with_callback(\\\\\\\u0022DOMContentLoaded\\\\\\\u0022, !fn).unwrap()\u0022\u0027)\n\n        fn_closure |\u003E rust.closure_forget\n\n    0i32\n\ninl main () =\n    print_static \u0022\u003Cdice_ui\u003E\u0022\n    rust.types ()\n    leptos.types ()\n    model.near.backend.types ()\n\n    $\u0022let main args = !main args\u0022 : ()\n    print_static \u0022\u003C/dice_ui\u003E\u0022\n","uri":"file:///C:\\home\\git\\polyglot\\apps\\dice\\ui\\src\\dice_ui.spi"}} / result.Length:

00:00:01 #13 [Debug] sendJson / port: 13805 / json: {"BuildFile":{"backend":"Fsharp","uri":"file:///C:\\home\\git\\polyglot\\apps\\dice\\ui\\src\\dice_ui.spi"}} / result.Length:

00:00:01 #14 [Verbose] > Building C:\home\git\polyglot\apps\dice\ui\src\dice_ui.spi

00:00:02 #15 [Debug] buildFile / takeWhileInclusive / fsxContent:  / errors: [] / typeErrorCount: 0

00:00:03 #16 [Verbose] > <dice_ui>

00:00:03 #17 [Verbose] > <app.render>

00:00:03 #18 [Verbose] > <home.render>

00:00:03 #19 [Verbose] > <content.render>

00:00:03 #20 [Verbose] > <history.render>

00:00:03 #21 [Verbose] > <history.transaction_render>

00:00:03 #22 [Verbose] > <settings.render>

00:00:03 #23 [Verbose] > <menu_tabs.render>

00:00:03 #24 [Verbose] > <home.render>

00:00:03 #25 [Verbose] > <home.render>

00:00:03 #26 [Verbose] > <home.render>

00:00:03 #27 [Verbose] > </dice_ui>

00:00:03 #28 [Debug] buildFile / takeWhileInclusive / fsxContent:  / errors: [] / typeErrorCount: 0

00:00:03 #29 [Debug] buildFile / takeWhileInclusive / fsxContent: [<Fable.Core.Erase; Fable.Core.Emit("Func0<$0>")>] type Func0<'T> = class end

[<Fable.Core.Erase; Fable.Core.Emit("Func1<$0, $1>")>] type Func0<'T, 'U> = class end

[<Fable.Core.Erase; Fable.Core.Emit("Box<$0>")>] type Box<'T> = class end

[<Fable.Core.Erase; Fable.Core.Emit("dyn $0")>] type Dyn<'T> = class end

[<Fable.Core.Erase; Fable.Core.Emit("Fn() -> $0")>] type Fn<'T> = class end

[<Fable.Core.Erase; Fable.Core.Emit("Fn()")>] type FnUnit = class end

[<Fable.Core.Erase; Fable.Core.Emit("FnOnce() -> $0")>] type FnOnce<'T> = class end

[<Fable.Core.Erase; Fable.Core.Emit("Fn($0, $1)")>] type ActionFn2<'T, 'U> = class end

[<Fable.Core.Erase; Fable.Core.Emit("impl $0")>] type Impl<'T> = class end

[<Fable.Core.Erase; Fable.Core.Emit("mut $0")>]... / errors: [] / typeErrorCount: 0

00:00:03 #30 [Debug] watchWithFilter / Disposing watch stream / filter: FileName, LastWrite

00:00:00 #1 [Debug] persistCodeProject / packages: [Fable.Core] / modules: [lib/fsharp/Common.fs] / name: dice_ui / code.Length: 347822

00:00:00 #2 [Debug] buildProject / fullPath: C:\home\git\polyglot\target\polyglot\builder\dice_ui\dice_ui.fsproj

00:00:00 #3 [Debug] executeAsync / options: { Command =

   "dotnet publish "C:\home\git\polyglot\target/polyglot/builder\dice_ui\dice_ui.fsproj" --configuration Release --output "C:\home\git\polyglot\apps\dice\ui\src\dist" --runtime linux-x64"

  WorkingDirectory = Some "C:\home\git\polyglot\target\polyglot\builder\dice_ui"

  CancellationToken = None

  OnLine = None }

00:00:00 #4 [Verbose] > MSBuild version 17.8.3+195e7f5a3 for .NET

00:00:00 #5 [Verbose] >   Determining projects to restore...

00:00:01 #6 [Verbose] >   Restored C:\home\git\polyglot\target\polyglot\builder\dice_ui\dice_ui.fsproj (in 332 ms).

00:00:09 #7 [Verbose] >   dice_ui -> C:\home\git\polyglot\target\polyglot\builder\dice_ui\bin\Release\net8.0\linux-x64\dice_ui.dll

00:00:10 #8 [Verbose] >   dice_ui -> C:\home\git\polyglot\apps\dice\ui\src\dist\

00:00:10 #9 [Debug] executeAsync / exitCode: 0 / output.Length: 334

00:00:10 #10 [Debug] executeAsync / options: { Command =

   "dotnet publish "C:\home\git\polyglot\target/polyglot/builder\dice_ui\dice_ui.fsproj" --configuration Release --output "C:\home\git\polyglot\apps\dice\ui\src\dist" --runtime win-x64"

  WorkingDirectory = Some "C:\home\git\polyglot\target\polyglot\builder\dice_ui"

  CancellationToken = None

  OnLine = None }

00:00:10 #11 [Verbose] > MSBuild version 17.8.3+195e7f5a3 for .NET

00:00:11 #12 [Verbose] >   Determining projects to restore...

00:00:12 #13 [Verbose] >   Restored C:\home\git\polyglot\target\polyglot\builder\dice_ui\dice_ui.fsproj (in 319 ms).

00:00:19 #14 [Verbose] >   dice_ui -> C:\home\git\polyglot\target\polyglot\builder\dice_ui\bin\Release\net8.0\win-x64\dice_ui.dll

00:00:22 #15 [Verbose] >   dice_ui -> C:\home\git\polyglot\apps\dice\ui\src\dist\

00:00:22 #16 [Debug] executeAsync / exitCode: 0 / output.Length: 332

Fable 4.5.0: F# to Rust compiler (status: alpha)



Thanks to the contributor! @irium

Stand with Ukraine! https://standwithukraine.com.ua/



Parsing ..\..\..\target\polyglot\builder\dice_ui\dice_ui.fsproj...

Retrieving project options from cache, in case of issues run `dotnet fable clean` or try `--noCache` option.

Project and references (2 source files) parsed in 204ms



Started Fable compilation...

Fable compilation finished in 5977ms



max_width = 100

tab_spaces = 4

indentation_style = "Auto"

newline_style = "Auto"

attr_value_brace_style = "WhenRequired"



✅ src\dice_ui_wasm.rs

ℹ️ Formatted 1 files in 213 ms

Lockfile is up to date, resolution step is skipped

Packages: +5

+++++



Done in 1.4s



> dice_ui@ build-css C:\home\git\polyglot\apps\dice\ui

> tailwindcss -i input.css -o target/tailwind.css





Rebuilding...



Done in 1795ms.

2023-11-30T13:10:50.413824Z  INFO 📦 starting build

2023-11-30T13:10:50.414726Z  INFO spawning asset pipelines

2023-11-30T13:10:51.335816Z  INFO building dice_ui

2023-11-30T13:10:51.335837Z  INFO copying & hashing icon path="\\\\?\\C:\\home\\git\\polyglot\\apps\\dice\\ui\\public\\favicon.ico"

2023-11-30T13:10:51.335867Z  INFO copying & hashing css path="\\\\?\\C:\\home\\git\\polyglot\\apps\\dice\\ui\\target\\tailwind.css"

2023-11-30T13:10:51.335889Z  INFO copying & hashing css path="\\\\?\\C:\\home\\git\\polyglot\\deps\\hyperui\\public\\components.css"

2023-11-30T13:10:51.338552Z  INFO finished copying & hashing icon path="\\\\?\\C:\\home\\git\\polyglot\\apps\\dice\\ui\\public\\favicon.ico"

2023-11-30T13:10:51.338561Z  INFO finished copying & hashing css path="\\\\?\\C:\\home\\git\\polyglot\\apps\\dice\\ui\\target\\tailwind.css"

2023-11-30T13:10:51.338802Z  INFO finished copying & hashing css path="\\\\?\\C:\\home\\git\\polyglot\\deps\\hyperui\\public\\components.css"

   Compiling dice_ui v0.0.1 (C:\home\git\polyglot\apps\dice\ui)

    Finished release [optimized] target(s) in 45.30s

2023-11-30T13:11:36.765465Z  INFO fetching cargo artifacts

2023-11-30T13:11:37.362933Z  INFO processing WASM for dice_ui

2023-11-30T13:11:37.398780Z  INFO calling wasm-bindgen for dice_ui

2023-11-30T13:11:37.647592Z  INFO copying generated wasm-bindgen artifacts

2023-11-30T13:11:37.913362Z  INFO using system installed binary app=wasm-opt version=version_113

2023-11-30T13:11:37.913549Z  INFO calling wasm-opt

2023-11-30T13:11:50.561591Z  INFO copying generated wasm-opt artifacts

2023-11-30T13:11:50.573425Z  INFO applying new distribution

2023-11-30T13:11:50.581359Z  INFO ✅ success



Build completed!



Filename                                     	Size       

dist\favicon-f1d578da7a480441.ico            	16.28 KiB  

dist\dice_ui-14ec9bb0214c3229_bg.wasm        	1001.01 KiB

dist\dice_ui-14ec9bb0214c3229.js             	50.14 KiB  

dist/1-LDN52OUP.css                          	691.00 B   

dist/tailwind-89ee84ddcac61b6f-OBOYQLJQ.css  	18.84 KiB  

dist/components-61317960c9987b2e-YWB32TZ5.css	78.01 KiB  

dist/2-NW6QPTBT.js                           	24.17 KiB  

dist\index.html                              	780.00 B   

                                             	———————————

                                             	1.16 MiB   



Lockfile is up to date, resolution step is skipped

Packages: +4

++++



Done in 1.2s



> e2e@ test:e2e C:\home\git\polyglot\apps\dice\ui\e2e

> playwright test





Running 1 test using 1 worker



[1/1] [Desktop Chrome] › test.spec.ts:3:5 › test

  1 passed (7.9s)



To open last HTML report run:



  pnpm exec playwright show-report



In [ ]:
{ . "$ScriptDir/../apps/dice/fsharp/build.ps1" } | Invoke-Block
00:00:00 #1 [Debug] runWithTimeoutAsync / timeout: 60

00:00:00 #2 [Debug] executeAsync / options: { Command =

   "dotnet "C:\home\git\polyglot\deps\The-Spiral-Language\The Spiral Language 2\artifacts\bin\The Spiral Language 2\release\Spiral.dll" port=13805"

  WorkingDirectory = None

  CancellationToken = Some System.Threading.CancellationToken

  OnLine = Some <fun:main@450-1020> }

00:00:00 #3 [Verbose] > pwd: C:\home\git\polyglot\apps\dice\fsharp

00:00:00 #4 [Verbose] > dll_path: C:\home\git\polyglot\deps\The-Spiral-Language\The Spiral Language 2\artifacts\bin\The Spiral Language 2\release

00:00:00 #5 [Debug] runWithTimeoutAsync / timeout: 500

00:00:00 #6 [Verbose] waitForPortAccess / port: 13805 / retry: 0

00:00:01 #7 [Debug] sendJson / port: 13805 / json: {"Ping":true} / result.Length:

00:00:01 #8 [Verbose] awaitCompiler / Ping / result: Some(null) / port: 13805 / retry: 0

00:00:01 #9 [Verbose] > Server bound to: http://localhost:13805

00:00:01 #10 [Debug] executeAsync / options: { Command = "pwsh -c "../../../scripts/invoke-dib.ps1 dice_fsharp.dib""

  WorkingDirectory = None

  CancellationToken = Some System.Threading.CancellationToken

  OnLine = None }

00:00:03 #11 [Verbose] >

00:00:03 #12 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────

00:00:03 #13 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮

00:00:03 #14 [Verbose] > │ # dice_fsharp (Polyglot)                                                     │

00:00:03 #15 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:03 #16 [Verbose] >

00:00:03 #17 [Verbose] > ── fsharp ──────────────────────────────────────────────────────────────────────

00:00:03 #18 [Verbose] > #!import ../../../lib/fsharp/Testing.dib

00:00:03 #19 [Verbose] >

00:00:03 #20 [Verbose] > ── fsharp - import ─────────────────────────────────────────────────────────────

00:00:03 #21 [Verbose] > #r

00:00:03 #22 [Verbose] > "C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.A

00:00:03 #23 [Verbose] > spNetCore.Html.Abstractions.dll"

00:00:03 #24 [Verbose] > #r

00:00:03 #25 [Verbose] > "C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D

00:00:03 #26 [Verbose] > otNet.Interactive.dll"

00:00:03 #27 [Verbose] > #r

00:00:03 #28 [Verbose] > "C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D

00:00:03 #29 [Verbose] > otNet.Interactive.FSharp.dll"

00:00:03 #30 [Verbose] > #r

00:00:03 #31 [Verbose] > "C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D

00:00:03 #32 [Verbose] > otNet.Interactive.Formatting.dll"

00:00:03 #33 [Verbose] > open System

00:00:03 #34 [Verbose] > open System.IO

00:00:03 #35 [Verbose] > open System.Text

00:00:03 #36 [Verbose] > open Microsoft.DotNet.Interactive.Formatting

00:00:06 #37 [Verbose] >

00:00:06 #38 [Verbose] > ── fsharp - import ─────────────────────────────────────────────────────────────

00:00:06 #39 [Verbose] > #r

00:00:06 #40 [Verbose] > "C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D

00:00:06 #41 [Verbose] > otNet.Interactive.FSharp.dll"

00:00:06 #42 [Verbose] > open Microsoft.DotNet.Interactive.FSharp.FSharpKernelHelpers

00:00:06 #43 [Verbose] > #r

00:00:06 #44 [Verbose] > "C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D

00:00:06 #45 [Verbose] > otNet.Interactive.dll"

00:00:06 #46 [Verbose] > open type Microsoft.DotNet.Interactive.Kernel

00:00:06 #47 [Verbose] >

00:00:06 #48 [Verbose] > ── fsharp - import ─────────────────────────────────────────────────────────────

00:00:06 #49 [Verbose] > #r @"../../../../../../../.nuget/packages/expecto/10.1.0/lib/net6.0/Expecto.dll"

00:00:06 #50 [Verbose] >

00:00:06 #51 [Verbose] > ── fsharp - import ─────────────────────────────────────────────────────────────

00:00:06 #52 [Verbose] > //// test

00:00:06 #53 [Verbose] >

00:00:06 #54 [Verbose] > Formatter.ListExpansionLimit <- 100

00:00:07 #55 [Verbose] >

00:00:07 #56 [Verbose] > ── fsharp - import ─────────────────────────────────────────────────────────────

00:00:07 #57 [Verbose] > //// test

00:00:07 #58 [Verbose] >

00:00:07 #59 [Verbose] > type AssertExceptionFormatter (ex) =

00:00:07 #60 [Verbose] >     member _.Text =

00:00:07 #61 [Verbose] >         ex.ToString()

00:00:07 #62 [Verbose] >             .Replace("32m", "<span style=\"color: green;\">")

00:00:07 #63 [Verbose] >             .Replace("36m", "</span>")

00:00:07 #64 [Verbose] >             .Replace("31m", "<span style=\"color: red;\">")

00:00:07 #65 [Verbose] >             .Replace("\n", "<br/>\n")

00:00:07 #66 [Verbose] >

00:00:07 #67 [Verbose] >

00:00:07 #68 [Verbose] > Formatter.Register<AssertExceptionFormatter> ((fun (x :

00:00:07 #69 [Verbose] > AssertExceptionFormatter) -> x.Text), "text/html")

00:00:07 #70 [Verbose] >

00:00:07 #71 [Verbose] > ── fsharp - import ─────────────────────────────────────────────────────────────

00:00:07 #72 [Verbose] > //// test

00:00:07 #73 [Verbose] >

00:00:07 #74 [Verbose] > let inline __expect fn log expected actual =

00:00:07 #75 [Verbose] >     if log then printfn $"{actual.ToDisplayString ()}"

00:00:07 #76 [Verbose] >     try

00:00:07 #77 [Verbose] >         "Testing.__expect" |> fn actual expected

00:00:07 #78 [Verbose] >     with :? Expecto.AssertException as ex ->

00:00:07 #79 [Verbose] >         AssertExceptionFormatter(ex).Display () |> ignore

00:00:07 #80 [Verbose] >         failwith (ex.GetType().FullName)

00:00:07 #81 [Verbose] >

00:00:07 #82 [Verbose] > let inline __contains log expected actual = __expect Expecto.Expect.contains log

00:00:07 #83 [Verbose] > expected actual

00:00:07 #84 [Verbose] > let inline _contains expected actual = __contains true expected actual

00:00:07 #85 [Verbose] >

00:00:07 #86 [Verbose] > let inline __equal log expected actual = __expect Expecto.Expect.equal log

00:00:07 #87 [Verbose] > expected actual

00:00:07 #88 [Verbose] > let inline _equal expected actual = __equal true expected actual

00:00:07 #89 [Verbose] >

00:00:07 #90 [Verbose] > let inline __isGreaterThan log expected actual = __expect

00:00:07 #91 [Verbose] > Expecto.Expect.isGreaterThan log expected actual

00:00:07 #92 [Verbose] > let ...

00:00:08 #93 [Verbose] >

00:00:08 #94 [Verbose] > ── fsharp - import ─────────────────────────────────────────────────────────────

00:00:08 #95 [Verbose] > //// test

00:00:08 #96 [Verbose] >

00:00:08 #97 [Verbose] > let inline __isBetween log a b actual =

00:00:08 #98 [Verbose] >     let inline isBetween actual (a, b) _ =

00:00:08 #99 [Verbose] >         __isGreaterThanOrEqual log a actual

00:00:08 #100 [Verbose] >         __isLessThanOrEqual log b actual

00:00:08 #101 [Verbose] >     __expect isBetween log (a, b) actual

00:00:08 #102 [Verbose] > let inline _isBetween a b actual = __isBetween true a b actual

00:00:08 #103 [Verbose] >

00:00:08 #104 [Verbose] > ── fsharp ──────────────────────────────────────────────────────────────────────

00:00:08 #105 [Verbose] > #!import ../../../lib/fsharp/Common.fs

00:00:08 #106 [Verbose] >

00:00:08 #107 [Verbose] > ── fsharp - import ─────────────────────────────────────────────────────────────

00:00:08 #108 [Verbose] > #if !INTERACTIVE

00:00:08 #109 [Verbose] > namespace Polyglot

00:00:08 #110 [Verbose] > #endif

00:00:08 #111 [Verbose] >

00:00:08 #112 [Verbose] > module Common =

00:00:08 #113 [Verbose] >

00:00:08 #114 [Verbose] >     let nl = System.Environment.NewLine

00:00:08 #115 [Verbose] >     let q = @""""

00:00:08 #116 [Verbose] >

00:00:08 #117 [Verbose] >     let inline cons head tail = head :: tail

00:00:08 #118 [Verbose] >

00:00:08 #119 [Verbose] >     module String =

00:00:08 #120 [Verbose] >         let inline contains (value : string) (input : string) =

00:00:08 #121 [Verbose] >             input.Contains value

00:00:08 #122 [Verbose] >

00:00:08 #123 [Verbose] >         let inline endsWith (value : string) (input : string) =

00:00:08 #124 [Verbose] >             input.EndsWith value

00:00:08 #125 [Verbose] >

00:00:08 #126 [Verbose] >         let inline padLeft totalWidth paddingChar (input : string) =

00:00:08 #127 [Verbose] >             input.PadLeft (totalWidth, paddingChar)

00:00:08 #128 [Verbose] >

00:00:08 #129 [Verbose] >         let inline replace (oldValue : string) (newValue : string) (input :

00:00:08 #130 [Verbose] > string) =

00:00:08 #131 [Verbose] >             input.Replace (oldValue, newValue)

00:00:08 #132 [Verbose] >

00:00:08 #133 [Verbose] >         let inline split separator (input : string) =

00:00:08 #134 [Verbose] >             input.Split separator

00:00:08 #135 [Verbose] >

00:00:08 #136 [Verbose] >         let inline spli...

00:00:09 #137 [Verbose] >

00:00:09 #138 [Verbose] > ── fsharp ──────────────────────────────────────────────────────────────────────

00:00:09 #139 [Verbose] > open Common

00:00:09 #140 [Verbose] >

00:00:09 #141 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────

00:00:09 #142 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮

00:00:09 #143 [Verbose] > │ ## sixthPowerSequence                                                        │

00:00:09 #144 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:09 #145 [Verbose] >

00:00:09 #146 [Verbose] > ── fsharp ──────────────────────────────────────────────────────────────────────

00:00:09 #147 [Verbose] > let sixthPowerSequence = 1 |> Seq.unfold (fun state -> Some (state, state * 6))

00:00:09 #148 [Verbose] > |> Seq.cache

00:00:09 #149 [Verbose] >

00:00:09 #150 [Verbose] > ── fsharp ──────────────────────────────────────────────────────────────────────

00:00:09 #151 [Verbose] > //// test

00:00:09 #152 [Verbose] >

00:00:09 #153 [Verbose] > sixthPowerSequence

00:00:09 #154 [Verbose] > |> Seq.take 8

00:00:09 #155 [Verbose] > |> Seq.toList

00:00:09 #156 [Verbose] > |> _equal [[ 1; 6; 36; 216; 1296; 7776; 46656; 279936 ]]

00:00:09 #157 [Verbose] >

00:00:09 #158 [Verbose] > ╭─[ 55.10ms - stdout ]─────────────────────────────────────────────────────────╮

00:00:09 #159 [Verbose] > │ [ 1, 6, 36, 216, 1296, 7776, 46656, 279936 ]                                 │

00:00:09 #160 [Verbose] > │                                                                              │

00:00:09 #161 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:09 #162 [Verbose] >

00:00:09 #163 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────

00:00:09 #164 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮

00:00:09 #165 [Verbose] > │ ## accumulateDiceRolls                                                       │

00:00:09 #166 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:09 #167 [Verbose] >

00:00:09 #168 [Verbose] > ── fsharp ──────────────────────────────────────────────────────────────────────

00:00:09 #169 [Verbose] > let rec accumulateDiceRolls log rolls power acc =

00:00:09 #170 [Verbose] >     match rolls with

00:00:09 #171 [Verbose] >     | _ when power < 0 ->

00:00:09 #172 [Verbose] >         log |> Option.iter ((|>) $"accumulateDiceRolls / power: {power} / acc:

00:00:09 #173 [Verbose] > {acc}")

00:00:09 #174 [Verbose] >         Some (acc + 1, rolls)

00:00:09 #175 [Verbose] >     | [[]] -> None

00:00:09 #176 [Verbose] >     | roll :: rest when roll > 1 ->

00:00:09 #177 [Verbose] >         let coeff = sixthPowerSequence |> Seq.item power

00:00:09 #178 [Verbose] >         let value = (roll - 1) * coeff

00:00:09 #179 [Verbose] >         log |> Option.iter ((|>) $"accumulateDiceRolls / \

00:00:09 #180 [Verbose] >             power: {power} / acc: {acc} / roll: {roll} / value: {value}"

00:00:09 #181 [Verbose] >         )

00:00:09 #182 [Verbose] >         accumulateDiceRolls log rest (power - 1) (acc + value)

00:00:09 #183 [Verbose] >     | roll :: rest ->

00:00:09 #184 [Verbose] >         log |> Option.iter ((|>) $"accumulateDiceRolls / power: {power} / acc:

00:00:09 #185 [Verbose] > {acc} / roll: {roll}")

00:00:09 #186 [Verbose] >         accumulateDiceRolls log rest (power - 1) acc

00:00:09 #187 [Verbose] >

00:00:09 #188 [Verbose] > ── fsharp ──────────────────────────────────────────────────────────────────────

00:00:09 #189 [Verbose] > //// test

00:00:09 #190 [Verbose] >

00:00:09 #191 [Verbose] > accumulateDiceRolls (Some (printfn "%s")) [[ 6; 5; 4; 3; 2 ]] 0 1000

00:00:09 #192 [Verbose] > |> _equal (Some (1006, [[ 5; 4; 3; 2 ]]))

00:00:09 #193 [Verbose] >

00:00:09 #194 [Verbose] > ╭─[ 34.89ms - stdout ]─────────────────────────────────────────────────────────╮

00:00:09 #195 [Verbose] > │ accumulateDiceRolls / power: 0 / acc: 1000 / roll: 6 / value: 5              │

00:00:09 #196 [Verbose] > │ accumulateDiceRolls / power: -1 / acc: 1005                                  │

00:00:09 #197 [Verbose] > │ FSharpOption<Tuple<Int32,FSharpList<Int32>>>                                 │

00:00:09 #198 [Verbose] > │       Value:       - 1006                                                    │

00:00:09 #199 [Verbose] > │       - [ 5, 4, 3, 2 ]                                                       │

00:00:09 #200 [Verbose] > │                                                                              │

00:00:09 #201 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:09 #202 [Verbose] >

00:00:09 #203 [Verbose] > ── fsharp ──────────────────────────────────────────────────────────────────────

00:00:09 #204 [Verbose] > //// test

00:00:09 #205 [Verbose] >

00:00:09 #206 [Verbose] > accumulateDiceRolls (Some (printfn "%s")) [[ 6; 5; 4; 3; 2 ]] 1 1000

00:00:09 #207 [Verbose] > |> _equal (Some (1035, [[ 4; 3; 2 ]]))

00:00:09 #208 [Verbose] >

00:00:09 #209 [Verbose] > ╭─[ 27.30ms - stdout ]─────────────────────────────────────────────────────────╮

00:00:09 #210 [Verbose] > │ accumulateDiceRolls / power: 1 / acc: 1000 / roll: 6 / value: 30             │

00:00:09 #211 [Verbose] > │ accumulateDiceRolls / power: 0 / acc: 1030 / roll: 5 / value: 4              │

00:00:09 #212 [Verbose] > │ accumulateDiceRolls / power: -1 / acc: 1034                                  │

00:00:09 #213 [Verbose] > │ FSharpOption<Tuple<Int32,FSharpList<Int32>>>                                 │

00:00:09 #214 [Verbose] > │       Value:       - 1035                                                    │

00:00:09 #215 [Verbose] > │       - [ 4, 3, 2 ]                                                          │

00:00:09 #216 [Verbose] > │                                                                              │

00:00:09 #217 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:09 #218 [Verbose] >

00:00:09 #219 [Verbose] > ── fsharp ──────────────────────────────────────────────────────────────────────

00:00:09 #220 [Verbose] > //// test

00:00:09 #221 [Verbose] >

00:00:09 #222 [Verbose] > accumulateDiceRolls (Some (printfn "%s")) [[ 6; 5; 4; 3; 2 ]] 2 1000

00:00:09 #223 [Verbose] > |> _equal (Some (1208, [[ 3; 2 ]]))

00:00:09 #224 [Verbose] >

00:00:09 #225 [Verbose] > ╭─[ 23.26ms - stdout ]─────────────────────────────────────────────────────────╮

00:00:09 #226 [Verbose] > │ accumulateDiceRolls / power: 2 / acc: 1000 / roll: 6 / value: 180            │

00:00:09 #227 [Verbose] > │ accumulateDiceRolls / power: 1 / acc: 1180 / roll: 5 / value: 24             │

00:00:09 #228 [Verbose] > │ accumulateDiceRolls / power: 0 / acc: 1204 / roll: 4 / value: 3              │

00:00:09 #229 [Verbose] > │ accumulateDiceRolls / power: -1 / acc: 1207                                  │

00:00:09 #230 [Verbose] > │ FSharpOption<Tuple<Int32,FSharpList<Int32>>>                                 │

00:00:09 #231 [Verbose] > │       Value:       - 1208                                                    │

00:00:09 #232 [Verbose] > │       - [ 3, 2 ]                                                             │

00:00:09 #233 [Verbose] > │                                                                              │

00:00:09 #234 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:09 #235 [Verbose] >

00:00:09 #236 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────

00:00:09 #237 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮

00:00:09 #238 [Verbose] > │ ## rollWithinBounds                                                          │

00:00:09 #239 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:09 #240 [Verbose] >

00:00:09 #241 [Verbose] > ── fsharp ──────────────────────────────────────────────────────────────────────

00:00:09 #242 [Verbose] > let rollWithinBounds log max rolls =

00:00:09 #243 [Verbose] >     let power = List.length rolls - 1

00:00:09 #244 [Verbose] >     match accumulateDiceRolls log rolls power 0 with

00:00:09 #245 [Verbose] >     | Some (result, _) when result >= 1 && result <= max -> Some result

00:00:09 #246 [Verbose] >     | _ -> None

00:00:09 #247 [Verbose] >

00:00:09 #248 [Verbose] > ── fsharp ──────────────────────────────────────────────────────────────────────

00:00:09 #249 [Verbose] > //// test

00:00:09 #250 [Verbose] >

00:00:09 #251 [Verbose] > rollWithinBounds (Some (printfn "%s")) 2000 [[ 1; 5; 4; 4; 5 ]]

00:00:09 #252 [Verbose] > |> _equal (Some 995)

00:00:09 #253 [Verbose] >

00:00:09 #254 [Verbose] > ╭─[ 28.05ms - stdout ]─────────────────────────────────────────────────────────╮

00:00:09 #255 [Verbose] > │ accumulateDiceRolls / power: 4 / acc: 0 / roll: 1                            │

00:00:09 #256 [Verbose] > │ accumulateDiceRolls / power: 3 / acc: 0 / roll: 5 / value: 864               │

00:00:09 #257 [Verbose] > │ accumulateDiceRolls / power: 2 / acc: 864 / roll: 4 / value: 108             │

00:00:09 #258 [Verbose] > │ accumulateDiceRolls / power: 1 / acc: 972 / roll: 4 / value: 18              │

00:00:09 #259 [Verbose] > │ accumulateDiceRolls / power: 0 / acc: 990 / roll: 5 / value: 4               │

00:00:09 #260 [Verbose] > │ accumulateDiceRolls / power: -1 / acc: 994                                   │

00:00:09 #261 [Verbose] > │ FSharpOption<Int32>                                                          │

00:00:09 #262 [Verbose] > │       Value: 995                                                             │

00:00:09 #263 [Verbose] > │                                                                              │

00:00:09 #264 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:09 #265 [Verbose] >

00:00:09 #266 [Verbose] > ── fsharp ──────────────────────────────────────────────────────────────────────

00:00:09 #267 [Verbose] > //// test

00:00:09 #268 [Verbose] >

00:00:09 #269 [Verbose] > rollWithinBounds (Some (printfn "%s")) 2000 [[ 2; 2; 6; 4; 5 ]]

00:00:09 #270 [Verbose] > |> _equal (Some 1715)

00:00:09 #271 [Verbose] >

00:00:09 #272 [Verbose] > ╭─[ 27.79ms - stdout ]─────────────────────────────────────────────────────────╮

00:00:09 #273 [Verbose] > │ accumulateDiceRolls / power: 4 / acc: 0 / roll: 2 / value: 1296              │

00:00:09 #274 [Verbose] > │ accumulateDiceRolls / power: 3 / acc: 1296 / roll: 2 / value: 216            │

00:00:09 #275 [Verbose] > │ accumulateDiceRolls / power: 2 / acc: 1512 / roll: 6 / value: 180            │

00:00:09 #276 [Verbose] > │ accumulateDiceRolls / power: 1 / acc: 1692 / roll: 4 / value: 18             │

00:00:09 #277 [Verbose] > │ accumulateDiceRolls / power: 0 / acc: 1710 / roll: 5 / value: 4              │

00:00:09 #278 [Verbose] > │ accumulateDiceRolls / power: -1 / acc: 1714                                  │

00:00:09 #279 [Verbose] > │ FSharpOption<Int32>                                                          │

00:00:09 #280 [Verbose] > │       Value: 1715                                                            │

00:00:09 #281 [Verbose] > │                                                                              │

00:00:09 #282 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:09 #283 [Verbose] >

00:00:09 #284 [Verbose] > ── fsharp ──────────────────────────────────────────────────────────────────────

00:00:09 #285 [Verbose] > //// test

00:00:09 #286 [Verbose] >

00:00:09 #287 [Verbose] > rollWithinBounds (Some (printfn "%s")) 2000 [[ 4; 1; 1; 2; 3 ]]

00:00:09 #288 [Verbose] > |> _equal None

00:00:09 #289 [Verbose] >

00:00:09 #290 [Verbose] > ╭─[ 21.26ms - stdout ]─────────────────────────────────────────────────────────╮

00:00:09 #291 [Verbose] > │ accumulateDiceRolls / power: 4 / acc: 0 / roll: 4 / value: 3888              │

00:00:09 #292 [Verbose] > │ accumulateDiceRolls / power: 3 / acc: 3888 / roll: 1                         │

00:00:09 #293 [Verbose] > │ accumulateDiceRolls / power: 2 / acc: 3888 / roll: 1                         │

00:00:09 #294 [Verbose] > │ accumulateDiceRolls / power: 1 / acc: 3888 / roll: 2 / value: 6              │

00:00:09 #295 [Verbose] > │ accumulateDiceRolls / power: 0 / acc: 3894 / roll: 3 / value: 2              │

00:00:09 #296 [Verbose] > │ accumulateDiceRolls / power: -1 / acc: 3896                                  │

00:00:09 #297 [Verbose] > │ <null>                                                                       │

00:00:09 #298 [Verbose] > │                                                                              │

00:00:09 #299 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:09 #300 [Verbose] >

00:00:09 #301 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────

00:00:09 #302 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮

00:00:09 #303 [Verbose] > │ ## calculateDiceCount                                                        │

00:00:09 #304 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:09 #305 [Verbose] >

00:00:09 #306 [Verbose] > ── fsharp ──────────────────────────────────────────────────────────────────────

00:00:09 #307 [Verbose] > let inline calculateDiceCount log max =

00:00:09 #308 [Verbose] >     let rec loop n p =

00:00:09 #309 [Verbose] >         if p < max

00:00:09 #310 [Verbose] >         then loop (n + 1) (p * 6)

00:00:09 #311 [Verbose] >         else

00:00:09 #312 [Verbose] >             log |> Option.iter ((|>) $"calculateDiceCount / max: {max} / n: {n}

00:00:09 #313 [Verbose] > / p: {p}")

00:00:09 #314 [Verbose] >             n

00:00:09 #315 [Verbose] >     if max = 1

00:00:09 #316 [Verbose] >     then 1

00:00:09 #317 [Verbose] >     else loop 0 1

00:00:09 #318 [Verbose] >

00:00:09 #319 [Verbose] > ── fsharp ──────────────────────────────────────────────────────────────────────

00:00:09 #320 [Verbose] > //// test

00:00:09 #321 [Verbose] >

00:00:09 #322 [Verbose] > calculateDiceCount (Some (printfn "%s")) 36

00:00:09 #323 [Verbose] > |> _equal 2

00:00:09 #324 [Verbose] >

00:00:09 #325 [Verbose] > ╭─[ 27.97ms - stdout ]─────────────────────────────────────────────────────────╮

00:00:09 #326 [Verbose] > │ calculateDiceCount / max: 36 / n: 2 / p: 36                                  │

00:00:09 #327 [Verbose] > │ 2                                                                            │

00:00:09 #328 [Verbose] > │                                                                              │

00:00:09 #329 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:09 #330 [Verbose] >

00:00:09 #331 [Verbose] > ── fsharp ──────────────────────────────────────────────────────────────────────

00:00:09 #332 [Verbose] > //// test

00:00:09 #333 [Verbose] >

00:00:09 #334 [Verbose] > calculateDiceCount (Some (printfn "%s")) 7777

00:00:09 #335 [Verbose] > |> _equal 6

00:00:09 #336 [Verbose] >

00:00:09 #337 [Verbose] > ╭─[ 24.93ms - stdout ]─────────────────────────────────────────────────────────╮

00:00:09 #338 [Verbose] > │ calculateDiceCount / max: 7777 / n: 6 / p: 46656                             │

00:00:09 #339 [Verbose] > │ 6                                                                            │

00:00:09 #340 [Verbose] > │                                                                              │

00:00:09 #341 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:09 #342 [Verbose] >

00:00:09 #343 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────

00:00:09 #344 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮

00:00:09 #345 [Verbose] > │ ## rollDice                                                                  │

00:00:09 #346 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:09 #347 [Verbose] >

00:00:09 #348 [Verbose] > ── fsharp ──────────────────────────────────────────────────────────────────────

00:00:09 #349 [Verbose] > #if FABLE_COMPILER_RUST

00:00:09 #350 [Verbose] > let rollDice () : int =

00:00:09 #351 [Verbose] > #if !WASM

00:00:09 #352 [Verbose] >     Fable.Core.RustInterop.emitRustExpr () "rand::Rng::gen_range(&mut

00:00:09 #353 [Verbose] > rand::thread_rng(), 1..7)"

00:00:09 #354 [Verbose] > #else

00:00:09 #355 [Verbose] >     1

00:00:09 #356 [Verbose] > #endif

00:00:09 #357 [Verbose] > #else

00:00:09 #358 [Verbose] > let private random = System.Random ()

00:00:09 #359 [Verbose] > let rollDice () =

00:00:09 #360 [Verbose] >     random.Next (1, 7)

00:00:09 #361 [Verbose] > #endif

00:00:09 #362 [Verbose] >

00:00:09 #363 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────

00:00:09 #364 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮

00:00:09 #365 [Verbose] > │ ## rotateNumber                                                              │

00:00:09 #366 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:09 #367 [Verbose] >

00:00:09 #368 [Verbose] > ── fsharp ──────────────────────────────────────────────────────────────────────

00:00:09 #369 [Verbose] > let rotateNumber max n =

00:00:09 #370 [Verbose] >     (n - 1 + max) % max + 1

00:00:09 #371 [Verbose] >

00:00:09 #372 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────

00:00:09 #373 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮

00:00:09 #374 [Verbose] > │ ## rotateNumbers                                                             │

00:00:09 #375 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:09 #376 [Verbose] >

00:00:09 #377 [Verbose] > ── fsharp ──────────────────────────────────────────────────────────────────────

00:00:09 #378 [Verbose] > let rotateNumbers max items =

00:00:09 #379 [Verbose] >     items |> Seq.map (rotateNumber max)

00:00:09 #380 [Verbose] >

00:00:09 #381 [Verbose] > ── fsharp ──────────────────────────────────────────────────────────────────────

00:00:09 #382 [Verbose] > //// test

00:00:09 #383 [Verbose] >

00:00:09 #384 [Verbose] > [[ -1 .. 14 ]]

00:00:09 #385 [Verbose] > |> rotateNumbers 6

00:00:09 #386 [Verbose] > |> Seq.toList

00:00:09 #387 [Verbose] > |> _equal [[ 5; 6; 1; 2; 3; 4; 5; 6; 1; 2; 3; 4; 5; 6; 1; 2 ]]

00:00:09 #388 [Verbose] >

00:00:09 #389 [Verbose] > ╭─[ 39.21ms - stdout ]─────────────────────────────────────────────────────────╮

00:00:09 #390 [Verbose] > │ [ 5, 6, 1, 2, 3, 4, 5, 6, 1, 2, 3, 4, 5, 6, 1, 2 ]                           │

00:00:09 #391 [Verbose] > │                                                                              │

00:00:09 #392 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:09 #393 [Verbose] >

00:00:09 #394 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────

00:00:09 #395 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮

00:00:09 #396 [Verbose] > │ ## createSequentialRoller                                                    │

00:00:09 #397 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:09 #398 [Verbose] >

00:00:09 #399 [Verbose] > ── fsharp ──────────────────────────────────────────────────────────────────────

00:00:09 #400 [Verbose] > let createSequentialRoller list =

00:00:09 #401 [Verbose] >     let mutable currentIndex = 0

00:00:09 #402 [Verbose] >     fun () ->

00:00:09 #403 [Verbose] >         match list |> List.tryItem currentIndex with

00:00:09 #404 [Verbose] >         | Some item ->

00:00:09 #405 [Verbose] >             currentIndex <- currentIndex + 1

00:00:09 #406 [Verbose] >             item

00:00:09 #407 [Verbose] >         | None ->

00:00:09 #408 [Verbose] >             failwith "createSequentialRoller / End of list"

00:00:09 #409 [Verbose] >

00:00:09 #410 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────

00:00:09 #411 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮

00:00:09 #412 [Verbose] > │ ## rollProgressively                                                         │

00:00:09 #413 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:09 #414 [Verbose] >

00:00:09 #415 [Verbose] > ── fsharp ──────────────────────────────────────────────────────────────────────

00:00:09 #416 [Verbose] > let rollProgressively log roll reroll max =

00:00:09 #417 [Verbose] >     let power = (calculateDiceCount log max) - 1

00:00:09 #418 [Verbose] >     let rec loop rolls size =

00:00:09 #419 [Verbose] >         if size < power + 1

00:00:09 #420 [Verbose] >         then loop (roll () :: rolls) (size + 1)

00:00:09 #421 [Verbose] >         else

00:00:09 #422 [Verbose] >             match accumulateDiceRolls log rolls power 0 with

00:00:09 #423 [Verbose] >             | Some (result, _) when result <= max -> result

00:00:09 #424 [Verbose] >             | _ when reroll -> loop (List.init power (fun _ -> roll ())) power

00:00:09 #425 [Verbose] >             | _ -> loop (roll () :: rolls) (size + 1)

00:00:09 #426 [Verbose] >     loop [[]] 0

00:00:09 #427 [Verbose] >

00:00:09 #428 [Verbose] > ── fsharp ──────────────────────────────────────────────────────────────────────

00:00:09 #429 [Verbose] > //// test

00:00:09 #430 [Verbose] >

00:00:09 #431 [Verbose] > rollProgressively None rollDice false 1

00:00:09 #432 [Verbose] > |> _equal 1

00:00:09 #433 [Verbose] >

00:00:09 #434 [Verbose] > ╭─[ 20.88ms - stdout ]─────────────────────────────────────────────────────────╮

00:00:09 #435 [Verbose] > │ 1                                                                            │

00:00:09 #436 [Verbose] > │                                                                              │

00:00:09 #437 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:09 #438 [Verbose] >

00:00:09 #439 [Verbose] > ── fsharp ──────────────────────────────────────────────────────────────────────

00:00:09 #440 [Verbose] > //// test

00:00:09 #441 [Verbose] >

00:00:09 #442 [Verbose] > let sequentialRoll = createSequentialRoller [[ 5; 4; 4; 5; 1 ]]

00:00:09 #443 [Verbose] >

00:00:09 #444 [Verbose] > rollProgressively (Some (printfn "%s")) sequentialRoll false 2000

00:00:09 #445 [Verbose] > |> _equal 995

00:00:09 #446 [Verbose] >

00:00:09 #447 [Verbose] > ╭─[ 26.17ms - stdout ]─────────────────────────────────────────────────────────╮

00:00:09 #448 [Verbose] > │ calculateDiceCount / max: 2000 / n: 5 / p: 7776                              │

00:00:09 #449 [Verbose] > │ accumulateDiceRolls / power: 4 / acc: 0 / roll: 1                            │

00:00:09 #450 [Verbose] > │ accumulateDiceRolls / power: 3 / acc: 0 / roll: 5 / value: 864               │

00:00:09 #451 [Verbose] > │ accumulateDiceRolls / power: 2 / acc: 864 / roll: 4 / value: 108             │

00:00:09 #452 [Verbose] > │ accumulateDiceRolls / power: 1 / acc: 972 / roll: 4 / value: 18              │

00:00:09 #453 [Verbose] > │ accumulateDiceRolls / power: 0 / acc: 990 / roll: 5 / value: 4               │

00:00:09 #454 [Verbose] > │ accumulateDiceRolls / power: -1 / acc: 994                                   │

00:00:09 #455 [Verbose] > │ 995                                                                          │

00:00:09 #456 [Verbose] > │                                                                              │

00:00:09 #457 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:09 #458 [Verbose] >

00:00:09 #459 [Verbose] > ── fsharp ──────────────────────────────────────────────────────────────────────

00:00:09 #460 [Verbose] > //// test

00:00:09 #461 [Verbose] >

00:00:09 #462 [Verbose] > let sequentialRoll = createSequentialRoller [[ 5; 4; 4; 5; 2 ]]

00:00:09 #463 [Verbose] >

00:00:09 #464 [Verbose] > fun () -> rollProgressively (Some (printfn "%s")) sequentialRoll false 2000 |>

00:00:09 #465 [Verbose] > ignore

00:00:09 #466 [Verbose] > |> _throwsC (fun ex _ ->

00:00:09 #467 [Verbose] >     printException ex

00:00:09 #468 [Verbose] >     |> _equal "System.Exception: createSequentialRoller / End of list"

00:00:09 #469 [Verbose] > )

00:00:09 #470 [Verbose] >

00:00:09 #471 [Verbose] > ╭─[ 45.21ms - stdout ]─────────────────────────────────────────────────────────╮

00:00:09 #472 [Verbose] > │ FSI_0031+it@5-11                                                             │

00:00:09 #473 [Verbose] > │ calculateDiceCount / max: 2000 / n: 5 / p: 7776                              │

00:00:09 #474 [Verbose] > │ accumulateDiceRolls / power: 4 / acc: 0 / roll: 2 / value: 1296              │

00:00:09 #475 [Verbose] > │ accumulateDiceRolls / power: 3 / acc: 1296 / roll: 5 / value: 864            │

00:00:09 #476 [Verbose] > │ accumulateDiceRolls / power: 2 / acc: 2160 / roll: 4 / value: 108            │

00:00:09 #477 [Verbose] > │ accumulateDiceRolls / power: 1 / acc: 2268 / roll: 4 / value: 18             │

00:00:09 #478 [Verbose] > │ accumulateDiceRolls / power: 0 / acc: 2286 / roll: 5 / value: 4              │

00:00:09 #479 [Verbose] > │ accumulateDiceRolls / power: -1 / acc: 2290                                  │

00:00:09 #480 [Verbose] > │ System.Exception: createSequentialRoller / End of list                       │

00:00:09 #481 [Verbose] > │                                                                              │

00:00:09 #482 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:09 #483 [Verbose] >

00:00:09 #484 [Verbose] > ── fsharp - ignored ────────────────────────────────────────────────────────────

00:00:09 #485 [Verbose] > //// ignore

00:00:09 #486 [Verbose] >

00:00:09 #487 [Verbose] > rollProgressively (Some (printfn "%s")) rollDice false 2000

00:00:09 #488 [Verbose] >

00:00:09 #489 [Verbose] > ── fsharp - ignored ────────────────────────────────────────────────────────────

00:00:09 #490 [Verbose] > //// ignore

00:00:09 #491 [Verbose] >

00:00:09 #492 [Verbose] > rollProgressively (Some (printfn "%s")) rollDice true 2000

00:00:09 #493 [Verbose] >

00:00:09 #494 [Verbose] > ── fsharp - ignored ────────────────────────────────────────────────────────────

00:00:09 #495 [Verbose] > //// ignore

00:00:09 #496 [Verbose] >

00:00:09 #497 [Verbose] > [[ 1 .. 10000 ]]

00:00:09 #498 [Verbose] > |> List.map (fun _ -> rollProgressively None rollDice false 10)

00:00:09 #499 [Verbose] > |> List.groupBy id

00:00:09 #500 [Verbose] > |> List.map (fun (k, v) -> k, v.Length)

00:00:09 #501 [Verbose] > |> List.sortBy fst

00:00:09 #502 [Verbose] >

00:00:09 #503 [Verbose] > ── fsharp - ignored ────────────────────────────────────────────────────────────

00:00:09 #504 [Verbose] > //// ignore

00:00:09 #505 [Verbose] >

00:00:09 #506 [Verbose] > [[ 1 .. 10000 ]]

00:00:09 #507 [Verbose] > |> List.map (fun _ -> rollProgressively None rollDice true 10)

00:00:09 #508 [Verbose] > |> List.groupBy id

00:00:09 #509 [Verbose] > |> List.map (fun (k, v) -> k, v.Length)

00:00:09 #510 [Verbose] > |> List.sortBy fst

00:00:09 #511 [Verbose] >

00:00:09 #512 [Verbose] > ── fsharp ──────────────────────────────────────────────────────────────────────

00:00:09 #513 [Verbose] > //// test

00:00:09 #514 [Verbose] >

00:00:09 #515 [Verbose] > [[ 1 .. 100 ]]

00:00:09 #516 [Verbose] > |> List.iter (fun n ->

00:00:09 #517 [Verbose] >     [[ 0 .. 1 ]]

00:00:09 #518 [Verbose] >     |> List.iter (fun reroll ->

00:00:09 #519 [Verbose] >         [[ 1 .. 3500 ]]

00:00:09 #520 [Verbose] >         |> List.map (fun _ -> rollProgressively None rollDice (reroll = 1) n)

00:00:09 #521 [Verbose] >         |> List.groupBy id

00:00:09 #522 [Verbose] >         |> List.length

00:00:09 #523 [Verbose] >         |> __equal false n

00:00:09 #524 [Verbose] >     )

00:00:09 #525 [Verbose] > )

00:00:16 #526 [Verbose] >

00:00:16 #527 [Verbose] > ── fsharp - ignored ────────────────────────────────────────────────────────────

00:00:16 #528 [Verbose] > //// ignore

00:00:16 #529 [Verbose] >

00:00:16 #530 [Verbose] > let run () =

00:00:16 #531 [Verbose] >     let inline rollMax fn max n =

00:00:16 #532 [Verbose] >         [[ 1 .. n ]]

00:00:16 #533 [Verbose] >         |> List.map (fun _ -> fn max)

00:00:16 #534 [Verbose] >         |> List.groupBy id

00:00:16 #535 [Verbose] >         |> List.map (fun (_, v) -> v.Length)

00:00:16 #536 [Verbose] >

00:00:16 #537 [Verbose] >     let max = 10

00:00:16 #538 [Verbose] >     let n = 30

00:00:16 #539 [Verbose] >     let even = (n / max) |> int

00:00:16 #540 [Verbose] >

00:00:16 #541 [Verbose] >     let rec rollN current =

00:00:16 #542 [Verbose] >         let roll = rollMax (rollProgressively None rollDice true) max n

00:00:16 #543 [Verbose] >         if roll |> List.forall ((=) even)

00:00:16 #544 [Verbose] >         then current

00:00:16 #545 [Verbose] >         else rollN (current + 1)

00:00:16 #546 [Verbose] >

00:00:16 #547 [Verbose] >     rollN 0

00:00:16 #548 [Verbose] >

00:00:16 #549 [Verbose] > // run ()

00:00:16 #550 [Verbose] >

00:00:16 #551 [Verbose] > ── fsharp - ignored ────────────────────────────────────────────────────────────

00:00:16 #552 [Verbose] > //// ignore

00:00:16 #553 [Verbose] >

00:00:16 #554 [Verbose] > // [[ 1 .. 100 ]]

00:00:16 #555 [Verbose] > // |> List.map (fun i ->

00:00:16 #556 [Verbose] > //     let roll = rollN 0

00:00:16 #557 [Verbose] > //     printfn $"i: {i} / roll: {roll}"

00:00:16 #558 [Verbose] > //     roll

00:00:16 #559 [Verbose] > // )

00:00:16 #560 [Verbose] > // |> List.map float

00:00:16 #561 [Verbose] > // |> List.average

00:00:16 #562 [Verbose] >

00:00:16 #563 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────

00:00:16 #564 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮

00:00:16 #565 [Verbose] > │ ## main                                                                      │

00:00:16 #566 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:16 #567 [Verbose] >

00:00:16 #568 [Verbose] > ── fsharp ──────────────────────────────────────────────────────────────────────

00:00:16 #569 [Verbose] > let main args =

00:00:16 #570 [Verbose] >     let result = rollProgressively (Some (printfn "%s")) rollDice true

00:00:16 #571 [Verbose] > (System.Int32.MaxValue / 10)

00:00:16 #572 [Verbose] >     trace Debug (fun () -> $"main / result: {result}") getLocals

00:00:16 #573 [Verbose] >     0

00:00:18 #574 [Verbose] > [NbConvertApp] Converting notebook dice_fsharp.dib.ipynb to html

00:00:18 #575 [Verbose] > C:\Users\i574n\scoop\apps\python\current\Lib\site-packages\nbformat\__init__.py:93: MissingIDFieldWarning: Code cell is missing an id field, this will become a hard error in future nbformat versions. You may want to use `normalize()` on your notebooks before validations (available since nbformat 5.1.4). Previous versions of nbformat are fixing this issue transparently, and will stop doing so in the future.

00:00:18 #576 [Verbose] >   validate(nb)

00:00:18 #577 [Verbose] > C:\Users\i574n\scoop\apps\python\current\Lib\site-packages\nbconvert\filters\highlight.py:71: UserWarning: IPython3 lexer unavailable, falling back on Python 3

00:00:18 #578 [Verbose] >   return _pygments_highlight(

00:00:19 #579 [Verbose] > [NbConvertApp] Writing 324718 bytes to dice_fsharp.dib.html

00:00:19 #580 [Debug] executeAsync / exitCode: 0 / output.Length: 25065

00:00:19 #581 [Debug] main / executeCommand / exitCode: 0

00:00:00 #1 [Debug] writeDibCode / output: Fs / path: dice_fsharp.dib

00:00:00 #2 [Debug] parseDibCode / output: Fs / file: dice_fsharp.dib

00:00:00 #1 [Debug] persistCodeProject / packages: [Fable.Core] / modules: [lib/fsharp/Common.fs] / name: dice_fsharp / code.Length: 3337

00:00:00 #2 [Debug] buildProject / fullPath: C:\home\git\polyglot\target\polyglot\builder\dice_fsharp\dice_fsharp.fsproj

00:00:00 #3 [Debug] executeAsync / options: { Command =

   "dotnet publish "C:\home\git\polyglot\target/polyglot/builder\dice_fsharp\dice_fsharp.fsproj" --configuration Release --output "C:\home\git\polyglot\apps\dice\fsharp\dist" --runtime linux-x64"

  WorkingDirectory =

   Some "C:\home\git\polyglot\target\polyglot\builder\dice_fsharp"

  CancellationToken = None

  OnLine = None }

00:00:00 #4 [Verbose] > MSBuild version 17.8.3+195e7f5a3 for .NET

00:00:00 #5 [Verbose] >   Determining projects to restore...

00:00:01 #6 [Verbose] >   Paket version 8.0.0-alpha002+6339fce88f07b4d959d03b78330fdb5a6d936483

00:00:01 #7 [Verbose] >   The last full restore is still up to date. Nothing left to do.

00:00:01 #8 [Verbose] >   Total time taken: 0 milliseconds

00:00:02 #9 [Verbose] >   Paket version 8.0.0-alpha002+6339fce88f07b4d959d03b78330fdb5a6d936483

00:00:02 #10 [Verbose] >   Restoring C:\home\git\polyglot\target\polyglot\builder\dice_fsharp\dice_fsharp.fsproj

00:00:02 #11 [Verbose] >   Starting restore process.

00:00:02 #12 [Verbose] >   Total time taken: 0 milliseconds

00:00:03 #13 [Verbose] >   Restored C:\home\git\polyglot\target\polyglot\builder\dice_fsharp\dice_fsharp.fsproj (in 360 ms).

00:00:07 #14 [Verbose] >   dice_fsharp -> C:\home\git\polyglot\target\polyglot\builder\dice_fsharp\bin\Release\net8.0\linux-x64\dice_fsharp.dll

00:00:08 #15 [Verbose] >   dice_fsharp -> C:\home\git\polyglot\apps\dice\fsharp\dist\

00:00:08 #16 [Debug] executeAsync / exitCode: 0 / output.Length: 753

00:00:08 #17 [Debug] executeAsync / options: { Command =

   "dotnet publish "C:\home\git\polyglot\target/polyglot/builder\dice_fsharp\dice_fsharp.fsproj" --configuration Release --output "C:\home\git\polyglot\apps\dice\fsharp\dist" --runtime win-x64"

  WorkingDirectory =

   Some "C:\home\git\polyglot\target\polyglot\builder\dice_fsharp"

  CancellationToken = None

  OnLine = None }

00:00:08 #18 [Verbose] > MSBuild version 17.8.3+195e7f5a3 for .NET

00:00:09 #19 [Verbose] >   Determining projects to restore...

00:00:09 #20 [Verbose] >   Restored C:\home\git\polyglot\target\polyglot\builder\dice_fsharp\dice_fsharp.fsproj (in 313 ms).

00:00:13 #21 [Verbose] >   dice_fsharp -> C:\home\git\polyglot\target\polyglot\builder\dice_fsharp\bin\Release\net8.0\win-x64\dice_fsharp.dll

00:00:19 #22 [Verbose] >   dice_fsharp -> C:\home\git\polyglot\apps\dice\fsharp\dist\

00:00:19 #23 [Debug] executeAsync / exitCode: 0 / output.Length: 356

Fable 4.5.0: F# to Rust compiler (status: alpha)



Thanks to the contributor! @2sComplement

Stand with Ukraine! https://standwithukraine.com.ua/



Parsing ..\..\..\target\polyglot\builder\dice_fsharp\dice_fsharp.fsproj...

..\..\..\target\polyglot\builder\dice_fsharp> cmd /C dotnet restore dice_fsharp.csproj -p:FABLE_COMPILER=true -p:FABLE_COMPILER_4=true -p:FABLE_COMPILER_RUST=true

  Determining projects to restore...

  Paket version 8.0.0-alpha002+6339fce88f07b4d959d03b78330fdb5a6d936483

  The last full restore is still up to date. Nothing left to do.

  Total time taken: 0 milliseconds

  Paket version 8.0.0-alpha002+6339fce88f07b4d959d03b78330fdb5a6d936483

  Restoring C:\home\git\polyglot\target\polyglot\builder\dice_fsharp\dice_fsharp.csproj

  Starting restore process.

  Total time taken: 0 milliseconds

  Restored C:\home\git\polyglot\target\polyglot\builder\dice_fsharp\dice_fsharp.csproj (in 345 ms).

Project and references (2 source files) parsed in 7302ms



Started Fable compilation...

Fable compilation finished in 2412ms



Fable 4.5.0: F# to TypeScript compiler

Minimum fable-library version (when installed from npm): 1.1.1



Thanks to the contributor! @thautwarm

Stand with Ukraine! https://standwithukraine.com.ua/



Parsing ..\..\..\target\polyglot\builder\dice_fsharp\dice_fsharp.fsproj...

..\..\..\target\polyglot\builder\dice_fsharp> cmd /C dotnet restore dice_fsharp.csproj -p:FABLE_COMPILER=true -p:FABLE_COMPILER_4=true -p:FABLE_COMPILER_TYPESCRIPT=true

  Determining projects to restore...

  All projects are up-to-date for restore.

Project and references (2 source files) parsed in 3853ms



Started Fable compilation...

Fable compilation finished in 2389ms



Fable 4.5.0: F# to Python compiler (status: beta)



Thanks to the contributor! @NickDarvey

Stand with Ukraine! https://standwithukraine.com.ua/



Parsing ..\..\..\target\polyglot\builder\dice_fsharp\dice_fsharp.fsproj...

..\..\..\target\polyglot\builder\dice_fsharp> cmd /C dotnet restore dice_fsharp.csproj -p:FABLE_COMPILER=true -p:FABLE_COMPILER_4=true -p:FABLE_COMPILER_PYTHON=true

  Determining projects to restore...

  All projects are up-to-date for restore.

Project and references (2 source files) parsed in 3872ms



Started Fable compilation...

Fable compilation finished in 2390ms



Fable 4.5.0: F# to PHP compiler (status: experimental)



Thanks to the contributor! @cannorin

Stand with Ukraine! https://standwithukraine.com.ua/



Parsing ..\..\..\target\polyglot\builder\dice_fsharp\dice_fsharp.fsproj...

..\..\..\target\polyglot\builder\dice_fsharp> cmd /C dotnet restore dice_fsharp.csproj -p:FABLE_COMPILER=true -p:FABLE_COMPILER_4=true -p:FABLE_COMPILER_PHP=true

  Determining projects to restore...

  All projects are up-to-date for restore.

Project and references (2 source files) parsed in 3873ms



Started Fable compilation...

Fable compilation finished in 2295ms



.\..\..\..\target\polyglot\builder\dice_fsharp\dice_fsharp.fs(18,37): (18,89) error FABLE: String templates are not supported

.\..\..\..\target\polyglot\builder\dice_fsharp\dice_fsharp.fs(24,37): (25,76) error FABLE: String templates are not supported

.\..\..\..\target\polyglot\builder\dice_fsharp\dice_fsharp.fs(29,37): (29,104) error FABLE: String templates are not supported

.\..\..\..\target\polyglot\builder\dice_fsharp\dice_fsharp.fs(47,41): (47,93) error FABLE: String templates are not supported

.\..\..\..\target\polyglot\builder\dice_fsharp\dice_fsharp.fs(109,31): (109,57) error FABLE: String templates are not supported

.\..\..\..\lib\fsharp\Common.fs(56,17): (56,49) error FABLE: String templates are not supported

.\..\..\..\lib\fsharp\Common.fs(135,23): (135,35) error FABLE: String templates are not supported

Compilation failed


# Invoke-Block / $Retry: 1 / $OnError: Continue / $exitcode: 1 / $EnvVars: null / $Error: '' / $ScriptBlock:
'dotnet fable $targetDir/dice_fsharp.fsproj --optimize --lang php --extension .php --outDir $targetDir/php'


Fable 4.5.0: F# to Dart compiler (status: beta)



Thanks to the contributor! @Shmew

Stand with Ukraine! https://standwithukraine.com.ua/



Parsing ..\..\..\target\polyglot\builder\dice_fsharp\dice_fsharp.fsproj...

..\..\..\target\polyglot\builder\dice_fsharp> cmd /C dotnet restore dice_fsharp.csproj -p:FABLE_COMPILER=true -p:FABLE_COMPILER_4=true -p:FABLE_COMPILER_DART=true

  Determining projects to restore...

  All projects are up-to-date for restore.

Project and references (2 source files) parsed in 3892ms



Started Fable compilation...

Fable compilation finished in 2396ms



.\..\..\..\lib\fsharp\Common.fs(1,1): error FABLE: Cannot find reference for Microsoft.FSharp.Core.PrintfFormat`5

.\..\..\..\target\polyglot\builder\dice_fsharp\dice_fsharp.fs(1,1): error FABLE: Cannot find reference for System.Random

.\..\..\..\target\polyglot\builder\dice_fsharp\dice_fsharp.fs(1,1): error FABLE: Cannot find reference for System.IO.TextWriter

.\..\..\..\target\polyglot\builder\dice_fsharp\dice_fsharp.fs(1,1): error FABLE: Cannot find reference for Microsoft.FSharp.Core.PrintfFormat`5

Compilation failed


# Invoke-Block / $Retry: 1 / $OnError: Continue / $exitcode: 1 / $EnvVars: null / $Error: '' / $ScriptBlock:
'dotnet fable $targetDir/dice_fsharp.fsproj --optimize --lang dart --extension .dart --outDir $targetDir/dart'


Fable 4.5.0: F# to Rust compiler (status: alpha)



Thanks to the contributor! @njlr

Stand with Ukraine! https://standwithukraine.com.ua/



Parsing ..\..\..\target\polyglot\builder\dice_fsharp\dice_fsharp.fsproj...

Retrieving project options from cache, in case of issues run `dotnet fable clean` or try `--noCache` option.

Project and references (2 source files) parsed in 194ms



Started Fable compilation...

Fable compilation finished in 2359ms



   Compiling dice_fsharp v0.0.1 (C:\home\git\polyglot\apps\dice\fsharp)

    Finished release [optimized] target(s) in 6.63s

     Running `C:\home\git\polyglot\target\release\dice_fsharp.exe`

calculateDiceCount / max: 214748364 / n: 11 / p: 362797056

accumulateDiceRolls / power: 10 / acc: 0 / roll: 3 / value: 120932352

accumulateDiceRolls / power: 9 / acc: 120932352 / roll: 4 / value: 30233088

accumulateDiceRolls / power: 8 / acc: 151165440 / roll: 3 / value: 3359232

accumulateDiceRolls / power: 7 / acc: 154524672 / roll: 5 / value: 1119744

accumulateDiceRolls / power: 6 / acc: 155644416 / roll: 1

accumulateDiceRolls / power: 5 / acc: 155644416 / roll: 1

accumulateDiceRolls / power: 4 / acc: 155644416 / roll: 5 / value: 5184

accumulateDiceRolls / power: 3 / acc: 155649600 / roll: 3 / value: 432

accumulateDiceRolls / power: 2 / acc: 155650032 / roll: 2 / value: 36

accumulateDiceRolls / power: 1 / acc: 155650068 / roll: 4 / value: 18

accumulateDiceRolls / power: 0 / acc: 155650086 / roll: 6 / value: 5

accumulateDiceRolls / power: -1 / acc: 155650091

09:13:37 #1 [Debug] main / result: 155650092

In [ ]:
{ . "$ScriptDir/../apps/spiral/temp/extension/build.ps1" } | Invoke-Block
Lockfile is up to date, resolution step is skipped

Packages: +5

+++++



Done in 1.4s

[INFO]: 🎯  Checking for the Wasm target...

[INFO]: 🌀  Compiling to Wasm...

   Compiling serde v1.0.193

   Compiling proc-macro2 v1.0.70

   Compiling winapi v0.3.9

   Compiling slab v0.4.9

   Compiling windows_x86_64_msvc v0.48.5

   Compiling cfg-if v1.0.0

   Compiling pin-utils v0.1.0

   Compiling futures-io v0.3.29

   Compiling proc-macro2-diagnostics v0.10.1

   Compiling lock_api v0.4.11

   Compiling unicode-ident v1.0.12

   Compiling parking_lot_core v0.9.9

   Compiling xxhash-rust v0.8.7

   Compiling quote v1.0.33

   Compiling windows-targets v0.48.5

   Compiling thiserror v1.0.50

   Compiling slotmap v1.0.6

   Compiling camino v1.1.6

   Compiling lazy_static v1.4.0

   Compiling syn v2.0.39

   Compiling proc-macro-utils v0.8.0

   Compiling once_cell v1.18.0

   Compiling ciborium-io v0.2.1

   Compiling scopeguard v1.2.0

   Compiling anyhow v1.0.75

   Compiling half v1.8.2

   Compiling paste v1.0.14

   Compiling yansi v1.0.0-rc.1

   Compiling ciborium-ll v0.2.1

   Compiling proc-macro-error-attr v1.0.4

   Compiling const_format_proc_macros v0.2.32

   Compiling manyhow-macros v0.8.1

   Compiling tracing-core v0.1.32

   Compiling equivalent v1.0.1

   Compiling interpolator v0.5.0

   Compiling proc-macro-error v1.0.4

   Compiling hashbrown v0.14.3

   Compiling prettyplease v0.2.15

   Compiling collection_literals v1.0.1

   Compiling async-trait v0.1.74

   Compiling parking_lot v0.12.1

   Compiling winapi-util v0.1.6

   Compiling same-file v1.0.6

   Compiling indexmap v2.1.0

   Compiling walkdir v2.4.0

   Compiling const_format v0.2.32

   Compiling wasm-bindgen-backend v0.2.89

   Compiling manyhow v0.8.1

   Compiling getrandom v0.2.11

   Compiling aho-corasick v1.1.2

   Compiling utf8-width v0.1.7

   Compiling either v1.9.0

   Compiling rustc-hash v1.1.0

   Compiling base64 v0.21.5

   Compiling minimal-lexical v0.2.1

   Compiling wasm-bindgen-macro-support v0.2.89

   Compiling regex-syntax v0.8.2

   Compiling self_cell v1.0.2

   Compiling pin-project-lite v0.2.13

   Compiling unicode-segmentation v1.10.1

   Compiling nom v7.1.3

   Compiling convert_case v0.6.0

   Compiling itertools v0.11.0

   Compiling html-escape v0.2.13

   Compiling regex-automata v0.4.3

   Compiling uuid v1.6.1

   Compiling pathdiff v0.2.1

   Compiling tinyvec_macros v0.1.1

   Compiling tinyvec v1.6.0

   Compiling itertools v0.10.5

   Compiling inventory v0.3.13

   Compiling smallvec v1.11.2

   Compiling pad-adapter v0.1.1

   Compiling drain_filter_polyfill v0.1.3

   Compiling unicode-normalization v0.1.22

   Compiling form_urlencoded v1.2.1

   Compiling tokio v1.28.2

   Compiling num-traits v0.2.17

   Compiling regex v1.10.2

   Compiling cfg_aliases v0.1.1

   Compiling bytes v1.5.0

   Compiling fnv v1.0.7

   Compiling unicode-bidi v0.3.13

   Compiling borsh v1.2.0

   Compiling http v0.2.11

   Compiling idna v0.5.0

   Compiling serde_derive v1.0.193

   Compiling wasm-bindgen-macro v0.2.89

   Compiling thiserror-impl v1.0.50

   Compiling pin-project-internal v1.1.3

   Compiling futures-macro v0.3.29

   Compiling wasm-bindgen v0.2.89

   Compiling derive-where v1.2.5

   Compiling tracing-attributes v0.1.27

   Compiling js-sys v0.3.66

   Compiling futures-util v0.3.29

   Compiling syn_derive v0.1.8

   Compiling pin-project v1.1.3

   Compiling typed-builder-macro v0.18.0

   Compiling rstml v0.11.2

   Compiling quote-use-macros v0.7.2

   Compiling tracing v0.1.40

   Compiling web-sys v0.3.66

   Compiling wasm-bindgen-futures v0.4.39

   Compiling futures-executor v0.3.29

   Compiling futures v0.3.29

   Compiling quote-use v0.7.2

   Compiling async-recursion v1.0.5

   Compiling attribute-derive-macro v0.8.1

   Compiling url v2.5.0

   Compiling tower-service v0.3.2

   Compiling base64 v0.13.1

   Compiling log v0.4.20

   Compiling typed-builder v0.18.0

   Compiling console_error_panic_hook v0.1.7

   Compiling attribute-derive v0.8.1

   Compiling serde_json v1.0.108

   Compiling serde_qs v0.12.0

   Compiling serde-wasm-bindgen v0.5.0

   Compiling ciborium v0.2.1

   Compiling server_fn_macro v0.5.4

   Compiling leptos_hot_reload v0.5.4

   Compiling toml v0.5.11

   Compiling serde_test v1.0.176

   Compiling serde_urlencoded v0.7.1

   Compiling server_fn_macro_default v0.5.4

   Compiling serde-wasm-bindgen v0.6.1

   Compiling linear-map v1.2.0

   Compiling config v0.13.4

   Compiling leptos_config v0.5.4

   Compiling leptos_macro v0.5.4

   Compiling gloo-utils v0.1.7

   Compiling leptos_reactive v0.5.4

   Compiling gloo-utils v0.2.0

   Compiling console_log v1.0.0

   Compiling reqwest-wasm v0.11.16

   Compiling gloo-net v0.2.6

   Compiling gloo-net v0.4.0

   Compiling server_fn v0.5.4

   Compiling rexie v0.5.0

   Compiling leptos_dom v0.5.4

   Compiling leptos_server v0.5.4

   Compiling leptos v0.5.4

   Compiling leptos_meta v0.5.4

   Compiling leptos_router v0.5.4

   Compiling extension v0.0.1 (C:\home\git\polyglot\apps\spiral\temp\extension)

    Finished dev [unoptimized + debuginfo] target(s) in 1m 47s

[INFO]: ⬇️  Installing wasm-bindgen...

[INFO]: origin crate has no LICENSE

[INFO]: ✨   Done in 1m 50s

[INFO]: 📦   Your wasm pkg is ready to publish at C:\home\git\polyglot\apps\spiral\temp\extension\pkg.

▲ [WARNING] "import.meta" is not available with the "iife" output format and will be empty [empty-import-meta]



    pkg/extension.js:1241:45:

      1241 │         input = new URL('extension_bg.wasm', import.meta.url);

           ╵                                              ~~~~~~~~~~~



  You need to set the output format to "esm" for "import.meta" to work correctly.



1 warning



  dist\extension_bg-MQHZ5VA2.wasm   4.2mb ⚠️

  dist\devtools.js                 29.0kb

  dist\content_script.js           24.5kb

  dist\service_worker.js            2.2kb



⚡ Done in 147ms



> polyglot@ test:e2e C:\home\git\polyglot\apps\spiral\temp\extension

> playwright test





Running 3 tests using 3 workers



[1/3] [Desktop Chrome] › extension.spec.ts:3:5 › popup localhost

[2/3] [Desktop Chrome] › extension.spec.ts:8:5 › popup extension

[3/3] [Desktop Chrome] › extension.spec.ts:13:5 › libgen

  3 passed (16.2s)



To open last HTML report run:



  pnpm exec playwright show-report



In [ ]:
{ . "$ScriptDir/../apps/perf/build.ps1" } | Invoke-Block
00:00:00 #1 [Debug] runWithTimeoutAsync / timeout: 60

00:00:00 #2 [Debug] executeAsync / options: { Command =

   "dotnet "C:\home\git\polyglot\deps\The-Spiral-Language\The Spiral Language 2\artifacts\bin\The Spiral Language 2\release\Spiral.dll" port=13805"

  WorkingDirectory = None

  CancellationToken = Some System.Threading.CancellationToken

  OnLine = Some <fun:main@450-1020> }

00:00:00 #3 [Verbose] > pwd: C:\home\git\polyglot\apps\perf

00:00:00 #4 [Verbose] > dll_path: C:\home\git\polyglot\deps\The-Spiral-Language\The Spiral Language 2\artifacts\bin\The Spiral Language 2\release

00:00:00 #5 [Debug] runWithTimeoutAsync / timeout: 500

00:00:00 #6 [Verbose] waitForPortAccess / port: 13805 / retry: 0

00:00:01 #7 [Debug] sendJson / port: 13805 / json: {"Ping":true} / result.Length:

00:00:01 #8 [Verbose] awaitCompiler / Ping / result: Some(null) / port: 13805 / retry: 0

00:00:01 #9 [Verbose] > Server bound to: http://localhost:13805

00:00:01 #10 [Debug] executeAsync / options: { Command = "pwsh -c "../../scripts/invoke-dib.ps1 Perf.dib""

  WorkingDirectory = None

  CancellationToken = Some System.Threading.CancellationToken

  OnLine = None }

00:00:03 #11 [Verbose] >

00:00:03 #12 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────

00:00:03 #13 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮

00:00:03 #14 [Verbose] > │ ## Perf (Polyglot)                                                           │

00:00:03 #15 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:03 #16 [Verbose] >

00:00:03 #17 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:03 #18 [Verbose] > // // test

00:00:03 #19 [Verbose] >

00:00:03 #20 [Verbose] > open testing

00:00:03 #21 [Verbose] > open benchmark

00:00:06 #22 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0915-5594-9497-9e326ad3d393\main.spi

00:00:08 #23 [Verbose] >

00:00:08 #24 [Verbose] > ╭─[ 5.27s - stdout ]───────────────────────────────────────────────────────────╮

00:00:08 #25 [Verbose] > │ ()                                                                           │

00:00:08 #26 [Verbose] > │                                                                              │

00:00:08 #27 [Verbose] > │                                                                              │

00:00:08 #28 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:08 #29 [Verbose] >

00:00:08 #30 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:08 #31 [Verbose] > inl (/@) x = listm'.(/@) x

00:00:08 #32 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0915-5894-9451-93a44a7c2faf\main.spi

00:00:09 #33 [Verbose] >

00:00:09 #34 [Verbose] > ╭─[ 164.20ms - stdout ]────────────────────────────────────────────────────────╮

00:00:09 #35 [Verbose] > │ ()                                                                           │

00:00:09 #36 [Verbose] > │                                                                              │

00:00:09 #37 [Verbose] > │                                                                              │

00:00:09 #38 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:09 #39 [Verbose] >

00:00:09 #40 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────

00:00:09 #41 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮

00:00:09 #42 [Verbose] > │ ## TestCaseResult                                                            │

00:00:09 #43 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:09 #44 [Verbose] >

00:00:09 #45 [Verbose] > ── fsharp ──────────────────────────────────────────────────────────────────────

00:00:09 #46 [Verbose] > type TestCaseResult =

00:00:09 #47 [Verbose] >     {

00:00:09 #48 [Verbose] >         Input: string

00:00:09 #49 [Verbose] >         Expected: string

00:00:09 #50 [Verbose] >         Result: string

00:00:09 #51 [Verbose] >         TimeList: int64 list

00:00:09 #52 [Verbose] >     }

00:00:09 #53 [Verbose] >

00:00:09 #54 [Verbose] > ── fsharp - import ─────────────────────────────────────────────────────────────

00:00:09 #55 [Verbose] > #r

00:00:09 #56 [Verbose] > "C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.A

00:00:09 #57 [Verbose] > spNetCore.Html.Abstractions.dll"

00:00:09 #58 [Verbose] > #r

00:00:09 #59 [Verbose] > "C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D

00:00:09 #60 [Verbose] > otNet.Interactive.dll"

00:00:09 #61 [Verbose] > #r

00:00:09 #62 [Verbose] > "C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D

00:00:09 #63 [Verbose] > otNet.Interactive.FSharp.dll"

00:00:09 #64 [Verbose] > #r

00:00:09 #65 [Verbose] > "C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D

00:00:09 #66 [Verbose] > otNet.Interactive.Formatting.dll"

00:00:09 #67 [Verbose] > open System

00:00:09 #68 [Verbose] > open System.IO

00:00:09 #69 [Verbose] > open System.Text

00:00:09 #70 [Verbose] > open Microsoft.DotNet.Interactive.Formatting

00:00:10 #71 [Verbose] >

00:00:10 #72 [Verbose] > ── fsharp - import ─────────────────────────────────────────────────────────────

00:00:10 #73 [Verbose] > #r

00:00:10 #74 [Verbose] > "C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D

00:00:10 #75 [Verbose] > otNet.Interactive.FSharp.dll"

00:00:10 #76 [Verbose] > open Microsoft.DotNet.Interactive.FSharp.FSharpKernelHelpers

00:00:10 #77 [Verbose] > #r

00:00:10 #78 [Verbose] > "C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D

00:00:10 #79 [Verbose] > otNet.Interactive.dll"

00:00:10 #80 [Verbose] > open type Microsoft.DotNet.Interactive.Kernel

00:00:10 #81 [Verbose] >

00:00:10 #82 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────

00:00:10 #83 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮

00:00:10 #84 [Verbose] > │ ## run                                                                       │

00:00:10 #85 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:10 #86 [Verbose] >

00:00:10 #87 [Verbose] > ── fsharp ──────────────────────────────────────────────────────────────────────

00:00:10 #88 [Verbose] > let run count (solutions: (string * ('TInput -> 'TExpected)) list) (input,

00:00:10 #89 [Verbose] > expected) =

00:00:10 #90 [Verbose] >     let inputStr =

00:00:10 #91 [Verbose] >         match box input with

00:00:10 #92 [Verbose] >         | :? System.Collections.ICollection as input ->

00:00:10 #93 [Verbose] >             System.Linq.Enumerable.Cast<obj> input

00:00:10 #94 [Verbose] >             |> Seq.map string

00:00:10 #95 [Verbose] >             |> String.concat ","

00:00:10 #96 [Verbose] >         | _ -> input.ToString ()

00:00:10 #97 [Verbose] >

00:00:10 #98 [Verbose] >     printfn ""

00:00:10 #99 [Verbose] >     printfn $"Solution: {inputStr}  "

00:00:10 #100 [Verbose] >

00:00:10 #101 [Verbose] >     let performanceInvoke (fn: unit -> 'T) =

00:00:10 #102 [Verbose] >         GC.Collect ()

00:00:10 #103 [Verbose] >         let stopwatch = System.Diagnostics.Stopwatch ()

00:00:10 #104 [Verbose] >         stopwatch.Start ()

00:00:10 #105 [Verbose] >         let time1 = stopwatch.ElapsedMilliseconds

00:00:10 #106 [Verbose] >

00:00:10 #107 [Verbose] >         let result =

00:00:10 #108 [Verbose] >             [[| 0 .. count |]]

00:00:10 #109 [Verbose] >             |> Array.Parallel.map (fun _ ->

00:00:10 #110 [Verbose] >                 fn ()

00:00:10 #111 [Verbose] >             )

00:00:10 #112 [Verbose] >             |> Array.last

00:00:10 #113 [Verbose] >

00:00:10 #114 [Verbose] >         let time2 = stopwatch.ElapsedMilliseconds - time1

00:00:10 #115 [Verbose] >

00:00:10 #116 [Verbose] >         result, time2

00:00:10 #117 [Verbose] >

00:00:10 #118 [Verbose] >     let resultsWithTime =

00:00:10 #119 [Verbose] >         solutions

00:00:10 #120 [Verbose] >         |> List.mapi (fun i (testName, solution) ->

00:00:10 #121 [Verbose] >             let result, time = performanceInvoke (fun () -> solution input)

00:00:10 #122 [Verbose] >             printfn $"Test case %d{i + 1}. %s{testName}. Time: %A{time}  "

00:00:10 #123 [Verbose] >             result, time

00:00:10 #124 [Verbose] >         )

00:00:10 #125 [Verbose] >

00:00:10 #126 [Verbose] >

00:00:10 #127 [Verbose] >     match resultsWithTime |> List.map fst with

00:00:10 #128 [Verbose] >     | ([[]] | [[ _ ]]) -> ()

00:00:10 #129 [Verbose] >     | (head :: tail) when tail |> List.forall ((=) head) -> ()

00:00:10 #130 [Verbose] >     | results -> failwithf $"Challenge error: %A{results}"

00:00:10 #131 [Verbose] >

00:00:10 #132 [Verbose] >     {

00:00:10 #133 [Verbose] >         Input = inputStr

00:00:10 #134 [Verbose] >         Expected = expected.ToString ()

00:00:10 #135 [Verbose] >         Result = resultsWithTime |> Seq.map fst |> Seq.head |> fun x ->

00:00:10 #136 [Verbose] > x.ToString ()

00:00:10 #137 [Verbose] >         TimeList = resultsWithTime |> List.map snd

00:00:10 #138 [Verbose] >     }

00:00:11 #139 [Verbose] >

00:00:11 #140 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────

00:00:11 #141 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮

00:00:11 #142 [Verbose] > │ ## runAll                                                                    │

00:00:11 #143 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:11 #144 [Verbose] >

00:00:11 #145 [Verbose] > ── fsharp ──────────────────────────────────────────────────────────────────────

00:00:11 #146 [Verbose] > let runAll testName count (solutions: (string * ('TInput -> 'TExpected)) list)

00:00:11 #147 [Verbose] > testCases =

00:00:11 #148 [Verbose] >     printfn ""

00:00:11 #149 [Verbose] >     printfn ""

00:00:11 #150 [Verbose] >     printfn $"Test: {testName}"

00:00:11 #151 [Verbose] >     testCases

00:00:11 #152 [Verbose] >     |> Seq.map (run count solutions)

00:00:11 #153 [Verbose] >     |> Seq.toList

00:00:11 #154 [Verbose] >

00:00:11 #155 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────

00:00:11 #156 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮

00:00:11 #157 [Verbose] > │ ## sortResultList                                                            │

00:00:11 #158 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:11 #159 [Verbose] >

00:00:11 #160 [Verbose] > ── fsharp ──────────────────────────────────────────────────────────────────────

00:00:11 #161 [Verbose] > let sortResultList resultList =

00:00:11 #162 [Verbose] >     let table =

00:00:11 #163 [Verbose] >         let rows =

00:00:11 #164 [Verbose] >             resultList

00:00:11 #165 [Verbose] >             |> List.map (fun result ->

00:00:11 #166 [Verbose] >                 let best =

00:00:11 #167 [Verbose] >                     result.TimeList

00:00:11 #168 [Verbose] >                     |> List.mapi (fun i time ->

00:00:11 #169 [Verbose] >                         i + 1, time

00:00:11 #170 [Verbose] >                     )

00:00:11 #171 [Verbose] >                     |> List.sortBy snd

00:00:11 #172 [Verbose] >                     |> List.head

00:00:11 #173 [Verbose] >                     |> fun x -> x.ToString ()

00:00:11 #174 [Verbose] >                 let row =

00:00:11 #175 [Verbose] >                     [[

00:00:11 #176 [Verbose] >                         result.Input

00:00:11 #177 [Verbose] >                         result.Expected

00:00:11 #178 [Verbose] >                         result.Result

00:00:11 #179 [Verbose] >                         best

00:00:11 #180 [Verbose] >                     ]]

00:00:11 #181 [Verbose] >                 let color =

00:00:11 #182 [Verbose] >                     match result.Expected = result.Result with

00:00:11 #183 [Verbose] >                     | true -> Some ConsoleColor.DarkGreen

00:00:11 #184 [Verbose] >                     | false -> Some ConsoleColor.DarkRed

00:00:11 #185 [Verbose] >                 row, color

00:00:11 #186 [Verbose] >             )

00:00:11 #187 [Verbose] >         let header =

00:00:11 #188 [Verbose] >             [[

00:00:11 #189 [Verbose] >                 [[

00:00:11 #190 [Verbose] >                     "Input"

00:00:11 #191 [Verbose] >                     "Expected"

00:00:11 #192 [Verbose] >                     "Result"

00:00:11 #193 [Verbose] >                     "Best"

00:00:11 #194 [Verbose] >                 ]]

00:00:11 #195 [Verbose] >                 [[

00:00:11 #196 [Verbose] >                     "---"

00:00:11 #197 [Verbose] >                     "---"

00:00:11 #198 [Verbose] >                     "---"

00:00:11 #199 [Verbose] >                     "---"

00:00:11 #200 [Verbose] >                 ]]

00:00:11 #201 [Verbose] >             ]]

00:00:11 #202 [Verbose] >             |> List.map (fun row -> row, None)

00:00:11 #203 [Verbose] >         header @ rows

00:00:11 #204 [Verbose] >

00:00:11 #205 [Verbose] >     let formattedTable =

00:00:11 #206 [Verbose] >         let lengthMap =

00:00:11 #207 [Verbose] >             table

00:00:11 #208 [Verbose] >             |> List.map fst

00:00:11 #209 [Verbose] >             |> List.transpose

00:00:11 #210 [Verbose] >             |> List.map (fun column ->

00:00:11 #211 [Verbose] >                 column

00:00:11 #212 [Verbose] >                 |> List.map String.length

00:00:11 #213 [Verbose] >                 |> List.sortDescending

00:00:11 #214 [Verbose] >                 |> List.tryHead

00:00:11 #215 [Verbose] >                 |> Option.defaultValue 0

00:00:11 #216 [Verbose] >             )

00:00:11 #217 [Verbose] >             |> List.indexed

00:00:11 #218 [Verbose] >             |> Map.ofList

00:00:11 #219 [Verbose] >         table

00:00:11 #220 [Verbose] >         |> List.map (fun (row, color) ->

00:00:11 #221 [Verbose] >             let newRow =

00:00:11 #222 [Verbose] >                 row

00:00:11 #223 [Verbose] >                 |> List.mapi (fun i cell ->

00:00:11 #224 [Verbose] >                     cell.PadRight lengthMap.[[i]]

00:00:11 #225 [Verbose] >                 )

00:00:11 #226 [Verbose] >             newRow, color

00:00:11 #227 [Verbose] >         )

00:00:11 #228 [Verbose] >

00:00:11 #229 [Verbose] >     printfn ""

00:00:11 #230 [Verbose] >     formattedTable

00:00:11 #231 [Verbose] >     |> List.iter (fun (row, color) ->

00:00:11 #232 [Verbose] >         match color with

00:00:11 #233 [Verbose] >         | Some color -> Console.ForegroundColor <- color

00:00:11 #234 [Verbose] >         | None -> Console.ResetColor ()

00:00:11 #235 [Verbose] >

00:00:11 #236 [Verbose] >         printfn "%s" (String.Join ("\t| ", row))

00:00:11 #237 [Verbose] >

00:00:11 #238 [Verbose] >         Console.ResetColor ()

00:00:11 #239 [Verbose] >     )

00:00:11 #240 [Verbose] >

00:00:11 #241 [Verbose] >     let averages =

00:00:11 #242 [Verbose] >         resultList

00:00:11 #243 [Verbose] >         |> List.map (fun result -> result.TimeList |> List.map float)

00:00:11 #244 [Verbose] >         |> List.transpose

00:00:11 #245 [Verbose] >         |> List.map List.average

00:00:11 #246 [Verbose] >         |> List.map int64

00:00:11 #247 [Verbose] >         |> List.indexed

00:00:11 #248 [Verbose] >

00:00:11 #249 [Verbose] >     printfn ""

00:00:11 #250 [Verbose] >     printfn "Average Ranking  "

00:00:11 #251 [Verbose] >     averages

00:00:11 #252 [Verbose] >     |> List.sortBy snd

00:00:11 #253 [Verbose] >     |> List.iter (fun (i, avg) ->

00:00:11 #254 [Verbose] >         printfn $"Test case %d{i + 1}. Average Time: %A{avg}  "

00:00:11 #255 [Verbose] >     )

00:00:11 #256 [Verbose] >

00:00:11 #257 [Verbose] > ── fsharp ──────────────────────────────────────────────────────────────────────

00:00:11 #258 [Verbose] > let mutable _count =

00:00:11 #259 [Verbose] >     if ("CI" |> System.Environment.GetEnvironmentVariable |> fun x -> $"%A{x}")

00:00:11 #260 [Verbose] > <> "<null>"

00:00:11 #261 [Verbose] >     then 2000000

00:00:11 #262 [Verbose] >     else 2000

00:00:11 #263 [Verbose] >

00:00:11 #264 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:11 #265 [Verbose] > inl is_fast () =

00:00:11 #266 [Verbose] >     false

00:00:12 #267 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0916-0191-9157-937e9683bed4\main.spi

00:00:12 #268 [Verbose] >

00:00:12 #269 [Verbose] > ╭─[ 218.82ms - stdout ]────────────────────────────────────────────────────────╮

00:00:12 #270 [Verbose] > │ ()                                                                           │

00:00:12 #271 [Verbose] > │                                                                              │

00:00:12 #272 [Verbose] > │                                                                              │

00:00:12 #273 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:12 #274 [Verbose] >

00:00:12 #275 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────

00:00:12 #276 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮

00:00:12 #277 [Verbose] > │ ## empty3Tests                                                               │

00:00:12 #278 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:12 #279 [Verbose] >

00:00:12 #280 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────

00:00:12 #281 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮

00:00:12 #282 [Verbose] > │ Test: Empty3                                                                 │

00:00:12 #283 [Verbose] > │                                                                              │

00:00:12 #284 [Verbose] > │ Solution: (a, a)                                                             │

00:00:12 #285 [Verbose] > │ Test case 1. A. Time: 91L                                                    │

00:00:12 #286 [Verbose] > │                                                                              │

00:00:12 #287 [Verbose] > │ Solution: (a, a)                                                             │

00:00:12 #288 [Verbose] > │ Test case 1. A. Time: 56L                                                    │

00:00:12 #289 [Verbose] > │                                                                              │

00:00:12 #290 [Verbose] > │ Input  | Expected      | Result | Best                                       │

00:00:12 #291 [Verbose] > │ ---    | ---           | ---    | ---                                        │

00:00:12 #292 [Verbose] > │ (a, a) | a             | a      | (1, 91)                                    │

00:00:12 #293 [Verbose] > │ (a, a) | a             | a      | (1, 56)                                    │

00:00:12 #294 [Verbose] > │                                                                              │

00:00:12 #295 [Verbose] > │ Averages                                                                     │

00:00:12 #296 [Verbose] > │ Test case 1. Average Time: 73L                                               │

00:00:12 #297 [Verbose] > │                                                                              │

00:00:12 #298 [Verbose] > │ Ranking                                                                      │

00:00:12 #299 [Verbose] > │ Test case 1. Average Time: 73L                                               │

00:00:12 #300 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:12 #301 [Verbose] >

00:00:12 #302 [Verbose] > ── fsharp ──────────────────────────────────────────────────────────────────────

00:00:12 #303 [Verbose] > //// test

00:00:12 #304 [Verbose] >

00:00:12 #305 [Verbose] > let solutions = [[

00:00:12 #306 [Verbose] >     "A",

00:00:12 #307 [Verbose] >     fun (a, _b) ->

00:00:12 #308 [Verbose] >         a

00:00:12 #309 [Verbose] > ]]

00:00:12 #310 [Verbose] > let testCases = seq {

00:00:12 #311 [Verbose] >     ("a", "a"), "a"

00:00:12 #312 [Verbose] >     ("a", "a"), "a"

00:00:12 #313 [Verbose] > }

00:00:12 #314 [Verbose] > let rec empty3Tests = runAll (nameof empty3Tests) _count solutions testCases

00:00:12 #315 [Verbose] > empty3Tests

00:00:12 #316 [Verbose] > |> sortResultList

00:00:12 #317 [Verbose] >

00:00:12 #318 [Verbose] > ╭─[ 309.08ms - stdout ]────────────────────────────────────────────────────────╮

00:00:12 #319 [Verbose] > │                                                                              │

00:00:12 #320 [Verbose] > │                                                                              │

00:00:12 #321 [Verbose] > │ Test: empty3Tests                                                            │

00:00:12 #322 [Verbose] > │                                                                              │

00:00:12 #323 [Verbose] > │ Solution: (a, a)                                                             │

00:00:12 #324 [Verbose] > │ Test case 1. A. Time: 1L                                                     │

00:00:12 #325 [Verbose] > │                                                                              │

00:00:12 #326 [Verbose] > │ Solution: (a, a)                                                             │

00:00:12 #327 [Verbose] > │ Test case 1. A. Time: 0L                                                     │

00:00:12 #328 [Verbose] > │                                                                              │

00:00:12 #329 [Verbose] > │ Input 	| Expected	| Result	| Best                                                  │

00:00:12 #330 [Verbose] > │ ---   	| ---     	| ---   	| ---                                                   │

00:00:12 #331 [Verbose] > │ (a, a)	| a       	| a     	| (1, 1)                                                │

00:00:12 #332 [Verbose] > │ (a, a)	| a       	| a     	| (1, 0)                                                │

00:00:12 #333 [Verbose] > │                                                                              │

00:00:12 #334 [Verbose] > │ Average Ranking                                                              │

00:00:12 #335 [Verbose] > │ Test case 1. Average Time: 0L                                                │

00:00:12 #336 [Verbose] > │                                                                              │

00:00:12 #337 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:12 #338 [Verbose] >

00:00:12 #339 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────

00:00:12 #340 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮

00:00:12 #341 [Verbose] > │ ## empty2Tests                                                               │

00:00:12 #342 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:12 #343 [Verbose] >

00:00:12 #344 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────

00:00:12 #345 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮

00:00:12 #346 [Verbose] > │ Test: Empty2                                                                 │

00:00:12 #347 [Verbose] > │                                                                              │

00:00:12 #348 [Verbose] > │ Solution: (a, a)                                                             │

00:00:12 #349 [Verbose] > │ Test case 1. A. Time: 59L                                                    │

00:00:12 #350 [Verbose] > │                                                                              │

00:00:12 #351 [Verbose] > │ Solution: (a, a)                                                             │

00:00:12 #352 [Verbose] > │ Test case 1. A. Time: 53L                                                    │

00:00:12 #353 [Verbose] > │                                                                              │

00:00:12 #354 [Verbose] > │ Input   | Expected        | Result  | Best                                   │

00:00:12 #355 [Verbose] > │ ---     | ---             | ---     | ---                                    │

00:00:12 #356 [Verbose] > │ (a, a)  | a               | a       | (1, 59)                                │

00:00:12 #357 [Verbose] > │ (a, a)  | a               | a       | (1, 53)                                │

00:00:12 #358 [Verbose] > │                                                                              │

00:00:12 #359 [Verbose] > │ Averages                                                                     │

00:00:12 #360 [Verbose] > │ Test case 1. Average Time: 56L                                               │

00:00:12 #361 [Verbose] > │                                                                              │

00:00:12 #362 [Verbose] > │ Ranking                                                                      │

00:00:12 #363 [Verbose] > │ Test case 1. Average Time: 56L                                               │

00:00:12 #364 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:12 #365 [Verbose] >

00:00:12 #366 [Verbose] > ── fsharp ──────────────────────────────────────────────────────────────────────

00:00:12 #367 [Verbose] > //// test

00:00:12 #368 [Verbose] >

00:00:12 #369 [Verbose] > let solutions = [[

00:00:12 #370 [Verbose] >     "A",

00:00:12 #371 [Verbose] >     fun (a, _b) ->

00:00:12 #372 [Verbose] >         a

00:00:12 #373 [Verbose] > ]]

00:00:12 #374 [Verbose] > let testCases = seq {

00:00:12 #375 [Verbose] >     ("a", "a"), "a"

00:00:12 #376 [Verbose] >     ("a", "a"), "a"

00:00:12 #377 [Verbose] > }

00:00:12 #378 [Verbose] > let rec empty2Tests = runAll (nameof empty2Tests) _count solutions testCases

00:00:12 #379 [Verbose] > empty2Tests

00:00:12 #380 [Verbose] > |> sortResultList

00:00:12 #381 [Verbose] >

00:00:12 #382 [Verbose] > ╭─[ 265.80ms - stdout ]────────────────────────────────────────────────────────╮

00:00:12 #383 [Verbose] > │                                                                              │

00:00:12 #384 [Verbose] > │                                                                              │

00:00:12 #385 [Verbose] > │ Test: empty2Tests                                                            │

00:00:12 #386 [Verbose] > │                                                                              │

00:00:12 #387 [Verbose] > │ Solution: (a, a)                                                             │

00:00:12 #388 [Verbose] > │ Test case 1. A. Time: 0L                                                     │

00:00:12 #389 [Verbose] > │                                                                              │

00:00:12 #390 [Verbose] > │ Solution: (a, a)                                                             │

00:00:12 #391 [Verbose] > │ Test case 1. A. Time: 0L                                                     │

00:00:12 #392 [Verbose] > │                                                                              │

00:00:12 #393 [Verbose] > │ Input 	| Expected	| Result	| Best                                                  │

00:00:12 #394 [Verbose] > │ ---   	| ---     	| ---   	| ---                                                   │

00:00:12 #395 [Verbose] > │ (a, a)	| a       	| a     	| (1, 0)                                                │

00:00:12 #396 [Verbose] > │ (a, a)	| a       	| a     	| (1, 0)                                                │

00:00:12 #397 [Verbose] > │                                                                              │

00:00:12 #398 [Verbose] > │ Average Ranking                                                              │

00:00:12 #399 [Verbose] > │ Test case 1. Average Time: 0L                                                │

00:00:12 #400 [Verbose] > │                                                                              │

00:00:12 #401 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:12 #402 [Verbose] >

00:00:12 #403 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────

00:00:12 #404 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮

00:00:12 #405 [Verbose] > │ ## emptyTests                                                                │

00:00:12 #406 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:12 #407 [Verbose] >

00:00:12 #408 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────

00:00:12 #409 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮

00:00:12 #410 [Verbose] > │ Test: Empty                                                                  │

00:00:12 #411 [Verbose] > │                                                                              │

00:00:12 #412 [Verbose] > │ Solution: 0                                                                  │

00:00:12 #413 [Verbose] > │ Test case 1. A. Time: 61L                                                    │

00:00:12 #414 [Verbose] > │                                                                              │

00:00:12 #415 [Verbose] > │ Solution: 2                                                                  │

00:00:12 #416 [Verbose] > │ Test case 1. A. Time: 62L                                                    │

00:00:12 #417 [Verbose] > │                                                                              │

00:00:12 #418 [Verbose] > │ Solution: 5                                                                  │

00:00:12 #419 [Verbose] > │ Test case 1. A. Time: 70L                                                    │

00:00:12 #420 [Verbose] > │                                                                              │

00:00:12 #421 [Verbose] > │ Input   | Expected        | Result  | Best                                   │

00:00:12 #422 [Verbose] > │ ---     | ---             | ---     | ---                                    │

00:00:12 #423 [Verbose] > │ 0       | 0               | 0       | (1, 61)                                │

00:00:12 #424 [Verbose] > │ 2       | 2               | 2       | (1, 62)                                │

00:00:12 #425 [Verbose] > │ 5       | 5               | 5       | (1, 70)                                │

00:00:12 #426 [Verbose] > │                                                                              │

00:00:12 #427 [Verbose] > │ Averages                                                                     │

00:00:12 #428 [Verbose] > │ Test case 1. Average Time: 64L                                               │

00:00:12 #429 [Verbose] > │                                                                              │

00:00:12 #430 [Verbose] > │ Ranking                                                                      │

00:00:12 #431 [Verbose] > │ Test case 1. Average Time: 64L                                               │

00:00:12 #432 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:12 #433 [Verbose] >

00:00:12 #434 [Verbose] > ── fsharp ──────────────────────────────────────────────────────────────────────

00:00:12 #435 [Verbose] > //// test

00:00:12 #436 [Verbose] >

00:00:12 #437 [Verbose] > let solutions = [[

00:00:12 #438 [Verbose] >     "A",

00:00:12 #439 [Verbose] >     fun n ->

00:00:12 #440 [Verbose] >         n + 0

00:00:12 #441 [Verbose] > ]]

00:00:12 #442 [Verbose] > let testCases = seq {

00:00:12 #443 [Verbose] >     0, 0

00:00:12 #444 [Verbose] >     2, 2

00:00:12 #445 [Verbose] >     5, 5

00:00:12 #446 [Verbose] > }

00:00:12 #447 [Verbose] > let rec emptyTests = runAll (nameof emptyTests) _count solutions testCases

00:00:12 #448 [Verbose] > emptyTests

00:00:12 #449 [Verbose] > |> sortResultList

00:00:13 #450 [Verbose] >

00:00:13 #451 [Verbose] > ╭─[ 405.09ms - stdout ]────────────────────────────────────────────────────────╮

00:00:13 #452 [Verbose] > │                                                                              │

00:00:13 #453 [Verbose] > │                                                                              │

00:00:13 #454 [Verbose] > │ Test: emptyTests                                                             │

00:00:13 #455 [Verbose] > │                                                                              │

00:00:13 #456 [Verbose] > │ Solution: 0                                                                  │

00:00:13 #457 [Verbose] > │ Test case 1. A. Time: 7L                                                     │

00:00:13 #458 [Verbose] > │                                                                              │

00:00:13 #459 [Verbose] > │ Solution: 2                                                                  │

00:00:13 #460 [Verbose] > │ Test case 1. A. Time: 0L                                                     │

00:00:13 #461 [Verbose] > │                                                                              │

00:00:13 #462 [Verbose] > │ Solution: 5                                                                  │

00:00:13 #463 [Verbose] > │ Test case 1. A. Time: 0L                                                     │

00:00:13 #464 [Verbose] > │                                                                              │

00:00:13 #465 [Verbose] > │ Input	| Expected	| Result	| Best                                                   │

00:00:13 #466 [Verbose] > │ ---  	| ---     	| ---   	| ---                                                    │

00:00:13 #467 [Verbose] > │ 0    	| 0       	| 0     	| (1, 7)                                                 │

00:00:13 #468 [Verbose] > │ 2    	| 2       	| 2     	| (1, 0)                                                 │

00:00:13 #469 [Verbose] > │ 5    	| 5       	| 5     	| (1, 0)                                                 │

00:00:13 #470 [Verbose] > │                                                                              │

00:00:13 #471 [Verbose] > │ Average Ranking                                                              │

00:00:13 #472 [Verbose] > │ Test case 1. Average Time: 2L                                                │

00:00:13 #473 [Verbose] > │                                                                              │

00:00:13 #474 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:13 #475 [Verbose] >

00:00:13 #476 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────

00:00:13 #477 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮

00:00:13 #478 [Verbose] > │ ## uniqueLettersTests                                                        │

00:00:13 #479 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:13 #480 [Verbose] >

00:00:13 #481 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────

00:00:13 #482 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮

00:00:13 #483 [Verbose] > │ Test: UniqueLetters                                                          │

00:00:13 #484 [Verbose] > │                                                                              │

00:00:13 #485 [Verbose] > │ Solution: abc                                                                │

00:00:13 #486 [Verbose] > │ Test case 1. A. Time: 1512L                                                  │

00:00:13 #487 [Verbose] > │ Test case 2. B. Time: 1947L                                                  │

00:00:13 #488 [Verbose] > │ Test case 3. C. Time: 2023L                                                  │

00:00:13 #489 [Verbose] > │ Test case 4. D. Time: 1358L                                                  │

00:00:13 #490 [Verbose] > │ Test case 5. E. Time: 1321L                                                  │

00:00:13 #491 [Verbose] > │ Test case 6. F. Time: 1346L                                                  │

00:00:13 #492 [Verbose] > │ Test case 7. G. Time: 1304L                                                  │

00:00:13 #493 [Verbose] > │ Test case 8. H. Time: 1383L                                                  │

00:00:13 #494 [Verbose] > │ Test case 9. I. Time: 1495L                                                  │

00:00:13 #495 [Verbose] > │ Test case 10. J. Time: 1245L                                                 │

00:00:13 #496 [Verbose] > │ Test case 11. K. Time: 1219L                                                 │

00:00:13 #497 [Verbose] > │                                                                              │

00:00:13 #498 [Verbose] > │ Solution: accabb                                                             │

00:00:13 #499 [Verbose] > │ Test case 1. A. Time: 1648L                                                  │

00:00:13 #500 [Verbose] > │ Test case 2. B. Time: 2061L                                                  │

00:00:13 #501 [Verbose] > │ Test case 3. C. Time: 2413L                                                  │

00:00:13 #502 [Verbose] > │ Test case 4. D. Time: 1561L                                                  │

00:00:13 #503 [Verbose] > │ Test case 5. E. Time: 1593L                                                  │

00:00:13 #504 [Verbose] > │ Test case 6. F. Time: 1518L                                                  │

00:00:13 #505 [Verbose] > │ Test case 7. G. Time: 1415L                                                  │

00:00:13 #506 [Verbose] > │ Test case 8. H. Time: 1510L                                                  │

00:00:13 #507 [Verbose] > │ Test case 9. I. Time: 1445L                                                  │

00:00:13 #508 [Verbose] > │ Test case 10. J. Time: 1636L                                                 │

00:00:13 #509 [Verbose] > │ Test case 11. K. Time: 1317L                                                 │

00:00:13 #510 [Verbose] > │                                                                              │

00:00:13 #511 [Verbose] > │ Solution: pprrqqpp                                                           │

00:00:13 #512 [Verbose] > │ Test case 1. A. Time: 2255L                                                  │

00:00:13 #513 [Verbose] > │ Test case 2. B. Time: 2408L                                                  │

00:00:13 #514 [Verbose] > │ Test case 3. C. Time: 2393L                                                  │

00:00:13 #515 [Verbose] > │ Test case 4. D. Time: 1675L                                                  │

00:00:13 #516 [Verbose] > │ Test case 5. E. Time: 1911L                                                  │

00:00:13 #517 [Verbose] > │ Test case 6. F. Time: 2126L                                                  │

00:00:13 #518 [Verbose] > │ Test case 7. G. Time: 1504L                                                  │

00:00:13 #519 [Verbose] > │ Test case 8. H. Time: 1715L                                                  │

00:00:13 #520 [Verbose] > │ Test case 9. I. Time: 1537L                                                  │

00:00:13 #521 [Verbose] > │ Test case 10. J. Time: 1522L                                                 │

00:00:13 #522 [Verbose] > │ Test case 11. K. Time: 1322L                                                 │

00:00:13 #523 [Verbose] > │                                                                              │

00:00:13 #524 [Verbose] > │ Solution:                                                                    │

00:00:13 #525 [Verbose] > │ aaaaaaaaaaaaaaccccccabbbbbbbaaacccbbbaaccccccccccacbbbbbbbbbbbbbcccccccbbbbb │

00:00:13 #526 [Verbose] > │ bbb                                                                          │

00:00:13 #527 [Verbose] > │ Test case 1. A. Time: 13073L                                                 │

00:00:13 #528 [Verbose] > │ Test case 2. B. Time: 11519L                                                 │

00:00:13 #529 [Verbose] > │ Test case 3. C. Time: 8373L                                                  │

00:00:13 #530 [Verbose] > │ Test case 4. D. Time: 5860L                                                  │

00:00:13 #531 [Verbose] > │ Test case 5. E. Time: 6490L                                                  │

00:00:13 #532 [Verbose] > │ Test case 6. F. Time: 6325L                                                  │

00:00:13 #533 [Verbose] > │ Test case 7. G. Time: 5799L                                                  │

00:00:13 #534 [Verbose] > │ Test case 8. H. Time: 7099L                                                  │

00:00:13 #535 [Verbose] > │ Test case 9. I. Time: 6133L                                                  │

00:00:13 #536 [Verbose] > │ Test case 10. J. Time: 5993L                                                 │

00:00:13 #537 [Verbose] > │ Test case 11. K. Time: 2040L                                                 │

00:00:13 #538 [Verbose] > │                                                                              │

00:00:13 #539 [Verbose] > │ Input                                                                        │

00:00:13 #540 [Verbose] > │ | Expected        | Result  | Best                                           │

00:00:13 #541 [Verbose] > │ ---                                                                          │

00:00:13 #542 [Verbose] > │                                                                              │

00:00:13 #543 [Verbose] > │ | ---             | ---     | ---                                            │

00:00:13 #544 [Verbose] > │ abc                                                                          │

00:00:13 #545 [Verbose] > │                                                                              │

00:00:13 #546 [Verbose] > │ | abc             | abc     | (11, 1219)                                     │

00:00:13 #547 [Verbose] > │ accabb                                                                       │

00:00:13 #548 [Verbose] > │ | acb             | acb     | (11, 1317)                                     │

00:00:13 #549 [Verbose] > │ pprrqqpp                                                                     │

00:00:13 #550 [Verbose] > │ | prq             | prq     | (11, 1322)                                     │

00:00:13 #551 [Verbose] > │ aaaaaaaaaaaaaaccccccabbbbbbbaaacccbbbaaccccccccccacbbbbbbbbbbbbbcccccccbbbbb │

00:00:13 #552 [Verbose] > │ bbb | acb             | acb     | (11, 2040)                                 │

00:00:13 #553 [Verbose] > │                                                                              │

00:00:13 #554 [Verbose] > │ Averages                                                                     │

00:00:13 #555 [Verbose] > │ Test case 1. Average Time: 4622L                                             │

00:00:13 #556 [Verbose] > │ Test case 2. Average Time: 4483L                                             │

00:00:13 #557 [Verbose] > │ Test case 3. Average Time: 3800L                                             │

00:00:13 #558 [Verbose] > │ Test case 4. Average Time: 2613L                                             │

00:00:13 #559 [Verbose] > │ Test case 5. Average Time: 2828L                                             │

00:00:13 #560 [Verbose] > │ Test case 6. Average Time: 2828L                                             │

00:00:13 #561 [Verbose] > │ Test case 7. Average Time: 2505L                                             │

00:00:13 #562 [Verbose] > │ Test case 8. Average Time: 2926L                                             │

00:00:13 #563 [Verbose] > │ Test case 9. Average Time: 2652L                                             │

00:00:13 #564 [Verbose] > │ Test case 10. Average Time: 2599L                                            │

00:00:13 #565 [Verbose] > │ Test case 11. Average Time: 1474L                                            │

00:00:13 #566 [Verbose] > │                                                                              │

00:00:13 #567 [Verbose] > │ Ranking                                                                      │

00:00:13 #568 [Verbose] > │ Test case 1. Average Time: 4622L                                             │

00:00:13 #569 [Verbose] > │ Test case 2. Average Time: 4483L                                             │

00:00:13 #570 [Verbose] > │ Test case 3. Average Time: 3800L                                             │

00:00:13 #571 [Verbose] > │ Test case 8. Average Time: 2926L                                             │

00:00:13 #572 [Verbose] > │ Test case 5. Average Time: 2828L                                             │

00:00:13 #573 [Verbose] > │ Test case 6. Average Time: 2828L                                             │

00:00:13 #574 [Verbose] > │ Test case 9. Average Time: 2652L                                             │

00:00:13 #575 [Verbose] > │ Test case 4. Average Time: 2613L                                             │

00:00:13 #576 [Verbose] > │ Test case 10. Average Time: 2599L                                            │

00:00:13 #577 [Verbose] > │ Test case 7. Average Time: 2505L                                             │

00:00:13 #578 [Verbose] > │ Test case 11. Average Time: 1474L                                            │

00:00:13 #579 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:13 #580 [Verbose] >

00:00:13 #581 [Verbose] > ── fsharp ──────────────────────────────────────────────────────────────────────

00:00:13 #582 [Verbose] > //// test

00:00:13 #583 [Verbose] >

00:00:13 #584 [Verbose] > let solutions = [[

00:00:13 #585 [Verbose] >     "A",

00:00:13 #586 [Verbose] >     fun input ->

00:00:13 #587 [Verbose] >         input

00:00:13 #588 [Verbose] >         |> Seq.toList

00:00:13 #589 [Verbose] >         |> List.fold (fun acc x -> if List.contains x acc then acc else acc @ [[

00:00:13 #590 [Verbose] > x ]]) [[]]

00:00:13 #591 [Verbose] >         |> Seq.toArray

00:00:13 #592 [Verbose] >         |> String

00:00:13 #593 [Verbose] >

00:00:13 #594 [Verbose] >     "B",

00:00:13 #595 [Verbose] >     fun input ->

00:00:13 #596 [Verbose] >         input

00:00:13 #597 [Verbose] >         |> Seq.rev

00:00:13 #598 [Verbose] >         |> fun list -> Seq.foldBack (fun x acc -> if List.contains x acc then

00:00:13 #599 [Verbose] > acc else x :: acc) list [[]]

00:00:13 #600 [Verbose] >         |> Seq.rev

00:00:13 #601 [Verbose] >         |> Seq.toArray

00:00:13 #602 [Verbose] >         |> String

00:00:13 #603 [Verbose] >

00:00:13 #604 [Verbose] >     "C",

00:00:13 #605 [Verbose] >     fun input ->

00:00:13 #606 [Verbose] >         input

00:00:13 #607 [Verbose] >         |> Seq.rev

00:00:13 #608 [Verbose] >         |> fun list -> Seq.foldBack (fun x (set, acc) -> if Set.contains x set

00:00:13 #609 [Verbose] > then set, acc else set.Add x, x :: acc) list (Set.empty, [[]])

00:00:13 #610 [Verbose] >         |> snd

00:00:13 #611 [Verbose] >         |> Seq.rev

00:00:13 #612 [Verbose] >         |> Seq.toArray

00:00:13 #613 [Verbose] >         |> String

00:00:13 #614 [Verbose] >

00:00:13 #615 [Verbose] >     "D",

00:00:13 #616 [Verbose] >     fun input ->

00:00:13 #617 [Verbose] >         input

00:00:13 #618 [Verbose] >         |> Seq.fold (fun (set, acc) x -> if Set.contains x set then set, acc

00:00:13 #619 [Verbose] > else set.Add x, Array.append acc [[| x |]]) (Set.empty, [[||]])

00:00:13 #620 [Verbose] >         |> snd

00:00:13 #621 [Verbose] >         |> String

00:00:13 #622 [Verbose] >

00:00:13 #623 [Verbose] >     "E",

00:00:13 #624 [Verbose] >     fun input ->

00:00:13 #625 [Verbose] >         input

00:00:13 #626 [Verbose] >         |> Seq.fold (fun (set, acc) x -> if Set.contains x set then set, acc

00:00:13 #627 [Verbose] > else set.Add x, x :: acc) (Set.empty, [[]])

00:00:13 #628 [Verbose] >         |> snd

00:00:13 #629 [Verbose] >         |> List.rev

00:00:13 #630 [Verbose] >         |> List.toArray

00:00:13 #631 [Verbose] >         |> String

00:00:13 #632 [Verbose] >

00:00:13 #633 [Verbose] >     "F",

00:00:13 #634 [Verbose] >     fun input ->

00:00:13 #635 [Verbose] >         input

00:00:13 #636 [Verbose] >         |> Seq.fold (fun (set, acc) x -> if Set.contains x set then set, acc

00:00:13 #637 [Verbose] > else set.Add x, acc @ [[ x ]]) (Set.empty, [[]])

00:00:13 #638 [Verbose] >         |> snd

00:00:13 #639 [Verbose] >         |> List.toArray

00:00:13 #640 [Verbose] >         |> String

00:00:13 #641 [Verbose] >

00:00:13 #642 [Verbose] >     "G",

00:00:13 #643 [Verbose] >     fun input ->

00:00:13 #644 [Verbose] >         input

00:00:13 #645 [Verbose] >         |> Seq.fold (fun (set, acc) x -> if Set.contains x set then set, acc

00:00:13 #646 [Verbose] > else set.Add x, x :: acc) (Set.empty, [[]])

00:00:13 #647 [Verbose] >         |> snd

00:00:13 #648 [Verbose] >         |> List.toArray

00:00:13 #649 [Verbose] >         |> Array.rev

00:00:13 #650 [Verbose] >         |> String

00:00:13 #651 [Verbose] >

00:00:13 #652 [Verbose] >     "H",

00:00:13 #653 [Verbose] >     fun input ->

00:00:13 #654 [Verbose] >         input

00:00:13 #655 [Verbose] >         |> Seq.toList

00:00:13 #656 [Verbose] >         |> fun list ->

00:00:13 #657 [Verbose] >             let rec loop set = function

00:00:13 #658 [Verbose] >                 | head :: tail when Set.contains head set -> loop set tail

00:00:13 #659 [Verbose] >                 | head :: tail -> (loop (set.Add head) tail) @ [[ head ]]

00:00:13 #660 [Verbose] >                 | [[]] -> [[]]

00:00:13 #661 [Verbose] >             loop Set.empty list

00:00:13 #662 [Verbose] >             |> List.rev

00:00:13 #663 [Verbose] >         |> List.toArray

00:00:13 #664 [Verbose] >         |> String

00:00:13 #665 [Verbose] >

00:00:13 #666 [Verbose] >     "I",

00:00:13 #667 [Verbose] >     fun input ->

00:00:13 #668 [Verbose] >         input

00:00:13 #669 [Verbose] >         |> Seq.toList

00:00:13 #670 [Verbose] >         |> fun list ->

00:00:13 #671 [Verbose] >             let rec loop set = function

00:00:13 #672 [Verbose] >                 | head :: tail when Set.contains head set -> loop set tail

00:00:13 #673 [Verbose] >                 | head :: tail -> loop (set.Add head) tail |> Array.append [[|

00:00:13 #674 [Verbose] > head |]]

00:00:13 #675 [Verbose] >                 | [[]] -> [[||]]

00:00:13 #676 [Verbose] >             loop Set.empty list

00:00:13 #677 [Verbose] >         |> String

00:00:13 #678 [Verbose] >

00:00:13 #679 [Verbose] >     "J",

00:00:13 #680 [Verbose] >     fun input ->

00:00:13 #681 [Verbose] >         input

00:00:13 #682 [Verbose] >         |> Seq.toList

00:00:13 #683 [Verbose] >         |> fun list ->

00:00:13 #684 [Verbose] >             let rec loop set = function

00:00:13 #685 [Verbose] >                 | head :: tail when Set.contains head set -> loop set tail

00:00:13 #686 [Verbose] >                 | head :: tail -> head :: loop (set.Add head) tail

00:00:13 #687 [Verbose] >                 | [[]] -> [[]]

00:00:13 #688 [Verbose] >             loop Set.empty list

00:00:13 #689 [Verbose] >         |> List.toArray

00:00:13 #690 [Verbose] >         |> String

00:00:13 #691 [Verbose] >

00:00:13 #692 [Verbose] >     "K",

00:00:13 #693 [Verbose] >     fun input ->

00:00:13 #694 [Verbose] >         input

00:00:13 #695 [Verbose] >         |> Seq.distinct

00:00:13 #696 [Verbose] >         |> Seq.toArray

00:00:13 #697 [Verbose] >         |> String

00:00:13 #698 [Verbose] > ]]

00:00:13 #699 [Verbose] > let testCases = seq {

00:00:13 #700 [Verbose] >     "abc", "abc"

00:00:13 #701 [Verbose] >     "accabb", "acb"

00:00:13 #702 [Verbose] >     "pprrqqpp", "prq"

00:00:13 #703 [Verbose] >

00:00:13 #704 [Verbose] > "aaaaaaaaaaaaaaccccccabbbbbbbaaacccbbbaaccccccccccacbbbbbbbbbbbbbcccccccbbbbbbbb

00:00:13 #705 [Verbose] > ", "acb"

00:00:13 #706 [Verbose] > }

00:00:13 #707 [Verbose] > let rec uniqueLettersTests = runAll (nameof uniqueLettersTests) _count solutions

00:00:13 #708 [Verbose] > testCases

00:00:13 #709 [Verbose] > uniqueLettersTests

00:00:13 #710 [Verbose] > |> sortResultList

00:00:18 #711 [Verbose] >

00:00:18 #712 [Verbose] > ╭─[ 5.50s - stdout ]───────────────────────────────────────────────────────────╮

00:00:18 #713 [Verbose] > │                                                                              │

00:00:18 #714 [Verbose] > │                                                                              │

00:00:18 #715 [Verbose] > │ Test: uniqueLettersTests                                                     │

00:00:18 #716 [Verbose] > │                                                                              │

00:00:18 #717 [Verbose] > │ Solution: abc                                                                │

00:00:18 #718 [Verbose] > │ Test case 1. A. Time: 5L                                                     │

00:00:18 #719 [Verbose] > │ Test case 2. B. Time: 4L                                                     │

00:00:18 #720 [Verbose] > │ Test case 3. C. Time: 4L                                                     │

00:00:18 #721 [Verbose] > │ Test case 4. D. Time: 2L                                                     │

00:00:18 #722 [Verbose] > │ Test case 5. E. Time: 2L                                                     │

00:00:18 #723 [Verbose] > │ Test case 6. F. Time: 1L                                                     │

00:00:18 #724 [Verbose] > │ Test case 7. G. Time: 1L                                                     │

00:00:18 #725 [Verbose] > │ Test case 8. H. Time: 2L                                                     │

00:00:18 #726 [Verbose] > │ Test case 9. I. Time: 2L                                                     │

00:00:18 #727 [Verbose] > │ Test case 10. J. Time: 2L                                                    │

00:00:18 #728 [Verbose] > │ Test case 11. K. Time: 3L                                                    │

00:00:18 #729 [Verbose] > │                                                                              │

00:00:18 #730 [Verbose] > │ Solution: accabb                                                             │

00:00:18 #731 [Verbose] > │ Test case 1. A. Time: 1L                                                     │

00:00:18 #732 [Verbose] > │ Test case 2. B. Time: 2L                                                     │

00:00:18 #733 [Verbose] > │ Test case 3. C. Time: 2L                                                     │

00:00:18 #734 [Verbose] > │ Test case 4. D. Time: 1L                                                     │

00:00:18 #735 [Verbose] > │ Test case 5. E. Time: 1L                                                     │

00:00:18 #736 [Verbose] > │ Test case 6. F. Time: 1L                                                     │

00:00:18 #737 [Verbose] > │ Test case 7. G. Time: 0L                                                     │

00:00:18 #738 [Verbose] > │ Test case 8. H. Time: 0L                                                     │

00:00:18 #739 [Verbose] > │ Test case 9. I. Time: 0L                                                     │

00:00:18 #740 [Verbose] > │ Test case 10. J. Time: 0L                                                    │

00:00:18 #741 [Verbose] > │ Test case 11. K. Time: 1L                                                    │

00:00:18 #742 [Verbose] > │                                                                              │

00:00:18 #743 [Verbose] > │ Solution: pprrqqpp                                                           │

00:00:18 #744 [Verbose] > │ Test case 1. A. Time: 0L                                                     │

00:00:18 #745 [Verbose] > │ Test case 2. B. Time: 1L                                                     │

00:00:18 #746 [Verbose] > │ Test case 3. C. Time: 1L                                                     │

00:00:18 #747 [Verbose] > │ Test case 4. D. Time: 1L                                                     │

00:00:18 #748 [Verbose] > │ Test case 5. E. Time: 1L                                                     │

00:00:18 #749 [Verbose] > │ Test case 6. F. Time: 1L                                                     │

00:00:18 #750 [Verbose] > │ Test case 7. G. Time: 1L                                                     │

00:00:18 #751 [Verbose] > │ Test case 8. H. Time: 1L                                                     │

00:00:18 #752 [Verbose] > │ Test case 9. I. Time: 0L                                                     │

00:00:18 #753 [Verbose] > │ Test case 10. J. Time: 1L                                                    │

00:00:18 #754 [Verbose] > │ Test case 11. K. Time: 0L                                                    │

00:00:18 #755 [Verbose] > │                                                                              │

00:00:18 #756 [Verbose] > │ Solution:                                                                    │

00:00:18 #757 [Verbose] > │ aaaaaaaaaaaaaaccccccabbbbbbbaaacccbbbaaccccccccccacbbbbbbbbbbbbbcccccccbbbbb │

00:00:18 #758 [Verbose] > │ bbb                                                                          │

00:00:18 #759 [Verbose] > │ Test case 1. A. Time: 13L                                                    │

00:00:18 #760 [Verbose] > │ Test case 2. B. Time: 8L                                                     │

00:00:18 #761 [Verbose] > │ Test case 3. C. Time: 12L                                                    │

00:00:18 #762 [Verbose] > │ Test case 4. D. Time: 8L                                                     │

00:00:18 #763 [Verbose] > │ Test case 5. E. Time: 9L                                                     │

00:00:18 #764 [Verbose] > │ Test case 6. F. Time: 8L                                                     │

00:00:18 #765 [Verbose] > │ Test case 7. G. Time: 7L                                                     │

00:00:18 #766 [Verbose] > │ Test case 8. H. Time: 8L                                                     │

00:00:18 #767 [Verbose] > │ Test case 9. I. Time: 6L                                                     │

00:00:18 #768 [Verbose] > │ Test case 10. J. Time: 7L                                                    │

00:00:18 #769 [Verbose] > │ Test case 11. K. Time: 3L                                                    │

00:00:18 #770 [Verbose] > │                                                                              │

00:00:18 #771 [Verbose] > │ Input                                                                        │

00:00:18 #772 [Verbose] > │ | Expected	| Result	| Best                                                       │

00:00:18 #773 [Verbose] > │ ---                                                                          │

00:00:18 #774 [Verbose] > │ | ---     	| ---   	| ---                                                        │

00:00:18 #775 [Verbose] > │ abc                                                                          │

00:00:18 #776 [Verbose] > │ | abc     	| abc   	| (6, 1)                                                     │

00:00:18 #777 [Verbose] > │ accabb                                                                       │

00:00:18 #778 [Verbose] > │ | acb     	| acb   	| (7, 0)                                                     │

00:00:18 #779 [Verbose] > │ pprrqqpp                                                                     │

00:00:18 #780 [Verbose] > │ | prq     	| prq   	| (1, 0)                                                     │

00:00:18 #781 [Verbose] > │ aaaaaaaaaaaaaaccccccabbbbbbbaaacccbbbaaccccccccccacbbbbbbbbbbbbbcccccccbbbbb │

00:00:18 #782 [Verbose] > │ bbb	| acb     	| acb   	| (11, 3)                                                  │

00:00:18 #783 [Verbose] > │                                                                              │

00:00:18 #784 [Verbose] > │ Average Ranking                                                              │

00:00:18 #785 [Verbose] > │ Test case 11. Average Time: 1L                                               │

00:00:18 #786 [Verbose] > │ Test case 6. Average Time: 2L                                                │

00:00:18 #787 [Verbose] > │ Test case 7. Average Time: 2L                                                │

00:00:18 #788 [Verbose] > │ Test case 8. Average Time: 2L                                                │

00:00:18 #789 [Verbose] > │ Test case 9. Average Time: 2L                                                │

00:00:18 #790 [Verbose] > │ Test case 10. Average Time: 2L                                               │

00:00:18 #791 [Verbose] > │ Test case 2. Average Time: 3L                                                │

00:00:18 #792 [Verbose] > │ Test case 4. Average Time: 3L                                                │

00:00:18 #793 [Verbose] > │ Test case 5. Average Time: 3L                                                │

00:00:18 #794 [Verbose] > │ Test case 1. Average Time: 4L                                                │

00:00:18 #795 [Verbose] > │ Test case 3. Average Time: 4L                                                │

00:00:18 #796 [Verbose] > │                                                                              │

00:00:18 #797 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:18 #798 [Verbose] >

00:00:18 #799 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────

00:00:18 #800 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮

00:00:18 #801 [Verbose] > │ ## rotateStringsTests                                                        │

00:00:18 #802 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:18 #803 [Verbose] >

00:00:18 #804 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────

00:00:18 #805 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮

00:00:18 #806 [Verbose] > │ https://www.hackerrank.com/challenges/rotate-string/forum                    │

00:00:18 #807 [Verbose] > │                                                                              │

00:00:18 #808 [Verbose] > │ Test: RotateStrings                                                          │

00:00:18 #809 [Verbose] > │                                                                              │

00:00:18 #810 [Verbose] > │ Solution: abc                                                                │

00:00:18 #811 [Verbose] > │ Test case 1. A. Time: 1842L                                                  │

00:00:18 #812 [Verbose] > │ Test case 2. B. Time: 1846L                                                  │

00:00:18 #813 [Verbose] > │ Test case 3. C. Time: 1936L                                                  │

00:00:18 #814 [Verbose] > │ Test case 4. CA. Time: 2224L                                                 │

00:00:18 #815 [Verbose] > │ Test case 5. CB. Time: 2329L                                                 │

00:00:18 #816 [Verbose] > │ Test case 6. D. Time: 2474L                                                  │

00:00:18 #817 [Verbose] > │ Test case 7. E. Time: 1664L                                                  │

00:00:18 #818 [Verbose] > │ Test case 8. F. Time: 1517L                                                  │

00:00:18 #819 [Verbose] > │ Test case 9. FA. Time: 1651L                                                 │

00:00:18 #820 [Verbose] > │ Test case 10. FB. Time: 3764L                                                │

00:00:18 #821 [Verbose] > │ Test case 11. FC. Time: 5415L                                                │

00:00:18 #822 [Verbose] > │                                                                              │

00:00:18 #823 [Verbose] > │ Solution: abcde                                                              │

00:00:18 #824 [Verbose] > │ Test case 1. A. Time: 3356L                                                  │

00:00:18 #825 [Verbose] > │ Test case 2. B. Time: 2592L                                                  │

00:00:18 #826 [Verbose] > │ Test case 3. C. Time: 2346L                                                  │

00:00:18 #827 [Verbose] > │ Test case 4. CA. Time: 2997L                                                 │

00:00:18 #828 [Verbose] > │ Test case 5. CB. Time: 3061L                                                 │

00:00:18 #829 [Verbose] > │ Test case 6. D. Time: 4051L                                                  │

00:00:18 #830 [Verbose] > │ Test case 7. E. Time: 1905L                                                  │

00:00:18 #831 [Verbose] > │ Test case 8. F. Time: 1771L                                                  │

00:00:18 #832 [Verbose] > │ Test case 9. FA. Time: 2175L                                                 │

00:00:18 #833 [Verbose] > │ Test case 10. FB. Time: 3275L                                                │

00:00:18 #834 [Verbose] > │ Test case 11. FC. Time: 5266L                                                │

00:00:18 #835 [Verbose] > │                                                                              │

00:00:18 #836 [Verbose] > │ Solution: abcdefghi                                                          │

00:00:18 #837 [Verbose] > │ Test case 1. A. Time: 4492L                                                  │

00:00:18 #838 [Verbose] > │ Test case 2. B. Time: 3526L                                                  │

00:00:18 #839 [Verbose] > │ Test case 3. C. Time: 3583L                                                  │

00:00:18 #840 [Verbose] > │ Test case 4. CA. Time: 3711L                                                 │

00:00:18 #841 [Verbose] > │ Test case 5. CB. Time: 4783L                                                 │

00:00:18 #842 [Verbose] > │ Test case 6. D. Time: 7557L                                                  │

00:00:18 #843 [Verbose] > │ Test case 7. E. Time: 3452L                                                  │

00:00:18 #844 [Verbose] > │ Test case 8. F. Time: 3050L                                                  │

00:00:18 #845 [Verbose] > │ Test case 9. FA. Time: 3275L                                                 │

00:00:18 #846 [Verbose] > │ Test case 10. FB. Time: 4635L                                                │

00:00:18 #847 [Verbose] > │ Test case 11. FC. Time: 5616L                                                │

00:00:18 #848 [Verbose] > │                                                                              │

00:00:18 #849 [Verbose] > │ Solution: abab                                                               │

00:00:18 #850 [Verbose] > │ Test case 1. A. Time: 2093L                                                  │

00:00:18 #851 [Verbose] > │ Test case 2. B. Time: 1843L                                                  │

00:00:18 #852 [Verbose] > │ Test case 3. C. Time: 1746L                                                  │

00:00:18 #853 [Verbose] > │ Test case 4. CA. Time: 2085L                                                 │

00:00:18 #854 [Verbose] > │ Test case 5. CB. Time: 2139L                                                 │

00:00:18 #855 [Verbose] > │ Test case 6. D. Time: 2095L                                                  │

00:00:18 #856 [Verbose] > │ Test case 7. E. Time: 1723L                                                  │

00:00:18 #857 [Verbose] > │ Test case 8. F. Time: 1558L                                                  │

00:00:18 #858 [Verbose] > │ Test case 9. FA. Time: 1620L                                                 │

00:00:18 #859 [Verbose] > │ Test case 10. FB. Time: 2319L                                                │

00:00:18 #860 [Verbose] > │ Test case 11. FC. Time: 3918L                                                │

00:00:18 #861 [Verbose] > │                                                                              │

00:00:18 #862 [Verbose] > │ Solution: aa                                                                 │

00:00:18 #863 [Verbose] > │ Test case 1. A. Time: 1107L                                                  │

00:00:18 #864 [Verbose] > │ Test case 2. B. Time: 1241L                                                  │

00:00:18 #865 [Verbose] > │ Test case 3. C. Time: 1183L                                                  │

00:00:18 #866 [Verbose] > │ Test case 4. CA. Time: 1563L                                                 │

00:00:18 #867 [Verbose] > │ Test case 5. CB. Time: 1525L                                                 │

00:00:18 #868 [Verbose] > │ Test case 6. D. Time: 1591L                                                  │

00:00:18 #869 [Verbose] > │ Test case 7. E. Time: 1327L                                                  │

00:00:18 #870 [Verbose] > │ Test case 8. F. Time: 1151L                                                  │

00:00:18 #871 [Verbose] > │ Test case 9. FA. Time: 1180L                                                 │

00:00:18 #872 [Verbose] > │ Test case 10. FB. Time: 1733L                                                │

00:00:18 #873 [Verbose] > │ Test case 11. FC. Time: 2817L                                                │

00:00:18 #874 [Verbose] > │                                                                              │

00:00:18 #875 [Verbose] > │ Solution: z                                                                  │

00:00:18 #876 [Verbose] > │ Test case 1. A. Time: 816L                                                   │

00:00:18 #877 [Verbose] > │ Test case 2. B. Time: 745L                                                   │

00:00:18 #878 [Verbose] > │ Test case 3. C. Time: 928L                                                   │

00:00:18 #879 [Verbose] > │ Test case 4. CA. Time: 1375L                                                 │

00:00:18 #880 [Verbose] > │ Test case 5. CB. Time: 1029L                                                 │

00:00:18 #881 [Verbose] > │ Test case 6. D. Time: 852L                                                   │

00:00:18 #882 [Verbose] > │ Test case 7. E. Time: 712L                                                   │

00:00:18 #883 [Verbose] > │ Test case 8. F. Time: 263L                                                   │

00:00:18 #884 [Verbose] > │ Test case 9. FA. Time: 232L                                                  │

00:00:18 #885 [Verbose] > │ Test case 10. FB. Time: 773L                                                 │

00:00:18 #886 [Verbose] > │ Test case 11. FC. Time: 1789L                                                │

00:00:18 #887 [Verbose] > │                                                                              │

00:00:18 #888 [Verbose] > │ Input           | Expected                                                   │

00:00:18 #889 [Verbose] > │                                                                              │

00:00:18 #890 [Verbose] > │ | Result                                                                     │

00:00:18 #891 [Verbose] > │                                                                              │

00:00:18 #892 [Verbose] > │ | Best                                                                       │

00:00:18 #893 [Verbose] > │ ---             | ---                                                        │

00:00:18 #894 [Verbose] > │                                                                              │

00:00:18 #895 [Verbose] > │ | ---                                                                        │

00:00:18 #896 [Verbose] > │                                                                              │

00:00:18 #897 [Verbose] > │ | ---                                                                        │

00:00:18 #898 [Verbose] > │ abc             | bca cab abc                                                │

00:00:18 #899 [Verbose] > │                                                                              │

00:00:18 #900 [Verbose] > │ | bca cab abc                                                                │

00:00:18 #901 [Verbose] > │                                                                              │

00:00:18 #902 [Verbose] > │ | (8, 1517)                                                                  │

00:00:18 #903 [Verbose] > │ abcde           | bcdea cdeab deabc eabcd abcde                              │

00:00:18 #904 [Verbose] > │ | bcdea cdeab deabc eabcd abcde                                              │

00:00:18 #905 [Verbose] > │ | (8, 1771)                                                                  │

00:00:18 #906 [Verbose] > │ abcdefghi       | bcdefghia cdefghiab defghiabc efghiabcd fghiabcde          │

00:00:18 #907 [Verbose] > │ ghiabcdef hiabcdefg iabcdefgh abcdefghi       | bcdefghia cdefghiab          │

00:00:18 #908 [Verbose] > │ defghiabc efghiabcd fghiabcde ghiabcdef hiabcdefg iabcdefgh abcdefghi        │

00:00:18 #909 [Verbose] > │ | (8, 3050)                                                                  │

00:00:18 #910 [Verbose] > │ abab            | baba abab baba abab                                        │

00:00:18 #911 [Verbose] > │                                                                              │

00:00:18 #912 [Verbose] > │ | baba abab baba abab                                                        │

00:00:18 #913 [Verbose] > │                                                                              │

00:00:18 #914 [Verbose] > │ | (8, 1558)                                                                  │

00:00:18 #915 [Verbose] > │ aa              | aa aa                                                      │

00:00:18 #916 [Verbose] > │                                                                              │

00:00:18 #917 [Verbose] > │ | aa aa                                                                      │

00:00:18 #918 [Verbose] > │                                                                              │

00:00:18 #919 [Verbose] > │ | (1, 1107)                                                                  │

00:00:18 #920 [Verbose] > │ z               | z                                                          │

00:00:18 #921 [Verbose] > │                                                                              │

00:00:18 #922 [Verbose] > │ | z                                                                          │

00:00:18 #923 [Verbose] > │                                                                              │

00:00:18 #924 [Verbose] > │ | (9, 232)                                                                   │

00:00:18 #925 [Verbose] > │                                                                              │

00:00:18 #926 [Verbose] > │ Averages                                                                     │

00:00:18 #927 [Verbose] > │ Test case 1. Average Time: 2284L                                             │

00:00:18 #928 [Verbose] > │ Test case 2. Average Time: 1965L                                             │

00:00:18 #929 [Verbose] > │ Test case 3. Average Time: 1953L                                             │

00:00:18 #930 [Verbose] > │ Test case 4. Average Time: 2325L                                             │

00:00:18 #931 [Verbose] > │ Test case 5. Average Time: 2477L                                             │

00:00:18 #932 [Verbose] > │ Test case 6. Average Time: 3103L                                             │

00:00:18 #933 [Verbose] > │ Test case 7. Average Time: 1797L                                             │

00:00:18 #934 [Verbose] > │ Test case 8. Average Time: 1551L                                             │

00:00:18 #935 [Verbose] > │ Test case 9. Average Time: 1688L                                             │

00:00:18 #936 [Verbose] > │ Test case 10. Average Time: 2749L                                            │

00:00:18 #937 [Verbose] > │ Test case 11. Average Time: 4136L                                            │

00:00:18 #938 [Verbose] > │                                                                              │

00:00:18 #939 [Verbose] > │ Ranking                                                                      │

00:00:18 #940 [Verbose] > │ Test case 11. Average Time: 4136L                                            │

00:00:18 #941 [Verbose] > │ Test case 6. Average Time: 3103L                                             │

00:00:18 #942 [Verbose] > │ Test case 10. Average Time: 2749L                                            │

00:00:18 #943 [Verbose] > │ Test case 5. Average Time: 2477L                                             │

00:00:18 #944 [Verbose] > │ Test case 4. Average Time: 2325L                                             │

00:00:18 #945 [Verbose] > │ Test case 1. Average Time: 2284L                                             │

00:00:18 #946 [Verbose] > │ Test case 2. Average Time: 1965L                                             │

00:00:18 #947 [Verbose] > │ Test case 3. Average Time: 1953L                                             │

00:00:18 #948 [Verbose] > │ Test case 7. Average Time: 1797L                                             │

00:00:18 #949 [Verbose] > │ Test case 9. Average Time: 1688L                                             │

00:00:18 #950 [Verbose] > │ Test case 8. Average Time: 1551L                                             │

00:00:18 #951 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:18 #952 [Verbose] >

00:00:18 #953 [Verbose] > ── fsharp ──────────────────────────────────────────────────────────────────────

00:00:18 #954 [Verbose] > //// test

00:00:18 #955 [Verbose] >

00:00:18 #956 [Verbose] > let solutions = [[

00:00:18 #957 [Verbose] >     "A",

00:00:18 #958 [Verbose] >     fun (input: string) ->

00:00:18 #959 [Verbose] >         let resultList =

00:00:18 #960 [Verbose] >             List.fold (fun acc x ->

00:00:18 #961 [Verbose] >                 let rotate (text: string) (letter: string) = text.Substring (1,

00:00:18 #962 [Verbose] > input.Length - 1) + letter

00:00:18 #963 [Verbose] >                 [[ rotate (if acc.IsEmpty then input else acc.Head) (string x)

00:00:18 #964 [Verbose] > ]] @ acc

00:00:18 #965 [Verbose] >             ) [[]] (Seq.toList input)

00:00:18 #966 [Verbose] >

00:00:18 #967 [Verbose] >         List.foldBack (fun acc x -> x + acc + " ") resultList ""

00:00:18 #968 [Verbose] >         |> fun x -> x.TrimEnd ()

00:00:18 #969 [Verbose] >

00:00:18 #970 [Verbose] >     "B",

00:00:18 #971 [Verbose] >     fun input ->

00:00:18 #972 [Verbose] >         input

00:00:18 #973 [Verbose] >         |> Seq.toList

00:00:18 #974 [Verbose] >         |> List.fold (fun (acc: string list) letter ->

00:00:18 #975 [Verbose] >             let last =

00:00:18 #976 [Verbose] >                 if acc.IsEmpty

00:00:18 #977 [Verbose] >                 then input

00:00:18 #978 [Verbose] >                 else acc.Head

00:00:18 #979 [Verbose] >

00:00:18 #980 [Verbose] >             let item = last.[[1 .. input.Length - 1]] + string letter

00:00:18 #981 [Verbose] >

00:00:18 #982 [Verbose] >             item :: acc

00:00:18 #983 [Verbose] >         ) [[]]

00:00:18 #984 [Verbose] >         |> List.rev

00:00:18 #985 [Verbose] >         |> String.concat " "

00:00:18 #986 [Verbose] >

00:00:18 #987 [Verbose] >     "C",

00:00:18 #988 [Verbose] >     fun input ->

00:00:18 #989 [Verbose] >         input

00:00:18 #990 [Verbose] >         |> Seq.toList

00:00:18 #991 [Verbose] >         |> List.fold (fun (acc: string list) letter -> acc.Head.[[ 1 ..

00:00:18 #992 [Verbose] > input.Length - 1 ]] + string letter :: acc) [[ input ]]

00:00:18 #993 [Verbose] >         |> List.rev

00:00:18 #994 [Verbose] >         |> List.skip 1

00:00:18 #995 [Verbose] >         |> String.concat " "

00:00:18 #996 [Verbose] >

00:00:18 #997 [Verbose] >     "CA",

00:00:18 #998 [Verbose] >     fun input ->

00:00:18 #999 [Verbose] >         input

00:00:18 #1000 [Verbose] >         |> Seq.fold (fun (acc: string list) letter -> acc.Head.[[ 1 ..

00:00:18 #1001 [Verbose] > input.Length - 1 ]] + string letter :: acc) [[ input ]]

00:00:18 #1002 [Verbose] >         |> Seq.rev

00:00:18 #1003 [Verbose] >         |> Seq.skip 1

00:00:18 #1004 [Verbose] >         |> String.concat " "

00:00:18 #1005 [Verbose] >

00:00:18 #1006 [Verbose] >     "CB",

00:00:18 #1007 [Verbose] >     fun input ->

00:00:18 #1008 [Verbose] >         input

00:00:18 #1009 [Verbose] >         |> Seq.toArray

00:00:18 #1010 [Verbose] >         |> Array.fold (fun (acc: string[[]]) letter -> acc |> Array.append [[|

00:00:18 #1011 [Verbose] > acc.[[0]].[[ 1 .. input.Length - 1 ]] + string letter |]]) [[| input |]]

00:00:18 #1012 [Verbose] >         |> Array.rev

00:00:18 #1013 [Verbose] >         |> Array.skip 1

00:00:18 #1014 [Verbose] >         |> String.concat " "

00:00:18 #1015 [Verbose] >

00:00:18 #1016 [Verbose] >     "D",

00:00:18 #1017 [Verbose] >     fun input ->

00:00:18 #1018 [Verbose] >         input

00:00:18 #1019 [Verbose] >         |> Seq.toList

00:00:18 #1020 [Verbose] >         |> fun list ->

00:00:18 #1021 [Verbose] >             let rec loop (acc: char list list) = function

00:00:18 #1022 [Verbose] >                 | _ when acc.Length = list.Length -> acc

00:00:18 #1023 [Verbose] >                 | head :: tail ->

00:00:18 #1024 [Verbose] >                     let item = tail @ [[ head ]]

00:00:18 #1025 [Verbose] >                     loop (item :: acc) item

00:00:18 #1026 [Verbose] >                 | [[]] -> [[]]

00:00:18 #1027 [Verbose] >             loop [[]] list

00:00:18 #1028 [Verbose] >         |> List.rev

00:00:18 #1029 [Verbose] >         |> List.map (List.toArray >> String)

00:00:18 #1030 [Verbose] >         |> String.concat " "

00:00:18 #1031 [Verbose] >

00:00:18 #1032 [Verbose] >     "E",

00:00:18 #1033 [Verbose] >     fun input ->

00:00:18 #1034 [Verbose] >         input

00:00:18 #1035 [Verbose] >         |> Seq.toList

00:00:18 #1036 [Verbose] >         |> fun list ->

00:00:18 #1037 [Verbose] >             let rec loop (last: string) = function

00:00:18 #1038 [Verbose] >                 | head :: tail ->

00:00:18 #1039 [Verbose] >                     let item = last.[[1 .. input.Length - 1]] + string head

00:00:18 #1040 [Verbose] >                     item :: loop item tail

00:00:18 #1041 [Verbose] >                 | [[]] -> [[]]

00:00:18 #1042 [Verbose] >             loop input list

00:00:18 #1043 [Verbose] >         |> String.concat " "

00:00:18 #1044 [Verbose] >

00:00:18 #1045 [Verbose] >     "F",

00:00:18 #1046 [Verbose] >     fun input ->

00:00:18 #1047 [Verbose] >         Array.singleton 0

00:00:18 #1048 [Verbose] >         |> Array.append [[| 1 .. input.Length - 1 |]]

00:00:18 #1049 [Verbose] >         |> Array.map (fun i -> input.[[ i .. ]] + input.[[ .. i - 1 ]])

00:00:18 #1050 [Verbose] >         |> String.concat " "

00:00:18 #1051 [Verbose] >

00:00:18 #1052 [Verbose] >     "FA",

00:00:18 #1053 [Verbose] >     fun input ->

00:00:18 #1054 [Verbose] >         List.singleton 0

00:00:18 #1055 [Verbose] >         |> List.append [[ 1 .. input.Length - 1 ]]

00:00:18 #1056 [Verbose] >         |> List.map (fun i -> input.[[ i .. ]] + input.[[ .. i - 1 ]])

00:00:18 #1057 [Verbose] >         |> String.concat " "

00:00:18 #1058 [Verbose] >

00:00:18 #1059 [Verbose] >     "FB",

00:00:18 #1060 [Verbose] >     fun input ->

00:00:18 #1061 [Verbose] >         Seq.singleton 0

00:00:18 #1062 [Verbose] >         |> Seq.append (seq { 1 .. input.Length - 1 })

00:00:18 #1063 [Verbose] >         |> Seq.map (fun i -> input.[[ i .. ]] + input.[[ .. i - 1 ]])

00:00:18 #1064 [Verbose] >         |> String.concat " "

00:00:18 #1065 [Verbose] >

00:00:18 #1066 [Verbose] >     "FC",

00:00:18 #1067 [Verbose] >     fun input ->

00:00:18 #1068 [Verbose] >         Array.singleton 0

00:00:18 #1069 [Verbose] >         |> Array.append [[| 1 .. input.Length - 1 |]]

00:00:18 #1070 [Verbose] >         |> Array.Parallel.map (fun i -> input.[[ i .. ]] + input.[[ .. i - 1 ]])

00:00:18 #1071 [Verbose] >         |> String.concat " "

00:00:18 #1072 [Verbose] > ]]

00:00:18 #1073 [Verbose] > let testCases = seq {

00:00:18 #1074 [Verbose] >     "abc", "bca cab abc"

00:00:18 #1075 [Verbose] >     "abcde", "bcdea cdeab deabc eabcd abcde"

00:00:18 #1076 [Verbose] >     "abcdefghi", "bcdefghia cdefghiab defghiabc efghiabcd fghiabcde ghiabcdef

00:00:18 #1077 [Verbose] > hiabcdefg iabcdefgh abcdefghi"

00:00:18 #1078 [Verbose] >     "abab", "baba abab baba abab"

00:00:18 #1079 [Verbose] >     "aa", "aa aa"

00:00:18 #1080 [Verbose] >     "z", "z"

00:00:18 #1081 [Verbose] > }

00:00:18 #1082 [Verbose] > let rec rotateStringsTests = runAll (nameof rotateStringsTests) _count solutions

00:00:18 #1083 [Verbose] > testCases

00:00:18 #1084 [Verbose] > rotateStringsTests

00:00:18 #1085 [Verbose] > |> sortResultList

00:00:26 #1086 [Verbose] >

00:00:26 #1087 [Verbose] > ╭─[ 7.70s - stdout ]───────────────────────────────────────────────────────────╮

00:00:26 #1088 [Verbose] > │                                                                              │

00:00:26 #1089 [Verbose] > │                                                                              │

00:00:26 #1090 [Verbose] > │ Test: rotateStringsTests                                                     │

00:00:26 #1091 [Verbose] > │                                                                              │

00:00:26 #1092 [Verbose] > │ Solution: abc                                                                │

00:00:26 #1093 [Verbose] > │ Test case 1. A. Time: 2L                                                     │

00:00:26 #1094 [Verbose] > │ Test case 2. B. Time: 2L                                                     │

00:00:26 #1095 [Verbose] > │ Test case 3. C. Time: 2L                                                     │

00:00:26 #1096 [Verbose] > │ Test case 4. CA. Time: 4L                                                    │

00:00:26 #1097 [Verbose] > │ Test case 5. CB. Time: 2L                                                    │

00:00:26 #1098 [Verbose] > │ Test case 6. D. Time: 3L                                                     │

00:00:26 #1099 [Verbose] > │ Test case 7. E. Time: 1L                                                     │

00:00:26 #1100 [Verbose] > │ Test case 8. F. Time: 2L                                                     │

00:00:26 #1101 [Verbose] > │ Test case 9. FA. Time: 2L                                                    │

00:00:26 #1102 [Verbose] > │ Test case 10. FB. Time: 8L                                                   │

00:00:26 #1103 [Verbose] > │ Test case 11. FC. Time: 9L                                                   │

00:00:26 #1104 [Verbose] > │                                                                              │

00:00:26 #1105 [Verbose] > │ Solution: abcde                                                              │

00:00:26 #1106 [Verbose] > │ Test case 1. A. Time: 1L                                                     │

00:00:26 #1107 [Verbose] > │ Test case 2. B. Time: 1L                                                     │

00:00:26 #1108 [Verbose] > │ Test case 3. C. Time: 1L                                                     │

00:00:26 #1109 [Verbose] > │ Test case 4. CA. Time: 1L                                                    │

00:00:26 #1110 [Verbose] > │ Test case 5. CB. Time: 1L                                                    │

00:00:26 #1111 [Verbose] > │ Test case 6. D. Time: 5L                                                     │

00:00:26 #1112 [Verbose] > │ Test case 7. E. Time: 1L                                                     │

00:00:26 #1113 [Verbose] > │ Test case 8. F. Time: 0L                                                     │

00:00:26 #1114 [Verbose] > │ Test case 9. FA. Time: 1L                                                    │

00:00:26 #1115 [Verbose] > │ Test case 10. FB. Time: 5L                                                   │

00:00:26 #1116 [Verbose] > │ Test case 11. FC. Time: 4L                                                   │

00:00:26 #1117 [Verbose] > │                                                                              │

00:00:26 #1118 [Verbose] > │ Solution: abcdefghi                                                          │

00:00:26 #1119 [Verbose] > │ Test case 1. A. Time: 5L                                                     │

00:00:26 #1120 [Verbose] > │ Test case 2. B. Time: 3L                                                     │

00:00:26 #1121 [Verbose] > │ Test case 3. C. Time: 1L                                                     │

00:00:26 #1122 [Verbose] > │ Test case 4. CA. Time: 4L                                                    │

00:00:26 #1123 [Verbose] > │ Test case 5. CB. Time: 2L                                                    │

00:00:26 #1124 [Verbose] > │ Test case 6. D. Time: 6L                                                     │

00:00:26 #1125 [Verbose] > │ Test case 7. E. Time: 2L                                                     │

00:00:26 #1126 [Verbose] > │ Test case 8. F. Time: 1L                                                     │

00:00:26 #1127 [Verbose] > │ Test case 9. FA. Time: 4L                                                    │

00:00:26 #1128 [Verbose] > │ Test case 10. FB. Time: 4L                                                   │

00:00:26 #1129 [Verbose] > │ Test case 11. FC. Time: 9L                                                   │

00:00:26 #1130 [Verbose] > │                                                                              │

00:00:26 #1131 [Verbose] > │ Solution: abab                                                               │

00:00:26 #1132 [Verbose] > │ Test case 1. A. Time: 1L                                                     │

00:00:26 #1133 [Verbose] > │ Test case 2. B. Time: 1L                                                     │

00:00:26 #1134 [Verbose] > │ Test case 3. C. Time: 1L                                                     │

00:00:26 #1135 [Verbose] > │ Test case 4. CA. Time: 2L                                                    │

00:00:26 #1136 [Verbose] > │ Test case 5. CB. Time: 1L                                                    │

00:00:26 #1137 [Verbose] > │ Test case 6. D. Time: 1L                                                     │

00:00:26 #1138 [Verbose] > │ Test case 7. E. Time: 0L                                                     │

00:00:26 #1139 [Verbose] > │ Test case 8. F. Time: 1L                                                     │

00:00:26 #1140 [Verbose] > │ Test case 9. FA. Time: 0L                                                    │

00:00:26 #1141 [Verbose] > │ Test case 10. FB. Time: 1L                                                   │

00:00:26 #1142 [Verbose] > │ Test case 11. FC. Time: 4L                                                   │

00:00:26 #1143 [Verbose] > │                                                                              │

00:00:26 #1144 [Verbose] > │ Solution: aa                                                                 │

00:00:26 #1145 [Verbose] > │ Test case 1. A. Time: 0L                                                     │

00:00:26 #1146 [Verbose] > │ Test case 2. B. Time: 0L                                                     │

00:00:26 #1147 [Verbose] > │ Test case 3. C. Time: 0L                                                     │

00:00:26 #1148 [Verbose] > │ Test case 4. CA. Time: 0L                                                    │

00:00:26 #1149 [Verbose] > │ Test case 5. CB. Time: 0L                                                    │

00:00:26 #1150 [Verbose] > │ Test case 6. D. Time: 0L                                                     │

00:00:26 #1151 [Verbose] > │ Test case 7. E. Time: 0L                                                     │

00:00:26 #1152 [Verbose] > │ Test case 8. F. Time: 0L                                                     │

00:00:26 #1153 [Verbose] > │ Test case 9. FA. Time: 0L                                                    │

00:00:26 #1154 [Verbose] > │ Test case 10. FB. Time: 1L                                                   │

00:00:26 #1155 [Verbose] > │ Test case 11. FC. Time: 4L                                                   │

00:00:26 #1156 [Verbose] > │                                                                              │

00:00:26 #1157 [Verbose] > │ Solution: z                                                                  │

00:00:26 #1158 [Verbose] > │ Test case 1. A. Time: 0L                                                     │

00:00:26 #1159 [Verbose] > │ Test case 2. B. Time: 0L                                                     │

00:00:26 #1160 [Verbose] > │ Test case 3. C. Time: 0L                                                     │

00:00:26 #1161 [Verbose] > │ Test case 4. CA. Time: 0L                                                    │

00:00:26 #1162 [Verbose] > │ Test case 5. CB. Time: 0L                                                    │

00:00:26 #1163 [Verbose] > │ Test case 6. D. Time: 0L                                                     │

00:00:26 #1164 [Verbose] > │ Test case 7. E. Time: 0L                                                     │

00:00:26 #1165 [Verbose] > │ Test case 8. F. Time: 0L                                                     │

00:00:26 #1166 [Verbose] > │ Test case 9. FA. Time: 0L                                                    │

00:00:26 #1167 [Verbose] > │ Test case 10. FB. Time: 1L                                                   │

00:00:26 #1168 [Verbose] > │ Test case 11. FC. Time: 4L                                                   │

00:00:26 #1169 [Verbose] > │                                                                              │

00:00:26 #1170 [Verbose] > │ Input    	| Expected                                                           │

00:00:26 #1171 [Verbose] > │                                                                              │

00:00:26 #1172 [Verbose] > │ | Result                                                                     │

00:00:26 #1173 [Verbose] > │                                                                              │

00:00:26 #1174 [Verbose] > │ | Best                                                                       │

00:00:26 #1175 [Verbose] > │ ---      	| ---                                                                │

00:00:26 #1176 [Verbose] > │                                                                              │

00:00:26 #1177 [Verbose] > │ | ---                                                                        │

00:00:26 #1178 [Verbose] > │                                                                              │

00:00:26 #1179 [Verbose] > │ | ---                                                                        │

00:00:26 #1180 [Verbose] > │ abc      	| bca cab abc                                                        │

00:00:26 #1181 [Verbose] > │                                                                              │

00:00:26 #1182 [Verbose] > │ | bca cab abc                                                                │

00:00:26 #1183 [Verbose] > │                                                                              │

00:00:26 #1184 [Verbose] > │ | (7, 1)                                                                     │

00:00:26 #1185 [Verbose] > │ abcde    	| bcdea cdeab deabc eabcd abcde                                      │

00:00:26 #1186 [Verbose] > │ | bcdea cdeab deabc eabcd abcde                                              │

00:00:26 #1187 [Verbose] > │ | (8, 0)                                                                     │

00:00:26 #1188 [Verbose] > │ abcdefghi	| bcdefghia cdefghiab defghiabc efghiabcd fghiabcde ghiabcdef        │

00:00:26 #1189 [Verbose] > │ hiabcdefg iabcdefgh abcdefghi	| bcdefghia cdefghiab defghiabc efghiabcd        │

00:00:26 #1190 [Verbose] > │ fghiabcde ghiabcdef hiabcdefg iabcdefgh abcdefghi	| (3, 1)                     │

00:00:26 #1191 [Verbose] > │ abab     	| baba abab baba abab                                                │

00:00:26 #1192 [Verbose] > │ | baba abab baba abab                                                        │

00:00:26 #1193 [Verbose] > │ | (7, 0)                                                                     │

00:00:26 #1194 [Verbose] > │ aa       	| aa aa                                                              │

00:00:26 #1195 [Verbose] > │                                                                              │

00:00:26 #1196 [Verbose] > │ | aa aa                                                                      │

00:00:26 #1197 [Verbose] > │                                                                              │

00:00:26 #1198 [Verbose] > │ | (1, 0)                                                                     │

00:00:26 #1199 [Verbose] > │ z        	| z                                                                  │

00:00:26 #1200 [Verbose] > │                                                                              │

00:00:26 #1201 [Verbose] > │ | z                                                                          │

00:00:26 #1202 [Verbose] > │                                                                              │

00:00:26 #1203 [Verbose] > │ | (1, 0)                                                                     │

00:00:26 #1204 [Verbose] > │                                                                              │

00:00:26 #1205 [Verbose] > │ Average Ranking                                                              │

00:00:26 #1206 [Verbose] > │ Test case 3. Average Time: 0L                                                │

00:00:26 #1207 [Verbose] > │ Test case 7. Average Time: 0L                                                │

00:00:26 #1208 [Verbose] > │ Test case 8. Average Time: 0L                                                │

00:00:26 #1209 [Verbose] > │ Test case 1. Average Time: 1L                                                │

00:00:26 #1210 [Verbose] > │ Test case 2. Average Time: 1L                                                │

00:00:26 #1211 [Verbose] > │ Test case 4. Average Time: 1L                                                │

00:00:26 #1212 [Verbose] > │ Test case 5. Average Time: 1L                                                │

00:00:26 #1213 [Verbose] > │ Test case 9. Average Time: 1L                                                │

00:00:26 #1214 [Verbose] > │ Test case 6. Average Time: 2L                                                │

00:00:26 #1215 [Verbose] > │ Test case 10. Average Time: 3L                                               │

00:00:26 #1216 [Verbose] > │ Test case 11. Average Time: 5L                                               │

00:00:26 #1217 [Verbose] > │                                                                              │

00:00:26 #1218 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:26 #1219 [Verbose] >

00:00:26 #1220 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────

00:00:26 #1221 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮

00:00:26 #1222 [Verbose] > │ ## rotate_strings_tests                                                      │

00:00:26 #1223 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:26 #1224 [Verbose] >

00:00:26 #1225 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:26 #1226 [Verbose] > // // test

00:00:26 #1227 [Verbose] > // // timeout=60000

00:00:26 #1228 [Verbose] > // // print_code=true

00:00:26 #1229 [Verbose] >

00:00:26 #1230 [Verbose] > inl get_solutions () =

00:00:26 #1231 [Verbose] >     [[

00:00:26 #1232 [Verbose] >         // "A",

00:00:26 #1233 [Verbose] >         // fun (input : string) =>

00:00:26 #1234 [Verbose] >         //     let resultList =

00:00:26 #1235 [Verbose] >         //         List.fold (fun acc x =>

00:00:26 #1236 [Verbose] >         //             let rotate (text : string) (letter : string) =

00:00:26 #1237 [Verbose] > text.Substring (1, input.Length - 1) + letter

00:00:26 #1238 [Verbose] >         //             [[ rotate (if acc.IsEmpty then input else acc.Head)

00:00:26 #1239 [Verbose] > (string x) ]] /@ acc

00:00:26 #1240 [Verbose] >         //         ) [[]] (Seq.toList input)

00:00:26 #1241 [Verbose] >

00:00:26 #1242 [Verbose] >         //     List.foldBack (fun acc x => x + acc + " ") resultList ""

00:00:26 #1243 [Verbose] >         //     |> fun x => x.TrimEnd ()

00:00:26 #1244 [Verbose] >

00:00:26 #1245 [Verbose] >         // "B",

00:00:26 #1246 [Verbose] >         // fun input =>

00:00:26 #1247 [Verbose] >         //     input

00:00:26 #1248 [Verbose] >         //     |> Seq.toList

00:00:26 #1249 [Verbose] >         //     |> List.fold (fun (acc : string list) letter =>

00:00:26 #1250 [Verbose] >         //         let last =

00:00:26 #1251 [Verbose] >         //             if acc.IsEmpty

00:00:26 #1252 [Verbose] >         //             then input

00:00:26 #1253 [Verbose] >         //             else acc.Head

00:00:26 #1254 [Verbose] >

00:00:26 #1255 [Verbose] >         //         let item = last.[[1 .. input.Length - 1]] + string letter

00:00:26 #1256 [Verbose] >

00:00:26 #1257 [Verbose] >         //         item :: acc

00:00:26 #1258 [Verbose] >         //     ) [[]]

00:00:26 #1259 [Verbose] >         //     |> List.rev

00:00:26 #1260 [Verbose] >         //     |> String.concat " "

00:00:26 #1261 [Verbose] >

00:00:26 #1262 [Verbose] >         // "C",

00:00:26 #1263 [Verbose] >         // fun input =>

00:00:26 #1264 [Verbose] >         //     input

00:00:26 #1265 [Verbose] >         //     |> Seq.toList

00:00:26 #1266 [Verbose] >         //     |> List.fold (fun (acc : list string) letter => acc.Head.[[ 1 ..

00:00:26 #1267 [Verbose] > input.Length - 1 ]] + string letter :: acc) [[ input ]]

00:00:26 #1268 [Verbose] >         //     |> List.rev

00:00:26 #1269 [Verbose] >         //     |> List.skip 1

00:00:26 #1270 [Verbose] >         //     |> String.concat " "

00:00:26 #1271 [Verbose] >

00:00:26 #1272 [Verbose] >         // "CA",

00:00:26 #1273 [Verbose] >         // fun input =>

00:00:26 #1274 [Verbose] >         //     input

00:00:26 #1275 [Verbose] >         //     |> Seq.fold (fun (acc : list string) letter => acc.Head.[[ 1 ..

00:00:26 #1276 [Verbose] > input.Length - 1 ]] + string letter :: acc) [[ input ]]

00:00:26 #1277 [Verbose] >         //     |> Seq.rev

00:00:26 #1278 [Verbose] >         //     |> Seq.skip 1

00:00:26 #1279 [Verbose] >         //     |> String.concat " "

00:00:26 #1280 [Verbose] >

00:00:26 #1281 [Verbose] >         // "CB",

00:00:26 #1282 [Verbose] >         // fun input =>

00:00:26 #1283 [Verbose] >         //     input

00:00:26 #1284 [Verbose] >         //     |> Seq.toArray

00:00:26 #1285 [Verbose] >         //     |> Array.fold (fun (acc : a _ string) letter => acc |>

00:00:26 #1286 [Verbose] > Array.append (a ;[[ acc.[[0]].[[ 1 .. input.Length - 1 ]] + string letter ]]))

00:00:26 #1287 [Verbose] > (a ;[[ input ]])

00:00:26 #1288 [Verbose] >         //     |> Array.rev

00:00:26 #1289 [Verbose] >         //     |> Array.skip 1

00:00:26 #1290 [Verbose] >         //     |> String.concat " "

00:00:26 #1291 [Verbose] >

00:00:26 #1292 [Verbose] >         // "D",

00:00:26 #1293 [Verbose] >         // fun input =>

00:00:26 #1294 [Verbose] >         //     input

00:00:26 #1295 [Verbose] >         //     |> Seq.toList

00:00:26 #1296 [Verbose] >         //     |> fun list =>

00:00:26 #1297 [Verbose] >         //         let rec loop (acc : list (list char)) = function

00:00:26 #1298 [Verbose] >         //             | _ when acc.Length = list.Length => acc

00:00:26 #1299 [Verbose] >         //             | head :: tail =>

00:00:26 #1300 [Verbose] >         //                 let item = tail /@ [[ head ]]

00:00:26 #1301 [Verbose] >         //                 loop (item :: acc) item

00:00:26 #1302 [Verbose] >         //             | [[]] => [[]]

00:00:26 #1303 [Verbose] >         //         loop [[]] list

00:00:26 #1304 [Verbose] >         //     |> List.rev

00:00:26 #1305 [Verbose] >         //     |> List.map (List.toArray >> String)

00:00:26 #1306 [Verbose] >         //     |> String.concat " "

00:00:26 #1307 [Verbose] >

00:00:26 #1308 [Verbose] >         // "E",

00:00:26 #1309 [Verbose] >         // fun input =>

00:00:26 #1310 [Verbose] >         //     input

00:00:26 #1311 [Verbose] >         //     |> Seq.toList

00:00:26 #1312 [Verbose] >         //     |> fun list =>

00:00:26 #1313 [Verbose] >         //         let rec loop (last : string) = function

00:00:26 #1314 [Verbose] >         //             | head :: tail =>

00:00:26 #1315 [Verbose] >         //                 let item = last.[[1 .. input.Length - 1]] + string

00:00:26 #1316 [Verbose] > head

00:00:26 #1317 [Verbose] >         //                 item :: loop item tail

00:00:26 #1318 [Verbose] >         //             | [[]] => [[]]

00:00:26 #1319 [Verbose] >         //         loop input list

00:00:26 #1320 [Verbose] >         //     |> String.concat " "

00:00:26 #1321 [Verbose] >

00:00:26 #1322 [Verbose] >         "F",

00:00:26 #1323 [Verbose] >         fun input =>

00:00:26 #1324 [Verbose] >         // Array.singleton 0

00:00:26 #1325 [Verbose] >         // |> Array.append [[| 1 .. input.Length - 1 |]]

00:00:26 #1326 [Verbose] >         // |> Array.map (fun i -> input.[[ i .. ]] + input.[[ .. i - 1 ]])

00:00:26 #1327 [Verbose] >         // |> String.concat " "

00:00:26 #1328 [Verbose] >             inl input_length = input |> sm.length

00:00:26 #1329 [Verbose] >             am.singleton 0i32

00:00:26 #1330 [Verbose] >             |> am.append (am'.init_series 1 (input_length - 1) 1)

00:00:26 #1331 [Verbose] >             |> am.map (fun i =>

00:00:26 #1332 [Verbose] >                 inl a = sm.slice input { from = i; to = input_length - 1 } :

00:00:26 #1333 [Verbose] > string

00:00:26 #1334 [Verbose] >                 inl b = sm.slice input { from = 0; to = i - 1 } : string

00:00:26 #1335 [Verbose] >                 $"!a + !b" : string

00:00:26 #1336 [Verbose] >             )

00:00:26 #1337 [Verbose] >             |> sm'.concat " "

00:00:26 #1338 [Verbose] >

00:00:26 #1339 [Verbose] >         "FA",

00:00:26 #1340 [Verbose] >         fun input =>

00:00:26 #1341 [Verbose] >         //     List.singleton 0

00:00:26 #1342 [Verbose] >         //     |> List.append [[ 1 .. input.Length - 1 ]]

00:00:26 #1343 [Verbose] >         //   //  |> List.map (fun i => input.[[ i .. ]] + input.[[ .. i - 1 ]])

00:00:26 #1344 [Verbose] >         //     |> String.concat " "

00:00:26 #1345 [Verbose] >             inl input_length = input |> sm.length

00:00:26 #1346 [Verbose] >             listm.singleton 0i32

00:00:26 #1347 [Verbose] >             |> listm.append (listm'.init_series 1 (input_length - 1) 1)

00:00:26 #1348 [Verbose] >             |> listm.map (fun i =>

00:00:26 #1349 [Verbose] >                 inl a = sm.slice input { from = i; to = input_length - 1 } :

00:00:26 #1350 [Verbose] > string

00:00:26 #1351 [Verbose] >                 inl b = if i = 0 then "" else sm.slice input { from = 0; to = i

00:00:26 #1352 [Verbose] > - 1 } : string

00:00:26 #1353 [Verbose] >                 $"!a + !b" : string

00:00:26 #1354 [Verbose] >             )

00:00:26 #1355 [Verbose] >             |> listm.toArray

00:00:26 #1356 [Verbose] >             |> fun x => x : a i32 _

00:00:26 #1357 [Verbose] >             |> sm'.concat " "

00:00:26 #1358 [Verbose] >

00:00:26 #1359 [Verbose] >         // "FB",

00:00:26 #1360 [Verbose] >         // fun input =>

00:00:26 #1361 [Verbose] >         //     Seq.singleton 0

00:00:26 #1362 [Verbose] >         //   //  |> Seq.append (seq { 1 .. input.Length - 1 })

00:00:26 #1363 [Verbose] >         //   //  |> Seq.map (fun i => input.[[ i .. ]] + input.[[ .. i - 1 ]])

00:00:26 #1364 [Verbose] >         //     |> String.concat " "

00:00:26 #1365 [Verbose] >

00:00:26 #1366 [Verbose] >         // "FC",

00:00:26 #1367 [Verbose] >         // fun input =>

00:00:26 #1368 [Verbose] >         //     Array.singleton 0

00:00:26 #1369 [Verbose] >         //     |> Array.append (a ;[[ 1 .. input.Length - 1 ]])

00:00:26 #1370 [Verbose] >         // //    |> Array.Parallel.map (fun i => input.[[ i .. ]] + input.[[ ..

00:00:26 #1371 [Verbose] > i - 1 ]])

00:00:26 #1372 [Verbose] >         //     |> String.concat " "

00:00:26 #1373 [Verbose] >     ]]

00:00:26 #1374 [Verbose] >

00:00:26 #1375 [Verbose] > inl rec rotate_strings_tests () =

00:00:26 #1376 [Verbose] >     inl test_cases = [[

00:00:26 #1377 [Verbose] >         "abc", "bca cab abc"

00:00:26 #1378 [Verbose] >         "abcde", "bcdea cdeab deabc eabcd abcde"

00:00:26 #1379 [Verbose] >         "abcdefghi", "bcdefghia cdefghiab defghiabc efghiabcd fghiabcde

00:00:26 #1380 [Verbose] > ghiabcdef hiabcdefg iabcdefgh abcdefghi"

00:00:26 #1381 [Verbose] >         "abab", "baba abab baba abab"

00:00:26 #1382 [Verbose] >         "aa", "aa aa"

00:00:26 #1383 [Verbose] >         "z", "z"

00:00:26 #1384 [Verbose] >     ]]

00:00:26 #1385 [Verbose] >

00:00:26 #1386 [Verbose] >     inl solutions = get_solutions ()

00:00:26 #1387 [Verbose] >

00:00:26 #1388 [Verbose] >     // inl is_fast () = true

00:00:26 #1389 [Verbose] >

00:00:26 #1390 [Verbose] >     inl count =

00:00:26 #1391 [Verbose] >         if is_fast ()

00:00:26 #1392 [Verbose] >         then 1000i32

00:00:26 #1393 [Verbose] >         else 2000000i32

00:00:26 #1394 [Verbose] >

00:00:26 #1395 [Verbose] >     run_all (nameof rotate_strings_tests) count solutions test_cases

00:00:26 #1396 [Verbose] >     |> sort_result_list

00:00:26 #1397 [Verbose] >

00:00:26 #1398 [Verbose] > rotate_strings_tests ()

00:00:26 #1399 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0916-1659-5993-596370aa12d2\main.spi

00:00:50 #1400 [Verbose] >

00:00:50 #1401 [Verbose] > ╭─[ 23.92s - stdout ]──────────────────────────────────────────────────────────╮

00:00:50 #1402 [Verbose] > │ type UH0 =                                                                   │

00:00:50 #1403 [Verbose] > │     | UH0_0 of string * string * UH0                                         │

00:00:50 #1404 [Verbose] > │     | UH0_1                                                                  │

00:00:50 #1405 [Verbose] > │ and Mut0 = {mutable l0 : uint64}                                             │

00:00:50 #1406 [Verbose] > │ and Mut1 = {mutable l0 : int32}                                              │

00:00:50 #1407 [Verbose] > │ and UH1 =                                                                    │

00:00:50 #1408 [Verbose] > │     | UH1_0 of int32 * UH1                                                   │

00:00:50 #1409 [Verbose] > │     | UH1_1                                                                  │

00:00:50 #1410 [Verbose] > │ and UH2 =                                                                    │

00:00:50 #1411 [Verbose] > │     | UH2_0 of string * UH2                                                  │

00:00:50 #1412 [Verbose] > │     | UH2_1                                                                  │

00:00:50 #1413 [Verbose] > │ and UH3 =                                                                    │

00:00:50 #1414 [Verbose] > │     | UH3_0 of int32 * string * (string -> string) * UH3                     │

00:00:50 #1415 [Verbose] > │     | UH3_1                                                                  │

00:00:50 #1416 [Verbose] > │ and [<Struct>] US0 =                                                         │

00:00:50 #1417 [Verbose] > │     | US0_0                                                                  │

00:00:50 #1418 [Verbose] > │     | US0_1 of f1_0 : System.ConsoleColor                                    │

00:00:50 #1419 [Verbose] > │ and UH4 =                                                                    │

00:00:50 #1420 [Verbose] > │     | UH4_0 of int64 * int64 * UH4                                           │

00:00:50 #1421 [Verbose] > │     | UH4_1                                                                  │

00:00:50 #1422 [Verbose] > │ and Mut2 = {mutable l0 : uint64; mutable l1 : UH4; mutable l2 : int64}       │

00:00:50 #1423 [Verbose] > │ and UH5 =                                                                    │

00:00:50 #1424 [Verbose] > │     | UH5_0 of UH2 * US0 * UH5                                               │

00:00:50 #1425 [Verbose] > │     | UH5_1                                                                  │

00:00:50 #1426 [Verbose] > │ and [<Struct>] US1 =                                                         │

00:00:50 #1427 [Verbose] > │     | US1_0                                                                  │

00:00:50 #1428 [Verbose] > │     | US1_1 of f1_0 : int64                                                  │

00:00:50 #1429 [Verbose] > │ and UH6 =                                                                    │

00:00:50 #1430 [Verbose] > │     | UH6_0 of int32 * int64 * UH6                                           │

00:00:50 #1431 [Verbose] > │     | UH6_1                                                                  │

00:00:50 #1432 [Verbose] > │ and Mut3 = {mutable l0 : uint64; mutable l1 : UH6; mutable l2 : int32}       │

00:00:50 #1433 [Verbose] > │ and UH7 =                                                                    │

00:00:50 #1434 [Verbose] > │     | UH7_0 of int32 * string * UH7                                          │

00:00:50 #1435 [Verbose] > │     | UH7_1                                                                  │

00:00:50 #1436 [Verbose] > │ let rec method2 (v0 : UH0, v1 : uint64) : uint64 =                           │

00:00:50 #1437 [Verbose] > │     match v0 with                                                            │

00:00:50 #1438 [Verbose] > │     | UH0_0(v2, v3, v4) -> (* Cons *)                                        │

00:00:50 #1439 [Verbose] > │         let v5 : uint64 = v1 + 1UL                                           │

00:00:50 #1440 [Verbose] > │         method2(v4, v5)                                                      │

00:00:50 #1441 [Verbose] > │     | UH0_1 -> (* Nil *)                                                     │

00:00:50 #1442 [Verbose] > │         v1                                                                   │

00:00:50 #1443 [Verbose] > │ and method3 (v0 : (struct (string * string) []), v1 : UH0, v2 : uint64) :    │

00:00:50 #1444 [Verbose] > │ uint64 =                                                                     │

00:00:50 #1445 [Verbose] > │     match v1 with                                                            │

00:00:50 #1446 [Verbose] > │     | UH0_0(v3, v4, v5) -> (* Cons *)                                        │

00:00:50 #1447 [Verbose] > │         v0.[int v2] <- struct (v3, v4)                                       │

00:00:50 #1448 [Verbose] > │         let v6 : uint64 = v2 + 1UL                                           │

00:00:50 #1449 [Verbose] > │         method3(v0, v5, v6)                                                  │

00:00:50 #1450 [Verbose] > │     | UH0_1 -> (* Nil *)                                                     │

00:00:50 #1451 [Verbose] > │         v2                                                                   │

00:00:50 #1452 [Verbose] > │ and method1 (v0 : UH0) : (struct (string * string) []) =                     │

00:00:50 #1453 [Verbose] > │     let v1 : uint64 = 0UL                                                    │

00:00:50 #1454 [Verbose] > │     let v2 : uint64 = method2(v0, v1)                                        │

00:00:50 #1455 [Verbose] > │     let v3 : (struct (string * string) []) = Array.zeroCreate<struct (string │

00:00:50 #1456 [Verbose] > │ * string)> (System.Convert.ToInt32(v2))                                      │

00:00:50 #1457 [Verbose] > │     let v4 : uint64 = 0UL                                                    │

00:00:50 #1458 [Verbose] > │     let v5 : uint64 = method3(v3, v0, v4)                                    │

00:00:50 #1459 [Verbose] > │     v3                                                                       │

00:00:50 #1460 [Verbose] > │ and method4 (v0 : uint64, v1 : Mut0) : bool =                                │

00:00:50 #1461 [Verbose] > │     let v2 : uint64 = v1.l0                                                  │

00:00:50 #1462 [Verbose] > │     let v3 : bool = v2 < v0                                                  │

00:00:50 #1463 [Verbose] > │     v3                                                                       │

00:00:50 #1464 [Verbose] > │ and method5 (v0 : int32, v1 : Mut1) : bool =                                 │

00:00:50 #1465 [Verbose] > │     let v2 : int32 = v1.l0                                                   │

00:00:50 #1466 [Verbose] > │     let v3 : bool = v2 < v0                                                  │

00:00:50 #1467 [Verbose] > │     v3                                                                       │

00:00:50 #1468 [Verbose] > │ and closure1 () (v0 : string) : string =                                     │

00:00:50 #1469 [Verbose] > │     let v1 : int32 = v0.Length                                               │

00:00:50 #1470 [Verbose] > │     let v2 : (int32 []) = Array.zeroCreate<int32> (1)                        │

00:00:50 #1471 [Verbose] > │     v2.[int 0] <- 0                                                          │

00:00:50 #1472 [Verbose] > │     let v3 : int32 = v1 - 1                                                  │

00:00:50 #1473 [Verbose] > │     let v4 : int32 = v3 - 1                                                  │

00:00:50 #1474 [Verbose] > │     let v5 : int32 = v4 + 1                                                  │

00:00:50 #1475 [Verbose] > │     let v6 : (int32 []) = Array.zeroCreate<int32> (v5)                       │

00:00:50 #1476 [Verbose] > │     let v7 : Mut1 = {l0 = 0} : Mut1                                          │

00:00:50 #1477 [Verbose] > │     while method5(v5, v7) do                                                 │

00:00:50 #1478 [Verbose] > │         let v9 : int32 = v7.l0                                               │

00:00:50 #1479 [Verbose] > │         let v10 : int32 = 1 + v9                                             │

00:00:50 #1480 [Verbose] > │         v6.[int v9] <- v10                                                   │

00:00:50 #1481 [Verbose] > │         let v11 : int32 = v9 + 1                                             │

00:00:50 #1482 [Verbose] > │         v7.l0 <- v11                                                         │

00:00:50 #1483 [Verbose] > │         ()                                                                   │

00:00:50 #1484 [Verbose] > │     let v12 : int32 = v6.Length                                              │

00:00:50 #1485 [Verbose] > │     let v13 : int32 = v2.Length                                              │

00:00:50 #1486 [Verbose] > │     let v14 : int32 = v12 + v13                                              │

00:00:50 #1487 [Verbose] > │     let v15 : (int32 []) = Array.zeroCreate<int32> (v14)                     │

00:00:50 #1488 [Verbose] > │     let v16 : Mut1 = {l0 = 0} : Mut1                                         │

00:00:50 #1489 [Verbose] > │     while method5(v14, v16) do                                               │

00:00:50 #1490 [Verbose] > │         let v18 : int32 = v16.l0                                             │

00:00:50 #1491 [Verbose] > │         let v19 : bool = v18 < v12                                           │

00:00:50 #1492 [Verbose] > │         let v23 : int32 =                                                    │

00:00:50 #1493 [Verbose] > │             if v19 then                                                      │

00:00:50 #1494 [Verbose] > │                 let v20 : int32 = v6.[int v18]                               │

00:00:50 #1495 [Verbose] > │                 v20                                                          │

00:00:50 #1496 [Verbose] > │             else                                                             │

00:00:50 #1497 [Verbose] > │                 let v21 : int32 = v18 - v12                                  │

00:00:50 #1498 [Verbose] > │                 let v22 : int32 = v2.[int v21]                               │

00:00:50 #1499 [Verbose] > │                 v22                                                          │

00:00:50 #1500 [Verbose] > │         v15.[int v18] <- v23                                                 │

00:00:50 #1501 [Verbose] > │         let v24 : int32 = v18 + 1                                            │

00:00:50 #1502 [Verbose] > │         v16.l0 <- v24                                                        │

00:00:50 #1503 [Verbose] > │         ()                                                                   │

00:00:50 #1504 [Verbose] > │     let v25 : int32 = v15.Length                                             │

00:00:50 #1505 [Verbose] > │     let v26 : (string []) = Array.zeroCreate<string> (v25)                   │

00:00:50 #1506 [Verbose] > │     let v27 : Mut1 = {l0 = 0} : Mut1                                         │

00:00:50 #1507 [Verbose] > │     while method5(v25, v27) do                                               │

00:00:50 #1508 [Verbose] > │         let v29 : int32 = v27.l0                                             │

00:00:50 #1509 [Verbose] > │         let v30 : int32 = v15.[int v29]                                      │

00:00:50 #1510 [Verbose] > │         let v31 : string = v0.[int v30..int v3]                              │

00:00:50 #1511 [Verbose] > │         let v32 : int32 = v30 - 1                                            │

00:00:50 #1512 [Verbose] > │         let v33 : string = v0.[int 0..int v32]                               │

00:00:50 #1513 [Verbose] > │         let v34 : string = v31 + v33                                         │

00:00:50 #1514 [Verbose] > │         v26.[int v29] <- v34                                                 │

00:00:50 #1515 [Verbose] > │         let v35 : int32 = v29 + 1                                            │

00:00:50 #1516 [Verbose] > │         v27.l0 <- v35                                                        │

00:00:50 #1517 [Verbose] > │         ()                                                                   │

00:00:50 #1518 [Verbose] > │     let v36 : string = " "                                                   │

00:00:50 #1519 [Verbose] > │     let v37 : string = v26 |> String.concat v36                              │

00:00:50 #1520 [Verbose] > │     v37                                                                      │

00:00:50 #1521 [Verbose] > │ and method6 (v0 : float, v1 : float) : UH1 =                                 │

00:00:50 #1522 [Verbose] > │     let v2 : bool = v1 < v0                                                  │

00:00:50 #1523 [Verbose] > │     if v2 then                                                               │

00:00:50 #1524 [Verbose] > │         let v3 : int32 = int32 v1                                            │

00:00:50 #1525 [Verbose] > │         let v4 : int32 = 1 + v3                                              │

00:00:50 #1526 [Verbose] > │         let v5 : float = v1 + 1.0                                            │

00:00:50 #1527 [Verbose] > │         let v6 : UH1 = method6(v0, v5)                                       │

00:00:50 #1528 [Verbose] > │         UH1_0(v4, v6)                                                        │

00:00:50 #1529 [Verbose] > │     else                                                                     │

00:00:50 #1530 [Verbose] > │         UH1_1                                                                │

00:00:50 #1531 [Verbose] > │ and method7 (v0 : UH1, v1 : UH1) : UH1 =                                     │

00:00:50 #1532 [Verbose] > │     match v0 with                                                            │

00:00:50 #1533 [Verbose] > │     | UH1_0(v2, v3) -> (* Cons *)                                            │

00:00:50 #1534 [Verbose] > │         let v4 : UH1 = method7(v3, v1)                                       │

00:00:50 #1535 [Verbose] > │         UH1_0(v2, v4)                                                        │

00:00:50 #1536 [Verbose] > │     | UH1_1 -> (* Nil *)                                                     │

00:00:50 #1537 [Verbose] > │         v1                                                                   │

00:00:50 #1538 [Verbose] > │ and method8 (v0 : string, v1 : int32, v2 : UH1, v3 : UH2) : UH2 =            │

00:00:50 #1539 [Verbose] > │     match v2 with                                                            │

00:00:50 #1540 [Verbose] > │     | UH1_0(v4, v5) -> (* Cons *)                                            │

00:00:50 #1541 [Verbose] > │         let v6 : UH2 = method8(v0, v1, v5, v3)                               │

00:00:50 #1542 [Verbose] > │         let v7 : int32 = v1 - 1                                              │

00:00:50 #1543 [Verbose] > │         let v8 : string = v0.[int v4..int v7]                                │

00:00:50 #1544 [Verbose] > │         let v9 : bool = v4 = 0                                               │

00:00:50 #1545 [Verbose] > │         let v13 : string =                                                   │

00:00:50 #1546 [Verbose] > │             if v9 then                                                       │

00:00:50 #1547 [Verbose] > │                 let v10 : string = ""                                        │

00:00:50 #1548 [Verbose] > │                 v10                                                          │

00:00:50 #1549 [Verbose] > │             else                                                             │

00:00:50 #1550 [Verbose] > │                 let v11 : int32 = v4 - 1                                     │

00:00:50 #1551 [Verbose] > │                 let v12 : string = v0.[int 0..int v11]                       │

00:00:50 #1552 [Verbose] > │                 v12                                                          │

00:00:50 #1553 [Verbose] > │         let v14 : string = v8 + v13                                          │

00:00:50 #1554 [Verbose] > │         UH2_0(v14, v6)                                                       │

00:00:50 #1555 [Verbose] > │     | UH1_1 -> (* Nil *)                                                     │

00:00:50 #1556 [Verbose] > │         v3                                                                   │

00:00:50 #1557 [Verbose] > │ and method10 (v0 : UH2, v1 : int32) : int32 =                                │

00:00:50 #1558 [Verbose] > │     match v0 with                                                            │

00:00:50 #1559 [Verbose] > │     | UH2_0(v2, v3) -> (* Cons *)                                            │

00:00:50 #1560 [Verbose] > │         let v4 : int32 = v1 + 1                                              │

00:00:50 #1561 [Verbose] > │         method10(v3, v4)                                                     │

00:00:50 #1562 [Verbose] > │     | UH2_1 -> (* Nil *)                                                     │

00:00:50 #1563 [Verbose] > │         v1                                                                   │

00:00:50 #1564 [Verbose] > │ and method11 (v0 : (string []), v1 : UH2, v2 : int32) : int32 =              │

00:00:50 #1565 [Verbose] > │     match v1 with                                                            │

00:00:50 #1566 [Verbose] > │     | UH2_0(v3, v4) -> (* Cons *)                                            │

00:00:50 #1567 [Verbose] > │         v0.[int v2] <- v3                                                    │

00:00:50 #1568 [Verbose] > │         let v5 : int32 = v2 + 1                                              │

00:00:50 #1569 [Verbose] > │         method11(v0, v4, v5)                                                 │

00:00:50 #1570 [Verbose] > │     | UH2_1 -> (* Nil *)                                                     │

00:00:50 #1571 [Verbose] > │         v2                                                                   │

00:00:50 #1572 [Verbose] > │ and method9 (v0 : UH2) : (string []) =                                       │

00:00:50 #1573 [Verbose] > │     let v1 : int32 = 0                                                       │

00:00:50 #1574 [Verbose] > │     let v2 : int32 = method10(v0, v1)                                        │

00:00:50 #1575 [Verbose] > │     let v3 : (string []) = Array.zeroCreate<string> (v2)                     │

00:00:50 #1576 [Verbose] > │     let v4 : int32 = 0                                                       │

00:00:50 #1577 [Verbose] > │     let v5 : int32 = method11(v3, v0, v4)                                    │

00:00:50 #1578 [Verbose] > │     v3                                                                       │

00:00:50 #1579 [Verbose] > │ and closure2 () (v0 : string) : string =                                     │

00:00:50 #1580 [Verbose] > │     let v1 : int32 = v0.Length                                               │

00:00:50 #1581 [Verbose] > │     let v2 : int32 = v1 - 1                                                  │

00:00:50 #1582 [Verbose] > │     let v3 : int32 = v2 - 1                                                  │

00:00:50 #1583 [Verbose] > │     let v4 : float = float v3                                                │

00:00:50 #1584 [Verbose] > │     let v5 : float = v4 + 1.0                                                │

00:00:50 #1585 [Verbose] > │     let v6 : float = 0.0                                                     │

00:00:50 #1586 [Verbose] > │     let v7 : UH1 = method6(v5, v6)                                           │

00:00:50 #1587 [Verbose] > │     let v8 : int32 = 0                                                       │

00:00:50 #1588 [Verbose] > │     let v9 : UH1 = UH1_1                                                     │

00:00:50 #1589 [Verbose] > │     let v10 : UH1 = UH1_0(v8, v9)                                            │

00:00:50 #1590 [Verbose] > │     let v11 : UH1 = method7(v7, v10)                                         │

00:00:50 #1591 [Verbose] > │     let v12 : UH2 = UH2_1                                                    │

00:00:50 #1592 [Verbose] > │     let v13 : UH2 = method8(v0, v1, v11, v12)                                │

00:00:50 #1593 [Verbose] > │     let v14 : (string []) = method9(v13)                                     │

00:00:50 #1594 [Verbose] > │     let v15 : string = " "                                                   │

00:00:50 #1595 [Verbose] > │     let v16 : string = v14 |> String.concat v15                              │

00:00:50 #1596 [Verbose] > │     v16                                                                      │

00:00:50 #1597 [Verbose] > │ and method13 (v0 : UH3, v1 : uint64) : uint64 =                              │

00:00:50 #1598 [Verbose] > │     match v0 with                                                            │

00:00:50 #1599 [Verbose] > │     | UH3_0(v2, v3, v4, v5) -> (* Cons *)                                    │

00:00:50 #1600 [Verbose] > │         let v6 : uint64 = v1 + 1UL                                           │

00:00:50 #1601 [Verbose] > │         method13(v5, v6)                                                     │

00:00:50 #1602 [Verbose] > │     | UH3_1 -> (* Nil *)                                                     │

00:00:50 #1603 [Verbose] > │         v1                                                                   │

00:00:50 #1604 [Verbose] > │ and method14 (v0 : (struct (int32 * string * (string -> string)) []), v1 :   │

00:00:50 #1605 [Verbose] > │ UH3, v2 : uint64) : uint64 =                                                 │

00:00:50 #1606 [Verbose] > │     match v1 with                                                            │

00:00:50 #1607 [Verbose] > │     | UH3_0(v3, v4, v5, v6) -> (* Cons *)                                    │

00:00:50 #1608 [Verbose] > │         v0.[int v2] <- struct (v3, v4, v5)                                   │

00:00:50 #1609 [Verbose] > │         let v7 : uint64 = v2 + 1UL                                           │

00:00:50 #1610 [Verbose] > │         method14(v0, v6, v7)                                                 │

00:00:50 #1611 [Verbose] > │     | UH3_1 -> (* Nil *)                                                     │

00:00:50 #1612 [Verbose] > │         v2                                                                   │

00:00:50 #1613 [Verbose] > │ and method12 (v0 : UH3) : (struct (int32 * string * (string -> string)) [])  │

00:00:50 #1614 [Verbose] > │ =                                                                            │

00:00:50 #1615 [Verbose] > │     let v1 : uint64 = 0UL                                                    │

00:00:50 #1616 [Verbose] > │     let v2 : uint64 = method13(v0, v1)                                       │

00:00:50 #1617 [Verbose] > │     let v3 : (struct (int32 * string * (string -> string)) []) =             │

00:00:50 #1618 [Verbose] > │ Array.zeroCreate<struct (int32 * string * (string -> string))>               │

00:00:50 #1619 [Verbose] > │ (System.Convert.ToInt32(v2))                                                 │

00:00:50 #1620 [Verbose] > │     let v4 : uint64 = 0UL                                                    │

00:00:50 #1621 [Verbose] > │     let v5 : uint64 = method14(v3, v0, v4)                                   │

00:00:50 #1622 [Verbose] > │     v3                                                                       │

00:00:50 #1623 [Verbose] > │ and method15 (v0 : Mut1) : bool =                                            │

00:00:50 #1624 [Verbose] > │     let v1 : int32 = v0.l0                                                   │

00:00:50 #1625 [Verbose] > │     let v2 : bool = v1 < 2000001                                             │

00:00:50 #1626 [Verbose] > │     v2                                                                       │

00:00:50 #1627 [Verbose] > │ and closure3 (v0 : string, v1 : (string -> string)) (v2 : int32) : string =  │

00:00:50 #1628 [Verbose] > │     v1 v0                                                                    │

00:00:50 #1629 [Verbose] > │ and method16 (v0 : string, v1 : (string []), v2 : uint64) : bool =           │

00:00:50 #1630 [Verbose] > │     let v3 : uint64 = System.Convert.ToUInt64 v1.Length                      │

00:00:50 #1631 [Verbose] > │     let v4 : bool = v2 < v3                                                  │

00:00:50 #1632 [Verbose] > │     if v4 then                                                               │

00:00:50 #1633 [Verbose] > │         let v5 : string = v1.[int v2]                                        │

00:00:50 #1634 [Verbose] > │         let v6 : bool = v0 = v5                                              │

00:00:50 #1635 [Verbose] > │         if v6 then                                                           │

00:00:50 #1636 [Verbose] > │             let v7 : uint64 = v2 + 1UL                                       │

00:00:50 #1637 [Verbose] > │             method16(v0, v1, v7)                                             │

00:00:50 #1638 [Verbose] > │         else                                                                 │

00:00:50 #1639 [Verbose] > │             false                                                            │

00:00:50 #1640 [Verbose] > │     else                                                                     │

00:00:50 #1641 [Verbose] > │         true                                                                 │

00:00:50 #1642 [Verbose] > │ and method17 (v0 : uint64, v1 : Mut2) : bool =                               │

00:00:50 #1643 [Verbose] > │     let v2 : uint64 = v1.l0                                                  │

00:00:50 #1644 [Verbose] > │     let v3 : bool = v2 < v0                                                  │

00:00:50 #1645 [Verbose] > │     v3                                                                       │

00:00:50 #1646 [Verbose] > │ and method18 (v0 : UH4, v1 : UH4) : UH4 =                                    │

00:00:50 #1647 [Verbose] > │     match v0 with                                                            │

00:00:50 #1648 [Verbose] > │     | UH4_0(v2, v3, v4) -> (* Cons *)                                        │

00:00:50 #1649 [Verbose] > │         let v5 : UH4 = UH4_0(v2, v3, v1)                                     │

00:00:50 #1650 [Verbose] > │         method18(v4, v5)                                                     │

00:00:50 #1651 [Verbose] > │     | UH4_1 -> (* Nil *)                                                     │

00:00:50 #1652 [Verbose] > │         v1                                                                   │

00:00:50 #1653 [Verbose] > │ and method20 (v0 : UH4, v1 : int32) : int32 =                                │

00:00:50 #1654 [Verbose] > │     match v0 with                                                            │

00:00:50 #1655 [Verbose] > │     | UH4_0(v2, v3, v4) -> (* Cons *)                                        │

00:00:50 #1656 [Verbose] > │         let v5 : int32 = v1 + 1                                              │

00:00:50 #1657 [Verbose] > │         method20(v4, v5)                                                     │

00:00:50 #1658 [Verbose] > │     | UH4_1 -> (* Nil *)                                                     │

00:00:50 #1659 [Verbose] > │         v1                                                                   │

00:00:50 #1660 [Verbose] > │ and method21 (v0 : (struct (int64 * int64) []), v1 : UH4, v2 : int32) :      │

00:00:50 #1661 [Verbose] > │ int32 =                                                                      │

00:00:50 #1662 [Verbose] > │     match v1 with                                                            │

00:00:50 #1663 [Verbose] > │     | UH4_0(v3, v4, v5) -> (* Cons *)                                        │

00:00:50 #1664 [Verbose] > │         v0.[int v2] <- struct (v3, v4)                                       │

00:00:50 #1665 [Verbose] > │         let v6 : int32 = v2 + 1                                              │

00:00:50 #1666 [Verbose] > │         method21(v0, v5, v6)                                                 │

00:00:50 #1667 [Verbose] > │     | UH4_1 -> (* Nil *)                                                     │

00:00:50 #1668 [Verbose] > │         v2                                                                   │

00:00:50 #1669 [Verbose] > │ and method19 (v0 : UH4) : (struct (int64 * int64) []) =                      │

00:00:50 #1670 [Verbose] > │     let v1 : int32 = 0                                                       │

00:00:50 #1671 [Verbose] > │     let v2 : int32 = method20(v0, v1)                                        │

00:00:50 #1672 [Verbose] > │     let v3 : (struct (int64 * int64) []) = Array.zeroCreate<struct (int64 *  │

00:00:50 #1673 [Verbose] > │ int64)> (v2)                                                                 │

00:00:50 #1674 [Verbose] > │     let v4 : int32 = 0                                                       │

00:00:50 #1675 [Verbose] > │     let v5 : int32 = method21(v3, v0, v4)                                    │

00:00:50 #1676 [Verbose] > │     v3                                                                       │

00:00:50 #1677 [Verbose] > │ and closure4 () struct (v0 : int64, v1 : int64) : int64 =                    │

00:00:50 #1678 [Verbose] > │     v1                                                                       │

00:00:50 #1679 [Verbose] > │ and method23 (v0 : UH5, v1 : uint64) : uint64 =                              │

00:00:50 #1680 [Verbose] > │     match v0 with                                                            │

00:00:50 #1681 [Verbose] > │     | UH5_0(v2, v3, v4) -> (* Cons *)                                        │

00:00:50 #1682 [Verbose] > │         let v5 : uint64 = v1 + 1UL                                           │

00:00:50 #1683 [Verbose] > │         method23(v4, v5)                                                     │

00:00:50 #1684 [Verbose] > │     | UH5_1 -> (* Nil *)                                                     │

00:00:50 #1685 [Verbose] > │         v1                                                                   │

00:00:50 #1686 [Verbose] > │ and method24 (v0 : (struct (UH2 * US0) []), v1 : UH5, v2 : uint64) : uint64  │

00:00:50 #1687 [Verbose] > │ =                                                                            │

00:00:50 #1688 [Verbose] > │     match v1 with                                                            │

00:00:50 #1689 [Verbose] > │     | UH5_0(v3, v4, v5) -> (* Cons *)                                        │

00:00:50 #1690 [Verbose] > │         v0.[int v2] <- struct (v3, v4)                                       │

00:00:50 #1691 [Verbose] > │         let v6 : uint64 = v2 + 1UL                                           │

00:00:50 #1692 [Verbose] > │         method24(v0, v5, v6)                                                 │

00:00:50 #1693 [Verbose] > │     | UH5_1 -> (* Nil *)                                                     │

00:00:50 #1694 [Verbose] > │         v2                                                                   │

00:00:50 #1695 [Verbose] > │ and method22 (v0 : UH5) : (struct (UH2 * US0) []) =                          │

00:00:50 #1696 [Verbose] > │     let v1 : uint64 = 0UL                                                    │

00:00:50 #1697 [Verbose] > │     let v2 : uint64 = method23(v0, v1)                                       │

00:00:50 #1698 [Verbose] > │     let v3 : (struct (UH2 * US0) []) = Array.zeroCreate<struct (UH2 * US0)>  │

00:00:50 #1699 [Verbose] > │ (System.Convert.ToInt32(v2))                                                 │

00:00:50 #1700 [Verbose] > │     let v4 : uint64 = 0UL                                                    │

00:00:50 #1701 [Verbose] > │     let v5 : uint64 = method24(v3, v0, v4)                                   │

00:00:50 #1702 [Verbose] > │     v3                                                                       │

00:00:50 #1703 [Verbose] > │ and method26 (v0 : UH2, v1 : uint64) : uint64 =                              │

00:00:50 #1704 [Verbose] > │     match v0 with                                                            │

00:00:50 #1705 [Verbose] > │     | UH2_0(v2, v3) -> (* Cons *)                                            │

00:00:50 #1706 [Verbose] > │         let v4 : uint64 = v1 + 1UL                                           │

00:00:50 #1707 [Verbose] > │         method26(v3, v4)                                                     │

00:00:50 #1708 [Verbose] > │     | UH2_1 -> (* Nil *)                                                     │

00:00:50 #1709 [Verbose] > │         v1                                                                   │

00:00:50 #1710 [Verbose] > │ and method27 (v0 : (string []), v1 : UH2, v2 : uint64) : uint64 =            │

00:00:50 #1711 [Verbose] > │     match v1 with                                                            │

00:00:50 #1712 [Verbose] > │     | UH2_0(v3, v4) -> (* Cons *)                                            │

00:00:50 #1713 [Verbose] > │         v0.[int v2] <- v3                                                    │

00:00:50 #1714 [Verbose] > │         let v5 : uint64 = v2 + 1UL                                           │

00:00:50 #1715 [Verbose] > │         method27(v0, v4, v5)                                                 │

00:00:50 #1716 [Verbose] > │     | UH2_1 -> (* Nil *)                                                     │

00:00:50 #1717 [Verbose] > │         v2                                                                   │

00:00:50 #1718 [Verbose] > │ and method25 (v0 : UH2) : (string []) =                                      │

00:00:50 #1719 [Verbose] > │     let v1 : uint64 = 0UL                                                    │

00:00:50 #1720 [Verbose] > │     let v2 : uint64 = method26(v0, v1)                                       │

00:00:50 #1721 [Verbose] > │     let v3 : (string []) = Array.zeroCreate<string>                          │

00:00:50 #1722 [Verbose] > │ (System.Convert.ToInt32(v2))                                                 │

00:00:50 #1723 [Verbose] > │     let v4 : uint64 = 0UL                                                    │

00:00:50 #1724 [Verbose] > │     let v5 : uint64 = method27(v3, v0, v4)                                   │

00:00:50 #1725 [Verbose] > │     v3                                                                       │

00:00:50 #1726 [Verbose] > │ and closure5 () (v0 : int64) : US1 =                                         │

00:00:50 #1727 [Verbose] > │     US1_1(v0)                                                                │

00:00:50 #1728 [Verbose] > │ and method28 (v0 : uint64, v1 : Mut3) : bool =                               │

00:00:50 #1729 [Verbose] > │     let v2 : uint64 = v1.l0                                                  │

00:00:50 #1730 [Verbose] > │     let v3 : bool = v2 < v0                                                  │

00:00:50 #1731 [Verbose] > │     v3                                                                       │

00:00:50 #1732 [Verbose] > │ and method29 (v0 : UH6, v1 : UH6) : UH6 =                                    │

00:00:50 #1733 [Verbose] > │     match v0 with                                                            │

00:00:50 #1734 [Verbose] > │     | UH6_0(v2, v3, v4) -> (* Cons *)                                        │

00:00:50 #1735 [Verbose] > │         let v5 : UH6 = UH6_0(v2, v3, v1)                                     │

00:00:50 #1736 [Verbose] > │         method29(v4, v5)                                                     │

00:00:50 #1737 [Verbose] > │     | UH6_1 -> (* Nil *)                                                     │

00:00:50 #1738 [Verbose] > │         v1                                                                   │

00:00:50 #1739 [Verbose] > │ and method31 (v0 : UH6, v1 : int32) : int32 =                                │

00:00:50 #1740 [Verbose] > │     match v0 with                                                            │

00:00:50 #1741 [Verbose] > │     | UH6_0(v2, v3, v4) -> (* Cons *)                                        │

00:00:50 #1742 [Verbose] > │         let v5 : int32 = v1 + 1                                              │

00:00:50 #1743 [Verbose] > │         method31(v4, v5)                                                     │

00:00:50 #1744 [Verbose] > │     | UH6_1 -> (* Nil *)                                                     │

00:00:50 #1745 [Verbose] > │         v1                                                                   │

00:00:50 #1746 [Verbose] > │ and method32 (v0 : (struct (int32 * int64) []), v1 : UH6, v2 : int32) :      │

00:00:50 #1747 [Verbose] > │ int32 =                                                                      │

00:00:50 #1748 [Verbose] > │     match v1 with                                                            │

00:00:50 #1749 [Verbose] > │     | UH6_0(v3, v4, v5) -> (* Cons *)                                        │

00:00:50 #1750 [Verbose] > │         v0.[int v2] <- struct (v3, v4)                                       │

00:00:50 #1751 [Verbose] > │         let v6 : int32 = v2 + 1                                              │

00:00:50 #1752 [Verbose] > │         method32(v0, v5, v6)                                                 │

00:00:50 #1753 [Verbose] > │     | UH6_1 -> (* Nil *)                                                     │

00:00:50 #1754 [Verbose] > │         v2                                                                   │

00:00:50 #1755 [Verbose] > │ and method30 (v0 : UH6) : (struct (int32 * int64) []) =                      │

00:00:50 #1756 [Verbose] > │     let v1 : int32 = 0                                                       │

00:00:50 #1757 [Verbose] > │     let v2 : int32 = method31(v0, v1)                                        │

00:00:50 #1758 [Verbose] > │     let v3 : (struct (int32 * int64) []) = Array.zeroCreate<struct (int32 *  │

00:00:50 #1759 [Verbose] > │ int64)> (v2)                                                                 │

00:00:50 #1760 [Verbose] > │     let v4 : int32 = 0                                                       │

00:00:50 #1761 [Verbose] > │     let v5 : int32 = method32(v3, v0, v4)                                    │

00:00:50 #1762 [Verbose] > │     v3                                                                       │

00:00:50 #1763 [Verbose] > │ and method33 (v0 : UH2, v1 : UH7, v2 : int32) : struct (UH7 * int32) =       │

00:00:50 #1764 [Verbose] > │     match v0 with                                                            │

00:00:50 #1765 [Verbose] > │     | UH2_0(v3, v4) -> (* Cons *)                                            │

00:00:50 #1766 [Verbose] > │         let v5 : int32 = v2 + 1                                              │

00:00:50 #1767 [Verbose] > │         let v6 : UH7 = UH7_0(v2, v3, v1)                                     │

00:00:50 #1768 [Verbose] > │         method33(v4, v6, v5)                                                 │

00:00:50 #1769 [Verbose] > │     | UH2_1 -> (* Nil *)                                                     │

00:00:50 #1770 [Verbose] > │         struct (v1, v2)                                                      │

00:00:50 #1771 [Verbose] > │ and method34 (v0 : UH7, v1 : UH7) : UH7 =                                    │

00:00:50 #1772 [Verbose] > │     match v0 with                                                            │

00:00:50 #1773 [Verbose] > │     | UH7_0(v2, v3, v4) -> (* Cons *)                                        │

00:00:50 #1774 [Verbose] > │         let v5 : UH7 = UH7_0(v2, v3, v1)                                     │

00:00:50 #1775 [Verbose] > │         method34(v4, v5)                                                     │

00:00:50 #1776 [Verbose] > │     | UH7_1 -> (* Nil *)                                                     │

00:00:50 #1777 [Verbose] > │         v1                                                                   │

00:00:50 #1778 [Verbose] > │ and method35 (v0 : Map<int32, int64>, v1 : UH7, v2 : UH2) : UH2 =            │

00:00:50 #1779 [Verbose] > │     match v1 with                                                            │

00:00:50 #1780 [Verbose] > │     | UH7_0(v3, v4, v5) -> (* Cons *)                                        │

00:00:50 #1781 [Verbose] > │         let v6 : UH2 = method35(v0, v5, v2)                                  │

00:00:50 #1782 [Verbose] > │         let v7 : int64 = v0.[v3]                                             │

00:00:50 #1783 [Verbose] > │         let v8 : int32 = int32 v7                                            │

00:00:50 #1784 [Verbose] > │         let v9 : string = v4.PadRight v8                                     │

00:00:50 #1785 [Verbose] > │         UH2_0(v9, v6)                                                        │

00:00:50 #1786 [Verbose] > │     | UH7_1 -> (* Nil *)                                                     │

00:00:50 #1787 [Verbose] > │         v2                                                                   │

00:00:50 #1788 [Verbose] > │ and method37 (v0 : UH6, v1 : uint64) : uint64 =                              │

00:00:50 #1789 [Verbose] > │     match v0 with                                                            │

00:00:50 #1790 [Verbose] > │     | UH6_0(v2, v3, v4) -> (* Cons *)                                        │

00:00:50 #1791 [Verbose] > │         let v5 : uint64 = v1 + 1UL                                           │

00:00:50 #1792 [Verbose] > │         method37(v4, v5)                                                     │

00:00:50 #1793 [Verbose] > │     | UH6_1 -> (* Nil *)                                                     │

00:00:50 #1794 [Verbose] > │         v1                                                                   │

00:00:50 #1795 [Verbose] > │ and method38 (v0 : (struct (int32 * int64) []), v1 : UH6, v2 : uint64) :     │

00:00:50 #1796 [Verbose] > │ uint64 =                                                                     │

00:00:50 #1797 [Verbose] > │     match v1 with                                                            │

00:00:50 #1798 [Verbose] > │     | UH6_0(v3, v4, v5) -> (* Cons *)                                        │

00:00:50 #1799 [Verbose] > │         v0.[int v2] <- struct (v3, v4)                                       │

00:00:50 #1800 [Verbose] > │         let v6 : uint64 = v2 + 1UL                                           │

00:00:50 #1801 [Verbose] > │         method38(v0, v5, v6)                                                 │

00:00:50 #1802 [Verbose] > │     | UH6_1 -> (* Nil *)                                                     │

00:00:50 #1803 [Verbose] > │         v2                                                                   │

00:00:50 #1804 [Verbose] > │ and method36 (v0 : UH6) : (struct (int32 * int64) []) =                      │

00:00:50 #1805 [Verbose] > │     let v1 : uint64 = 0UL                                                    │

00:00:50 #1806 [Verbose] > │     let v2 : uint64 = method37(v0, v1)                                       │

00:00:50 #1807 [Verbose] > │     let v3 : (struct (int32 * int64) []) = Array.zeroCreate<struct (int32 *  │

00:00:50 #1808 [Verbose] > │ int64)> (System.Convert.ToInt32(v2))                                         │

00:00:50 #1809 [Verbose] > │     let v4 : uint64 = 0UL                                                    │

00:00:50 #1810 [Verbose] > │     let v5 : uint64 = method38(v3, v0, v4)                                   │

00:00:50 #1811 [Verbose] > │     v3                                                                       │

00:00:50 #1812 [Verbose] > │ and closure6 () struct (v0 : int32, v1 : int64) : int64 =                    │

00:00:50 #1813 [Verbose] > │     v1                                                                       │

00:00:50 #1814 [Verbose] > │ and closure0 () () : unit =                                                  │

00:00:50 #1815 [Verbose] > │     let v0 : (unit -> unit) = closure0()                                     │

00:00:50 #1816 [Verbose] > │     let v1 : string = nameof v0                                              │

00:00:50 #1817 [Verbose] > │     let v2 : string = ""                                                     │

00:00:50 #1818 [Verbose] > │     System.Console.WriteLine v2                                              │

00:00:50 #1819 [Verbose] > │     System.Console.WriteLine v2                                              │

00:00:50 #1820 [Verbose] > │     let v3 : string = $"Test: {v1}"                                          │

00:00:50 #1821 [Verbose] > │     System.Console.WriteLine v3                                              │

00:00:50 #1822 [Verbose] > │     let v4 : string = "abc"                                                  │

00:00:50 #1823 [Verbose] > │     let v5 : string = "bca cab abc"                                          │

00:00:50 #1824 [Verbose] > │     let v6 : string = "abcde"                                                │

00:00:50 #1825 [Verbose] > │     let v7 : string = "bcdea cdeab deabc eabcd abcde"                        │

00:00:50 #1826 [Verbose] > │     let v8 : string = "abcdefghi"                                            │

00:00:50 #1827 [Verbose] > │     let v9 : string = "bcdefghia cdefghiab defghiabc efghiabcd fghiabcde     │

00:00:50 #1828 [Verbose] > │ ghiabcdef hiabcdefg iabcdefgh abcdefghi"                                     │

00:00:50 #1829 [Verbose] > │     let v10 : string = "abab"                                                │

00:00:50 #1830 [Verbose] > │     let v11 : string = "baba abab baba abab"                                 │

00:00:50 #1831 [Verbose] > │     let v12 : string = "aa"                                                  │

00:00:50 #1832 [Verbose] > │     let v13 : string = "aa aa"                                               │

00:00:50 #1833 [Verbose] > │     let v14 : string = "z"                                                   │

00:00:50 #1834 [Verbose] > │     let v15 : UH0 = UH0_1                                                    │

00:00:50 #1835 [Verbose] > │     let v16 : UH0 = UH0_0(v14, v14, v15)                                     │

00:00:50 #1836 [Verbose] > │     let v17 : UH0 = UH0_0(v12, v13, v16)                                     │

00:00:50 #1837 [Verbose] > │     let v18 : UH0 = UH0_0(v10, v11, v17)                                     │

00:00:50 #1838 [Verbose] > │     let v19 : UH0 = UH0_0(v8, v9, v18)                                       │

00:00:50 #1839 [Verbose] > │     let v20 : UH0 = UH0_0(v6, v7, v19)                                       │

00:00:50 #1840 [Verbose] > │     let v21 : UH0 = UH0_0(v4, v5, v20)                                       │

00:00:50 #1841 [Verbose] > │     let v22 : (struct (string * string) []) = method1(v21)                   │

00:00:50 #1842 [Verbose] > │     let v23 : uint64 = System.Convert.ToUInt64 v22.Length                    │

00:00:50 #1843 [Verbose] > │     let v24 : (struct (string * string * string * (int64 [])) []) =          │

00:00:50 #1844 [Verbose] > │ Array.zeroCreate<struct (string * string * string * (int64 []))>             │

00:00:50 #1845 [Verbose] > │ (System.Convert.ToInt32(v23))                                                │

00:00:50 #1846 [Verbose] > │     let v25 : Mut0 = {l0 = 0UL} : Mut0                                       │

00:00:50 #1847 [Verbose] > │     while method4(v23, v25) do                                               │

00:00:50 #1848 [Verbose] > │         let v27 : uint64 = v25.l0                                            │

00:00:50 #1849 [Verbose] > │         let struct (v28 : string, v29 : string) = v22.[int v27]              │

00:00:50 #1850 [Verbose] > │         let v30 : string = $"%A{v28}"                                        │

00:00:50 #1851 [Verbose] > │         System.Console.WriteLine v2                                          │

00:00:50 #1852 [Verbose] > │         let v31 : string = $"Solution: {v30}  "                              │

00:00:50 #1853 [Verbose] > │         System.Console.WriteLine v31                                         │

00:00:50 #1854 [Verbose] > │         let v32 : int32 = 0                                                  │

00:00:50 #1855 [Verbose] > │         let v33 : string = "F"                                               │

00:00:50 #1856 [Verbose] > │         let v34 : (string -> string) = closure1()                            │

00:00:50 #1857 [Verbose] > │         let v35 : int32 = 1                                                  │

00:00:50 #1858 [Verbose] > │         let v36 : string = "FA"                                              │

00:00:50 #1859 [Verbose] > │         let v37 : (string -> string) = closure2()                            │

00:00:50 #1860 [Verbose] > │         let v38 : UH3 = UH3_1                                                │

00:00:50 #1861 [Verbose] > │         let v39 : UH3 = UH3_0(v35, v36, v37, v38)                            │

00:00:50 #1862 [Verbose] > │         let v40 : UH3 = UH3_0(v32, v33, v34, v39)                            │

00:00:50 #1863 [Verbose] > │         let v41 : (struct (int32 * string * (string -> string)) []) =        │

00:00:50 #1864 [Verbose] > │ method12(v40)                                                                │

00:00:50 #1865 [Verbose] > │         let v42 : uint64 = System.Convert.ToUInt64 v41.Length                │

00:00:50 #1866 [Verbose] > │         let v43 : (struct (string * int64) []) = Array.zeroCreate<struct     │

00:00:50 #1867 [Verbose] > │ (string * int64)> (System.Convert.ToInt32(v42))                              │

00:00:50 #1868 [Verbose] > │         let v44 : Mut0 = {l0 = 0UL} : Mut0                                   │

00:00:50 #1869 [Verbose] > │         while method4(v42, v44) do                                           │

00:00:50 #1870 [Verbose] > │             let v46 : uint64 = v44.l0                                        │

00:00:50 #1871 [Verbose] > │             let struct (v47 : int32, v48 : string, v49 : (string -> string)) │

00:00:50 #1872 [Verbose] > │ = v41.[int v46]                                                              │

00:00:50 #1873 [Verbose] > │             let mutable result = None                                        │

00:00:50 #1874 [Verbose] > │             #if FABLE_COMPILER_RUST                                          │

00:00:50 #1875 [Verbose] > │             #if !WASM                                                        │

00:00:50 #1876 [Verbose] > │             ()                                                               │

00:00:50 #1877 [Verbose] > │             #else                                                            │

00:00:50 #1878 [Verbose] > │             ()                                                               │

00:00:50 #1879 [Verbose] > │             #endif                                                           │

00:00:50 #1880 [Verbose] > │             #else                                                            │

00:00:50 #1881 [Verbose] > │             System.GC.Collect ()                                             │

00:00:50 #1882 [Verbose] > │             ()                                                               │

00:00:50 #1883 [Verbose] > │             #endif                                                           │

00:00:50 #1884 [Verbose] > │             |> fun x -> result <- Some x                                     │

00:00:50 #1885 [Verbose] > │             result |> Option.get                                             │

00:00:50 #1886 [Verbose] > │             let v50 : (unit -> System.Diagnostics.Stopwatch) =               │

00:00:50 #1887 [Verbose] > │ System.Diagnostics.Stopwatch                                                 │

00:00:50 #1888 [Verbose] > │             let v51 : System.Diagnostics.Stopwatch = v50 ()                  │

00:00:50 #1889 [Verbose] > │             v51.Start ()                                                     │

00:00:50 #1890 [Verbose] > │             let v52 : int64 = v51.ElapsedMilliseconds                        │

00:00:50 #1891 [Verbose] > │             let v53 : (int32 []) = Array.zeroCreate<int32> (2000001)         │

00:00:50 #1892 [Verbose] > │             let v54 : Mut1 = {l0 = 0} : Mut1                                 │

00:00:50 #1893 [Verbose] > │             while method15(v54) do                                           │

00:00:50 #1894 [Verbose] > │                 let v56 : int32 = v54.l0                                     │

00:00:50 #1895 [Verbose] > │                 v53.[int v56] <- v56                                         │

00:00:50 #1896 [Verbose] > │                 let v57 : int32 = v56 + 1                                    │

00:00:50 #1897 [Verbose] > │                 v54.l0 <- v57                                                │

00:00:50 #1898 [Verbose] > │                 ()                                                           │

00:00:50 #1899 [Verbose] > │             let v58 : (int32 -> string) = closure3(v28, v49)                 │

00:00:50 #1900 [Verbose] > │             let v59 : (string []) = v53 |> Array.Parallel.map v58            │

00:00:50 #1901 [Verbose] > │             let v60 : int32 = v59.Length                                     │

00:00:50 #1902 [Verbose] > │             let v61 : int32 = v60 - 1                                        │

00:00:50 #1903 [Verbose] > │             let v62 : string = v59.[int v61]                                 │

00:00:50 #1904 [Verbose] > │             let v63 : int64 = v51.ElapsedMilliseconds                        │

00:00:50 #1905 [Verbose] > │             let v64 : int64 = v63 - v52                                      │

00:00:50 #1906 [Verbose] > │             let v65 : string = $"Test case {v47 + 1}. {v48}. Time: {v64}  "  │

00:00:50 #1907 [Verbose] > │             System.Console.WriteLine v65                                     │

00:00:50 #1908 [Verbose] > │             v43.[int v46] <- struct (v62, v64)                               │

00:00:50 #1909 [Verbose] > │             let v66 : uint64 = v46 + 1UL                                     │

00:00:50 #1910 [Verbose] > │             v44.l0 <- v66                                                    │

00:00:50 #1911 [Verbose] > │             ()                                                               │

00:00:50 #1912 [Verbose] > │         let v67 : uint64 = System.Convert.ToUInt64 v43.Length                │

00:00:50 #1913 [Verbose] > │         let v68 : (string []) = Array.zeroCreate<string>                     │

00:00:50 #1914 [Verbose] > │ (System.Convert.ToInt32(v67))                                                │

00:00:50 #1915 [Verbose] > │         let v69 : Mut0 = {l0 = 0UL} : Mut0                                   │

00:00:50 #1916 [Verbose] > │         while method4(v67, v69) do                                           │

00:00:50 #1917 [Verbose] > │             let v71 : uint64 = v69.l0                                        │

00:00:50 #1918 [Verbose] > │             let struct (v72 : string, v73 : int64) = v43.[int v71]           │

00:00:50 #1919 [Verbose] > │             v68.[int v71] <- v72                                             │

00:00:50 #1920 [Verbose] > │             let v74 : uint64 = v71 + 1UL                                     │

00:00:50 #1921 [Verbose] > │             v69.l0 <- v74                                                    │

00:00:50 #1922 [Verbose] > │             ()                                                               │

00:00:50 #1923 [Verbose] > │         let v75 : uint64 = System.Convert.ToUInt64 v68.Length                │

00:00:50 #1924 [Verbose] > │         let v76 : bool = v75 <= 1UL                                          │

00:00:50 #1925 [Verbose] > │         if v76 then                                                          │

00:00:50 #1926 [Verbose] > │             ()                                                               │

00:00:50 #1927 [Verbose] > │         else                                                                 │

00:00:50 #1928 [Verbose] > │             let v77 : string = v68.[int 0UL]                                 │

00:00:50 #1929 [Verbose] > │             let v78 : uint64 = 0UL                                           │

00:00:50 #1930 [Verbose] > │             let v79 : bool = method16(v77, v68, v78)                         │

00:00:50 #1931 [Verbose] > │             if v79 then                                                      │

00:00:50 #1932 [Verbose] > │                 ()                                                           │

00:00:50 #1933 [Verbose] > │             else                                                             │

00:00:50 #1934 [Verbose] > │                 let v80 : string = $"Challenge error: {v68}"                 │

00:00:50 #1935 [Verbose] > │                 failwith<unit> v80                                           │

00:00:50 #1936 [Verbose] > │         let v81 : string = $"%A{v29}"                                        │

00:00:50 #1937 [Verbose] > │         let v82 : (string []) = Array.zeroCreate<string>                     │

00:00:50 #1938 [Verbose] > │ (System.Convert.ToInt32(v67))                                                │

00:00:50 #1939 [Verbose] > │         let v83 : Mut0 = {l0 = 0UL} : Mut0                                   │

00:00:50 #1940 [Verbose] > │         while method4(v67, v83) do                                           │

00:00:50 #1941 [Verbose] > │             let v85 : uint64 = v83.l0                                        │

00:00:50 #1942 [Verbose] > │             let struct (v86 : string, v87 : int64) = v43.[int v85]           │

00:00:50 #1943 [Verbose] > │             v82.[int v85] <- v86                                             │

00:00:50 #1944 [Verbose] > │             let v88 : uint64 = v85 + 1UL                                     │

00:00:50 #1945 [Verbose] > │             v83.l0 <- v88                                                    │

00:00:50 #1946 [Verbose] > │             ()                                                               │

00:00:50 #1947 [Verbose] > │         let v89 : string = v82.[int 0UL]                                     │

00:00:50 #1948 [Verbose] > │         let v90 : string = $"%A{v89}"                                        │

00:00:50 #1949 [Verbose] > │         let v91 : (int64 []) = Array.zeroCreate<int64>                       │

00:00:50 #1950 [Verbose] > │ (System.Convert.ToInt32(v67))                                                │

00:00:50 #1951 [Verbose] > │         let v92 : Mut0 = {l0 = 0UL} : Mut0                                   │

00:00:50 #1952 [Verbose] > │         while method4(v67, v92) do                                           │

00:00:50 #1953 [Verbose] > │             let v94 : uint64 = v92.l0                                        │

00:00:50 #1954 [Verbose] > │             let struct (v95 : string, v96 : int64) = v43.[int v94]           │

00:00:50 #1955 [Verbose] > │             v91.[int v94] <- v96                                             │

00:00:50 #1956 [Verbose] > │             let v97 : uint64 = v94 + 1UL                                     │

00:00:50 #1957 [Verbose] > │             v92.l0 <- v97                                                    │

00:00:50 #1958 [Verbose] > │             ()                                                               │

00:00:50 #1959 [Verbose] > │         v24.[int v27] <- struct (v81, v30, v90, v91)                         │

00:00:50 #1960 [Verbose] > │         let v98 : uint64 = v27 + 1UL                                         │

00:00:50 #1961 [Verbose] > │         v25.l0 <- v98                                                        │

00:00:50 #1962 [Verbose] > │         ()                                                                   │

00:00:50 #1963 [Verbose] > │     let v99 : uint64 = System.Convert.ToUInt64 v24.Length                    │

00:00:50 #1964 [Verbose] > │     let v100 : (struct (UH2 * US0) []) = Array.zeroCreate<struct (UH2 *      │

00:00:50 #1965 [Verbose] > │ US0)> (System.Convert.ToInt32(v99))                                          │

00:00:50 #1966 [Verbose] > │     let v101 : Mut0 = {l0 = 0UL} : Mut0                                      │

00:00:50 #1967 [Verbose] > │     while method4(v99, v101) do                                              │

00:00:50 #1968 [Verbose] > │         let v103 : uint64 = v101.l0                                          │

00:00:50 #1969 [Verbose] > │         let struct (v104 : string, v105 : string, v106 : string, v107 :      │

00:00:50 #1970 [Verbose] > │ (int64 [])) = v24.[int v103]                                                 │

00:00:50 #1971 [Verbose] > │         let v108 : uint64 = System.Convert.ToUInt64 v107.Length              │

00:00:50 #1972 [Verbose] > │         let v109 : UH4 = UH4_1                                               │

00:00:50 #1973 [Verbose] > │         let v110 : Mut2 = {l0 = 0UL; l1 = v109; l2 = 0L} : Mut2              │

00:00:50 #1974 [Verbose] > │         while method17(v108, v110) do                                        │

00:00:50 #1975 [Verbose] > │             let v112 : uint64 = v110.l0                                      │

00:00:50 #1976 [Verbose] > │             let struct (v113 : UH4, v114 : int64) = v110.l1, v110.l2         │

00:00:50 #1977 [Verbose] > │             let v115 : int64 = v107.[int v112]                               │

00:00:50 #1978 [Verbose] > │             let v116 : int64 = v114 + 1L                                     │

00:00:50 #1979 [Verbose] > │             let v117 : uint64 = v112 + 1UL                                   │

00:00:50 #1980 [Verbose] > │             let v118 : UH4 = UH4_0(v114, v115, v113)                         │

00:00:50 #1981 [Verbose] > │             v110.l0 <- v117                                                  │

00:00:50 #1982 [Verbose] > │             v110.l1 <- v118                                                  │

00:00:50 #1983 [Verbose] > │             v110.l2 <- v116                                                  │

00:00:50 #1984 [Verbose] > │             ()                                                               │

00:00:50 #1985 [Verbose] > │         let struct (v119 : UH4, v120 : int64) = v110.l1, v110.l2             │

00:00:50 #1986 [Verbose] > │         let v121 : UH4 = UH4_1                                               │

00:00:50 #1987 [Verbose] > │         let v122 : UH4 = method18(v119, v121)                                │

00:00:50 #1988 [Verbose] > │         let v123 : (struct (int64 * int64) []) = method19(v122)              │

00:00:50 #1989 [Verbose] > │         let v124 : int32 = v123.Length                                       │

00:00:50 #1990 [Verbose] > │         let v125 : (struct (int64 * int64) []) = Array.zeroCreate<struct     │

00:00:50 #1991 [Verbose] > │ (int64 * int64)> (v124)                                                      │

00:00:50 #1992 [Verbose] > │         let v126 : Mut1 = {l0 = 0} : Mut1                                    │

00:00:50 #1993 [Verbose] > │         while method5(v124, v126) do                                         │

00:00:50 #1994 [Verbose] > │             let v128 : int32 = v126.l0                                       │

00:00:50 #1995 [Verbose] > │             let struct (v129 : int64, v130 : int64) = v123.[int v128]        │

00:00:50 #1996 [Verbose] > │             let v131 : int64 = v129 + 1L                                     │

00:00:50 #1997 [Verbose] > │             v125.[int v128] <- struct (v131, v130)                           │

00:00:50 #1998 [Verbose] > │             let v132 : int32 = v128 + 1                                      │

00:00:50 #1999 [Verbose] > │             v126.l0 <- v132                                                  │

00:00:50 #2000 [Verbose] > │             ()                                                               │

00:00:50 #2001 [Verbose] > │         let v133 : (struct (int64 * int64) -> int64) = closure4()            │

00:00:50 #2002 [Verbose] > │         let v134 : (struct (int64 * int64) []) = v125 |> Array.sortBy v133   │

00:00:50 #2003 [Verbose] > │         let struct (v135 : int64, v136 : int64) = v134.[int 0]               │

00:00:50 #2004 [Verbose] > │         let v137 : string = $"%A{struct (v135, v136)}"                       │

00:00:50 #2005 [Verbose] > │         let v138 : bool = v104 = v106                                        │

00:00:50 #2006 [Verbose] > │         let v143 : US0 =                                                     │

00:00:50 #2007 [Verbose] > │             if v138 then                                                     │

00:00:50 #2008 [Verbose] > │                 let v139 : System.ConsoleColor =                             │

00:00:50 #2009 [Verbose] > │ System.ConsoleColor.DarkGreen                                                │

00:00:50 #2010 [Verbose] > │                 US0_1(v139)                                                  │

00:00:50 #2011 [Verbose] > │             else                                                             │

00:00:50 #2012 [Verbose] > │                 let v141 : System.ConsoleColor = System.ConsoleColor.DarkRed │

00:00:50 #2013 [Verbose] > │                 US0_1(v141)                                                  │

00:00:50 #2014 [Verbose] > │         let v144 : UH2 = UH2_1                                               │

00:00:50 #2015 [Verbose] > │         let v145 : UH2 = UH2_0(v137, v144)                                   │

00:00:50 #2016 [Verbose] > │         let v146 : UH2 = UH2_0(v106, v145)                                   │

00:00:50 #2017 [Verbose] > │         let v147 : UH2 = UH2_0(v104, v146)                                   │

00:00:50 #2018 [Verbose] > │         let v148 : UH2 = UH2_0(v105, v147)                                   │

00:00:50 #2019 [Verbose] > │         v100.[int v103] <- struct (v148, v143)                               │

00:00:50 #2020 [Verbose] > │         let v149 : uint64 = v103 + 1UL                                       │

00:00:50 #2021 [Verbose] > │         v101.l0 <- v149                                                      │

00:00:50 #2022 [Verbose] > │         ()                                                                   │

00:00:50 #2023 [Verbose] > │     let v150 : string = "Input"                                              │

00:00:50 #2024 [Verbose] > │     let v151 : string = "Expected"                                           │

00:00:50 #2025 [Verbose] > │     let v152 : string = "Result"                                             │

00:00:50 #2026 [Verbose] > │     let v153 : string = "Best"                                               │

00:00:50 #2027 [Verbose] > │     let v154 : UH2 = UH2_1                                                   │

00:00:50 #2028 [Verbose] > │     let v155 : UH2 = UH2_0(v153, v154)                                       │

00:00:50 #2029 [Verbose] > │     let v156 : UH2 = UH2_0(v152, v155)                                       │

00:00:50 #2030 [Verbose] > │     let v157 : UH2 = UH2_0(v151, v156)                                       │

00:00:50 #2031 [Verbose] > │     let v158 : UH2 = UH2_0(v150, v157)                                       │

00:00:50 #2032 [Verbose] > │     let v159 : US0 = US0_0                                                   │

00:00:50 #2033 [Verbose] > │     let v160 : string = "---"                                                │

00:00:50 #2034 [Verbose] > │     let v161 : UH2 = UH2_1                                                   │

00:00:50 #2035 [Verbose] > │     let v162 : UH2 = UH2_0(v160, v161)                                       │

00:00:50 #2036 [Verbose] > │     let v163 : UH2 = UH2_0(v160, v162)                                       │

00:00:50 #2037 [Verbose] > │     let v164 : UH2 = UH2_0(v160, v163)                                       │

00:00:50 #2038 [Verbose] > │     let v165 : UH2 = UH2_0(v160, v164)                                       │

00:00:50 #2039 [Verbose] > │     let v166 : US0 = US0_0                                                   │

00:00:50 #2040 [Verbose] > │     let v167 : UH5 = UH5_1                                                   │

00:00:50 #2041 [Verbose] > │     let v168 : UH5 = UH5_0(v165, v166, v167)                                 │

00:00:50 #2042 [Verbose] > │     let v169 : UH5 = UH5_0(v158, v159, v168)                                 │

00:00:50 #2043 [Verbose] > │     let v170 : (struct (UH2 * US0) []) = method22(v169)                      │

00:00:50 #2044 [Verbose] > │     let v171 : uint64 = System.Convert.ToUInt64 v170.Length                  │

00:00:50 #2045 [Verbose] > │     let v172 : uint64 = System.Convert.ToUInt64 v100.Length                  │

00:00:50 #2046 [Verbose] > │     let v173 : uint64 = v171 + v172                                          │

00:00:50 #2047 [Verbose] > │     let v174 : (struct (UH2 * US0) []) = Array.zeroCreate<struct (UH2 *      │

00:00:50 #2048 [Verbose] > │ US0)> (System.Convert.ToInt32(v173))                                         │

00:00:50 #2049 [Verbose] > │     let v175 : Mut0 = {l0 = 0UL} : Mut0                                      │

00:00:50 #2050 [Verbose] > │     while method4(v173, v175) do                                             │

00:00:50 #2051 [Verbose] > │         let v177 : uint64 = v175.l0                                          │

00:00:50 #2052 [Verbose] > │         let v178 : bool = v177 < v171                                        │

00:00:50 #2053 [Verbose] > │         let struct (v184 : UH2, v185 : US0) =                                │

00:00:50 #2054 [Verbose] > │             if v178 then                                                     │

00:00:50 #2055 [Verbose] > │                 let struct (v179 : UH2, v180 : US0) = v170.[int v177]        │

00:00:50 #2056 [Verbose] > │                 struct (v179, v180)                                          │

00:00:50 #2057 [Verbose] > │             else                                                             │

00:00:50 #2058 [Verbose] > │                 let v181 : uint64 = v177 - v171                              │

00:00:50 #2059 [Verbose] > │                 let struct (v182 : UH2, v183 : US0) = v100.[int v181]        │

00:00:50 #2060 [Verbose] > │                 struct (v182, v183)                                          │

00:00:50 #2061 [Verbose] > │         v174.[int v177] <- struct (v184, v185)                               │

00:00:50 #2062 [Verbose] > │         let v186 : uint64 = v177 + 1UL                                       │

00:00:50 #2063 [Verbose] > │         v175.l0 <- v186                                                      │

00:00:50 #2064 [Verbose] > │         ()                                                                   │

00:00:50 #2065 [Verbose] > │     let v187 : uint64 = System.Convert.ToUInt64 v174.Length                  │

00:00:50 #2066 [Verbose] > │     let v188 : ((string []) []) = Array.zeroCreate<(string [])>              │

00:00:50 #2067 [Verbose] > │ (System.Convert.ToInt32(v187))                                               │

00:00:50 #2068 [Verbose] > │     let v189 : Mut0 = {l0 = 0UL} : Mut0                                      │

00:00:50 #2069 [Verbose] > │     while method4(v187, v189) do                                             │

00:00:50 #2070 [Verbose] > │         let v191 : uint64 = v189.l0                                          │

00:00:50 #2071 [Verbose] > │         let struct (v192 : UH2, v193 : US0) = v174.[int v191]                │

00:00:50 #2072 [Verbose] > │         let v194 : (string []) = method25(v192)                              │

00:00:50 #2073 [Verbose] > │         v188.[int v191] <- v194                                              │

00:00:50 #2074 [Verbose] > │         let v195 : uint64 = v191 + 1UL                                       │

00:00:50 #2075 [Verbose] > │         v189.l0 <- v195                                                      │

00:00:50 #2076 [Verbose] > │         ()                                                                   │

00:00:50 #2077 [Verbose] > │     let v196 : ((string []) []) = v188 |> Array.transpose                    │

00:00:50 #2078 [Verbose] > │     let v197 : uint64 = System.Convert.ToUInt64 v196.Length                  │

00:00:50 #2079 [Verbose] > │     let v198 : (int64 []) = Array.zeroCreate<int64>                          │

00:00:50 #2080 [Verbose] > │ (System.Convert.ToInt32(v197))                                               │

00:00:50 #2081 [Verbose] > │     let v199 : Mut0 = {l0 = 0UL} : Mut0                                      │

00:00:50 #2082 [Verbose] > │     while method4(v197, v199) do                                             │

00:00:50 #2083 [Verbose] > │         let v201 : uint64 = v199.l0                                          │

00:00:50 #2084 [Verbose] > │         let v202 : (string []) = v196.[int v201]                             │

00:00:50 #2085 [Verbose] > │         let v203 : uint64 = System.Convert.ToUInt64 v202.Length              │

00:00:50 #2086 [Verbose] > │         let v204 : (int64 []) = Array.zeroCreate<int64>                      │

00:00:50 #2087 [Verbose] > │ (System.Convert.ToInt32(v203))                                               │

00:00:50 #2088 [Verbose] > │         let v205 : Mut0 = {l0 = 0UL} : Mut0                                  │

00:00:50 #2089 [Verbose] > │         while method4(v203, v205) do                                         │

00:00:50 #2090 [Verbose] > │             let v207 : uint64 = v205.l0                                      │

00:00:50 #2091 [Verbose] > │             let v208 : string = v202.[int v207]                              │

00:00:50 #2092 [Verbose] > │             let v209 : int64 = System.Convert.ToInt64 v208.Length            │

00:00:50 #2093 [Verbose] > │             v204.[int v207] <- v209                                          │

00:00:50 #2094 [Verbose] > │             let v210 : uint64 = v207 + 1UL                                   │

00:00:50 #2095 [Verbose] > │             v205.l0 <- v210                                                  │

00:00:50 #2096 [Verbose] > │             ()                                                               │

00:00:50 #2097 [Verbose] > │         let v211 : (int64 []) = v204 |> Array.sortDescending                 │

00:00:50 #2098 [Verbose] > │         let v212 : int64 option = v211 |> Array.tryItem 0                    │

00:00:50 #2099 [Verbose] > │         let v213 : (int64 -> US1) = closure5()                               │

00:00:50 #2100 [Verbose] > │         let v214 : US1 = US1_0                                               │

00:00:50 #2101 [Verbose] > │         let v215 : US1 = v212 |> Option.map v213 |> Option.defaultValue v214 │

00:00:50 #2102 [Verbose] > │         let v218 : int64 =                                                   │

00:00:50 #2103 [Verbose] > │             match v215 with                                                  │

00:00:50 #2104 [Verbose] > │             | US1_0 -> (* None *)                                            │

00:00:50 #2105 [Verbose] > │                 0L                                                           │

00:00:50 #2106 [Verbose] > │             | US1_1(v216) -> (* Some *)                                      │

00:00:50 #2107 [Verbose] > │                 v216                                                         │

00:00:50 #2108 [Verbose] > │         v198.[int v201] <- v218                                              │

00:00:50 #2109 [Verbose] > │         let v219 : uint64 = v201 + 1UL                                       │

00:00:50 #2110 [Verbose] > │         v199.l0 <- v219                                                      │

00:00:50 #2111 [Verbose] > │         ()                                                                   │

00:00:50 #2112 [Verbose] > │     let v220 : uint64 = System.Convert.ToUInt64 v198.Length                  │

00:00:50 #2113 [Verbose] > │     let v221 : UH6 = UH6_1                                                   │

00:00:50 #2114 [Verbose] > │     let v222 : Mut3 = {l0 = 0UL; l1 = v221; l2 = 0} : Mut3                   │

00:00:50 #2115 [Verbose] > │     while method28(v220, v222) do                                            │

00:00:50 #2116 [Verbose] > │         let v224 : uint64 = v222.l0                                          │

00:00:50 #2117 [Verbose] > │         let struct (v225 : UH6, v226 : int32) = v222.l1, v222.l2             │

00:00:50 #2118 [Verbose] > │         let v227 : int64 = v198.[int v224]                                   │

00:00:50 #2119 [Verbose] > │         let v228 : int32 = v226 + 1                                          │

00:00:50 #2120 [Verbose] > │         let v229 : uint64 = v224 + 1UL                                       │

00:00:50 #2121 [Verbose] > │         let v230 : UH6 = UH6_0(v226, v227, v225)                             │

00:00:50 #2122 [Verbose] > │         v222.l0 <- v229                                                      │

00:00:50 #2123 [Verbose] > │         v222.l1 <- v230                                                      │

00:00:50 #2124 [Verbose] > │         v222.l2 <- v228                                                      │

00:00:50 #2125 [Verbose] > │         ()                                                                   │

00:00:50 #2126 [Verbose] > │     let struct (v231 : UH6, v232 : int32) = v222.l1, v222.l2                 │

00:00:50 #2127 [Verbose] > │     let v233 : UH6 = UH6_1                                                   │

00:00:50 #2128 [Verbose] > │     let v234 : UH6 = method29(v231, v233)                                    │

00:00:50 #2129 [Verbose] > │     let v235 : (struct (int32 * int64) []) = method30(v234)                  │

00:00:50 #2130 [Verbose] > │     let v236 : Map<int32, int64> = v235 |> Array.map (fun (struct (a, b)) -> │

00:00:50 #2131 [Verbose] > │ a, b) |> Map.ofArray                                                         │

00:00:50 #2132 [Verbose] > │     let v237 : (struct ((string []) * US0) []) = Array.zeroCreate<struct     │

00:00:50 #2133 [Verbose] > │ ((string []) * US0)> (System.Convert.ToInt32(v187))                          │

00:00:50 #2134 [Verbose] > │     let v238 : Mut0 = {l0 = 0UL} : Mut0                                      │

00:00:50 #2135 [Verbose] > │     while method4(v187, v238) do                                             │

00:00:50 #2136 [Verbose] > │         let v240 : uint64 = v238.l0                                          │

00:00:50 #2137 [Verbose] > │         let struct (v241 : UH2, v242 : US0) = v174.[int v240]                │

00:00:50 #2138 [Verbose] > │         let v243 : UH7 = UH7_1                                               │

00:00:50 #2139 [Verbose] > │         let v244 : int32 = 0                                                 │

00:00:50 #2140 [Verbose] > │         let struct (v245 : UH7, v246 : int32) = method33(v241, v243, v244)   │

00:00:50 #2141 [Verbose] > │         let v247 : UH7 = UH7_1                                               │

00:00:50 #2142 [Verbose] > │         let v248 : UH7 = method34(v245, v247)                                │

00:00:50 #2143 [Verbose] > │         let v249 : UH2 = UH2_1                                               │

00:00:50 #2144 [Verbose] > │         let v250 : UH2 = method35(v236, v248, v249)                          │

00:00:50 #2145 [Verbose] > │         let v251 : (string []) = method9(v250)                               │

00:00:50 #2146 [Verbose] > │         v237.[int v240] <- struct (v251, v242)                               │

00:00:50 #2147 [Verbose] > │         let v252 : uint64 = v240 + 1UL                                       │

00:00:50 #2148 [Verbose] > │         v238.l0 <- v252                                                      │

00:00:50 #2149 [Verbose] > │         ()                                                                   │

00:00:50 #2150 [Verbose] > │     System.Console.WriteLine v2                                              │

00:00:50 #2151 [Verbose] > │     let v253 : uint64 = System.Convert.ToUInt64 v237.Length                  │

00:00:50 #2152 [Verbose] > │     let v254 : Mut0 = {l0 = 0UL} : Mut0                                      │

00:00:50 #2153 [Verbose] > │     while method4(v253, v254) do                                             │

00:00:50 #2154 [Verbose] > │         let v256 : uint64 = v254.l0                                          │

00:00:50 #2155 [Verbose] > │         let struct (v257 : (string []), v258 : US0) = v237.[int v256]        │

00:00:50 #2156 [Verbose] > │         match v258 with                                                      │

00:00:50 #2157 [Verbose] > │         | US0_0 -> (* None *)                                                │

00:00:50 #2158 [Verbose] > │             let mutable result = None                                        │

00:00:50 #2159 [Verbose] > │             #if FABLE_COMPILER_RUST                                          │

00:00:50 #2160 [Verbose] > │             #if !WASM                                                        │

00:00:50 #2161 [Verbose] > │             ()                                                               │

00:00:50 #2162 [Verbose] > │             #else                                                            │

00:00:50 #2163 [Verbose] > │             ()                                                               │

00:00:50 #2164 [Verbose] > │             #endif                                                           │

00:00:50 #2165 [Verbose] > │             #else                                                            │

00:00:50 #2166 [Verbose] > │             System.Console.ResetColor ()                                     │

00:00:50 #2167 [Verbose] > │             ()                                                               │

00:00:50 #2168 [Verbose] > │             #endif                                                           │

00:00:50 #2169 [Verbose] > │             |> fun x -> result <- Some x                                     │

00:00:50 #2170 [Verbose] > │             result |> Option.get                                             │

00:00:50 #2171 [Verbose] > │             ()                                                               │

00:00:50 #2172 [Verbose] > │         | US0_1(v259) -> (* Some *)                                          │

00:00:50 #2173 [Verbose] > │             let mutable result = None                                        │

00:00:50 #2174 [Verbose] > │             #if FABLE_COMPILER_RUST                                          │

00:00:50 #2175 [Verbose] > │             #if !WASM                                                        │

00:00:50 #2176 [Verbose] > │             ()                                                               │

00:00:50 #2177 [Verbose] > │             #else                                                            │

00:00:50 #2178 [Verbose] > │             ()                                                               │

00:00:50 #2179 [Verbose] > │             #endif                                                           │

00:00:50 #2180 [Verbose] > │             #else                                                            │

00:00:50 #2181 [Verbose] > │             System.Console.ForegroundColor <- v259                           │

00:00:50 #2182 [Verbose] > │             ()                                                               │

00:00:50 #2183 [Verbose] > │             #endif                                                           │

00:00:50 #2184 [Verbose] > │             |> fun x -> result <- Some x                                     │

00:00:50 #2185 [Verbose] > │             result |> Option.get                                             │

00:00:50 #2186 [Verbose] > │             ()                                                               │

00:00:50 #2187 [Verbose] > │         let v260 : string = "\t| "                                           │

00:00:50 #2188 [Verbose] > │         let v261 : string = System.String.Join (v260, v257)                  │

00:00:50 #2189 [Verbose] > │         System.Console.WriteLine v261                                        │

00:00:50 #2190 [Verbose] > │         let mutable result = None                                            │

00:00:50 #2191 [Verbose] > │         #if FABLE_COMPILER_RUST                                              │

00:00:50 #2192 [Verbose] > │         #if !WASM                                                            │

00:00:50 #2193 [Verbose] > │         ()                                                                   │

00:00:50 #2194 [Verbose] > │         #else                                                                │

00:00:50 #2195 [Verbose] > │         ()                                                                   │

00:00:50 #2196 [Verbose] > │         #endif                                                               │

00:00:50 #2197 [Verbose] > │         #else                                                                │

00:00:50 #2198 [Verbose] > │         System.Console.ResetColor ()                                         │

00:00:50 #2199 [Verbose] > │         ()                                                                   │

00:00:50 #2200 [Verbose] > │         #endif                                                               │

00:00:50 #2201 [Verbose] > │         |> fun x -> result <- Some x                                         │

00:00:50 #2202 [Verbose] > │         result |> Option.get                                                 │

00:00:50 #2203 [Verbose] > │         let v262 : uint64 = v256 + 1UL                                       │

00:00:50 #2204 [Verbose] > │         v254.l0 <- v262                                                      │

00:00:50 #2205 [Verbose] > │         ()                                                                   │

00:00:50 #2206 [Verbose] > │     let v263 : ((float []) []) = Array.zeroCreate<(float [])>                │

00:00:50 #2207 [Verbose] > │ (System.Convert.ToInt32(v99))                                                │

00:00:50 #2208 [Verbose] > │     let v264 : Mut0 = {l0 = 0UL} : Mut0                                      │

00:00:50 #2209 [Verbose] > │     while method4(v99, v264) do                                              │

00:00:50 #2210 [Verbose] > │         let v266 : uint64 = v264.l0                                          │

00:00:50 #2211 [Verbose] > │         let struct (v267 : string, v268 : string, v269 : string, v270 :      │

00:00:50 #2212 [Verbose] > │ (int64 [])) = v24.[int v266]                                                 │

00:00:50 #2213 [Verbose] > │         let v271 : (int64 -> float) = float                                  │

00:00:50 #2214 [Verbose] > │         let v272 : uint64 = System.Convert.ToUInt64 v270.Length              │

00:00:50 #2215 [Verbose] > │         let v273 : (float []) = Array.zeroCreate<float>                      │

00:00:50 #2216 [Verbose] > │ (System.Convert.ToInt32(v272))                                               │

00:00:50 #2217 [Verbose] > │         let v274 : Mut0 = {l0 = 0UL} : Mut0                                  │

00:00:50 #2218 [Verbose] > │         while method4(v272, v274) do                                         │

00:00:50 #2219 [Verbose] > │             let v276 : uint64 = v274.l0                                      │

00:00:50 #2220 [Verbose] > │             let v277 : int64 = v270.[int v276]                               │

00:00:50 #2221 [Verbose] > │             let v278 : float = v271 v277                                     │

00:00:50 #2222 [Verbose] > │             v273.[int v276] <- v278                                          │

00:00:50 #2223 [Verbose] > │             let v279 : uint64 = v276 + 1UL                                   │

00:00:50 #2224 [Verbose] > │             v274.l0 <- v279                                                  │

00:00:50 #2225 [Verbose] > │             ()                                                               │

00:00:50 #2226 [Verbose] > │         v263.[int v266] <- v273                                              │

00:00:50 #2227 [Verbose] > │         let v280 : uint64 = v266 + 1UL                                       │

00:00:50 #2228 [Verbose] > │         v264.l0 <- v280                                                      │

00:00:50 #2229 [Verbose] > │         ()                                                                   │

00:00:50 #2230 [Verbose] > │     let v281 : ((float []) []) = v263 |> Array.transpose                     │

00:00:50 #2231 [Verbose] > │     let v282 : uint64 = System.Convert.ToUInt64 v281.Length                  │

00:00:50 #2232 [Verbose] > │     let v283 : (float []) = Array.zeroCreate<float>                          │

00:00:50 #2233 [Verbose] > │ (System.Convert.ToInt32(v282))                                               │

00:00:50 #2234 [Verbose] > │     let v284 : Mut0 = {l0 = 0UL} : Mut0                                      │

00:00:50 #2235 [Verbose] > │     while method4(v282, v284) do                                             │

00:00:50 #2236 [Verbose] > │         let v286 : uint64 = v284.l0                                          │

00:00:50 #2237 [Verbose] > │         let v287 : (float []) = v281.[int v286]                              │

00:00:50 #2238 [Verbose] > │         let v288 : float = v287 |> Array.average                             │

00:00:50 #2239 [Verbose] > │         v283.[int v286] <- v288                                              │

00:00:50 #2240 [Verbose] > │         let v289 : uint64 = v286 + 1UL                                       │

00:00:50 #2241 [Verbose] > │         v284.l0 <- v289                                                      │

00:00:50 #2242 [Verbose] > │         ()                                                                   │

00:00:50 #2243 [Verbose] > │     let v290 : (float -> int64) = int64                                      │

00:00:50 #2244 [Verbose] > │     let v291 : uint64 = System.Convert.ToUInt64 v283.Length                  │

00:00:50 #2245 [Verbose] > │     let v292 : (int64 []) = Array.zeroCreate<int64>                          │

00:00:50 #2246 [Verbose] > │ (System.Convert.ToInt32(v291))                                               │

00:00:50 #2247 [Verbose] > │     let v293 : Mut0 = {l0 = 0UL} : Mut0                                      │

00:00:50 #2248 [Verbose] > │     while method4(v291, v293) do                                             │

00:00:50 #2249 [Verbose] > │         let v295 : uint64 = v293.l0                                          │

00:00:50 #2250 [Verbose] > │         let v296 : float = v283.[int v295]                                   │

00:00:50 #2251 [Verbose] > │         let v297 : int64 = v290 v296                                         │

00:00:50 #2252 [Verbose] > │         v292.[int v295] <- v297                                              │

00:00:50 #2253 [Verbose] > │         let v298 : uint64 = v295 + 1UL                                       │

00:00:50 #2254 [Verbose] > │         v293.l0 <- v298                                                      │

00:00:50 #2255 [Verbose] > │         ()                                                                   │

00:00:50 #2256 [Verbose] > │     let v299 : uint64 = System.Convert.ToUInt64 v292.Length                  │

00:00:50 #2257 [Verbose] > │     let v300 : UH6 = UH6_1                                                   │

00:00:50 #2258 [Verbose] > │     let v301 : Mut3 = {l0 = 0UL; l1 = v300; l2 = 0} : Mut3                   │

00:00:50 #2259 [Verbose] > │     while method28(v299, v301) do                                            │

00:00:50 #2260 [Verbose] > │         let v303 : uint64 = v301.l0                                          │

00:00:50 #2261 [Verbose] > │         let struct (v304 : UH6, v305 : int32) = v301.l1, v301.l2             │

00:00:50 #2262 [Verbose] > │         let v306 : int64 = v292.[int v303]                                   │

00:00:50 #2263 [Verbose] > │         let v307 : int32 = v305 + 1                                          │

00:00:50 #2264 [Verbose] > │         let v308 : uint64 = v303 + 1UL                                       │

00:00:50 #2265 [Verbose] > │         let v309 : UH6 = UH6_0(v305, v306, v304)                             │

00:00:50 #2266 [Verbose] > │         v301.l0 <- v308                                                      │

00:00:50 #2267 [Verbose] > │         v301.l1 <- v309                                                      │

00:00:50 #2268 [Verbose] > │         v301.l2 <- v307                                                      │

00:00:50 #2269 [Verbose] > │         ()                                                                   │

00:00:50 #2270 [Verbose] > │     let struct (v310 : UH6, v311 : int32) = v301.l1, v301.l2                 │

00:00:50 #2271 [Verbose] > │     let v312 : UH6 = UH6_1                                                   │

00:00:50 #2272 [Verbose] > │     let v313 : UH6 = method29(v310, v312)                                    │

00:00:50 #2273 [Verbose] > │     let v314 : (struct (int32 * int64) []) = method36(v313)                  │

00:00:50 #2274 [Verbose] > │     System.Console.WriteLine v2                                              │

00:00:50 #2275 [Verbose] > │     let v315 : string = "Average Ranking  "                                  │

00:00:50 #2276 [Verbose] > │     System.Console.WriteLine v315                                            │

00:00:50 #2277 [Verbose] > │     let v316 : (struct (int32 * int64) -> int64) = closure6()                │

00:00:50 #2278 [Verbose] > │     let v317 : (struct (int32 * int64) []) = v314 |> Array.sortBy v316       │

00:00:50 #2279 [Verbose] > │     let v318 : uint64 = System.Convert.ToUInt64 v317.Length                  │

00:00:50 #2280 [Verbose] > │     let v319 : Mut0 = {l0 = 0UL} : Mut0                                      │

00:00:50 #2281 [Verbose] > │     while method4(v318, v319) do                                             │

00:00:50 #2282 [Verbose] > │         let v321 : uint64 = v319.l0                                          │

00:00:50 #2283 [Verbose] > │         let struct (v322 : int32, v323 : int64) = v317.[int v321]            │

00:00:50 #2284 [Verbose] > │         let v324 : string = $"Test case %d{v322 + 1}. Average Time: %A{v323} │

00:00:50 #2285 [Verbose] > │ "                                                                            │

00:00:50 #2286 [Verbose] > │         System.Console.WriteLine v324                                        │

00:00:50 #2287 [Verbose] > │         let v325 : uint64 = v321 + 1UL                                       │

00:00:50 #2288 [Verbose] > │         v319.l0 <- v325                                                      │

00:00:50 #2289 [Verbose] > │         ()                                                                   │

00:00:50 #2290 [Verbose] > │     ()                                                                       │

00:00:50 #2291 [Verbose] > │ and method0 () : unit =                                                      │

00:00:50 #2292 [Verbose] > │     let v0 : (unit -> unit) = closure0()                                     │

00:00:50 #2293 [Verbose] > │     let v1 : string = nameof v0                                              │

00:00:50 #2294 [Verbose] > │     let v2 : string = ""                                                     │

00:00:50 #2295 [Verbose] > │     System.Console.WriteLine v2                                              │

00:00:50 #2296 [Verbose] > │     System.Console.WriteLine v2                                              │

00:00:50 #2297 [Verbose] > │     let v3 : string = $"Test: {v1}"                                          │

00:00:50 #2298 [Verbose] > │     System.Console.WriteLine v3                                              │

00:00:50 #2299 [Verbose] > │     let v4 : string = "abc"                                                  │

00:00:50 #2300 [Verbose] > │     let v5 : string = "bca cab abc"                                          │

00:00:50 #2301 [Verbose] > │     let v6 : string = "abcde"                                                │

00:00:50 #2302 [Verbose] > │     let v7 : string = "bcdea cdeab deabc eabcd abcde"                        │

00:00:50 #2303 [Verbose] > │     let v8 : string = "abcdefghi"                                            │

00:00:50 #2304 [Verbose] > │     let v9 : string = "bcdefghia cdefghiab defghiabc efghiabcd fghiabcde     │

00:00:50 #2305 [Verbose] > │ ghiabcdef hiabcdefg iabcdefgh abcdefghi"                                     │

00:00:50 #2306 [Verbose] > │     let v10 : string = "abab"                                                │

00:00:50 #2307 [Verbose] > │     let v11 : string = "baba abab baba abab"                                 │

00:00:50 #2308 [Verbose] > │     let v12 : string = "aa"                                                  │

00:00:50 #2309 [Verbose] > │     let v13 : string = "aa aa"                                               │

00:00:50 #2310 [Verbose] > │     let v14 : string = "z"                                                   │

00:00:50 #2311 [Verbose] > │     let v15 : UH0 = UH0_1                                                    │

00:00:50 #2312 [Verbose] > │     let v16 : UH0 = UH0_0(v14, v14, v15)                                     │

00:00:50 #2313 [Verbose] > │     let v17 : UH0 = UH0_0(v12, v13, v16)                                     │

00:00:50 #2314 [Verbose] > │     let v18 : UH0 = UH0_0(v10, v11, v17)                                     │

00:00:50 #2315 [Verbose] > │     let v19 : UH0 = UH0_0(v8, v9, v18)                                       │

00:00:50 #2316 [Verbose] > │     let v20 : UH0 = UH0_0(v6, v7, v19)                                       │

00:00:50 #2317 [Verbose] > │     let v21 : UH0 = UH0_0(v4, v5, v20)                                       │

00:00:50 #2318 [Verbose] > │     let v22 : (struct (string * string) []) = method1(v21)                   │

00:00:50 #2319 [Verbose] > │     let v23 : uint64 = System.Convert.ToUInt64 v22.Length                    │

00:00:50 #2320 [Verbose] > │     let v24 : (struct (string * string * string * (int64 [])) []) =          │

00:00:50 #2321 [Verbose] > │ Array.zeroCreate<struct (string * string * string * (int64 []))>             │

00:00:50 #2322 [Verbose] > │ (System.Convert.ToInt32(v23))                                                │

00:00:50 #2323 [Verbose] > │     let v25 : Mut0 = {l0 = 0UL} : Mut0                                       │

00:00:50 #2324 [Verbose] > │     while method4(v23, v25) do                                               │

00:00:50 #2325 [Verbose] > │         let v27 : uint64 = v25.l0                                            │

00:00:50 #2326 [Verbose] > │         let struct (v28 : string, v29 : string) = v22.[int v27]              │

00:00:50 #2327 [Verbose] > │         let v30 : string = $"%A{v28}"                                        │

00:00:50 #2328 [Verbose] > │         System.Console.WriteLine v2                                          │

00:00:50 #2329 [Verbose] > │         let v31 : string = $"Solution: {v30}  "                              │

00:00:50 #2330 [Verbose] > │         System.Console.WriteLine v31                                         │

00:00:50 #2331 [Verbose] > │         let v32 : int32 = 0                                                  │

00:00:50 #2332 [Verbose] > │         let v33 : string = "F"                                               │

00:00:50 #2333 [Verbose] > │         let v34 : (string -> string) = closure1()                            │

00:00:50 #2334 [Verbose] > │         let v35 : int32 = 1                                                  │

00:00:50 #2335 [Verbose] > │         let v36 : string = "FA"                                              │

00:00:50 #2336 [Verbose] > │         let v37 : (string -> string) = closure2()                            │

00:00:50 #2337 [Verbose] > │         let v38 : UH3 = UH3_1                                                │

00:00:50 #2338 [Verbose] > │         let v39 : UH3 = UH3_0(v35, v36, v37, v38)                            │

00:00:50 #2339 [Verbose] > │         let v40 : UH3 = UH3_0(v32, v33, v34, v39)                            │

00:00:50 #2340 [Verbose] > │         let v41 : (struct (int32 * string * (string -> string)) []) =        │

00:00:50 #2341 [Verbose] > │ method12(v40)                                                                │

00:00:50 #2342 [Verbose] > │         let v42 : uint64 = System.Convert.ToUInt64 v41.Length                │

00:00:50 #2343 [Verbose] > │         let v43 : (struct (string * int64) []) = Array.zeroCreate<struct     │

00:00:50 #2344 [Verbose] > │ (string * int64)> (System.Convert.ToInt32(v42))                              │

00:00:50 #2345 [Verbose] > │         let v44 : Mut0 = {l0 = 0UL} : Mut0                                   │

00:00:50 #2346 [Verbose] > │         while method4(v42, v44) do                                           │

00:00:50 #2347 [Verbose] > │             let v46 : uint64 = v44.l0                                        │

00:00:50 #2348 [Verbose] > │             let struct (v47 : int32, v48 : string, v49 : (string -> string)) │

00:00:50 #2349 [Verbose] > │ = v41.[int v46]                                                              │

00:00:50 #2350 [Verbose] > │             let mutable result = None                                        │

00:00:50 #2351 [Verbose] > │             #if FABLE_COMPILER_RUST                                          │

00:00:50 #2352 [Verbose] > │             #if !WASM                                                        │

00:00:50 #2353 [Verbose] > │             ()                                                               │

00:00:50 #2354 [Verbose] > │             #else                                                            │

00:00:50 #2355 [Verbose] > │             ()                                                               │

00:00:50 #2356 [Verbose] > │             #endif                                                           │

00:00:50 #2357 [Verbose] > │             #else                                                            │

00:00:50 #2358 [Verbose] > │             System.GC.Collect ()                                             │

00:00:50 #2359 [Verbose] > │             ()                                                               │

00:00:50 #2360 [Verbose] > │             #endif                                                           │

00:00:50 #2361 [Verbose] > │             |> fun x -> result <- Some x                                     │

00:00:50 #2362 [Verbose] > │             result |> Option.get                                             │

00:00:50 #2363 [Verbose] > │             let v50 : (unit -> System.Diagnostics.Stopwatch) =               │

00:00:50 #2364 [Verbose] > │ System.Diagnostics.Stopwatch                                                 │

00:00:50 #2365 [Verbose] > │             let v51 : System.Diagnostics.Stopwatch = v50 ()                  │

00:00:50 #2366 [Verbose] > │             v51.Start ()                                                     │

00:00:50 #2367 [Verbose] > │             let v52 : int64 = v51.ElapsedMilliseconds                        │

00:00:50 #2368 [Verbose] > │             let v53 : (int32 []) = Array.zeroCreate<int32> (2000001)         │

00:00:50 #2369 [Verbose] > │             let v54 : Mut1 = {l0 = 0} : Mut1                                 │

00:00:50 #2370 [Verbose] > │             while method15(v54) do                                           │

00:00:50 #2371 [Verbose] > │                 let v56 : int32 = v54.l0                                     │

00:00:50 #2372 [Verbose] > │                 v53.[int v56] <- v56                                         │

00:00:50 #2373 [Verbose] > │                 let v57 : int32 = v56 + 1                                    │

00:00:50 #2374 [Verbose] > │                 v54.l0 <- v57                                                │

00:00:50 #2375 [Verbose] > │                 ()                                                           │

00:00:50 #2376 [Verbose] > │             let v58 : (int32 -> string) = closure3(v28, v49)                 │

00:00:50 #2377 [Verbose] > │             let v59 : (string []) = v53 |> Array.Parallel.map v58            │

00:00:50 #2378 [Verbose] > │             let v60 : int32 = v59.Length                                     │

00:00:50 #2379 [Verbose] > │             let v61 : int32 = v60 - 1                                        │

00:00:50 #2380 [Verbose] > │             let v62 : string = v59.[int v61]                                 │

00:00:50 #2381 [Verbose] > │             let v63 : int64 = v51.ElapsedMilliseconds                        │

00:00:50 #2382 [Verbose] > │             let v64 : int64 = v63 - v52                                      │

00:00:50 #2383 [Verbose] > │             let v65 : string = $"Test case {v47 + 1}. {v48}. Time: {v64}  "  │

00:00:50 #2384 [Verbose] > │             System.Console.WriteLine v65                                     │

00:00:50 #2385 [Verbose] > │             v43.[int v46] <- struct (v62, v64)                               │

00:00:50 #2386 [Verbose] > │             let v66 : uint64 = v46 + 1UL                                     │

00:00:50 #2387 [Verbose] > │             v44.l0 <- v66                                                    │

00:00:50 #2388 [Verbose] > │             ()                                                               │

00:00:50 #2389 [Verbose] > │         let v67 : uint64 = System.Convert.ToUInt64 v43.Length                │

00:00:50 #2390 [Verbose] > │         let v68 : (string []) = Array.zeroCreate<string>                     │

00:00:50 #2391 [Verbose] > │ (System.Convert.ToInt32(v67))                                                │

00:00:50 #2392 [Verbose] > │         let v69 : Mut0 = {l0 = 0UL} : Mut0                                   │

00:00:50 #2393 [Verbose] > │         while method4(v67, v69) do                                           │

00:00:50 #2394 [Verbose] > │             let v71 : uint64 = v69.l0                                        │

00:00:50 #2395 [Verbose] > │             let struct (v72 : string, v73 : int64) = v43.[int v71]           │

00:00:50 #2396 [Verbose] > │             v68.[int v71] <- v72                                             │

00:00:50 #2397 [Verbose] > │             let v74 : uint64 = v71 + 1UL                                     │

00:00:50 #2398 [Verbose] > │             v69.l0 <- v74                                                    │

00:00:50 #2399 [Verbose] > │             ()                                                               │

00:00:50 #2400 [Verbose] > │         let v75 : uint64 = System.Convert.ToUInt64 v68.Length                │

00:00:50 #2401 [Verbose] > │         let v76 : bool = v75 <= 1UL                                          │

00:00:50 #2402 [Verbose] > │         if v76 then                                                          │

00:00:50 #2403 [Verbose] > │             ()                                                               │

00:00:50 #2404 [Verbose] > │         else                                                                 │

00:00:50 #2405 [Verbose] > │             let v77 : string = v68.[int 0UL]                                 │

00:00:50 #2406 [Verbose] > │             let v78 : uint64 = 0UL                                           │

00:00:50 #2407 [Verbose] > │             let v79 : bool = method16(v77, v68, v78)                         │

00:00:50 #2408 [Verbose] > │             if v79 then                                                      │

00:00:50 #2409 [Verbose] > │                 ()                                                           │

00:00:50 #2410 [Verbose] > │             else                                                             │

00:00:50 #2411 [Verbose] > │                 let v80 : string = $"Challenge error: {v68}"                 │

00:00:50 #2412 [Verbose] > │                 failwith<unit> v80                                           │

00:00:50 #2413 [Verbose] > │         let v81 : string = $"%A{v29}"                                        │

00:00:50 #2414 [Verbose] > │         let v82 : (string []) = Array.zeroCreate<string>                     │

00:00:50 #2415 [Verbose] > │ (System.Convert.ToInt32(v67))                                                │

00:00:50 #2416 [Verbose] > │         let v83 : Mut0 = {l0 = 0UL} : Mut0                                   │

00:00:50 #2417 [Verbose] > │         while method4(v67, v83) do                                           │

00:00:50 #2418 [Verbose] > │             let v85 : uint64 = v83.l0                                        │

00:00:50 #2419 [Verbose] > │             let struct (v86 : string, v87 : int64) = v43.[int v85]           │

00:00:50 #2420 [Verbose] > │             v82.[int v85] <- v86                                             │

00:00:50 #2421 [Verbose] > │             let v88 : uint64 = v85 + 1UL                                     │

00:00:50 #2422 [Verbose] > │             v83.l0 <- v88                                                    │

00:00:50 #2423 [Verbose] > │             ()                                                               │

00:00:50 #2424 [Verbose] > │         let v89 : string = v82.[int 0UL]                                     │

00:00:50 #2425 [Verbose] > │         let v90 : string = $"%A{v89}"                                        │

00:00:50 #2426 [Verbose] > │         let v91 : (int64 []) = Array.zeroCreate<int64>                       │

00:00:50 #2427 [Verbose] > │ (System.Convert.ToInt32(v67))                                                │

00:00:50 #2428 [Verbose] > │         let v92 : Mut0 = {l0 = 0UL} : Mut0                                   │

00:00:50 #2429 [Verbose] > │         while method4(v67, v92) do                                           │

00:00:50 #2430 [Verbose] > │             let v94 : uint64 = v92.l0                                        │

00:00:50 #2431 [Verbose] > │             let struct (v95 : string, v96 : int64) = v43.[int v94]           │

00:00:50 #2432 [Verbose] > │             v91.[int v94] <- v96                                             │

00:00:50 #2433 [Verbose] > │             let v97 : uint64 = v94 + 1UL                                     │

00:00:50 #2434 [Verbose] > │             v92.l0 <- v97                                                    │

00:00:50 #2435 [Verbose] > │             ()                                                               │

00:00:50 #2436 [Verbose] > │         v24.[int v27] <- struct (v81, v30, v90, v91)                         │

00:00:50 #2437 [Verbose] > │         let v98 : uint64 = v27 + 1UL                                         │

00:00:50 #2438 [Verbose] > │         v25.l0 <- v98                                                        │

00:00:50 #2439 [Verbose] > │         ()                                                                   │

00:00:50 #2440 [Verbose] > │     let v99 : uint64 = System.Convert.ToUInt64 v24.Length                    │

00:00:50 #2441 [Verbose] > │     let v100 : (struct (UH2 * US0) []) = Array.zeroCreate<struct (UH2 *      │

00:00:50 #2442 [Verbose] > │ US0)> (System.Convert.ToInt32(v99))                                          │

00:00:50 #2443 [Verbose] > │     let v101 : Mut0 = {l0 = 0UL} : Mut0                                      │

00:00:50 #2444 [Verbose] > │     while method4(v99, v101) do                                              │

00:00:50 #2445 [Verbose] > │         let v103 : uint64 = v101.l0                                          │

00:00:50 #2446 [Verbose] > │         let struct (v104 : string, v105 : string, v106 : string, v107 :      │

00:00:50 #2447 [Verbose] > │ (int64 [])) = v24.[int v103]                                                 │

00:00:50 #2448 [Verbose] > │         let v108 : uint64 = System.Convert.ToUInt64 v107.Length              │

00:00:50 #2449 [Verbose] > │         let v109 : UH4 = UH4_1                                               │

00:00:50 #2450 [Verbose] > │         let v110 : Mut2 = {l0 = 0UL; l1 = v109; l2 = 0L} : Mut2              │

00:00:50 #2451 [Verbose] > │         while method17(v108, v110) do                                        │

00:00:50 #2452 [Verbose] > │             let v112 : uint64 = v110.l0                                      │

00:00:50 #2453 [Verbose] > │             let struct (v113 : UH4, v114 : int64) = v110.l1, v110.l2         │

00:00:50 #2454 [Verbose] > │             let v115 : int64 = v107.[int v112]                               │

00:00:50 #2455 [Verbose] > │             let v116 : int64 = v114 + 1L                                     │

00:00:50 #2456 [Verbose] > │             let v117 : uint64 = v112 + 1UL                                   │

00:00:50 #2457 [Verbose] > │             let v118 : UH4 = UH4_0(v114, v115, v113)                         │

00:00:50 #2458 [Verbose] > │             v110.l0 <- v117                                                  │

00:00:50 #2459 [Verbose] > │             v110.l1 <- v118                                                  │

00:00:50 #2460 [Verbose] > │             v110.l2 <- v116                                                  │

00:00:50 #2461 [Verbose] > │             ()                                                               │

00:00:50 #2462 [Verbose] > │         let struct (v119 : UH4, v120 : int64) = v110.l1, v110.l2             │

00:00:50 #2463 [Verbose] > │         let v121 : UH4 = UH4_1                                               │

00:00:50 #2464 [Verbose] > │         let v122 : UH4 = method18(v119, v121)                                │

00:00:50 #2465 [Verbose] > │         let v123 : (struct (int64 * int64) []) = method19(v122)              │

00:00:50 #2466 [Verbose] > │         let v124 : int32 = v123.Length                                       │

00:00:50 #2467 [Verbose] > │         let v125 : (struct (int64 * int64) []) = Array.zeroCreate<struct     │

00:00:50 #2468 [Verbose] > │ (int64 * int64)> (v124)                                                      │

00:00:50 #2469 [Verbose] > │         let v126 : Mut1 = {l0 = 0} : Mut1                                    │

00:00:50 #2470 [Verbose] > │         while method5(v124, v126) do                                         │

00:00:50 #2471 [Verbose] > │             let v128 : int32 = v126.l0                                       │

00:00:50 #2472 [Verbose] > │             let struct (v129 : int64, v130 : int64) = v123.[int v128]        │

00:00:50 #2473 [Verbose] > │             let v131 : int64 = v129 + 1L                                     │

00:00:50 #2474 [Verbose] > │             v125.[int v128] <- struct (v131, v130)                           │

00:00:50 #2475 [Verbose] > │             let v132 : int32 = v128 + 1                                      │

00:00:50 #2476 [Verbose] > │             v126.l0 <- v132                                                  │

00:00:50 #2477 [Verbose] > │             ()                                                               │

00:00:50 #2478 [Verbose] > │         let v133 : (struct (int64 * int64) -> int64) = closure4()            │

00:00:50 #2479 [Verbose] > │         let v134 : (struct (int64 * int64) []) = v125 |> Array.sortBy v133   │

00:00:50 #2480 [Verbose] > │         let struct (v135 : int64, v136 : int64) = v134.[int 0]               │

00:00:50 #2481 [Verbose] > │         let v137 : string = $"%A{struct (v135, v136)}"                       │

00:00:50 #2482 [Verbose] > │         let v138 : bool = v104 = v106                                        │

00:00:50 #2483 [Verbose] > │         let v143 : US0 =                                                     │

00:00:50 #2484 [Verbose] > │             if v138 then                                                     │

00:00:50 #2485 [Verbose] > │                 let v139 : System.ConsoleColor =                             │

00:00:50 #2486 [Verbose] > │ System.ConsoleColor.DarkGreen                                                │

00:00:50 #2487 [Verbose] > │                 US0_1(v139)                                                  │

00:00:50 #2488 [Verbose] > │             else                                                             │

00:00:50 #2489 [Verbose] > │                 let v141 : System.ConsoleColor = System.ConsoleColor.DarkRed │

00:00:50 #2490 [Verbose] > │                 US0_1(v141)                                                  │

00:00:50 #2491 [Verbose] > │         let v144 : UH2 = UH2_1                                               │

00:00:50 #2492 [Verbose] > │         let v145 : UH2 = UH2_0(v137, v144)                                   │

00:00:50 #2493 [Verbose] > │         let v146 : UH2 = UH2_0(v106, v145)                                   │

00:00:50 #2494 [Verbose] > │         let v147 : UH2 = UH2_0(v104, v146)                                   │

00:00:50 #2495 [Verbose] > │         let v148 : UH2 = UH2_0(v105, v147)                                   │

00:00:50 #2496 [Verbose] > │         v100.[int v103] <- struct (v148, v143)                               │

00:00:50 #2497 [Verbose] > │         let v149 : uint64 = v103 + 1UL                                       │

00:00:50 #2498 [Verbose] > │         v101.l0 <- v149                                                      │

00:00:50 #2499 [Verbose] > │         ()                                                                   │

00:00:50 #2500 [Verbose] > │     let v150 : string = "Input"                                              │

00:00:50 #2501 [Verbose] > │     let v151 : string = "Expected"                                           │

00:00:50 #2502 [Verbose] > │     let v152 : string = "Result"                                             │

00:00:50 #2503 [Verbose] > │     let v153 : string = "Best"                                               │

00:00:50 #2504 [Verbose] > │     let v154 : UH2 = UH2_1                                                   │

00:00:50 #2505 [Verbose] > │     let v155 : UH2 = UH2_0(v153, v154)                                       │

00:00:50 #2506 [Verbose] > │     let v156 : UH2 = UH2_0(v152, v155)                                       │

00:00:50 #2507 [Verbose] > │     let v157 : UH2 = UH2_0(v151, v156)                                       │

00:00:50 #2508 [Verbose] > │     let v158 : UH2 = UH2_0(v150, v157)                                       │

00:00:50 #2509 [Verbose] > │     let v159 : US0 = US0_0                                                   │

00:00:50 #2510 [Verbose] > │     let v160 : string = "---"                                                │

00:00:50 #2511 [Verbose] > │     let v161 : UH2 = UH2_1                                                   │

00:00:50 #2512 [Verbose] > │     let v162 : UH2 = UH2_0(v160, v161)                                       │

00:00:50 #2513 [Verbose] > │     let v163 : UH2 = UH2_0(v160, v162)                                       │

00:00:50 #2514 [Verbose] > │     let v164 : UH2 = UH2_0(v160, v163)                                       │

00:00:50 #2515 [Verbose] > │     let v165 : UH2 = UH2_0(v160, v164)                                       │

00:00:50 #2516 [Verbose] > │     let v166 : US0 = US0_0                                                   │

00:00:50 #2517 [Verbose] > │     let v167 : UH5 = UH5_1                                                   │

00:00:50 #2518 [Verbose] > │     let v168 : UH5 = UH5_0(v165, v166, v167)                                 │

00:00:50 #2519 [Verbose] > │     let v169 : UH5 = UH5_0(v158, v159, v168)                                 │

00:00:50 #2520 [Verbose] > │     let v170 : (struct (UH2 * US0) []) = method22(v169)                      │

00:00:50 #2521 [Verbose] > │     let v171 : uint64 = System.Convert.ToUInt64 v170.Length                  │

00:00:50 #2522 [Verbose] > │     let v172 : uint64 = System.Convert.ToUInt64 v100.Length                  │

00:00:50 #2523 [Verbose] > │     let v173 : uint64 = v171 + v172                                          │

00:00:50 #2524 [Verbose] > │     let v174 : (struct (UH2 * US0) []) = Array.zeroCreate<struct (UH2 *      │

00:00:50 #2525 [Verbose] > │ US0)> (System.Convert.ToInt32(v173))                                         │

00:00:50 #2526 [Verbose] > │     let v175 : Mut0 = {l0 = 0UL} : Mut0                                      │

00:00:50 #2527 [Verbose] > │     while method4(v173, v175) do                                             │

00:00:50 #2528 [Verbose] > │         let v177 : uint64 = v175.l0                                          │

00:00:50 #2529 [Verbose] > │         let v178 : bool = v177 < v171                                        │

00:00:50 #2530 [Verbose] > │         let struct (v184 : UH2, v185 : US0) =                                │

00:00:50 #2531 [Verbose] > │             if v178 then                                                     │

00:00:50 #2532 [Verbose] > │                 let struct (v179 : UH2, v180 : US0) = v170.[int v177]        │

00:00:50 #2533 [Verbose] > │                 struct (v179, v180)                                          │

00:00:50 #2534 [Verbose] > │             else                                                             │

00:00:50 #2535 [Verbose] > │                 let v181 : uint64 = v177 - v171                              │

00:00:50 #2536 [Verbose] > │                 let struct (v182 : UH2, v183 : US0) = v100.[int v181]        │

00:00:50 #2537 [Verbose] > │                 struct (v182, v183)                                          │

00:00:50 #2538 [Verbose] > │         v174.[int v177] <- struct (v184, v185)                               │

00:00:50 #2539 [Verbose] > │         let v186 : uint64 = v177 + 1UL                                       │

00:00:50 #2540 [Verbose] > │         v175.l0 <- v186                                                      │

00:00:50 #2541 [Verbose] > │         ()                                                                   │

00:00:50 #2542 [Verbose] > │     let v187 : uint64 = System.Convert.ToUInt64 v174.Length                  │

00:00:50 #2543 [Verbose] > │     let v188 : ((string []) []) = Array.zeroCreate<(string [])>              │

00:00:50 #2544 [Verbose] > │ (System.Convert.ToInt32(v187))                                               │

00:00:50 #2545 [Verbose] > │     let v189 : Mut0 = {l0 = 0UL} : Mut0                                      │

00:00:50 #2546 [Verbose] > │     while method4(v187, v189) do                                             │

00:00:50 #2547 [Verbose] > │         let v191 : uint64 = v189.l0                                          │

00:00:50 #2548 [Verbose] > │         let struct (v192 : UH2, v193 : US0) = v174.[int v191]                │

00:00:50 #2549 [Verbose] > │         let v194 : (string []) = method25(v192)                              │

00:00:50 #2550 [Verbose] > │         v188.[int v191] <- v194                                              │

00:00:50 #2551 [Verbose] > │         let v195 : uint64 = v191 + 1UL                                       │

00:00:50 #2552 [Verbose] > │         v189.l0 <- v195                                                      │

00:00:50 #2553 [Verbose] > │         ()                                                                   │

00:00:50 #2554 [Verbose] > │     let v196 : ((string []) []) = v188 |> Array.transpose                    │

00:00:50 #2555 [Verbose] > │     let v197 : uint64 = System.Convert.ToUInt64 v196.Length                  │

00:00:50 #2556 [Verbose] > │     let v198 : (int64 []) = Array.zeroCreate<int64>                          │

00:00:50 #2557 [Verbose] > │ (System.Convert.ToInt32(v197))                                               │

00:00:50 #2558 [Verbose] > │     let v199 : Mut0 = {l0 = 0UL} : Mut0                                      │

00:00:50 #2559 [Verbose] > │     while method4(v197, v199) do                                             │

00:00:50 #2560 [Verbose] > │         let v201 : uint64 = v199.l0                                          │

00:00:50 #2561 [Verbose] > │         let v202 : (string []) = v196.[int v201]                             │

00:00:50 #2562 [Verbose] > │         let v203 : uint64 = System.Convert.ToUInt64 v202.Length              │

00:00:50 #2563 [Verbose] > │         let v204 : (int64 []) = Array.zeroCreate<int64>                      │

00:00:50 #2564 [Verbose] > │ (System.Convert.ToInt32(v203))                                               │

00:00:50 #2565 [Verbose] > │         let v205 : Mut0 = {l0 = 0UL} : Mut0                                  │

00:00:50 #2566 [Verbose] > │         while method4(v203, v205) do                                         │

00:00:50 #2567 [Verbose] > │             let v207 : uint64 = v205.l0                                      │

00:00:50 #2568 [Verbose] > │             let v208 : string = v202.[int v207]                              │

00:00:50 #2569 [Verbose] > │             let v209 : int64 = System.Convert.ToInt64 v208.Length            │

00:00:50 #2570 [Verbose] > │             v204.[int v207] <- v209                                          │

00:00:50 #2571 [Verbose] > │             let v210 : uint64 = v207 + 1UL                                   │

00:00:50 #2572 [Verbose] > │             v205.l0 <- v210                                                  │

00:00:50 #2573 [Verbose] > │             ()                                                               │

00:00:50 #2574 [Verbose] > │         let v211 : (int64 []) = v204 |> Array.sortDescending                 │

00:00:50 #2575 [Verbose] > │         let v212 : int64 option = v211 |> Array.tryItem 0                    │

00:00:50 #2576 [Verbose] > │         let v213 : (int64 -> US1) = closure5()                               │

00:00:50 #2577 [Verbose] > │         let v214 : US1 = US1_0                                               │

00:00:50 #2578 [Verbose] > │         let v215 : US1 = v212 |> Option.map v213 |> Option.defaultValue v214 │

00:00:50 #2579 [Verbose] > │         let v218 : int64 =                                                   │

00:00:50 #2580 [Verbose] > │             match v215 with                                                  │

00:00:50 #2581 [Verbose] > │             | US1_0 -> (* None *)                                            │

00:00:50 #2582 [Verbose] > │                 0L                                                           │

00:00:50 #2583 [Verbose] > │             | US1_1(v216) -> (* Some *)                                      │

00:00:50 #2584 [Verbose] > │                 v216                                                         │

00:00:50 #2585 [Verbose] > │         v198.[int v201] <- v218                                              │

00:00:50 #2586 [Verbose] > │         let v219 : uint64 = v201 + 1UL                                       │

00:00:50 #2587 [Verbose] > │         v199.l0 <- v219                                                      │

00:00:50 #2588 [Verbose] > │         ()                                                                   │

00:00:50 #2589 [Verbose] > │     let v220 : uint64 = System.Convert.ToUInt64 v198.Length                  │

00:00:50 #2590 [Verbose] > │     let v221 : UH6 = UH6_1                                                   │

00:00:50 #2591 [Verbose] > │     let v222 : Mut3 = {l0 = 0UL; l1 = v221; l2 = 0} : Mut3                   │

00:00:50 #2592 [Verbose] > │     while method28(v220, v222) do                                            │

00:00:50 #2593 [Verbose] > │         let v224 : uint64 = v222.l0                                          │

00:00:50 #2594 [Verbose] > │         let struct (v225 : UH6, v226 : int32) = v222.l1, v222.l2             │

00:00:50 #2595 [Verbose] > │         let v227 : int64 = v198.[int v224]                                   │

00:00:50 #2596 [Verbose] > │         let v228 : int32 = v226 + 1                                          │

00:00:50 #2597 [Verbose] > │         let v229 : uint64 = v224 + 1UL                                       │

00:00:50 #2598 [Verbose] > │         let v230 : UH6 = UH6_0(v226, v227, v225)                             │

00:00:50 #2599 [Verbose] > │         v222.l0 <- v229                                                      │

00:00:50 #2600 [Verbose] > │         v222.l1 <- v230                                                      │

00:00:50 #2601 [Verbose] > │         v222.l2 <- v228                                                      │

00:00:50 #2602 [Verbose] > │         ()                                                                   │

00:00:50 #2603 [Verbose] > │     let struct (v231 : UH6, v232 : int32) = v222.l1, v222.l2                 │

00:00:50 #2604 [Verbose] > │     let v233 : UH6 = UH6_1                                                   │

00:00:50 #2605 [Verbose] > │     let v234 : UH6 = method29(v231, v233)                                    │

00:00:50 #2606 [Verbose] > │     let v235 : (struct (int32 * int64) []) = method30(v234)                  │

00:00:50 #2607 [Verbose] > │     let v236 : Map<int32, int64> = v235 |> Array.map (fun (struct (a, b)) -> │

00:00:50 #2608 [Verbose] > │ a, b) |> Map.ofArray                                                         │

00:00:50 #2609 [Verbose] > │     let v237 : (struct ((string []) * US0) []) = Array.zeroCreate<struct     │

00:00:50 #2610 [Verbose] > │ ((string []) * US0)> (System.Convert.ToInt32(v187))                          │

00:00:50 #2611 [Verbose] > │     let v238 : Mut0 = {l0 = 0UL} : Mut0                                      │

00:00:50 #2612 [Verbose] > │     while method4(v187, v238) do                                             │

00:00:50 #2613 [Verbose] > │         let v240 : uint64 = v238.l0                                          │

00:00:50 #2614 [Verbose] > │         let struct (v241 : UH2, v242 : US0) = v174.[int v240]                │

00:00:50 #2615 [Verbose] > │         let v243 : UH7 = UH7_1                                               │

00:00:50 #2616 [Verbose] > │         let v244 : int32 = 0                                                 │

00:00:50 #2617 [Verbose] > │         let struct (v245 : UH7, v246 : int32) = method33(v241, v243, v244)   │

00:00:50 #2618 [Verbose] > │         let v247 : UH7 = UH7_1                                               │

00:00:50 #2619 [Verbose] > │         let v248 : UH7 = method34(v245, v247)                                │

00:00:50 #2620 [Verbose] > │         let v249 : UH2 = UH2_1                                               │

00:00:50 #2621 [Verbose] > │         let v250 : UH2 = method35(v236, v248, v249)                          │

00:00:50 #2622 [Verbose] > │         let v251 : (string []) = method9(v250)                               │

00:00:51 #2623 [Verbose] > │         v237.[int v240] <- struct (v251, v242)                               │

00:00:51 #2624 [Verbose] > │         let v252 : uint64 = v240 + 1UL                                       │

00:00:51 #2625 [Verbose] > │         v238.l0 <- v252                                                      │

00:00:51 #2626 [Verbose] > │         ()                                                                   │

00:00:51 #2627 [Verbose] > │     System.Console.WriteLine v2                                              │

00:00:51 #2628 [Verbose] > │     let v253 : uint64 = System.Convert.ToUInt64 v237.Length                  │

00:00:51 #2629 [Verbose] > │     let v254 : Mut0 = {l0 = 0UL} : Mut0                                      │

00:00:51 #2630 [Verbose] > │     while method4(v253, v254) do                                             │

00:00:51 #2631 [Verbose] > │         let v256 : uint64 = v254.l0                                          │

00:00:51 #2632 [Verbose] > │         let struct (v257 : (string []), v258 : US0) = v237.[int v256]        │

00:00:51 #2633 [Verbose] > │         match v258 with                                                      │

00:00:51 #2634 [Verbose] > │         | US0_0 -> (* None *)                                                │

00:00:51 #2635 [Verbose] > │             let mutable result = None                                        │

00:00:51 #2636 [Verbose] > │             #if FABLE_COMPILER_RUST                                          │

00:00:51 #2637 [Verbose] > │             #if !WASM                                                        │

00:00:51 #2638 [Verbose] > │             ()                                                               │

00:00:51 #2639 [Verbose] > │             #else                                                            │

00:00:51 #2640 [Verbose] > │             ()                                                               │

00:00:51 #2641 [Verbose] > │             #endif                                                           │

00:00:51 #2642 [Verbose] > │             #else                                                            │

00:00:51 #2643 [Verbose] > │             System.Console.ResetColor ()                                     │

00:00:51 #2644 [Verbose] > │             ()                                                               │

00:00:51 #2645 [Verbose] > │             #endif                                                           │

00:00:51 #2646 [Verbose] > │             |> fun x -> result <- Some x                                     │

00:00:51 #2647 [Verbose] > │             result |> Option.get                                             │

00:00:51 #2648 [Verbose] > │             ()                                                               │

00:00:51 #2649 [Verbose] > │         | US0_1(v259) -> (* Some *)                                          │

00:00:51 #2650 [Verbose] > │             let mutable result = None                                        │

00:00:51 #2651 [Verbose] > │             #if FABLE_COMPILER_RUST                                          │

00:00:51 #2652 [Verbose] > │             #if !WASM                                                        │

00:00:51 #2653 [Verbose] > │             ()                                                               │

00:00:51 #2654 [Verbose] > │             #else                                                            │

00:00:51 #2655 [Verbose] > │             ()                                                               │

00:00:51 #2656 [Verbose] > │             #endif                                                           │

00:00:51 #2657 [Verbose] > │             #else                                                            │

00:00:51 #2658 [Verbose] > │             System.Console.ForegroundColor <- v259                           │

00:00:51 #2659 [Verbose] > │             ()                                                               │

00:00:51 #2660 [Verbose] > │             #endif                                                           │

00:00:51 #2661 [Verbose] > │             |> fun x -> result <- Some x                                     │

00:00:51 #2662 [Verbose] > │             result |> Option.get                                             │

00:00:51 #2663 [Verbose] > │             ()                                                               │

00:00:51 #2664 [Verbose] > │         let v260 : string = "\t| "                                           │

00:00:51 #2665 [Verbose] > │         let v261 : string = System.String.Join (v260, v257)                  │

00:00:51 #2666 [Verbose] > │         System.Console.WriteLine v261                                        │

00:00:51 #2667 [Verbose] > │         let mutable result = None                                            │

00:00:51 #2668 [Verbose] > │         #if FABLE_COMPILER_RUST                                              │

00:00:51 #2669 [Verbose] > │         #if !WASM                                                            │

00:00:51 #2670 [Verbose] > │         ()                                                                   │

00:00:51 #2671 [Verbose] > │         #else                                                                │

00:00:51 #2672 [Verbose] > │         ()                                                                   │

00:00:51 #2673 [Verbose] > │         #endif                                                               │

00:00:51 #2674 [Verbose] > │         #else                                                                │

00:00:51 #2675 [Verbose] > │         System.Console.ResetColor ()                                         │

00:00:51 #2676 [Verbose] > │         ()                                                                   │

00:00:51 #2677 [Verbose] > │         #endif                                                               │

00:00:51 #2678 [Verbose] > │         |> fun x -> result <- Some x                                         │

00:00:51 #2679 [Verbose] > │         result |> Option.get                                                 │

00:00:51 #2680 [Verbose] > │         let v262 : uint64 = v256 + 1UL                                       │

00:00:51 #2681 [Verbose] > │         v254.l0 <- v262                                                      │

00:00:51 #2682 [Verbose] > │         ()                                                                   │

00:00:51 #2683 [Verbose] > │     let v263 : ((float []) []) = Array.zeroCreate<(float [])>                │

00:00:51 #2684 [Verbose] > │ (System.Convert.ToInt32(v99))                                                │

00:00:51 #2685 [Verbose] > │     let v264 : Mut0 = {l0 = 0UL} : Mut0                                      │

00:00:51 #2686 [Verbose] > │     while method4(v99, v264) do                                              │

00:00:51 #2687 [Verbose] > │         let v266 : uint64 = v264.l0                                          │

00:00:51 #2688 [Verbose] > │         let struct (v267 : string, v268 : string, v269 : string, v270 :      │

00:00:51 #2689 [Verbose] > │ (int64 [])) = v24.[int v266]                                                 │

00:00:51 #2690 [Verbose] > │         let v271 : (int64 -> float) = float                                  │

00:00:51 #2691 [Verbose] > │         let v272 : uint64 = System.Convert.ToUInt64 v270.Length              │

00:00:51 #2692 [Verbose] > │         let v273 : (float []) = Array.zeroCreate<float>                      │

00:00:51 #2693 [Verbose] > │ (System.Convert.ToInt32(v272))                                               │

00:00:51 #2694 [Verbose] > │         let v274 : Mut0 = {l0 = 0UL} : Mut0                                  │

00:00:51 #2695 [Verbose] > │         while method4(v272, v274) do                                         │

00:00:51 #2696 [Verbose] > │             let v276 : uint64 = v274.l0                                      │

00:00:51 #2697 [Verbose] > │             let v277 : int64 = v270.[int v276]                               │

00:00:51 #2698 [Verbose] > │             let v278 : float = v271 v277                                     │

00:00:51 #2699 [Verbose] > │             v273.[int v276] <- v278                                          │

00:00:51 #2700 [Verbose] > │             let v279 : uint64 = v276 + 1UL                                   │

00:00:51 #2701 [Verbose] > │             v274.l0 <- v279                                                  │

00:00:51 #2702 [Verbose] > │             ()                                                               │

00:00:51 #2703 [Verbose] > │         v263.[int v266] <- v273                                              │

00:00:51 #2704 [Verbose] > │         let v280 : uint64 = v266 + 1UL                                       │

00:00:51 #2705 [Verbose] > │         v264.l0 <- v280                                                      │

00:00:51 #2706 [Verbose] > │         ()                                                                   │

00:00:51 #2707 [Verbose] > │     let v281 : ((float []) []) = v263 |> Array.transpose                     │

00:00:51 #2708 [Verbose] > │     let v282 : uint64 = System.Convert.ToUInt64 v281.Length                  │

00:00:51 #2709 [Verbose] > │     let v283 : (float []) = Array.zeroCreate<float>                          │

00:00:51 #2710 [Verbose] > │ (System.Convert.ToInt32(v282))                                               │

00:00:51 #2711 [Verbose] > │     let v284 : Mut0 = {l0 = 0UL} : Mut0                                      │

00:00:51 #2712 [Verbose] > │     while method4(v282, v284) do                                             │

00:00:51 #2713 [Verbose] > │         let v286 : uint64 = v284.l0                                          │

00:00:51 #2714 [Verbose] > │         let v287 : (float []) = v281.[int v286]                              │

00:00:51 #2715 [Verbose] > │         let v288 : float = v287 |> Array.average                             │

00:00:51 #2716 [Verbose] > │         v283.[int v286] <- v288                                              │

00:00:51 #2717 [Verbose] > │         let v289 : uint64 = v286 + 1UL                                       │

00:00:51 #2718 [Verbose] > │         v284.l0 <- v289                                                      │

00:00:51 #2719 [Verbose] > │         ()                                                                   │

00:00:51 #2720 [Verbose] > │     let v290 : (float -> int64) = int64                                      │

00:00:51 #2721 [Verbose] > │     let v291 : uint64 = System.Convert.ToUInt64 v283.Length                  │

00:00:51 #2722 [Verbose] > │     let v292 : (int64 []) = Array.zeroCreate<int64>                          │

00:00:51 #2723 [Verbose] > │ (System.Convert.ToInt32(v291))                                               │

00:00:51 #2724 [Verbose] > │     let v293 : Mut0 = {l0 = 0UL} : Mut0                                      │

00:00:51 #2725 [Verbose] > │     while method4(v291, v293) do                                             │

00:00:51 #2726 [Verbose] > │         let v295 : uint64 = v293.l0                                          │

00:00:51 #2727 [Verbose] > │         let v296 : float = v283.[int v295]                                   │

00:00:51 #2728 [Verbose] > │         let v297 : int64 = v290 v296                                         │

00:00:51 #2729 [Verbose] > │         v292.[int v295] <- v297                                              │

00:00:51 #2730 [Verbose] > │         let v298 : uint64 = v295 + 1UL                                       │

00:00:51 #2731 [Verbose] > │         v293.l0 <- v298                                                      │

00:00:51 #2732 [Verbose] > │         ()                                                                   │

00:00:51 #2733 [Verbose] > │     let v299 : uint64 = System.Convert.ToUInt64 v292.Length                  │

00:00:51 #2734 [Verbose] > │     let v300 : UH6 = UH6_1                                                   │

00:00:51 #2735 [Verbose] > │     let v301 : Mut3 = {l0 = 0UL; l1 = v300; l2 = 0} : Mut3                   │

00:00:51 #2736 [Verbose] > │     while method28(v299, v301) do                                            │

00:00:51 #2737 [Verbose] > │         let v303 : uint64 = v301.l0                                          │

00:00:51 #2738 [Verbose] > │         let struct (v304 : UH6, v305 : int32) = v301.l1, v301.l2             │

00:00:51 #2739 [Verbose] > │         let v306 : int64 = v292.[int v303]                                   │

00:00:51 #2740 [Verbose] > │         let v307 : int32 = v305 + 1                                          │

00:00:51 #2741 [Verbose] > │         let v308 : uint64 = v303 + 1UL                                       │

00:00:51 #2742 [Verbose] > │         let v309 : UH6 = UH6_0(v305, v306, v304)                             │

00:00:51 #2743 [Verbose] > │         v301.l0 <- v308                                                      │

00:00:51 #2744 [Verbose] > │         v301.l1 <- v309                                                      │

00:00:51 #2745 [Verbose] > │         v301.l2 <- v307                                                      │

00:00:51 #2746 [Verbose] > │         ()                                                                   │

00:00:51 #2747 [Verbose] > │     let struct (v310 : UH6, v311 : int32) = v301.l1, v301.l2                 │

00:00:51 #2748 [Verbose] > │     let v312 : UH6 = UH6_1                                                   │

00:00:51 #2749 [Verbose] > │     let v313 : UH6 = method29(v310, v312)                                    │

00:00:51 #2750 [Verbose] > │     let v314 : (struct (int32 * int64) []) = method36(v313)                  │

00:00:51 #2751 [Verbose] > │     System.Console.WriteLine v2                                              │

00:00:51 #2752 [Verbose] > │     let v315 : string = "Average Ranking  "                                  │

00:00:51 #2753 [Verbose] > │     System.Console.WriteLine v315                                            │

00:00:51 #2754 [Verbose] > │     let v316 : (struct (int32 * int64) -> int64) = closure6()                │

00:00:51 #2755 [Verbose] > │     let v317 : (struct (int32 * int64) []) = v314 |> Array.sortBy v316       │

00:00:51 #2756 [Verbose] > │     let v318 : uint64 = System.Convert.ToUInt64 v317.Length                  │

00:00:51 #2757 [Verbose] > │     let v319 : Mut0 = {l0 = 0UL} : Mut0                                      │

00:00:51 #2758 [Verbose] > │     while method4(v318, v319) do                                             │

00:00:51 #2759 [Verbose] > │         let v321 : uint64 = v319.l0                                          │

00:00:51 #2760 [Verbose] > │         let struct (v322 : int32, v323 : int64) = v317.[int v321]            │

00:00:51 #2761 [Verbose] > │         let v324 : string = $"Test case %d{v322 + 1}. Average Time: %A{v323} │

00:00:51 #2762 [Verbose] > │ "                                                                            │

00:00:51 #2763 [Verbose] > │         System.Console.WriteLine v324                                        │

00:00:51 #2764 [Verbose] > │         let v325 : uint64 = v321 + 1UL                                       │

00:00:51 #2765 [Verbose] > │         v319.l0 <- v325                                                      │

00:00:51 #2766 [Verbose] > │         ()                                                                   │

00:00:51 #2767 [Verbose] > │     ()                                                                       │

00:00:51 #2768 [Verbose] > │ method0()                                                                    │

00:00:51 #2769 [Verbose] > │                                                                              │

00:00:51 #2770 [Verbose] > │                                                                              │

00:00:51 #2771 [Verbose] > │                                                                              │

00:00:51 #2772 [Verbose] > │ Test: v0                                                                     │

00:00:51 #2773 [Verbose] > │                                                                              │

00:00:51 #2774 [Verbose] > │ Solution: "abc"                                                              │

00:00:51 #2775 [Verbose] > │ Test case 1. F. Time: 918                                                    │

00:00:51 #2776 [Verbose] > │ Test case 2. FA. Time: 1135                                                  │

00:00:51 #2777 [Verbose] > │                                                                              │

00:00:51 #2778 [Verbose] > │ Solution: "abcde"                                                            │

00:00:51 #2779 [Verbose] > │ Test case 1. F. Time: 1295                                                   │

00:00:51 #2780 [Verbose] > │ Test case 2. FA. Time: 1797                                                  │

00:00:51 #2781 [Verbose] > │                                                                              │

00:00:51 #2782 [Verbose] > │ Solution: "abcdefghi"                                                        │

00:00:51 #2783 [Verbose] > │ Test case 1. F. Time: 1951                                                   │

00:00:51 #2784 [Verbose] > │ Test case 2. FA. Time: 2443                                                  │

00:00:51 #2785 [Verbose] > │                                                                              │

00:00:51 #2786 [Verbose] > │ Solution: "abab"                                                             │

00:00:51 #2787 [Verbose] > │ Test case 1. F. Time: 960                                                    │

00:00:51 #2788 [Verbose] > │ Test case 2. FA. Time: 1258                                                  │

00:00:51 #2789 [Verbose] > │                                                                              │

00:00:51 #2790 [Verbose] > │ Solution: "aa"                                                               │

00:00:51 #2791 [Verbose] > │ Test case 1. F. Time: 717                                                    │

00:00:51 #2792 [Verbose] > │ Test case 2. FA. Time: 743                                                   │

00:00:51 #2793 [Verbose] > │                                                                              │

00:00:51 #2794 [Verbose] > │ Solution: "z"                                                                │

00:00:51 #2795 [Verbose] > │ Test case 1. F. Time: 186                                                    │

00:00:51 #2796 [Verbose] > │ Test case 2. FA. Time: 152                                                   │

00:00:51 #2797 [Verbose] > │                                                                              │

00:00:51 #2798 [Verbose] > │ Input      	| Expected                                                         │

00:00:51 #2799 [Verbose] > │                                                                              │

00:00:51 #2800 [Verbose] > │ | Result                                                                     │

00:00:51 #2801 [Verbose] > │                                                                              │

00:00:51 #2802 [Verbose] > │ | Best                                                                       │

00:00:51 #2803 [Verbose] > │ ---        	| ---                                                              │

00:00:51 #2804 [Verbose] > │                                                                              │

00:00:51 #2805 [Verbose] > │ | ---                                                                        │

00:00:51 #2806 [Verbose] > │                                                                              │

00:00:51 #2807 [Verbose] > │ | ---                                                                        │

00:00:51 #2808 [Verbose] > │ "abc"      	| "bca cab abc"                                                    │

00:00:51 #2809 [Verbose] > │                                                                              │

00:00:51 #2810 [Verbose] > │ | "bca cab abc"                                                              │

00:00:51 #2811 [Verbose] > │                                                                              │

00:00:51 #2812 [Verbose] > │ | struct (1L, 918L)                                                          │

00:00:51 #2813 [Verbose] > │ "abcde"    	| "bcdea cdeab deabc eabcd abcde"                                  │

00:00:51 #2814 [Verbose] > │ | "bcdea cdeab deabc eabcd abcde"                                            │

00:00:51 #2815 [Verbose] > │ | struct (1L, 1295L)                                                         │

00:00:51 #2816 [Verbose] > │ "abcdefghi"	| "bcdefghia cdefghiab defghiabc efghiabcd fghiabcde ghiabcdef     │

00:00:51 #2817 [Verbose] > │ hiabcdefg iabcdefgh abcdefghi"	| "bcdefghia cdefghiab defghiabc efghiabcd      │

00:00:51 #2818 [Verbose] > │ fghiabcde ghiabcdef hiabcdefg iabcdefgh abcdefghi"	| struct (1L, 1951L)        │

00:00:51 #2819 [Verbose] > │ "abab"     	| "baba abab baba abab"                                            │

00:00:51 #2820 [Verbose] > │ | "baba abab baba abab"                                                      │

00:00:51 #2821 [Verbose] > │ | struct (1L, 960L)                                                          │

00:00:51 #2822 [Verbose] > │ "aa"       	| "aa aa"                                                          │

00:00:51 #2823 [Verbose] > │                                                                              │

00:00:51 #2824 [Verbose] > │ | "aa aa"                                                                    │

00:00:51 #2825 [Verbose] > │                                                                              │

00:00:51 #2826 [Verbose] > │ | struct (1L, 717L)                                                          │

00:00:51 #2827 [Verbose] > │ "z"        	| "z"                                                              │

00:00:51 #2828 [Verbose] > │                                                                              │

00:00:51 #2829 [Verbose] > │ | "z"                                                                        │

00:00:51 #2830 [Verbose] > │                                                                              │

00:00:51 #2831 [Verbose] > │ | struct (2L, 152L)                                                          │

00:00:51 #2832 [Verbose] > │                                                                              │

00:00:51 #2833 [Verbose] > │ Average Ranking                                                              │

00:00:51 #2834 [Verbose] > │ Test case 1. Average Time: 1004L                                             │

00:00:51 #2835 [Verbose] > │ Test case 2. Average Time: 1254L                                             │

00:00:51 #2836 [Verbose] > │                                                                              │

00:00:51 #2837 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:51 #2838 [Verbose] >

00:00:51 #2839 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:51 #2840 [Verbose] > // // test

00:00:51 #2841 [Verbose] > // // rust=

00:00:51 #2842 [Verbose] > // // print_code=false

00:00:51 #2843 [Verbose] >

00:00:51 #2844 [Verbose] > // rotate_strings_tests ()

00:00:51 #2845 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0916-4113-1330-15bddb27b4c2\main.spi

00:00:51 #2846 [Verbose] >

00:00:51 #2847 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────

00:00:51 #2848 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮

00:00:51 #2849 [Verbose] > │ ## binary_search_tests                                                       │

00:00:51 #2850 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:00:51 #2851 [Verbose] >

00:00:51 #2852 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:00:51 #2853 [Verbose] > // // test

00:00:51 #2854 [Verbose] > // // timeout=90000

00:00:51 #2855 [Verbose] > // // print_code=true

00:00:51 #2856 [Verbose] >

00:00:51 #2857 [Verbose] > inl binary_search_semi_open_1 arr target left right =

00:00:51 #2858 [Verbose] >     inl rec body left right =

00:00:51 #2859 [Verbose] >         if left >= right

00:00:51 #2860 [Verbose] >         then None

00:00:51 #2861 [Verbose] >         else

00:00:51 #2862 [Verbose] >             inl mid = (left + right) / 2

00:00:51 #2863 [Verbose] >             inl item = index arr mid

00:00:51 #2864 [Verbose] >             if item = target

00:00:51 #2865 [Verbose] >             then Some mid

00:00:51 #2866 [Verbose] >             elif item < target

00:00:51 #2867 [Verbose] >             then loop (mid + 1) right

00:00:51 #2868 [Verbose] >             else loop left mid

00:00:51 #2869 [Verbose] >     and inl loop left right =

00:00:51 #2870 [Verbose] >         if var_is right |> not

00:00:51 #2871 [Verbose] >         then body left right

00:00:51 #2872 [Verbose] >         else

00:00:51 #2873 [Verbose] >             inl left = dyn left

00:00:51 #2874 [Verbose] >             join body left right

00:00:51 #2875 [Verbose] >     loop left right

00:00:51 #2876 [Verbose] >

00:00:51 #2877 [Verbose] > inl binary_search_closed_1 arr target left right =

00:00:51 #2878 [Verbose] >     inl rec body left right =

00:00:51 #2879 [Verbose] >         if left > right

00:00:51 #2880 [Verbose] >         then None

00:00:51 #2881 [Verbose] >         else

00:00:51 #2882 [Verbose] >             inl mid = (left + right) / 2

00:00:51 #2883 [Verbose] >             inl item = index arr mid

00:00:51 #2884 [Verbose] >             if item = target

00:00:51 #2885 [Verbose] >             then Some mid

00:00:51 #2886 [Verbose] >             elif item < target

00:00:51 #2887 [Verbose] >             then loop (mid + 1) right

00:00:51 #2888 [Verbose] >             else loop left (mid - 1)

00:00:51 #2889 [Verbose] >     and inl loop left right =

00:00:51 #2890 [Verbose] >         if var_is right |> not

00:00:51 #2891 [Verbose] >         then body left right

00:00:51 #2892 [Verbose] >         else

00:00:51 #2893 [Verbose] >             inl left = dyn left

00:00:51 #2894 [Verbose] >             join body left right

00:00:51 #2895 [Verbose] >     loop left right

00:00:51 #2896 [Verbose] >

00:00:51 #2897 [Verbose] > inl binary_search_semi_open_2 arr target left right =

00:00:51 #2898 [Verbose] >     let rec body left right =

00:00:51 #2899 [Verbose] >         if left >= right

00:00:51 #2900 [Verbose] >         then None

00:00:51 #2901 [Verbose] >         else

00:00:51 #2902 [Verbose] >             inl mid = (left + right) / 2

00:00:51 #2903 [Verbose] >             inl item = index arr mid

00:00:51 #2904 [Verbose] >             if item = target

00:00:51 #2905 [Verbose] >             then Some mid

00:00:51 #2906 [Verbose] >             elif item < target

00:00:51 #2907 [Verbose] >             then loop (mid + 1) right

00:00:51 #2908 [Verbose] >             else loop left mid

00:00:51 #2909 [Verbose] >     and inl loop left right = body left right

00:00:51 #2910 [Verbose] >     loop left right

00:00:51 #2911 [Verbose] >

00:00:51 #2912 [Verbose] > inl binary_search_closed_2 arr target left right =

00:00:51 #2913 [Verbose] >     let rec body left right =

00:00:51 #2914 [Verbose] >         if left > right

00:00:51 #2915 [Verbose] >         then None

00:00:51 #2916 [Verbose] >         else

00:00:51 #2917 [Verbose] >             inl mid = (left + right) / 2

00:00:51 #2918 [Verbose] >             inl item = index arr mid

00:00:51 #2919 [Verbose] >             if item = target

00:00:51 #2920 [Verbose] >             then Some mid

00:00:51 #2921 [Verbose] >             elif item < target

00:00:51 #2922 [Verbose] >             then loop (mid + 1) right

00:00:51 #2923 [Verbose] >             else loop left (mid - 1)

00:00:51 #2924 [Verbose] >     and inl loop left right = body left right

00:00:51 #2925 [Verbose] >     loop left right

00:00:51 #2926 [Verbose] >

00:00:51 #2927 [Verbose] > inl get_solutions () =

00:00:51 #2928 [Verbose] >     [[

00:00:51 #2929 [Verbose] >         "semi_open_1",

00:00:51 #2930 [Verbose] >         fun (arr, (target, len)) =>

00:00:51 #2931 [Verbose] >             binary_search_semi_open_1 arr target 0 len

00:00:51 #2932 [Verbose] >

00:00:51 #2933 [Verbose] >         "closed_1",

00:00:51 #2934 [Verbose] >         fun (arr, (target, len)) =>

00:00:51 #2935 [Verbose] >             binary_search_closed_1 arr target 0 (len - 1)

00:00:51 #2936 [Verbose] >

00:00:51 #2937 [Verbose] >         "semi_open_2",

00:00:51 #2938 [Verbose] >         fun (arr, (target, len)) =>

00:00:51 #2939 [Verbose] >             binary_search_semi_open_2 arr target 0 len

00:00:51 #2940 [Verbose] >

00:00:51 #2941 [Verbose] >         "closed_2",

00:00:51 #2942 [Verbose] >         fun (arr, (target, len)) =>

00:00:51 #2943 [Verbose] >             binary_search_closed_2 arr target 0 (len - 1)

00:00:51 #2944 [Verbose] >     ]]

00:00:51 #2945 [Verbose] >

00:00:51 #2946 [Verbose] > inl rec binary_search_tests () =

00:00:51 #2947 [Verbose] >     inl arr_with_len target len arr =

00:00:51 #2948 [Verbose] >         arr, (target, (len |> optionm'.default_with fun () => length arr))

00:00:51 #2949 [Verbose] >

00:00:51 #2950 [Verbose] >     inl test_cases = [[

00:00:51 #2951 [Verbose] >         (a ;[[ 1i32; 3; 4; 6; 8; 9; 11 ]] |> arr_with_len 6 None), (Some 3i32)

00:00:51 #2952 [Verbose] >         (a ;[[ 1i32; 3; 4; 6; 8; 9; 11 ]] |> arr_with_len 1 None), (Some 0i32)

00:00:51 #2953 [Verbose] >         (a ;[[ 1i32; 3; 4; 6; 8; 9; 11 ]] |> arr_with_len 11 None), (Some 6i32)

00:00:51 #2954 [Verbose] >         (a ;[[ 1i32; 3; 4; 6; 8; 9; 11 ]] |> arr_with_len 12 None), None

00:00:51 #2955 [Verbose] >         ((am'.init_series 1i32 100 1) |> arr_with_len 60 None), (Some 59)

00:00:51 #2956 [Verbose] >

00:00:51 #2957 [Verbose] >         (a ;[[ 1i32; 3; 4; 6; 8; 9; 11 ]] |> arr_with_len 6 (Some 7)), (Some

00:00:51 #2958 [Verbose] > 3i32)

00:00:51 #2959 [Verbose] >         (a ;[[ 1i32; 3; 4; 6; 8; 9; 11 ]] |> arr_with_len 1 (Some 7)), (Some

00:00:51 #2960 [Verbose] > 0i32)

00:00:51 #2961 [Verbose] >         (a ;[[ 1i32; 3; 4; 6; 8; 9; 11 ]] |> arr_with_len 11 (Some 7)), (Some

00:00:51 #2962 [Verbose] > 6i32)

00:00:51 #2963 [Verbose] >         (a ;[[ 1i32; 3; 4; 6; 8; 9; 11 ]] |> arr_with_len 12 (Some 7)), None

00:00:51 #2964 [Verbose] >         ((am'.init_series 1i32 100 1) |> arr_with_len 60 (Some 100)), (Some 59)

00:00:51 #2965 [Verbose] >     ]]

00:00:51 #2966 [Verbose] >

00:00:51 #2967 [Verbose] >     inl solutions = get_solutions ()

00:00:51 #2968 [Verbose] >

00:00:51 #2969 [Verbose] >     // inl is_fast () = true

00:00:51 #2970 [Verbose] >

00:00:51 #2971 [Verbose] >     inl count =

00:00:51 #2972 [Verbose] >         if is_fast ()

00:00:51 #2973 [Verbose] >         then 1000i32

00:00:51 #2974 [Verbose] >         else 8000000i32

00:00:51 #2975 [Verbose] >

00:00:51 #2976 [Verbose] >     run_all (nameof binary_search_tests) count solutions test_cases

00:00:51 #2977 [Verbose] >     |> sort_result_list

00:00:51 #2978 [Verbose] >

00:00:51 #2979 [Verbose] >

00:00:51 #2980 [Verbose] > let main () =

00:00:51 #2981 [Verbose] >     binary_search_tests ()

00:00:51 #2982 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0916-4131-3179-35f2a0cf3113\main.spi

00:01:20 #2983 [Verbose] >

00:01:20 #2984 [Verbose] > ╭─[ 29.25s - stdout ]──────────────────────────────────────────────────────────╮

00:01:20 #2985 [Verbose] > │ type Mut0 = {mutable l0 : int32}                                             │

00:01:20 #2986 [Verbose] > │ and [<Struct>] US0 =                                                         │

00:01:20 #2987 [Verbose] > │     | US0_0                                                                  │

00:01:20 #2988 [Verbose] > │     | US0_1 of f1_0 : int32                                                  │

00:01:20 #2989 [Verbose] > │ and UH0 =                                                                    │

00:01:20 #2990 [Verbose] > │     | UH0_0 of (int32 []) * int32 * int32 * US0 * UH0                        │

00:01:20 #2991 [Verbose] > │     | UH0_1                                                                  │

00:01:20 #2992 [Verbose] > │ and Mut1 = {mutable l0 : uint64}                                             │

00:01:20 #2993 [Verbose] > │ and UH1 =                                                                    │

00:01:20 #2994 [Verbose] > │     | UH1_0 of int32 * string * (struct ((int32 []) * int32 * int32) -> US0) │

00:01:20 #2995 [Verbose] > │ * UH1                                                                        │

00:01:20 #2996 [Verbose] > │     | UH1_1                                                                  │

00:01:20 #2997 [Verbose] > │ and UH2 =                                                                    │

00:01:20 #2998 [Verbose] > │     | UH2_0 of string * UH2                                                  │

00:01:20 #2999 [Verbose] > │     | UH2_1                                                                  │

00:01:20 #3000 [Verbose] > │ and [<Struct>] US1 =                                                         │

00:01:20 #3001 [Verbose] > │     | US1_0                                                                  │

00:01:20 #3002 [Verbose] > │     | US1_1 of f1_0 : System.ConsoleColor                                    │

00:01:20 #3003 [Verbose] > │ and UH3 =                                                                    │

00:01:20 #3004 [Verbose] > │     | UH3_0 of int64 * int64 * UH3                                           │

00:01:20 #3005 [Verbose] > │     | UH3_1                                                                  │

00:01:20 #3006 [Verbose] > │ and Mut2 = {mutable l0 : uint64; mutable l1 : UH3; mutable l2 : int64}       │

00:01:20 #3007 [Verbose] > │ and UH4 =                                                                    │

00:01:20 #3008 [Verbose] > │     | UH4_0 of UH2 * US1 * UH4                                               │

00:01:20 #3009 [Verbose] > │     | UH4_1                                                                  │

00:01:20 #3010 [Verbose] > │ and [<Struct>] US2 =                                                         │

00:01:20 #3011 [Verbose] > │     | US2_0                                                                  │

00:01:20 #3012 [Verbose] > │     | US2_1 of f1_0 : int64                                                  │

00:01:20 #3013 [Verbose] > │ and UH5 =                                                                    │

00:01:20 #3014 [Verbose] > │     | UH5_0 of int32 * int64 * UH5                                           │

00:01:20 #3015 [Verbose] > │     | UH5_1                                                                  │

00:01:20 #3016 [Verbose] > │ and Mut3 = {mutable l0 : uint64; mutable l1 : UH5; mutable l2 : int32}       │

00:01:20 #3017 [Verbose] > │ and UH6 =                                                                    │

00:01:20 #3018 [Verbose] > │     | UH6_0 of int32 * string * UH6                                          │

00:01:20 #3019 [Verbose] > │     | UH6_1                                                                  │

00:01:20 #3020 [Verbose] > │ let rec method1 (v0 : (int32 [])) : (int32 []) =                             │

00:01:20 #3021 [Verbose] > │     v0                                                                       │

00:01:20 #3022 [Verbose] > │ and method2 (v0 : Mut0) : bool =                                             │

00:01:20 #3023 [Verbose] > │     let v1 : int32 = v0.l0                                                   │

00:01:20 #3024 [Verbose] > │     let v2 : bool = v1 < 100                                                 │

00:01:20 #3025 [Verbose] > │     v2                                                                       │

00:01:20 #3026 [Verbose] > │ and method4 (v0 : UH0, v1 : uint64) : uint64 =                               │

00:01:20 #3027 [Verbose] > │     match v0 with                                                            │

00:01:20 #3028 [Verbose] > │     | UH0_0(v2, v3, v4, v5, v6) -> (* Cons *)                                │

00:01:20 #3029 [Verbose] > │         let v7 : uint64 = v1 + 1UL                                           │

00:01:20 #3030 [Verbose] > │         method4(v6, v7)                                                      │

00:01:20 #3031 [Verbose] > │     | UH0_1 -> (* Nil *)                                                     │

00:01:20 #3032 [Verbose] > │         v1                                                                   │

00:01:20 #3033 [Verbose] > │ and method5 (v0 : (struct ((int32 []) * int32 * int32 * US0) []), v1 : UH0,  │

00:01:20 #3034 [Verbose] > │ v2 : uint64) : uint64 =                                                      │

00:01:20 #3035 [Verbose] > │     match v1 with                                                            │

00:01:20 #3036 [Verbose] > │     | UH0_0(v3, v4, v5, v6, v7) -> (* Cons *)                                │

00:01:20 #3037 [Verbose] > │         v0.[int v2] <- struct (v3, v4, v5, v6)                               │

00:01:20 #3038 [Verbose] > │         let v8 : uint64 = v2 + 1UL                                           │

00:01:20 #3039 [Verbose] > │         method5(v0, v7, v8)                                                  │

00:01:20 #3040 [Verbose] > │     | UH0_1 -> (* Nil *)                                                     │

00:01:20 #3041 [Verbose] > │         v2                                                                   │

00:01:20 #3042 [Verbose] > │ and method3 (v0 : UH0) : (struct ((int32 []) * int32 * int32 * US0) []) =    │

00:01:20 #3043 [Verbose] > │     let v1 : uint64 = 0UL                                                    │

00:01:20 #3044 [Verbose] > │     let v2 : uint64 = method4(v0, v1)                                        │

00:01:20 #3045 [Verbose] > │     let v3 : (struct ((int32 []) * int32 * int32 * US0) []) =                │

00:01:20 #3046 [Verbose] > │ Array.zeroCreate<struct ((int32 []) * int32 * int32 * US0)>                  │

00:01:20 #3047 [Verbose] > │ (System.Convert.ToInt32(v2))                                                 │

00:01:20 #3048 [Verbose] > │     let v4 : uint64 = 0UL                                                    │

00:01:20 #3049 [Verbose] > │     let v5 : uint64 = method5(v3, v0, v4)                                    │

00:01:20 #3050 [Verbose] > │     v3                                                                       │

00:01:20 #3051 [Verbose] > │ and method6 (v0 : uint64, v1 : Mut1) : bool =                                │

00:01:20 #3052 [Verbose] > │     let v2 : uint64 = v1.l0                                                  │

00:01:20 #3053 [Verbose] > │     let v3 : bool = v2 < v0                                                  │

00:01:20 #3054 [Verbose] > │     v3                                                                       │

00:01:20 #3055 [Verbose] > │ and method7 (v0 : (int32 []), v1 : int32, v2 : int32, v3 : int32) : US0 =    │

00:01:20 #3056 [Verbose] > │     let v4 : bool = v3 >= v2                                                 │

00:01:20 #3057 [Verbose] > │     if v4 then                                                               │

00:01:20 #3058 [Verbose] > │         US0_0                                                                │

00:01:20 #3059 [Verbose] > │     else                                                                     │

00:01:20 #3060 [Verbose] > │         let v6 : int32 = v3 + v2                                             │

00:01:20 #3061 [Verbose] > │         let v7 : int32 = v6 / 2                                              │

00:01:20 #3062 [Verbose] > │         let v8 : int32 = v0.[int v7]                                         │

00:01:20 #3063 [Verbose] > │         let v9 : bool = v8 = v1                                              │

00:01:20 #3064 [Verbose] > │         if v9 then                                                           │

00:01:20 #3065 [Verbose] > │             US0_1(v7)                                                        │

00:01:20 #3066 [Verbose] > │         else                                                                 │

00:01:20 #3067 [Verbose] > │             let v11 : bool = v8 < v1                                         │

00:01:20 #3068 [Verbose] > │             if v11 then                                                      │

00:01:20 #3069 [Verbose] > │                 let v12 : int32 = v7 + 1                                     │

00:01:20 #3070 [Verbose] > │                 method7(v0, v1, v2, v12)                                     │

00:01:20 #3071 [Verbose] > │             else                                                             │

00:01:20 #3072 [Verbose] > │                 method7(v0, v1, v7, v3)                                      │

00:01:20 #3073 [Verbose] > │ and closure1 () struct (v0 : (int32 []), v1 : int32, v2 : int32) : US0 =     │

00:01:20 #3074 [Verbose] > │     let v3 : int32 = 0                                                       │

00:01:20 #3075 [Verbose] > │     method7(v0, v1, v2, v3)                                                  │

00:01:20 #3076 [Verbose] > │ and method8 (v0 : (int32 []), v1 : int32, v2 : int32, v3 : int32) : US0 =    │

00:01:20 #3077 [Verbose] > │     let v4 : bool = v3 > v2                                                  │

00:01:20 #3078 [Verbose] > │     if v4 then                                                               │

00:01:20 #3079 [Verbose] > │         US0_0                                                                │

00:01:20 #3080 [Verbose] > │     else                                                                     │

00:01:20 #3081 [Verbose] > │         let v6 : int32 = v3 + v2                                             │

00:01:20 #3082 [Verbose] > │         let v7 : int32 = v6 / 2                                              │

00:01:20 #3083 [Verbose] > │         let v8 : int32 = v0.[int v7]                                         │

00:01:20 #3084 [Verbose] > │         let v9 : bool = v8 = v1                                              │

00:01:20 #3085 [Verbose] > │         if v9 then                                                           │

00:01:20 #3086 [Verbose] > │             US0_1(v7)                                                        │

00:01:20 #3087 [Verbose] > │         else                                                                 │

00:01:20 #3088 [Verbose] > │             let v11 : bool = v8 < v1                                         │

00:01:20 #3089 [Verbose] > │             if v11 then                                                      │

00:01:20 #3090 [Verbose] > │                 let v12 : int32 = v7 + 1                                     │

00:01:20 #3091 [Verbose] > │                 method8(v0, v1, v2, v12)                                     │

00:01:20 #3092 [Verbose] > │             else                                                             │

00:01:20 #3093 [Verbose] > │                 let v14 : int32 = v7 - 1                                     │

00:01:20 #3094 [Verbose] > │                 method8(v0, v1, v14, v3)                                     │

00:01:20 #3095 [Verbose] > │ and closure2 () struct (v0 : (int32 []), v1 : int32, v2 : int32) : US0 =     │

00:01:20 #3096 [Verbose] > │     let v3 : int32 = v2 - 1                                                  │

00:01:20 #3097 [Verbose] > │     let v4 : int32 = 0                                                       │

00:01:20 #3098 [Verbose] > │     method8(v0, v1, v3, v4)                                                  │

00:01:20 #3099 [Verbose] > │ and method9 (v0 : (int32 []), v1 : int32, v2 : int32, v3 : int32) : US0 =    │

00:01:20 #3100 [Verbose] > │     let v4 : bool = v2 >= v3                                                 │

00:01:20 #3101 [Verbose] > │     if v4 then                                                               │

00:01:20 #3102 [Verbose] > │         US0_0                                                                │

00:01:20 #3103 [Verbose] > │     else                                                                     │

00:01:20 #3104 [Verbose] > │         let v6 : int32 = v2 + v3                                             │

00:01:20 #3105 [Verbose] > │         let v7 : int32 = v6 / 2                                              │

00:01:20 #3106 [Verbose] > │         let v8 : int32 = v0.[int v7]                                         │

00:01:20 #3107 [Verbose] > │         let v9 : bool = v8 = v1                                              │

00:01:20 #3108 [Verbose] > │         if v9 then                                                           │

00:01:20 #3109 [Verbose] > │             US0_1(v7)                                                        │

00:01:20 #3110 [Verbose] > │         else                                                                 │

00:01:20 #3111 [Verbose] > │             let v11 : bool = v8 < v1                                         │

00:01:20 #3112 [Verbose] > │             if v11 then                                                      │

00:01:20 #3113 [Verbose] > │                 let v12 : int32 = v7 + 1                                     │

00:01:20 #3114 [Verbose] > │                 method9(v0, v1, v12, v3)                                     │

00:01:20 #3115 [Verbose] > │             else                                                             │

00:01:20 #3116 [Verbose] > │                 method9(v0, v1, v2, v7)                                      │

00:01:20 #3117 [Verbose] > │ and closure3 () struct (v0 : (int32 []), v1 : int32, v2 : int32) : US0 =     │

00:01:20 #3118 [Verbose] > │     let v3 : int32 = 0                                                       │

00:01:20 #3119 [Verbose] > │     method9(v0, v1, v3, v2)                                                  │

00:01:20 #3120 [Verbose] > │ and method10 (v0 : (int32 []), v1 : int32, v2 : int32, v3 : int32) : US0 =   │

00:01:20 #3121 [Verbose] > │     let v4 : bool = v2 > v3                                                  │

00:01:20 #3122 [Verbose] > │     if v4 then                                                               │

00:01:20 #3123 [Verbose] > │         US0_0                                                                │

00:01:20 #3124 [Verbose] > │     else                                                                     │

00:01:20 #3125 [Verbose] > │         let v6 : int32 = v2 + v3                                             │

00:01:20 #3126 [Verbose] > │         let v7 : int32 = v6 / 2                                              │

00:01:20 #3127 [Verbose] > │         let v8 : int32 = v0.[int v7]                                         │

00:01:20 #3128 [Verbose] > │         let v9 : bool = v8 = v1                                              │

00:01:20 #3129 [Verbose] > │         if v9 then                                                           │

00:01:20 #3130 [Verbose] > │             US0_1(v7)                                                        │

00:01:20 #3131 [Verbose] > │         else                                                                 │

00:01:20 #3132 [Verbose] > │             let v11 : bool = v8 < v1                                         │

00:01:20 #3133 [Verbose] > │             if v11 then                                                      │

00:01:20 #3134 [Verbose] > │                 let v12 : int32 = v7 + 1                                     │

00:01:20 #3135 [Verbose] > │                 method10(v0, v1, v12, v3)                                    │

00:01:20 #3136 [Verbose] > │             else                                                             │

00:01:20 #3137 [Verbose] > │                 let v14 : int32 = v7 - 1                                     │

00:01:20 #3138 [Verbose] > │                 method10(v0, v1, v2, v14)                                    │

00:01:20 #3139 [Verbose] > │ and closure4 () struct (v0 : (int32 []), v1 : int32, v2 : int32) : US0 =     │

00:01:20 #3140 [Verbose] > │     let v3 : int32 = v2 - 1                                                  │

00:01:20 #3141 [Verbose] > │     let v4 : int32 = 0                                                       │

00:01:20 #3142 [Verbose] > │     method10(v0, v1, v4, v3)                                                 │

00:01:20 #3143 [Verbose] > │ and method12 (v0 : UH1, v1 : uint64) : uint64 =                              │

00:01:20 #3144 [Verbose] > │     match v0 with                                                            │

00:01:20 #3145 [Verbose] > │     | UH1_0(v2, v3, v4, v5) -> (* Cons *)                                    │

00:01:20 #3146 [Verbose] > │         let v6 : uint64 = v1 + 1UL                                           │

00:01:20 #3147 [Verbose] > │         method12(v5, v6)                                                     │

00:01:20 #3148 [Verbose] > │     | UH1_1 -> (* Nil *)                                                     │

00:01:20 #3149 [Verbose] > │         v1                                                                   │

00:01:20 #3150 [Verbose] > │ and method13 (v0 : (struct (int32 * string * (struct ((int32 []) * int32 *   │

00:01:20 #3151 [Verbose] > │ int32) -> US0)) []), v1 : UH1, v2 : uint64) : uint64 =                       │

00:01:20 #3152 [Verbose] > │     match v1 with                                                            │

00:01:20 #3153 [Verbose] > │     | UH1_0(v3, v4, v5, v6) -> (* Cons *)                                    │

00:01:20 #3154 [Verbose] > │         v0.[int v2] <- struct (v3, v4, v5)                                   │

00:01:20 #3155 [Verbose] > │         let v7 : uint64 = v2 + 1UL                                           │

00:01:20 #3156 [Verbose] > │         method13(v0, v6, v7)                                                 │

00:01:20 #3157 [Verbose] > │     | UH1_1 -> (* Nil *)                                                     │

00:01:20 #3158 [Verbose] > │         v2                                                                   │

00:01:20 #3159 [Verbose] > │ and method11 (v0 : UH1) : (struct (int32 * string * (struct ((int32 []) *    │

00:01:20 #3160 [Verbose] > │ int32 * int32) -> US0)) []) =                                                │

00:01:20 #3161 [Verbose] > │     let v1 : uint64 = 0UL                                                    │

00:01:20 #3162 [Verbose] > │     let v2 : uint64 = method12(v0, v1)                                       │

00:01:20 #3163 [Verbose] > │     let v3 : (struct (int32 * string * (struct ((int32 []) * int32 * int32)  │

00:01:20 #3164 [Verbose] > │ -> US0)) []) = Array.zeroCreate<struct (int32 * string * (struct ((int32 []) │

00:01:20 #3165 [Verbose] > │ * int32 * int32) -> US0))> (System.Convert.ToInt32(v2))                      │

00:01:20 #3166 [Verbose] > │     let v4 : uint64 = 0UL                                                    │

00:01:20 #3167 [Verbose] > │     let v5 : uint64 = method13(v3, v0, v4)                                   │

00:01:20 #3168 [Verbose] > │     v3                                                                       │

00:01:20 #3169 [Verbose] > │ and method14 (v0 : Mut0) : bool =                                            │

00:01:20 #3170 [Verbose] > │     let v1 : int32 = v0.l0                                                   │

00:01:20 #3171 [Verbose] > │     let v2 : bool = v1 < 8000001                                             │

00:01:20 #3172 [Verbose] > │     v2                                                                       │

00:01:20 #3173 [Verbose] > │ and closure5 (v0 : (int32 []), v1 : int32, v2 : int32, v3 : (struct ((int32  │

00:01:20 #3174 [Verbose] > │ []) * int32 * int32) -> US0)) (v4 : int32) : US0 =                           │

00:01:20 #3175 [Verbose] > │     v3 struct (v0, v1, v2)                                                   │

00:01:20 #3176 [Verbose] > │ and method15 (v0 : US0, v1 : (US0 []), v2 : uint64) : bool =                 │

00:01:20 #3177 [Verbose] > │     let v3 : uint64 = System.Convert.ToUInt64 v1.Length                      │

00:01:20 #3178 [Verbose] > │     let v4 : bool = v2 < v3                                                  │

00:01:20 #3179 [Verbose] > │     if v4 then                                                               │

00:01:20 #3180 [Verbose] > │         let v5 : US0 = v1.[int v2]                                           │

00:01:20 #3181 [Verbose] > │         let v9 : bool =                                                      │

00:01:20 #3182 [Verbose] > │             match v0, v5 with                                                │

00:01:20 #3183 [Verbose] > │             | US0_0, US0_0 -> (* None *)                                     │

00:01:20 #3184 [Verbose] > │                 true                                                         │

00:01:20 #3185 [Verbose] > │             | US0_1(v6), US0_1(v7) -> (* Some *)                             │

00:01:20 #3186 [Verbose] > │                 let v8 : bool = v6 = v7                                      │

00:01:20 #3187 [Verbose] > │                 v8                                                           │

00:01:20 #3188 [Verbose] > │             | _ ->                                                           │

00:01:20 #3189 [Verbose] > │                 false                                                        │

00:01:20 #3190 [Verbose] > │         if v9 then                                                           │

00:01:20 #3191 [Verbose] > │             let v10 : uint64 = v2 + 1UL                                      │

00:01:20 #3192 [Verbose] > │             method15(v0, v1, v10)                                            │

00:01:20 #3193 [Verbose] > │         else                                                                 │

00:01:20 #3194 [Verbose] > │             false                                                            │

00:01:20 #3195 [Verbose] > │     else                                                                     │

00:01:20 #3196 [Verbose] > │         true                                                                 │

00:01:20 #3197 [Verbose] > │ and method16 (v0 : uint64, v1 : Mut2) : bool =                               │

00:01:20 #3198 [Verbose] > │     let v2 : uint64 = v1.l0                                                  │

00:01:20 #3199 [Verbose] > │     let v3 : bool = v2 < v0                                                  │

00:01:20 #3200 [Verbose] > │     v3                                                                       │

00:01:20 #3201 [Verbose] > │ and method17 (v0 : UH3, v1 : UH3) : UH3 =                                    │

00:01:20 #3202 [Verbose] > │     match v0 with                                                            │

00:01:20 #3203 [Verbose] > │     | UH3_0(v2, v3, v4) -> (* Cons *)                                        │

00:01:20 #3204 [Verbose] > │         let v5 : UH3 = UH3_0(v2, v3, v1)                                     │

00:01:20 #3205 [Verbose] > │         method17(v4, v5)                                                     │

00:01:20 #3206 [Verbose] > │     | UH3_1 -> (* Nil *)                                                     │

00:01:20 #3207 [Verbose] > │         v1                                                                   │

00:01:20 #3208 [Verbose] > │ and method19 (v0 : UH3, v1 : int32) : int32 =                                │

00:01:20 #3209 [Verbose] > │     match v0 with                                                            │

00:01:20 #3210 [Verbose] > │     | UH3_0(v2, v3, v4) -> (* Cons *)                                        │

00:01:20 #3211 [Verbose] > │         let v5 : int32 = v1 + 1                                              │

00:01:20 #3212 [Verbose] > │         method19(v4, v5)                                                     │

00:01:20 #3213 [Verbose] > │     | UH3_1 -> (* Nil *)                                                     │

00:01:20 #3214 [Verbose] > │         v1                                                                   │

00:01:20 #3215 [Verbose] > │ and method20 (v0 : (struct (int64 * int64) []), v1 : UH3, v2 : int32) :      │

00:01:20 #3216 [Verbose] > │ int32 =                                                                      │

00:01:20 #3217 [Verbose] > │     match v1 with                                                            │

00:01:20 #3218 [Verbose] > │     | UH3_0(v3, v4, v5) -> (* Cons *)                                        │

00:01:20 #3219 [Verbose] > │         v0.[int v2] <- struct (v3, v4)                                       │

00:01:20 #3220 [Verbose] > │         let v6 : int32 = v2 + 1                                              │

00:01:20 #3221 [Verbose] > │         method20(v0, v5, v6)                                                 │

00:01:20 #3222 [Verbose] > │     | UH3_1 -> (* Nil *)                                                     │

00:01:20 #3223 [Verbose] > │         v2                                                                   │

00:01:20 #3224 [Verbose] > │ and method18 (v0 : UH3) : (struct (int64 * int64) []) =                      │

00:01:20 #3225 [Verbose] > │     let v1 : int32 = 0                                                       │

00:01:20 #3226 [Verbose] > │     let v2 : int32 = method19(v0, v1)                                        │

00:01:20 #3227 [Verbose] > │     let v3 : (struct (int64 * int64) []) = Array.zeroCreate<struct (int64 *  │

00:01:20 #3228 [Verbose] > │ int64)> (v2)                                                                 │

00:01:20 #3229 [Verbose] > │     let v4 : int32 = 0                                                       │

00:01:20 #3230 [Verbose] > │     let v5 : int32 = method20(v3, v0, v4)                                    │

00:01:20 #3231 [Verbose] > │     v3                                                                       │

00:01:20 #3232 [Verbose] > │ and method21 (v0 : int32, v1 : Mut0) : bool =                                │

00:01:20 #3233 [Verbose] > │     let v2 : int32 = v1.l0                                                   │

00:01:20 #3234 [Verbose] > │     let v3 : bool = v2 < v0                                                  │

00:01:20 #3235 [Verbose] > │     v3                                                                       │

00:01:20 #3236 [Verbose] > │ and closure6 () struct (v0 : int64, v1 : int64) : int64 =                    │

00:01:20 #3237 [Verbose] > │     v1                                                                       │

00:01:20 #3238 [Verbose] > │ and method23 (v0 : UH4, v1 : uint64) : uint64 =                              │

00:01:20 #3239 [Verbose] > │     match v0 with                                                            │

00:01:20 #3240 [Verbose] > │     | UH4_0(v2, v3, v4) -> (* Cons *)                                        │

00:01:20 #3241 [Verbose] > │         let v5 : uint64 = v1 + 1UL                                           │

00:01:20 #3242 [Verbose] > │         method23(v4, v5)                                                     │

00:01:20 #3243 [Verbose] > │     | UH4_1 -> (* Nil *)                                                     │

00:01:20 #3244 [Verbose] > │         v1                                                                   │

00:01:20 #3245 [Verbose] > │ and method24 (v0 : (struct (UH2 * US1) []), v1 : UH4, v2 : uint64) : uint64  │

00:01:20 #3246 [Verbose] > │ =                                                                            │

00:01:20 #3247 [Verbose] > │     match v1 with                                                            │

00:01:20 #3248 [Verbose] > │     | UH4_0(v3, v4, v5) -> (* Cons *)                                        │

00:01:20 #3249 [Verbose] > │         v0.[int v2] <- struct (v3, v4)                                       │

00:01:20 #3250 [Verbose] > │         let v6 : uint64 = v2 + 1UL                                           │

00:01:20 #3251 [Verbose] > │         method24(v0, v5, v6)                                                 │

00:01:20 #3252 [Verbose] > │     | UH4_1 -> (* Nil *)                                                     │

00:01:20 #3253 [Verbose] > │         v2                                                                   │

00:01:20 #3254 [Verbose] > │ and method22 (v0 : UH4) : (struct (UH2 * US1) []) =                          │

00:01:20 #3255 [Verbose] > │     let v1 : uint64 = 0UL                                                    │

00:01:20 #3256 [Verbose] > │     let v2 : uint64 = method23(v0, v1)                                       │

00:01:20 #3257 [Verbose] > │     let v3 : (struct (UH2 * US1) []) = Array.zeroCreate<struct (UH2 * US1)>  │

00:01:20 #3258 [Verbose] > │ (System.Convert.ToInt32(v2))                                                 │

00:01:20 #3259 [Verbose] > │     let v4 : uint64 = 0UL                                                    │

00:01:20 #3260 [Verbose] > │     let v5 : uint64 = method24(v3, v0, v4)                                   │

00:01:20 #3261 [Verbose] > │     v3                                                                       │

00:01:20 #3262 [Verbose] > │ and method26 (v0 : UH2, v1 : uint64) : uint64 =                              │

00:01:20 #3263 [Verbose] > │     match v0 with                                                            │

00:01:20 #3264 [Verbose] > │     | UH2_0(v2, v3) -> (* Cons *)                                            │

00:01:20 #3265 [Verbose] > │         let v4 : uint64 = v1 + 1UL                                           │

00:01:20 #3266 [Verbose] > │         method26(v3, v4)                                                     │

00:01:20 #3267 [Verbose] > │     | UH2_1 -> (* Nil *)                                                     │

00:01:20 #3268 [Verbose] > │         v1                                                                   │

00:01:20 #3269 [Verbose] > │ and method27 (v0 : (string []), v1 : UH2, v2 : uint64) : uint64 =            │

00:01:20 #3270 [Verbose] > │     match v1 with                                                            │

00:01:20 #3271 [Verbose] > │     | UH2_0(v3, v4) -> (* Cons *)                                            │

00:01:20 #3272 [Verbose] > │         v0.[int v2] <- v3                                                    │

00:01:20 #3273 [Verbose] > │         let v5 : uint64 = v2 + 1UL                                           │

00:01:20 #3274 [Verbose] > │         method27(v0, v4, v5)                                                 │

00:01:20 #3275 [Verbose] > │     | UH2_1 -> (* Nil *)                                                     │

00:01:20 #3276 [Verbose] > │         v2                                                                   │

00:01:20 #3277 [Verbose] > │ and method25 (v0 : UH2) : (string []) =                                      │

00:01:20 #3278 [Verbose] > │     let v1 : uint64 = 0UL                                                    │

00:01:20 #3279 [Verbose] > │     let v2 : uint64 = method26(v0, v1)                                       │

00:01:20 #3280 [Verbose] > │     let v3 : (string []) = Array.zeroCreate<string>                          │

00:01:20 #3281 [Verbose] > │ (System.Convert.ToInt32(v2))                                                 │

00:01:20 #3282 [Verbose] > │     let v4 : uint64 = 0UL                                                    │

00:01:20 #3283 [Verbose] > │     let v5 : uint64 = method27(v3, v0, v4)                                   │

00:01:20 #3284 [Verbose] > │     v3                                                                       │

00:01:20 #3285 [Verbose] > │ and closure7 () (v0 : int64) : US2 =                                         │

00:01:20 #3286 [Verbose] > │     US2_1(v0)                                                                │

00:01:20 #3287 [Verbose] > │ and method28 (v0 : uint64, v1 : Mut3) : bool =                               │

00:01:20 #3288 [Verbose] > │     let v2 : uint64 = v1.l0                                                  │

00:01:20 #3289 [Verbose] > │     let v3 : bool = v2 < v0                                                  │

00:01:20 #3290 [Verbose] > │     v3                                                                       │

00:01:20 #3291 [Verbose] > │ and method29 (v0 : UH5, v1 : UH5) : UH5 =                                    │

00:01:20 #3292 [Verbose] > │     match v0 with                                                            │

00:01:20 #3293 [Verbose] > │     | UH5_0(v2, v3, v4) -> (* Cons *)                                        │

00:01:20 #3294 [Verbose] > │         let v5 : UH5 = UH5_0(v2, v3, v1)                                     │

00:01:20 #3295 [Verbose] > │         method29(v4, v5)                                                     │

00:01:20 #3296 [Verbose] > │     | UH5_1 -> (* Nil *)                                                     │

00:01:20 #3297 [Verbose] > │         v1                                                                   │

00:01:20 #3298 [Verbose] > │ and method31 (v0 : UH5, v1 : int32) : int32 =                                │

00:01:20 #3299 [Verbose] > │     match v0 with                                                            │

00:01:20 #3300 [Verbose] > │     | UH5_0(v2, v3, v4) -> (* Cons *)                                        │

00:01:20 #3301 [Verbose] > │         let v5 : int32 = v1 + 1                                              │

00:01:20 #3302 [Verbose] > │         method31(v4, v5)                                                     │

00:01:20 #3303 [Verbose] > │     | UH5_1 -> (* Nil *)                                                     │

00:01:20 #3304 [Verbose] > │         v1                                                                   │

00:01:20 #3305 [Verbose] > │ and method32 (v0 : (struct (int32 * int64) []), v1 : UH5, v2 : int32) :      │

00:01:20 #3306 [Verbose] > │ int32 =                                                                      │

00:01:20 #3307 [Verbose] > │     match v1 with                                                            │

00:01:20 #3308 [Verbose] > │     | UH5_0(v3, v4, v5) -> (* Cons *)                                        │

00:01:20 #3309 [Verbose] > │         v0.[int v2] <- struct (v3, v4)                                       │

00:01:20 #3310 [Verbose] > │         let v6 : int32 = v2 + 1                                              │

00:01:20 #3311 [Verbose] > │         method32(v0, v5, v6)                                                 │

00:01:20 #3312 [Verbose] > │     | UH5_1 -> (* Nil *)                                                     │

00:01:20 #3313 [Verbose] > │         v2                                                                   │

00:01:20 #3314 [Verbose] > │ and method30 (v0 : UH5) : (struct (int32 * int64) []) =                      │

00:01:20 #3315 [Verbose] > │     let v1 : int32 = 0                                                       │

00:01:20 #3316 [Verbose] > │     let v2 : int32 = method31(v0, v1)                                        │

00:01:20 #3317 [Verbose] > │     let v3 : (struct (int32 * int64) []) = Array.zeroCreate<struct (int32 *  │

00:01:20 #3318 [Verbose] > │ int64)> (v2)                                                                 │

00:01:20 #3319 [Verbose] > │     let v4 : int32 = 0                                                       │

00:01:20 #3320 [Verbose] > │     let v5 : int32 = method32(v3, v0, v4)                                    │

00:01:20 #3321 [Verbose] > │     v3                                                                       │

00:01:20 #3322 [Verbose] > │ and method33 (v0 : UH2, v1 : UH6, v2 : int32) : struct (UH6 * int32) =       │

00:01:20 #3323 [Verbose] > │     match v0 with                                                            │

00:01:20 #3324 [Verbose] > │     | UH2_0(v3, v4) -> (* Cons *)                                            │

00:01:20 #3325 [Verbose] > │         let v5 : int32 = v2 + 1                                              │

00:01:20 #3326 [Verbose] > │         let v6 : UH6 = UH6_0(v2, v3, v1)                                     │

00:01:20 #3327 [Verbose] > │         method33(v4, v6, v5)                                                 │

00:01:20 #3328 [Verbose] > │     | UH2_1 -> (* Nil *)                                                     │

00:01:20 #3329 [Verbose] > │         struct (v1, v2)                                                      │

00:01:20 #3330 [Verbose] > │ and method34 (v0 : UH6, v1 : UH6) : UH6 =                                    │

00:01:20 #3331 [Verbose] > │     match v0 with                                                            │

00:01:20 #3332 [Verbose] > │     | UH6_0(v2, v3, v4) -> (* Cons *)                                        │

00:01:20 #3333 [Verbose] > │         let v5 : UH6 = UH6_0(v2, v3, v1)                                     │

00:01:20 #3334 [Verbose] > │         method34(v4, v5)                                                     │

00:01:20 #3335 [Verbose] > │     | UH6_1 -> (* Nil *)                                                     │

00:01:20 #3336 [Verbose] > │         v1                                                                   │

00:01:20 #3337 [Verbose] > │ and method35 (v0 : Map<int32, int64>, v1 : UH6, v2 : UH2) : UH2 =            │

00:01:20 #3338 [Verbose] > │     match v1 with                                                            │

00:01:20 #3339 [Verbose] > │     | UH6_0(v3, v4, v5) -> (* Cons *)                                        │

00:01:20 #3340 [Verbose] > │         let v6 : UH2 = method35(v0, v5, v2)                                  │

00:01:20 #3341 [Verbose] > │         let v7 : int64 = v0.[v3]                                             │

00:01:20 #3342 [Verbose] > │         let v8 : int32 = int32 v7                                            │

00:01:20 #3343 [Verbose] > │         let v9 : string = v4.PadRight v8                                     │

00:01:20 #3344 [Verbose] > │         UH2_0(v9, v6)                                                        │

00:01:20 #3345 [Verbose] > │     | UH6_1 -> (* Nil *)                                                     │

00:01:20 #3346 [Verbose] > │         v2                                                                   │

00:01:20 #3347 [Verbose] > │ and method37 (v0 : UH2, v1 : int32) : int32 =                                │

00:01:20 #3348 [Verbose] > │     match v0 with                                                            │

00:01:20 #3349 [Verbose] > │     | UH2_0(v2, v3) -> (* Cons *)                                            │

00:01:20 #3350 [Verbose] > │         let v4 : int32 = v1 + 1                                              │

00:01:20 #3351 [Verbose] > │         method37(v3, v4)                                                     │

00:01:20 #3352 [Verbose] > │     | UH2_1 -> (* Nil *)                                                     │

00:01:20 #3353 [Verbose] > │         v1                                                                   │

00:01:20 #3354 [Verbose] > │ and method38 (v0 : (string []), v1 : UH2, v2 : int32) : int32 =              │

00:01:20 #3355 [Verbose] > │     match v1 with                                                            │

00:01:20 #3356 [Verbose] > │     | UH2_0(v3, v4) -> (* Cons *)                                            │

00:01:20 #3357 [Verbose] > │         v0.[int v2] <- v3                                                    │

00:01:20 #3358 [Verbose] > │         let v5 : int32 = v2 + 1                                              │

00:01:20 #3359 [Verbose] > │         method38(v0, v4, v5)                                                 │

00:01:20 #3360 [Verbose] > │     | UH2_1 -> (* Nil *)                                                     │

00:01:20 #3361 [Verbose] > │         v2                                                                   │

00:01:20 #3362 [Verbose] > │ and method36 (v0 : UH2) : (string []) =                                      │

00:01:20 #3363 [Verbose] > │     let v1 : int32 = 0                                                       │

00:01:20 #3364 [Verbose] > │     let v2 : int32 = method37(v0, v1)                                        │

00:01:20 #3365 [Verbose] > │     let v3 : (string []) = Array.zeroCreate<string> (v2)                     │

00:01:20 #3366 [Verbose] > │     let v4 : int32 = 0                                                       │

00:01:20 #3367 [Verbose] > │     let v5 : int32 = method38(v3, v0, v4)                                    │

00:01:20 #3368 [Verbose] > │     v3                                                                       │

00:01:20 #3369 [Verbose] > │ and method40 (v0 : UH5, v1 : uint64) : uint64 =                              │

00:01:20 #3370 [Verbose] > │     match v0 with                                                            │

00:01:20 #3371 [Verbose] > │     | UH5_0(v2, v3, v4) -> (* Cons *)                                        │

00:01:20 #3372 [Verbose] > │         let v5 : uint64 = v1 + 1UL                                           │

00:01:20 #3373 [Verbose] > │         method40(v4, v5)                                                     │

00:01:20 #3374 [Verbose] > │     | UH5_1 -> (* Nil *)                                                     │

00:01:20 #3375 [Verbose] > │         v1                                                                   │

00:01:20 #3376 [Verbose] > │ and method41 (v0 : (struct (int32 * int64) []), v1 : UH5, v2 : uint64) :     │

00:01:20 #3377 [Verbose] > │ uint64 =                                                                     │

00:01:20 #3378 [Verbose] > │     match v1 with                                                            │

00:01:20 #3379 [Verbose] > │     | UH5_0(v3, v4, v5) -> (* Cons *)                                        │

00:01:20 #3380 [Verbose] > │         v0.[int v2] <- struct (v3, v4)                                       │

00:01:20 #3381 [Verbose] > │         let v6 : uint64 = v2 + 1UL                                           │

00:01:20 #3382 [Verbose] > │         method41(v0, v5, v6)                                                 │

00:01:20 #3383 [Verbose] > │     | UH5_1 -> (* Nil *)                                                     │

00:01:20 #3384 [Verbose] > │         v2                                                                   │

00:01:20 #3385 [Verbose] > │ and method39 (v0 : UH5) : (struct (int32 * int64) []) =                      │

00:01:20 #3386 [Verbose] > │     let v1 : uint64 = 0UL                                                    │

00:01:20 #3387 [Verbose] > │     let v2 : uint64 = method40(v0, v1)                                       │

00:01:20 #3388 [Verbose] > │     let v3 : (struct (int32 * int64) []) = Array.zeroCreate<struct (int32 *  │

00:01:20 #3389 [Verbose] > │ int64)> (System.Convert.ToInt32(v2))                                         │

00:01:20 #3390 [Verbose] > │     let v4 : uint64 = 0UL                                                    │

00:01:20 #3391 [Verbose] > │     let v5 : uint64 = method41(v3, v0, v4)                                   │

00:01:20 #3392 [Verbose] > │     v3                                                                       │

00:01:20 #3393 [Verbose] > │ and closure8 () struct (v0 : int32, v1 : int64) : int64 =                    │

00:01:20 #3394 [Verbose] > │     v1                                                                       │

00:01:20 #3395 [Verbose] > │ and closure0 () () : unit =                                                  │

00:01:20 #3396 [Verbose] > │     let v0 : (int32 []) = [|1; 3; 4; 6; 8; 9; 11|]                           │

00:01:20 #3397 [Verbose] > │     let v1 : (int32 []) = method1(v0)                                        │

00:01:20 #3398 [Verbose] > │     let v2 : int32 = v1.Length                                               │

00:01:20 #3399 [Verbose] > │     let v3 : (int32 []) = [|1; 3; 4; 6; 8; 9; 11|]                           │

00:01:20 #3400 [Verbose] > │     let v4 : (int32 []) = method1(v3)                                        │

00:01:20 #3401 [Verbose] > │     let v5 : int32 = v4.Length                                               │

00:01:20 #3402 [Verbose] > │     let v6 : (int32 []) = [|1; 3; 4; 6; 8; 9; 11|]                           │

00:01:20 #3403 [Verbose] > │     let v7 : (int32 []) = method1(v6)                                        │

00:01:20 #3404 [Verbose] > │     let v8 : int32 = v7.Length                                               │

00:01:20 #3405 [Verbose] > │     let v9 : (int32 []) = [|1; 3; 4; 6; 8; 9; 11|]                           │

00:01:20 #3406 [Verbose] > │     let v10 : (int32 []) = method1(v9)                                       │

00:01:20 #3407 [Verbose] > │     let v11 : int32 = v10.Length                                             │

00:01:20 #3408 [Verbose] > │     let v12 : (int32 []) = Array.zeroCreate<int32> (100)                     │

00:01:20 #3409 [Verbose] > │     let v13 : Mut0 = {l0 = 0} : Mut0                                         │

00:01:20 #3410 [Verbose] > │     while method2(v13) do                                                    │

00:01:20 #3411 [Verbose] > │         let v15 : int32 = v13.l0                                             │

00:01:20 #3412 [Verbose] > │         let v16 : int32 = 1 + v15                                            │

00:01:20 #3413 [Verbose] > │         v12.[int v15] <- v16                                                 │

00:01:20 #3414 [Verbose] > │         let v17 : int32 = v15 + 1                                            │

00:01:20 #3415 [Verbose] > │         v13.l0 <- v17                                                        │

00:01:20 #3416 [Verbose] > │         ()                                                                   │

00:01:20 #3417 [Verbose] > │     let v18 : int32 = v12.Length                                             │

00:01:20 #3418 [Verbose] > │     let v19 : (int32 []) = [|1; 3; 4; 6; 8; 9; 11|]                          │

00:01:20 #3419 [Verbose] > │     let v20 : (int32 []) = method1(v19)                                      │

00:01:20 #3420 [Verbose] > │     let v21 : (int32 []) = [|1; 3; 4; 6; 8; 9; 11|]                          │

00:01:20 #3421 [Verbose] > │     let v22 : (int32 []) = method1(v21)                                      │

00:01:20 #3422 [Verbose] > │     let v23 : (int32 []) = [|1; 3; 4; 6; 8; 9; 11|]                          │

00:01:20 #3423 [Verbose] > │     let v24 : (int32 []) = method1(v23)                                      │

00:01:20 #3424 [Verbose] > │     let v25 : (int32 []) = [|1; 3; 4; 6; 8; 9; 11|]                          │

00:01:20 #3425 [Verbose] > │     let v26 : (int32 []) = method1(v25)                                      │

00:01:20 #3426 [Verbose] > │     let v27 : (int32 []) = Array.zeroCreate<int32> (100)                     │

00:01:20 #3427 [Verbose] > │     let v28 : Mut0 = {l0 = 0} : Mut0                                         │

00:01:20 #3428 [Verbose] > │     while method2(v28) do                                                    │

00:01:20 #3429 [Verbose] > │         let v30 : int32 = v28.l0                                             │

00:01:20 #3430 [Verbose] > │         let v31 : int32 = 1 + v30                                            │

00:01:20 #3431 [Verbose] > │         v27.[int v30] <- v31                                                 │

00:01:20 #3432 [Verbose] > │         let v32 : int32 = v30 + 1                                            │

00:01:20 #3433 [Verbose] > │         v28.l0 <- v32                                                        │

00:01:20 #3434 [Verbose] > │         ()                                                                   │

00:01:20 #3435 [Verbose] > │     let v33 : (unit -> unit) = closure0()                                    │

00:01:20 #3436 [Verbose] > │     let v34 : string = nameof v33                                            │

00:01:20 #3437 [Verbose] > │     let v35 : string = ""                                                    │

00:01:20 #3438 [Verbose] > │     System.Console.WriteLine v35                                             │

00:01:20 #3439 [Verbose] > │     System.Console.WriteLine v35                                             │

00:01:20 #3440 [Verbose] > │     let v36 : string = $"Test: {v34}"                                        │

00:01:20 #3441 [Verbose] > │     System.Console.WriteLine v36                                             │

00:01:20 #3442 [Verbose] > │     let v37 : int32 = 6                                                      │

00:01:20 #3443 [Verbose] > │     let v38 : int32 = 3                                                      │

00:01:20 #3444 [Verbose] > │     let v39 : US0 = US0_1(v38)                                               │

00:01:20 #3445 [Verbose] > │     let v40 : int32 = 1                                                      │

00:01:20 #3446 [Verbose] > │     let v41 : int32 = 0                                                      │

00:01:20 #3447 [Verbose] > │     let v42 : US0 = US0_1(v41)                                               │

00:01:20 #3448 [Verbose] > │     let v43 : int32 = 11                                                     │

00:01:20 #3449 [Verbose] > │     let v44 : int32 = 6                                                      │

00:01:20 #3450 [Verbose] > │     let v45 : US0 = US0_1(v44)                                               │

00:01:20 #3451 [Verbose] > │     let v46 : int32 = 12                                                     │

00:01:20 #3452 [Verbose] > │     let v47 : US0 = US0_0                                                    │

00:01:20 #3453 [Verbose] > │     let v48 : int32 = 60                                                     │

00:01:20 #3454 [Verbose] > │     let v49 : int32 = 59                                                     │

00:01:20 #3455 [Verbose] > │     let v50 : US0 = US0_1(v49)                                               │

00:01:20 #3456 [Verbose] > │     let v51 : int32 = 6                                                      │

00:01:20 #3457 [Verbose] > │     let v52 : int32 = 7                                                      │

00:01:20 #3458 [Verbose] > │     let v53 : int32 = 3                                                      │

00:01:20 #3459 [Verbose] > │     let v54 : US0 = US0_1(v53)                                               │

00:01:20 #3460 [Verbose] > │     let v55 : int32 = 1                                                      │

00:01:20 #3461 [Verbose] > │     let v56 : int32 = 7                                                      │

00:01:20 #3462 [Verbose] > │     let v57 : int32 = 0                                                      │

00:01:20 #3463 [Verbose] > │     let v58 : US0 = US0_1(v57)                                               │

00:01:20 #3464 [Verbose] > │     let v59 : int32 = 11                                                     │

00:01:20 #3465 [Verbose] > │     let v60 : int32 = 7                                                      │

00:01:20 #3466 [Verbose] > │     let v61 : int32 = 6                                                      │

00:01:20 #3467 [Verbose] > │     let v62 : US0 = US0_1(v61)                                               │

00:01:20 #3468 [Verbose] > │     let v63 : int32 = 12                                                     │

00:01:20 #3469 [Verbose] > │     let v64 : int32 = 7                                                      │

00:01:20 #3470 [Verbose] > │     let v65 : US0 = US0_0                                                    │

00:01:20 #3471 [Verbose] > │     let v66 : int32 = 60                                                     │

00:01:20 #3472 [Verbose] > │     let v67 : int32 = 100                                                    │

00:01:20 #3473 [Verbose] > │     let v68 : int32 = 59                                                     │

00:01:20 #3474 [Verbose] > │     let v69 : US0 = US0_1(v68)                                               │

00:01:20 #3475 [Verbose] > │     let v70 : UH0 = UH0_1                                                    │

00:01:20 #3476 [Verbose] > │     let v71 : UH0 = UH0_0(v27, v66, v67, v69, v70)                           │

00:01:20 #3477 [Verbose] > │     let v72 : UH0 = UH0_0(v26, v63, v64, v65, v71)                           │

00:01:20 #3478 [Verbose] > │     let v73 : UH0 = UH0_0(v24, v59, v60, v62, v72)                           │

00:01:20 #3479 [Verbose] > │     let v74 : UH0 = UH0_0(v22, v55, v56, v58, v73)                           │

00:01:20 #3480 [Verbose] > │     let v75 : UH0 = UH0_0(v20, v51, v52, v54, v74)                           │

00:01:20 #3481 [Verbose] > │     let v76 : UH0 = UH0_0(v12, v48, v18, v50, v75)                           │

00:01:20 #3482 [Verbose] > │     let v77 : UH0 = UH0_0(v10, v46, v11, v47, v76)                           │

00:01:20 #3483 [Verbose] > │     let v78 : UH0 = UH0_0(v7, v43, v8, v45, v77)                             │

00:01:20 #3484 [Verbose] > │     let v79 : UH0 = UH0_0(v4, v40, v5, v42, v78)                             │

00:01:20 #3485 [Verbose] > │     let v80 : UH0 = UH0_0(v1, v37, v2, v39, v79)                             │

00:01:20 #3486 [Verbose] > │     let v81 : (struct ((int32 []) * int32 * int32 * US0) []) = method3(v80)  │

00:01:20 #3487 [Verbose] > │     let v82 : uint64 = System.Convert.ToUInt64 v81.Length                    │

00:01:20 #3488 [Verbose] > │     let v83 : (struct (string * string * string * (int64 [])) []) =          │

00:01:20 #3489 [Verbose] > │ Array.zeroCreate<struct (string * string * string * (int64 []))>             │

00:01:20 #3490 [Verbose] > │ (System.Convert.ToInt32(v82))                                                │

00:01:20 #3491 [Verbose] > │     let v84 : Mut1 = {l0 = 0UL} : Mut1                                       │

00:01:20 #3492 [Verbose] > │     while method6(v82, v84) do                                               │

00:01:20 #3493 [Verbose] > │         let v86 : uint64 = v84.l0                                            │

00:01:20 #3494 [Verbose] > │         let struct (v87 : (int32 []), v88 : int32, v89 : int32, v90 : US0) = │

00:01:20 #3495 [Verbose] > │ v81.[int v86]                                                                │

00:01:20 #3496 [Verbose] > │         let v91 : string = $"%A{struct (v87, v88, v89)}"                     │

00:01:20 #3497 [Verbose] > │         System.Console.WriteLine v35                                         │

00:01:20 #3498 [Verbose] > │         let v92 : string = $"Solution: {v91}  "                              │

00:01:20 #3499 [Verbose] > │         System.Console.WriteLine v92                                         │

00:01:20 #3500 [Verbose] > │         let v93 : int32 = 0                                                  │

00:01:20 #3501 [Verbose] > │         let v94 : string = "semi_open_1"                                     │

00:01:20 #3502 [Verbose] > │         let v95 : (struct ((int32 []) * int32 * int32) -> US0) = closure1()  │

00:01:20 #3503 [Verbose] > │         let v96 : int32 = 1                                                  │

00:01:20 #3504 [Verbose] > │         let v97 : string = "closed_1"                                        │

00:01:20 #3505 [Verbose] > │         let v98 : (struct ((int32 []) * int32 * int32) -> US0) = closure2()  │

00:01:20 #3506 [Verbose] > │         let v99 : int32 = 2                                                  │

00:01:20 #3507 [Verbose] > │         let v100 : string = "semi_open_2"                                    │

00:01:20 #3508 [Verbose] > │         let v101 : (struct ((int32 []) * int32 * int32) -> US0) = closure3() │

00:01:20 #3509 [Verbose] > │         let v102 : int32 = 3                                                 │

00:01:20 #3510 [Verbose] > │         let v103 : string = "closed_2"                                       │

00:01:20 #3511 [Verbose] > │         let v104 : (struct ((int32 []) * int32 * int32) -> US0) = closure4() │

00:01:20 #3512 [Verbose] > │         let v105 : UH1 = UH1_1                                               │

00:01:20 #3513 [Verbose] > │         let v106 : UH1 = UH1_0(v102, v103, v104, v105)                       │

00:01:20 #3514 [Verbose] > │         let v107 : UH1 = UH1_0(v99, v100, v101, v106)                        │

00:01:20 #3515 [Verbose] > │         let v108 : UH1 = UH1_0(v96, v97, v98, v107)                          │

00:01:20 #3516 [Verbose] > │         let v109 : UH1 = UH1_0(v93, v94, v95, v108)                          │

00:01:20 #3517 [Verbose] > │         let v110 : (struct (int32 * string * (struct ((int32 []) * int32 *   │

00:01:20 #3518 [Verbose] > │ int32) -> US0)) []) = method11(v109)                                         │

00:01:20 #3519 [Verbose] > │         let v111 : uint64 = System.Convert.ToUInt64 v110.Length              │

00:01:20 #3520 [Verbose] > │         let v112 : (struct (US0 * int64) []) = Array.zeroCreate<struct (US0  │

00:01:20 #3521 [Verbose] > │ * int64)> (System.Convert.ToInt32(v111))                                     │

00:01:20 #3522 [Verbose] > │         let v113 : Mut1 = {l0 = 0UL} : Mut1                                  │

00:01:20 #3523 [Verbose] > │         while method6(v111, v113) do                                         │

00:01:20 #3524 [Verbose] > │             let v115 : uint64 = v113.l0                                      │

00:01:20 #3525 [Verbose] > │             let struct (v116 : int32, v117 : string, v118 : (struct ((int32  │

00:01:20 #3526 [Verbose] > │ []) * int32 * int32) -> US0)) = v110.[int v115]                              │

00:01:20 #3527 [Verbose] > │             let mutable result = None                                        │

00:01:20 #3528 [Verbose] > │             #if FABLE_COMPILER_RUST                                          │

00:01:20 #3529 [Verbose] > │             #if !WASM                                                        │

00:01:20 #3530 [Verbose] > │             ()                                                               │

00:01:20 #3531 [Verbose] > │             #else                                                            │

00:01:20 #3532 [Verbose] > │             ()                                                               │

00:01:20 #3533 [Verbose] > │             #endif                                                           │

00:01:20 #3534 [Verbose] > │             #else                                                            │

00:01:20 #3535 [Verbose] > │             System.GC.Collect ()                                             │

00:01:20 #3536 [Verbose] > │             ()                                                               │

00:01:20 #3537 [Verbose] > │             #endif                                                           │

00:01:20 #3538 [Verbose] > │             |> fun x -> result <- Some x                                     │

00:01:20 #3539 [Verbose] > │             result |> Option.get                                             │

00:01:20 #3540 [Verbose] > │             let v119 : (unit -> System.Diagnostics.Stopwatch) =              │

00:01:20 #3541 [Verbose] > │ System.Diagnostics.Stopwatch                                                 │

00:01:20 #3542 [Verbose] > │             let v120 : System.Diagnostics.Stopwatch = v119 ()                │

00:01:20 #3543 [Verbose] > │             v120.Start ()                                                    │

00:01:20 #3544 [Verbose] > │             let v121 : int64 = v120.ElapsedMilliseconds                      │

00:01:20 #3545 [Verbose] > │             let v122 : (int32 []) = Array.zeroCreate<int32> (8000001)        │

00:01:20 #3546 [Verbose] > │             let v123 : Mut0 = {l0 = 0} : Mut0                                │

00:01:20 #3547 [Verbose] > │             while method14(v123) do                                          │

00:01:20 #3548 [Verbose] > │                 let v125 : int32 = v123.l0                                   │

00:01:20 #3549 [Verbose] > │                 v122.[int v125] <- v125                                      │

00:01:20 #3550 [Verbose] > │                 let v126 : int32 = v125 + 1                                  │

00:01:20 #3551 [Verbose] > │                 v123.l0 <- v126                                              │

00:01:20 #3552 [Verbose] > │                 ()                                                           │

00:01:20 #3553 [Verbose] > │             let v127 : (int32 -> US0) = closure5(v87, v88, v89, v118)        │

00:01:20 #3554 [Verbose] > │             let v128 : (US0 []) = v122 |> Array.Parallel.map v127            │

00:01:20 #3555 [Verbose] > │             let v129 : int32 = v128.Length                                   │

00:01:20 #3556 [Verbose] > │             let v130 : int32 = v129 - 1                                      │

00:01:20 #3557 [Verbose] > │             let v131 : US0 = v128.[int v130]                                 │

00:01:20 #3558 [Verbose] > │             let v132 : int64 = v120.ElapsedMilliseconds                      │

00:01:20 #3559 [Verbose] > │             let v133 : int64 = v132 - v121                                   │

00:01:20 #3560 [Verbose] > │             let v134 : string = $"Test case {v116 + 1}. {v117}. Time: {v133} │

00:01:20 #3561 [Verbose] > │ "                                                                            │

00:01:20 #3562 [Verbose] > │             System.Console.WriteLine v134                                    │

00:01:20 #3563 [Verbose] > │             v112.[int v115] <- struct (v131, v133)                           │

00:01:20 #3564 [Verbose] > │             let v135 : uint64 = v115 + 1UL                                   │

00:01:20 #3565 [Verbose] > │             v113.l0 <- v135                                                  │

00:01:20 #3566 [Verbose] > │             ()                                                               │

00:01:20 #3567 [Verbose] > │         let v136 : uint64 = System.Convert.ToUInt64 v112.Length              │

00:01:20 #3568 [Verbose] > │         let v137 : (US0 []) = Array.zeroCreate<US0>                          │

00:01:20 #3569 [Verbose] > │ (System.Convert.ToInt32(v136))                                               │

00:01:20 #3570 [Verbose] > │         let v138 : Mut1 = {l0 = 0UL} : Mut1                                  │

00:01:20 #3571 [Verbose] > │         while method6(v136, v138) do                                         │

00:01:20 #3572 [Verbose] > │             let v140 : uint64 = v138.l0                                      │

00:01:20 #3573 [Verbose] > │             let struct (v141 : US0, v142 : int64) = v112.[int v140]          │

00:01:20 #3574 [Verbose] > │             v137.[int v140] <- v141                                          │

00:01:20 #3575 [Verbose] > │             let v143 : uint64 = v140 + 1UL                                   │

00:01:20 #3576 [Verbose] > │             v138.l0 <- v143                                                  │

00:01:20 #3577 [Verbose] > │             ()                                                               │

00:01:20 #3578 [Verbose] > │         let v144 : uint64 = System.Convert.ToUInt64 v137.Length              │

00:01:20 #3579 [Verbose] > │         let v145 : bool = v144 <= 1UL                                        │

00:01:20 #3580 [Verbose] > │         if v145 then                                                         │

00:01:20 #3581 [Verbose] > │             ()                                                               │

00:01:20 #3582 [Verbose] > │         else                                                                 │

00:01:20 #3583 [Verbose] > │             let v146 : US0 = v137.[int 0UL]                                  │

00:01:20 #3584 [Verbose] > │             let v147 : uint64 = 0UL                                          │

00:01:20 #3585 [Verbose] > │             let v148 : bool = method15(v146, v137, v147)                     │

00:01:20 #3586 [Verbose] > │             if v148 then                                                     │

00:01:20 #3587 [Verbose] > │                 ()                                                           │

00:01:20 #3588 [Verbose] > │             else                                                             │

00:01:20 #3589 [Verbose] > │                 let v149 : string = $"Challenge error: {v137}"               │

00:01:20 #3590 [Verbose] > │                 failwith<unit> v149                                          │

00:01:20 #3591 [Verbose] > │         let v150 : string = $"%A{v90}"                                       │

00:01:20 #3592 [Verbose] > │         let v151 : (US0 []) = Array.zeroCreate<US0>                          │

00:01:20 #3593 [Verbose] > │ (System.Convert.ToInt32(v136))                                               │

00:01:20 #3594 [Verbose] > │         let v152 : Mut1 = {l0 = 0UL} : Mut1                                  │

00:01:20 #3595 [Verbose] > │         while method6(v136, v152) do                                         │

00:01:20 #3596 [Verbose] > │             let v154 : uint64 = v152.l0                                      │

00:01:20 #3597 [Verbose] > │             let struct (v155 : US0, v156 : int64) = v112.[int v154]          │

00:01:20 #3598 [Verbose] > │             v151.[int v154] <- v155                                          │

00:01:20 #3599 [Verbose] > │             let v157 : uint64 = v154 + 1UL                                   │

00:01:20 #3600 [Verbose] > │             v152.l0 <- v157                                                  │

00:01:20 #3601 [Verbose] > │             ()                                                               │

00:01:20 #3602 [Verbose] > │         let v158 : US0 = v151.[int 0UL]                                      │

00:01:20 #3603 [Verbose] > │         let v159 : string = $"%A{v158}"                                      │

00:01:20 #3604 [Verbose] > │         let v160 : (int64 []) = Array.zeroCreate<int64>                      │

00:01:20 #3605 [Verbose] > │ (System.Convert.ToInt32(v136))                                               │

00:01:20 #3606 [Verbose] > │         let v161 : Mut1 = {l0 = 0UL} : Mut1                                  │

00:01:20 #3607 [Verbose] > │         while method6(v136, v161) do                                         │

00:01:20 #3608 [Verbose] > │             let v163 : uint64 = v161.l0                                      │

00:01:20 #3609 [Verbose] > │             let struct (v164 : US0, v165 : int64) = v112.[int v163]          │

00:01:20 #3610 [Verbose] > │             v160.[int v163] <- v165                                          │

00:01:20 #3611 [Verbose] > │             let v166 : uint64 = v163 + 1UL                                   │

00:01:20 #3612 [Verbose] > │             v161.l0 <- v166                                                  │

00:01:20 #3613 [Verbose] > │             ()                                                               │

00:01:20 #3614 [Verbose] > │         v83.[int v86] <- struct (v150, v91, v159, v160)                      │

00:01:20 #3615 [Verbose] > │         let v167 : uint64 = v86 + 1UL                                        │

00:01:20 #3616 [Verbose] > │         v84.l0 <- v167                                                       │

00:01:20 #3617 [Verbose] > │         ()                                                                   │

00:01:20 #3618 [Verbose] > │     let v168 : uint64 = System.Convert.ToUInt64 v83.Length                   │

00:01:20 #3619 [Verbose] > │     let v169 : (struct (UH2 * US1) []) = Array.zeroCreate<struct (UH2 *      │

00:01:20 #3620 [Verbose] > │ US1)> (System.Convert.ToInt32(v168))                                         │

00:01:20 #3621 [Verbose] > │     let v170 : Mut1 = {l0 = 0UL} : Mut1                                      │

00:01:20 #3622 [Verbose] > │     while method6(v168, v170) do                                             │

00:01:20 #3623 [Verbose] > │         let v172 : uint64 = v170.l0                                          │

00:01:20 #3624 [Verbose] > │         let struct (v173 : string, v174 : string, v175 : string, v176 :      │

00:01:20 #3625 [Verbose] > │ (int64 [])) = v83.[int v172]                                                 │

00:01:20 #3626 [Verbose] > │         let v177 : uint64 = System.Convert.ToUInt64 v176.Length              │

00:01:20 #3627 [Verbose] > │         let v178 : UH3 = UH3_1                                               │

00:01:20 #3628 [Verbose] > │         let v179 : Mut2 = {l0 = 0UL; l1 = v178; l2 = 0L} : Mut2              │

00:01:20 #3629 [Verbose] > │         while method16(v177, v179) do                                        │

00:01:20 #3630 [Verbose] > │             let v181 : uint64 = v179.l0                                      │

00:01:20 #3631 [Verbose] > │             let struct (v182 : UH3, v183 : int64) = v179.l1, v179.l2         │

00:01:20 #3632 [Verbose] > │             let v184 : int64 = v176.[int v181]                               │

00:01:20 #3633 [Verbose] > │             let v185 : int64 = v183 + 1L                                     │

00:01:20 #3634 [Verbose] > │             let v186 : uint64 = v181 + 1UL                                   │

00:01:20 #3635 [Verbose] > │             let v187 : UH3 = UH3_0(v183, v184, v182)                         │

00:01:20 #3636 [Verbose] > │             v179.l0 <- v186                                                  │

00:01:20 #3637 [Verbose] > │             v179.l1 <- v187                                                  │

00:01:20 #3638 [Verbose] > │             v179.l2 <- v185                                                  │

00:01:20 #3639 [Verbose] > │             ()                                                               │

00:01:20 #3640 [Verbose] > │         let struct (v188 : UH3, v189 : int64) = v179.l1, v179.l2             │

00:01:20 #3641 [Verbose] > │         let v190 : UH3 = UH3_1                                               │

00:01:20 #3642 [Verbose] > │         let v191 : UH3 = method17(v188, v190)                                │

00:01:20 #3643 [Verbose] > │         let v192 : (struct (int64 * int64) []) = method18(v191)              │

00:01:20 #3644 [Verbose] > │         let v193 : int32 = v192.Length                                       │

00:01:20 #3645 [Verbose] > │         let v194 : (struct (int64 * int64) []) = Array.zeroCreate<struct     │

00:01:20 #3646 [Verbose] > │ (int64 * int64)> (v193)                                                      │

00:01:20 #3647 [Verbose] > │         let v195 : Mut0 = {l0 = 0} : Mut0                                    │

00:01:20 #3648 [Verbose] > │         while method21(v193, v195) do                                        │

00:01:20 #3649 [Verbose] > │             let v197 : int32 = v195.l0                                       │

00:01:20 #3650 [Verbose] > │             let struct (v198 : int64, v199 : int64) = v192.[int v197]        │

00:01:20 #3651 [Verbose] > │             let v200 : int64 = v198 + 1L                                     │

00:01:20 #3652 [Verbose] > │             v194.[int v197] <- struct (v200, v199)                           │

00:01:20 #3653 [Verbose] > │             let v201 : int32 = v197 + 1                                      │

00:01:20 #3654 [Verbose] > │             v195.l0 <- v201                                                  │

00:01:20 #3655 [Verbose] > │             ()                                                               │

00:01:20 #3656 [Verbose] > │         let v202 : (struct (int64 * int64) -> int64) = closure6()            │

00:01:20 #3657 [Verbose] > │         let v203 : (struct (int64 * int64) []) = v194 |> Array.sortBy v202   │

00:01:20 #3658 [Verbose] > │         let struct (v204 : int64, v205 : int64) = v203.[int 0]               │

00:01:20 #3659 [Verbose] > │         let v206 : string = $"%A{struct (v204, v205)}"                       │

00:01:20 #3660 [Verbose] > │         let v207 : bool = v173 = v175                                        │

00:01:20 #3661 [Verbose] > │         let v212 : US1 =                                                     │

00:01:20 #3662 [Verbose] > │             if v207 then                                                     │

00:01:20 #3663 [Verbose] > │                 let v208 : System.ConsoleColor =                             │

00:01:20 #3664 [Verbose] > │ System.ConsoleColor.DarkGreen                                                │

00:01:20 #3665 [Verbose] > │                 US1_1(v208)                                                  │

00:01:20 #3666 [Verbose] > │             else                                                             │

00:01:20 #3667 [Verbose] > │                 let v210 : System.ConsoleColor = System.ConsoleColor.DarkRed │

00:01:20 #3668 [Verbose] > │                 US1_1(v210)                                                  │

00:01:20 #3669 [Verbose] > │         let v213 : UH2 = UH2_1                                               │

00:01:20 #3670 [Verbose] > │         let v214 : UH2 = UH2_0(v206, v213)                                   │

00:01:20 #3671 [Verbose] > │         let v215 : UH2 = UH2_0(v175, v214)                                   │

00:01:20 #3672 [Verbose] > │         let v216 : UH2 = UH2_0(v173, v215)                                   │

00:01:20 #3673 [Verbose] > │         let v217 : UH2 = UH2_0(v174, v216)                                   │

00:01:20 #3674 [Verbose] > │         v169.[int v172] <- struct (v217, v212)                               │

00:01:20 #3675 [Verbose] > │         let v218 : uint64 = v172 + 1UL                                       │

00:01:20 #3676 [Verbose] > │         v170.l0 <- v218                                                      │

00:01:20 #3677 [Verbose] > │         ()                                                                   │

00:01:20 #3678 [Verbose] > │     let v219 : string = "Input"                                              │

00:01:20 #3679 [Verbose] > │     let v220 : string = "Expected"                                           │

00:01:20 #3680 [Verbose] > │     let v221 : string = "Result"                                             │

00:01:20 #3681 [Verbose] > │     let v222 : string = "Best"                                               │

00:01:20 #3682 [Verbose] > │     let v223 : UH2 = UH2_1                                                   │

00:01:20 #3683 [Verbose] > │     let v224 : UH2 = UH2_0(v222, v223)                                       │

00:01:20 #3684 [Verbose] > │     let v225 : UH2 = UH2_0(v221, v224)                                       │

00:01:20 #3685 [Verbose] > │     let v226 : UH2 = UH2_0(v220, v225)                                       │

00:01:20 #3686 [Verbose] > │     let v227 : UH2 = UH2_0(v219, v226)                                       │

00:01:20 #3687 [Verbose] > │     let v228 : US1 = US1_0                                                   │

00:01:20 #3688 [Verbose] > │     let v229 : string = "---"                                                │

00:01:20 #3689 [Verbose] > │     let v230 : UH2 = UH2_1                                                   │

00:01:20 #3690 [Verbose] > │     let v231 : UH2 = UH2_0(v229, v230)                                       │

00:01:20 #3691 [Verbose] > │     let v232 : UH2 = UH2_0(v229, v231)                                       │

00:01:20 #3692 [Verbose] > │     let v233 : UH2 = UH2_0(v229, v232)                                       │

00:01:20 #3693 [Verbose] > │     let v234 : UH2 = UH2_0(v229, v233)                                       │

00:01:20 #3694 [Verbose] > │     let v235 : US1 = US1_0                                                   │

00:01:20 #3695 [Verbose] > │     let v236 : UH4 = UH4_1                                                   │

00:01:20 #3696 [Verbose] > │     let v237 : UH4 = UH4_0(v234, v235, v236)                                 │

00:01:20 #3697 [Verbose] > │     let v238 : UH4 = UH4_0(v227, v228, v237)                                 │

00:01:20 #3698 [Verbose] > │     let v239 : (struct (UH2 * US1) []) = method22(v238)                      │

00:01:20 #3699 [Verbose] > │     let v240 : uint64 = System.Convert.ToUInt64 v239.Length                  │

00:01:20 #3700 [Verbose] > │     let v241 : uint64 = System.Convert.ToUInt64 v169.Length                  │

00:01:20 #3701 [Verbose] > │     let v242 : uint64 = v240 + v241                                          │

00:01:20 #3702 [Verbose] > │     let v243 : (struct (UH2 * US1) []) = Array.zeroCreate<struct (UH2 *      │

00:01:20 #3703 [Verbose] > │ US1)> (System.Convert.ToInt32(v242))                                         │

00:01:20 #3704 [Verbose] > │     let v244 : Mut1 = {l0 = 0UL} : Mut1                                      │

00:01:20 #3705 [Verbose] > │     while method6(v242, v244) do                                             │

00:01:20 #3706 [Verbose] > │         let v246 : uint64 = v244.l0                                          │

00:01:20 #3707 [Verbose] > │         let v247 : bool = v246 < v240                                        │

00:01:20 #3708 [Verbose] > │         let struct (v253 : UH2, v254 : US1) =                                │

00:01:20 #3709 [Verbose] > │             if v247 then                                                     │

00:01:20 #3710 [Verbose] > │                 let struct (v248 : UH2, v249 : US1) = v239.[int v246]        │

00:01:20 #3711 [Verbose] > │                 struct (v248, v249)                                          │

00:01:20 #3712 [Verbose] > │             else                                                             │

00:01:20 #3713 [Verbose] > │                 let v250 : uint64 = v246 - v240                              │

00:01:20 #3714 [Verbose] > │                 let struct (v251 : UH2, v252 : US1) = v169.[int v250]        │

00:01:20 #3715 [Verbose] > │                 struct (v251, v252)                                          │

00:01:20 #3716 [Verbose] > │         v243.[int v246] <- struct (v253, v254)                               │

00:01:20 #3717 [Verbose] > │         let v255 : uint64 = v246 + 1UL                                       │

00:01:20 #3718 [Verbose] > │         v244.l0 <- v255                                                      │

00:01:20 #3719 [Verbose] > │         ()                                                                   │

00:01:20 #3720 [Verbose] > │     let v256 : uint64 = System.Convert.ToUInt64 v243.Length                  │

00:01:20 #3721 [Verbose] > │     let v257 : ((string []) []) = Array.zeroCreate<(string [])>              │

00:01:20 #3722 [Verbose] > │ (System.Convert.ToInt32(v256))                                               │

00:01:20 #3723 [Verbose] > │     let v258 : Mut1 = {l0 = 0UL} : Mut1                                      │

00:01:20 #3724 [Verbose] > │     while method6(v256, v258) do                                             │

00:01:20 #3725 [Verbose] > │         let v260 : uint64 = v258.l0                                          │

00:01:20 #3726 [Verbose] > │         let struct (v261 : UH2, v262 : US1) = v243.[int v260]                │

00:01:20 #3727 [Verbose] > │         let v263 : (string []) = method25(v261)                              │

00:01:20 #3728 [Verbose] > │         v257.[int v260] <- v263                                              │

00:01:20 #3729 [Verbose] > │         let v264 : uint64 = v260 + 1UL                                       │

00:01:20 #3730 [Verbose] > │         v258.l0 <- v264                                                      │

00:01:20 #3731 [Verbose] > │         ()                                                                   │

00:01:20 #3732 [Verbose] > │     let v265 : ((string []) []) = v257 |> Array.transpose                    │

00:01:20 #3733 [Verbose] > │     let v266 : uint64 = System.Convert.ToUInt64 v265.Length                  │

00:01:20 #3734 [Verbose] > │     let v267 : (int64 []) = Array.zeroCreate<int64>                          │

00:01:20 #3735 [Verbose] > │ (System.Convert.ToInt32(v266))                                               │

00:01:20 #3736 [Verbose] > │     let v268 : Mut1 = {l0 = 0UL} : Mut1                                      │

00:01:20 #3737 [Verbose] > │     while method6(v266, v268) do                                             │

00:01:20 #3738 [Verbose] > │         let v270 : uint64 = v268.l0                                          │

00:01:20 #3739 [Verbose] > │         let v271 : (string []) = v265.[int v270]                             │

00:01:20 #3740 [Verbose] > │         let v272 : uint64 = System.Convert.ToUInt64 v271.Length              │

00:01:20 #3741 [Verbose] > │         let v273 : (int64 []) = Array.zeroCreate<int64>                      │

00:01:20 #3742 [Verbose] > │ (System.Convert.ToInt32(v272))                                               │

00:01:20 #3743 [Verbose] > │         let v274 : Mut1 = {l0 = 0UL} : Mut1                                  │

00:01:20 #3744 [Verbose] > │         while method6(v272, v274) do                                         │

00:01:20 #3745 [Verbose] > │             let v276 : uint64 = v274.l0                                      │

00:01:20 #3746 [Verbose] > │             let v277 : string = v271.[int v276]                              │

00:01:20 #3747 [Verbose] > │             let v278 : int64 = System.Convert.ToInt64 v277.Length            │

00:01:20 #3748 [Verbose] > │             v273.[int v276] <- v278                                          │

00:01:20 #3749 [Verbose] > │             let v279 : uint64 = v276 + 1UL                                   │

00:01:20 #3750 [Verbose] > │             v274.l0 <- v279                                                  │

00:01:20 #3751 [Verbose] > │             ()                                                               │

00:01:20 #3752 [Verbose] > │         let v280 : (int64 []) = v273 |> Array.sortDescending                 │

00:01:20 #3753 [Verbose] > │         let v281 : int64 option = v280 |> Array.tryItem 0                    │

00:01:20 #3754 [Verbose] > │         let v282 : (int64 -> US2) = closure7()                               │

00:01:20 #3755 [Verbose] > │         let v283 : US2 = US2_0                                               │

00:01:20 #3756 [Verbose] > │         let v284 : US2 = v281 |> Option.map v282 |> Option.defaultValue v283 │

00:01:20 #3757 [Verbose] > │         let v287 : int64 =                                                   │

00:01:20 #3758 [Verbose] > │             match v284 with                                                  │

00:01:20 #3759 [Verbose] > │             | US2_0 -> (* None *)                                            │

00:01:20 #3760 [Verbose] > │                 0L                                                           │

00:01:20 #3761 [Verbose] > │             | US2_1(v285) -> (* Some *)                                      │

00:01:20 #3762 [Verbose] > │                 v285                                                         │

00:01:20 #3763 [Verbose] > │         v267.[int v270] <- v287                                              │

00:01:20 #3764 [Verbose] > │         let v288 : uint64 = v270 + 1UL                                       │

00:01:20 #3765 [Verbose] > │         v268.l0 <- v288                                                      │

00:01:20 #3766 [Verbose] > │         ()                                                                   │

00:01:20 #3767 [Verbose] > │     let v289 : uint64 = System.Convert.ToUInt64 v267.Length                  │

00:01:20 #3768 [Verbose] > │     let v290 : UH5 = UH5_1                                                   │

00:01:20 #3769 [Verbose] > │     let v291 : Mut3 = {l0 = 0UL; l1 = v290; l2 = 0} : Mut3                   │

00:01:20 #3770 [Verbose] > │     while method28(v289, v291) do                                            │

00:01:20 #3771 [Verbose] > │         let v293 : uint64 = v291.l0                                          │

00:01:20 #3772 [Verbose] > │         let struct (v294 : UH5, v295 : int32) = v291.l1, v291.l2             │

00:01:20 #3773 [Verbose] > │         let v296 : int64 = v267.[int v293]                                   │

00:01:20 #3774 [Verbose] > │         let v297 : int32 = v295 + 1                                          │

00:01:20 #3775 [Verbose] > │         let v298 : uint64 = v293 + 1UL                                       │

00:01:20 #3776 [Verbose] > │         let v299 : UH5 = UH5_0(v295, v296, v294)                             │

00:01:20 #3777 [Verbose] > │         v291.l0 <- v298                                                      │

00:01:20 #3778 [Verbose] > │         v291.l1 <- v299                                                      │

00:01:20 #3779 [Verbose] > │         v291.l2 <- v297                                                      │

00:01:20 #3780 [Verbose] > │         ()                                                                   │

00:01:20 #3781 [Verbose] > │     let struct (v300 : UH5, v301 : int32) = v291.l1, v291.l2                 │

00:01:20 #3782 [Verbose] > │     let v302 : UH5 = UH5_1                                                   │

00:01:20 #3783 [Verbose] > │     let v303 : UH5 = method29(v300, v302)                                    │

00:01:20 #3784 [Verbose] > │     let v304 : (struct (int32 * int64) []) = method30(v303)                  │

00:01:20 #3785 [Verbose] > │     let v305 : Map<int32, int64> = v304 |> Array.map (fun (struct (a, b)) -> │

00:01:20 #3786 [Verbose] > │ a, b) |> Map.ofArray                                                         │

00:01:20 #3787 [Verbose] > │     let v306 : (struct ((string []) * US1) []) = Array.zeroCreate<struct     │

00:01:20 #3788 [Verbose] > │ ((string []) * US1)> (System.Convert.ToInt32(v256))                          │

00:01:20 #3789 [Verbose] > │     let v307 : Mut1 = {l0 = 0UL} : Mut1                                      │

00:01:20 #3790 [Verbose] > │     while method6(v256, v307) do                                             │

00:01:20 #3791 [Verbose] > │         let v309 : uint64 = v307.l0                                          │

00:01:20 #3792 [Verbose] > │         let struct (v310 : UH2, v311 : US1) = v243.[int v309]                │

00:01:20 #3793 [Verbose] > │         let v312 : UH6 = UH6_1                                               │

00:01:20 #3794 [Verbose] > │         let v313 : int32 = 0                                                 │

00:01:20 #3795 [Verbose] > │         let struct (v314 : UH6, v315 : int32) = method33(v310, v312, v313)   │

00:01:20 #3796 [Verbose] > │         let v316 : UH6 = UH6_1                                               │

00:01:20 #3797 [Verbose] > │         let v317 : UH6 = method34(v314, v316)                                │

00:01:20 #3798 [Verbose] > │         let v318 : UH2 = UH2_1                                               │

00:01:20 #3799 [Verbose] > │         let v319 : UH2 = method35(v305, v317, v318)                          │

00:01:20 #3800 [Verbose] > │         let v320 : (string []) = method36(v319)                              │

00:01:20 #3801 [Verbose] > │         v306.[int v309] <- struct (v320, v311)                               │

00:01:20 #3802 [Verbose] > │         let v321 : uint64 = v309 + 1UL                                       │

00:01:20 #3803 [Verbose] > │         v307.l0 <- v321                                                      │

00:01:20 #3804 [Verbose] > │         ()                                                                   │

00:01:20 #3805 [Verbose] > │     System.Console.WriteLine v35                                             │

00:01:20 #3806 [Verbose] > │     let v322 : uint64 = System.Convert.ToUInt64 v306.Length                  │

00:01:20 #3807 [Verbose] > │     let v323 : Mut1 = {l0 = 0UL} : Mut1                                      │

00:01:20 #3808 [Verbose] > │     while method6(v322, v323) do                                             │

00:01:20 #3809 [Verbose] > │         let v325 : uint64 = v323.l0                                          │

00:01:20 #3810 [Verbose] > │         let struct (v326 : (string []), v327 : US1) = v306.[int v325]        │

00:01:20 #3811 [Verbose] > │         match v327 with                                                      │

00:01:20 #3812 [Verbose] > │         | US1_0 -> (* None *)                                                │

00:01:20 #3813 [Verbose] > │             let mutable result = None                                        │

00:01:20 #3814 [Verbose] > │             #if FABLE_COMPILER_RUST                                          │

00:01:20 #3815 [Verbose] > │             #if !WASM                                                        │

00:01:20 #3816 [Verbose] > │             ()                                                               │

00:01:20 #3817 [Verbose] > │             #else                                                            │

00:01:20 #3818 [Verbose] > │             ()                                                               │

00:01:20 #3819 [Verbose] > │             #endif                                                           │

00:01:20 #3820 [Verbose] > │             #else                                                            │

00:01:20 #3821 [Verbose] > │             System.Console.ResetColor ()                                     │

00:01:20 #3822 [Verbose] > │             ()                                                               │

00:01:20 #3823 [Verbose] > │             #endif                                                           │

00:01:20 #3824 [Verbose] > │             |> fun x -> result <- Some x                                     │

00:01:20 #3825 [Verbose] > │             result |> Option.get                                             │

00:01:20 #3826 [Verbose] > │             ()                                                               │

00:01:20 #3827 [Verbose] > │         | US1_1(v328) -> (* Some *)                                          │

00:01:20 #3828 [Verbose] > │             let mutable result = None                                        │

00:01:20 #3829 [Verbose] > │             #if FABLE_COMPILER_RUST                                          │

00:01:20 #3830 [Verbose] > │             #if !WASM                                                        │

00:01:20 #3831 [Verbose] > │             ()                                                               │

00:01:20 #3832 [Verbose] > │             #else                                                            │

00:01:20 #3833 [Verbose] > │             ()                                                               │

00:01:20 #3834 [Verbose] > │             #endif                                                           │

00:01:20 #3835 [Verbose] > │             #else                                                            │

00:01:20 #3836 [Verbose] > │             System.Console.ForegroundColor <- v328                           │

00:01:20 #3837 [Verbose] > │             ()                                                               │

00:01:20 #3838 [Verbose] > │             #endif                                                           │

00:01:20 #3839 [Verbose] > │             |> fun x -> result <- Some x                                     │

00:01:20 #3840 [Verbose] > │             result |> Option.get                                             │

00:01:20 #3841 [Verbose] > │             ()                                                               │

00:01:20 #3842 [Verbose] > │         let v329 : string = "\t| "                                           │

00:01:20 #3843 [Verbose] > │         let v330 : string = System.String.Join (v329, v326)                  │

00:01:20 #3844 [Verbose] > │         System.Console.WriteLine v330                                        │

00:01:20 #3845 [Verbose] > │         let mutable result = None                                            │

00:01:20 #3846 [Verbose] > │         #if FABLE_COMPILER_RUST                                              │

00:01:20 #3847 [Verbose] > │         #if !WASM                                                            │

00:01:20 #3848 [Verbose] > │         ()                                                                   │

00:01:20 #3849 [Verbose] > │         #else                                                                │

00:01:20 #3850 [Verbose] > │         ()                                                                   │

00:01:20 #3851 [Verbose] > │         #endif                                                               │

00:01:20 #3852 [Verbose] > │         #else                                                                │

00:01:20 #3853 [Verbose] > │         System.Console.ResetColor ()                                         │

00:01:20 #3854 [Verbose] > │         ()                                                                   │

00:01:20 #3855 [Verbose] > │         #endif                                                               │

00:01:20 #3856 [Verbose] > │         |> fun x -> result <- Some x                                         │

00:01:20 #3857 [Verbose] > │         result |> Option.get                                                 │

00:01:20 #3858 [Verbose] > │         let v331 : uint64 = v325 + 1UL                                       │

00:01:20 #3859 [Verbose] > │         v323.l0 <- v331                                                      │

00:01:20 #3860 [Verbose] > │         ()                                                                   │

00:01:20 #3861 [Verbose] > │     let v332 : ((float []) []) = Array.zeroCreate<(float [])>                │

00:01:20 #3862 [Verbose] > │ (System.Convert.ToInt32(v168))                                               │

00:01:20 #3863 [Verbose] > │     let v333 : Mut1 = {l0 = 0UL} : Mut1                                      │

00:01:20 #3864 [Verbose] > │     while method6(v168, v333) do                                             │

00:01:20 #3865 [Verbose] > │         let v335 : uint64 = v333.l0                                          │

00:01:20 #3866 [Verbose] > │         let struct (v336 : string, v337 : string, v338 : string, v339 :      │

00:01:20 #3867 [Verbose] > │ (int64 [])) = v83.[int v335]                                                 │

00:01:20 #3868 [Verbose] > │         let v340 : (int64 -> float) = float                                  │

00:01:20 #3869 [Verbose] > │         let v341 : uint64 = System.Convert.ToUInt64 v339.Length              │

00:01:20 #3870 [Verbose] > │         let v342 : (float []) = Array.zeroCreate<float>                      │

00:01:20 #3871 [Verbose] > │ (System.Convert.ToInt32(v341))                                               │

00:01:20 #3872 [Verbose] > │         let v343 : Mut1 = {l0 = 0UL} : Mut1                                  │

00:01:20 #3873 [Verbose] > │         while method6(v341, v343) do                                         │

00:01:20 #3874 [Verbose] > │             let v345 : uint64 = v343.l0                                      │

00:01:20 #3875 [Verbose] > │             let v346 : int64 = v339.[int v345]                               │

00:01:20 #3876 [Verbose] > │             let v347 : float = v340 v346                                     │

00:01:20 #3877 [Verbose] > │             v342.[int v345] <- v347                                          │

00:01:20 #3878 [Verbose] > │             let v348 : uint64 = v345 + 1UL                                   │

00:01:20 #3879 [Verbose] > │             v343.l0 <- v348                                                  │

00:01:20 #3880 [Verbose] > │             ()                                                               │

00:01:20 #3881 [Verbose] > │         v332.[int v335] <- v342                                              │

00:01:20 #3882 [Verbose] > │         let v349 : uint64 = v335 + 1UL                                       │

00:01:20 #3883 [Verbose] > │         v333.l0 <- v349                                                      │

00:01:20 #3884 [Verbose] > │         ()                                                                   │

00:01:20 #3885 [Verbose] > │     let v350 : ((float []) []) = v332 |> Array.transpose                     │

00:01:20 #3886 [Verbose] > │     let v351 : uint64 = System.Convert.ToUInt64 v350.Length                  │

00:01:20 #3887 [Verbose] > │     let v352 : (float []) = Array.zeroCreate<float>                          │

00:01:20 #3888 [Verbose] > │ (System.Convert.ToInt32(v351))                                               │

00:01:20 #3889 [Verbose] > │     let v353 : Mut1 = {l0 = 0UL} : Mut1                                      │

00:01:20 #3890 [Verbose] > │     while method6(v351, v353) do                                             │

00:01:20 #3891 [Verbose] > │         let v355 : uint64 = v353.l0                                          │

00:01:20 #3892 [Verbose] > │         let v356 : (float []) = v350.[int v355]                              │

00:01:20 #3893 [Verbose] > │         let v357 : float = v356 |> Array.average                             │

00:01:20 #3894 [Verbose] > │         v352.[int v355] <- v357                                              │

00:01:20 #3895 [Verbose] > │         let v358 : uint64 = v355 + 1UL                                       │

00:01:20 #3896 [Verbose] > │         v353.l0 <- v358                                                      │

00:01:20 #3897 [Verbose] > │         ()                                                                   │

00:01:20 #3898 [Verbose] > │     let v359 : (float -> int64) = int64                                      │

00:01:20 #3899 [Verbose] > │     let v360 : uint64 = System.Convert.ToUInt64 v352.Length                  │

00:01:20 #3900 [Verbose] > │     let v361 : (int64 []) = Array.zeroCreate<int64>                          │

00:01:20 #3901 [Verbose] > │ (System.Convert.ToInt32(v360))                                               │

00:01:20 #3902 [Verbose] > │     let v362 : Mut1 = {l0 = 0UL} : Mut1                                      │

00:01:20 #3903 [Verbose] > │     while method6(v360, v362) do                                             │

00:01:20 #3904 [Verbose] > │         let v364 : uint64 = v362.l0                                          │

00:01:20 #3905 [Verbose] > │         let v365 : float = v352.[int v364]                                   │

00:01:20 #3906 [Verbose] > │         let v366 : int64 = v359 v365                                         │

00:01:20 #3907 [Verbose] > │         v361.[int v364] <- v366                                              │

00:01:20 #3908 [Verbose] > │         let v367 : uint64 = v364 + 1UL                                       │

00:01:20 #3909 [Verbose] > │         v362.l0 <- v367                                                      │

00:01:20 #3910 [Verbose] > │         ()                                                                   │

00:01:20 #3911 [Verbose] > │     let v368 : uint64 = System.Convert.ToUInt64 v361.Length                  │

00:01:20 #3912 [Verbose] > │     let v369 : UH5 = UH5_1                                                   │

00:01:20 #3913 [Verbose] > │     let v370 : Mut3 = {l0 = 0UL; l1 = v369; l2 = 0} : Mut3                   │

00:01:20 #3914 [Verbose] > │     while method28(v368, v370) do                                            │

00:01:20 #3915 [Verbose] > │         let v372 : uint64 = v370.l0                                          │

00:01:20 #3916 [Verbose] > │         let struct (v373 : UH5, v374 : int32) = v370.l1, v370.l2             │

00:01:20 #3917 [Verbose] > │         let v375 : int64 = v361.[int v372]                                   │

00:01:20 #3918 [Verbose] > │         let v376 : int32 = v374 + 1                                          │

00:01:20 #3919 [Verbose] > │         let v377 : uint64 = v372 + 1UL                                       │

00:01:20 #3920 [Verbose] > │         let v378 : UH5 = UH5_0(v374, v375, v373)                             │

00:01:20 #3921 [Verbose] > │         v370.l0 <- v377                                                      │

00:01:20 #3922 [Verbose] > │         v370.l1 <- v378                                                      │

00:01:20 #3923 [Verbose] > │         v370.l2 <- v376                                                      │

00:01:20 #3924 [Verbose] > │         ()                                                                   │

00:01:20 #3925 [Verbose] > │     let struct (v379 : UH5, v380 : int32) = v370.l1, v370.l2                 │

00:01:20 #3926 [Verbose] > │     let v381 : UH5 = UH5_1                                                   │

00:01:20 #3927 [Verbose] > │     let v382 : UH5 = method29(v379, v381)                                    │

00:01:20 #3928 [Verbose] > │     let v383 : (struct (int32 * int64) []) = method39(v382)                  │

00:01:20 #3929 [Verbose] > │     System.Console.WriteLine v35                                             │

00:01:20 #3930 [Verbose] > │     let v384 : string = "Average Ranking  "                                  │

00:01:20 #3931 [Verbose] > │     System.Console.WriteLine v384                                            │

00:01:20 #3932 [Verbose] > │     let v385 : (struct (int32 * int64) -> int64) = closure8()                │

00:01:20 #3933 [Verbose] > │     let v386 : (struct (int32 * int64) []) = v383 |> Array.sortBy v385       │

00:01:20 #3934 [Verbose] > │     let v387 : uint64 = System.Convert.ToUInt64 v386.Length                  │

00:01:20 #3935 [Verbose] > │     let v388 : Mut1 = {l0 = 0UL} : Mut1                                      │

00:01:20 #3936 [Verbose] > │     while method6(v387, v388) do                                             │

00:01:20 #3937 [Verbose] > │         let v390 : uint64 = v388.l0                                          │

00:01:20 #3938 [Verbose] > │         let struct (v391 : int32, v392 : int64) = v386.[int v390]            │

00:01:20 #3939 [Verbose] > │         let v393 : string = $"Test case %d{v391 + 1}. Average Time: %A{v392} │

00:01:20 #3940 [Verbose] > │ "                                                                            │

00:01:20 #3941 [Verbose] > │         System.Console.WriteLine v393                                        │

00:01:20 #3942 [Verbose] > │         let v394 : uint64 = v390 + 1UL                                       │

00:01:20 #3943 [Verbose] > │         v388.l0 <- v394                                                      │

00:01:20 #3944 [Verbose] > │         ()                                                                   │

00:01:20 #3945 [Verbose] > │     ()                                                                       │

00:01:20 #3946 [Verbose] > │ and method0 () : unit =                                                      │

00:01:20 #3947 [Verbose] > │     let v0 : (int32 []) = [|1; 3; 4; 6; 8; 9; 11|]                           │

00:01:20 #3948 [Verbose] > │     let v1 : (int32 []) = method1(v0)                                        │

00:01:20 #3949 [Verbose] > │     let v2 : int32 = v1.Length                                               │

00:01:20 #3950 [Verbose] > │     let v3 : (int32 []) = [|1; 3; 4; 6; 8; 9; 11|]                           │

00:01:20 #3951 [Verbose] > │     let v4 : (int32 []) = method1(v3)                                        │

00:01:20 #3952 [Verbose] > │     let v5 : int32 = v4.Length                                               │

00:01:20 #3953 [Verbose] > │     let v6 : (int32 []) = [|1; 3; 4; 6; 8; 9; 11|]                           │

00:01:20 #3954 [Verbose] > │     let v7 : (int32 []) = method1(v6)                                        │

00:01:20 #3955 [Verbose] > │     let v8 : int32 = v7.Length                                               │

00:01:20 #3956 [Verbose] > │     let v9 : (int32 []) = [|1; 3; 4; 6; 8; 9; 11|]                           │

00:01:20 #3957 [Verbose] > │     let v10 : (int32 []) = method1(v9)                                       │

00:01:20 #3958 [Verbose] > │     let v11 : int32 = v10.Length                                             │

00:01:20 #3959 [Verbose] > │     let v12 : (int32 []) = Array.zeroCreate<int32> (100)                     │

00:01:20 #3960 [Verbose] > │     let v13 : Mut0 = {l0 = 0} : Mut0                                         │

00:01:20 #3961 [Verbose] > │     while method2(v13) do                                                    │

00:01:20 #3962 [Verbose] > │         let v15 : int32 = v13.l0                                             │

00:01:20 #3963 [Verbose] > │         let v16 : int32 = 1 + v15                                            │

00:01:20 #3964 [Verbose] > │         v12.[int v15] <- v16                                                 │

00:01:20 #3965 [Verbose] > │         let v17 : int32 = v15 + 1                                            │

00:01:20 #3966 [Verbose] > │         v13.l0 <- v17                                                        │

00:01:20 #3967 [Verbose] > │         ()                                                                   │

00:01:20 #3968 [Verbose] > │     let v18 : int32 = v12.Length                                             │

00:01:20 #3969 [Verbose] > │     let v19 : (int32 []) = [|1; 3; 4; 6; 8; 9; 11|]                          │

00:01:20 #3970 [Verbose] > │     let v20 : (int32 []) = method1(v19)                                      │

00:01:20 #3971 [Verbose] > │     let v21 : (int32 []) = [|1; 3; 4; 6; 8; 9; 11|]                          │

00:01:20 #3972 [Verbose] > │     let v22 : (int32 []) = method1(v21)                                      │

00:01:20 #3973 [Verbose] > │     let v23 : (int32 []) = [|1; 3; 4; 6; 8; 9; 11|]                          │

00:01:20 #3974 [Verbose] > │     let v24 : (int32 []) = method1(v23)                                      │

00:01:20 #3975 [Verbose] > │     let v25 : (int32 []) = [|1; 3; 4; 6; 8; 9; 11|]                          │

00:01:20 #3976 [Verbose] > │     let v26 : (int32 []) = method1(v25)                                      │

00:01:20 #3977 [Verbose] > │     let v27 : (int32 []) = Array.zeroCreate<int32> (100)                     │

00:01:20 #3978 [Verbose] > │     let v28 : Mut0 = {l0 = 0} : Mut0                                         │

00:01:20 #3979 [Verbose] > │     while method2(v28) do                                                    │

00:01:20 #3980 [Verbose] > │         let v30 : int32 = v28.l0                                             │

00:01:20 #3981 [Verbose] > │         let v31 : int32 = 1 + v30                                            │

00:01:20 #3982 [Verbose] > │         v27.[int v30] <- v31                                                 │

00:01:20 #3983 [Verbose] > │         let v32 : int32 = v30 + 1                                            │

00:01:20 #3984 [Verbose] > │         v28.l0 <- v32                                                        │

00:01:20 #3985 [Verbose] > │         ()                                                                   │

00:01:20 #3986 [Verbose] > │     let v33 : (unit -> unit) = closure0()                                    │

00:01:20 #3987 [Verbose] > │     let v34 : string = nameof v33                                            │

00:01:20 #3988 [Verbose] > │     let v35 : string = ""                                                    │

00:01:20 #3989 [Verbose] > │     System.Console.WriteLine v35                                             │

00:01:20 #3990 [Verbose] > │     System.Console.WriteLine v35                                             │

00:01:20 #3991 [Verbose] > │     let v36 : string = $"Test: {v34}"                                        │

00:01:20 #3992 [Verbose] > │     System.Console.WriteLine v36                                             │

00:01:20 #3993 [Verbose] > │     let v37 : int32 = 6                                                      │

00:01:20 #3994 [Verbose] > │     let v38 : int32 = 3                                                      │

00:01:20 #3995 [Verbose] > │     let v39 : US0 = US0_1(v38)                                               │

00:01:20 #3996 [Verbose] > │     let v40 : int32 = 1                                                      │

00:01:20 #3997 [Verbose] > │     let v41 : int32 = 0                                                      │

00:01:20 #3998 [Verbose] > │     let v42 : US0 = US0_1(v41)                                               │

00:01:20 #3999 [Verbose] > │     let v43 : int32 = 11                                                     │

00:01:20 #4000 [Verbose] > │     let v44 : int32 = 6                                                      │

00:01:20 #4001 [Verbose] > │     let v45 : US0 = US0_1(v44)                                               │

00:01:20 #4002 [Verbose] > │     let v46 : int32 = 12                                                     │

00:01:20 #4003 [Verbose] > │     let v47 : US0 = US0_0                                                    │

00:01:20 #4004 [Verbose] > │     let v48 : int32 = 60                                                     │

00:01:20 #4005 [Verbose] > │     let v49 : int32 = 59                                                     │

00:01:20 #4006 [Verbose] > │     let v50 : US0 = US0_1(v49)                                               │

00:01:20 #4007 [Verbose] > │     let v51 : int32 = 6                                                      │

00:01:20 #4008 [Verbose] > │     let v52 : int32 = 7                                                      │

00:01:20 #4009 [Verbose] > │     let v53 : int32 = 3                                                      │

00:01:20 #4010 [Verbose] > │     let v54 : US0 = US0_1(v53)                                               │

00:01:20 #4011 [Verbose] > │     let v55 : int32 = 1                                                      │

00:01:20 #4012 [Verbose] > │     let v56 : int32 = 7                                                      │

00:01:20 #4013 [Verbose] > │     let v57 : int32 = 0                                                      │

00:01:20 #4014 [Verbose] > │     let v58 : US0 = US0_1(v57)                                               │

00:01:20 #4015 [Verbose] > │     let v59 : int32 = 11                                                     │

00:01:20 #4016 [Verbose] > │     let v60 : int32 = 7                                                      │

00:01:20 #4017 [Verbose] > │     let v61 : int32 = 6                                                      │

00:01:20 #4018 [Verbose] > │     let v62 : US0 = US0_1(v61)                                               │

00:01:20 #4019 [Verbose] > │     let v63 : int32 = 12                                                     │

00:01:20 #4020 [Verbose] > │     let v64 : int32 = 7                                                      │

00:01:20 #4021 [Verbose] > │     let v65 : US0 = US0_0                                                    │

00:01:20 #4022 [Verbose] > │     let v66 : int32 = 60                                                     │

00:01:20 #4023 [Verbose] > │     let v67 : int32 = 100                                                    │

00:01:20 #4024 [Verbose] > │     let v68 : int32 = 59                                                     │

00:01:20 #4025 [Verbose] > │     let v69 : US0 = US0_1(v68)                                               │

00:01:20 #4026 [Verbose] > │     let v70 : UH0 = UH0_1                                                    │

00:01:20 #4027 [Verbose] > │     let v71 : UH0 = UH0_0(v27, v66, v67, v69, v70)                           │

00:01:20 #4028 [Verbose] > │     let v72 : UH0 = UH0_0(v26, v63, v64, v65, v71)                           │

00:01:20 #4029 [Verbose] > │     let v73 : UH0 = UH0_0(v24, v59, v60, v62, v72)                           │

00:01:20 #4030 [Verbose] > │     let v74 : UH0 = UH0_0(v22, v55, v56, v58, v73)                           │

00:01:20 #4031 [Verbose] > │     let v75 : UH0 = UH0_0(v20, v51, v52, v54, v74)                           │

00:01:20 #4032 [Verbose] > │     let v76 : UH0 = UH0_0(v12, v48, v18, v50, v75)                           │

00:01:20 #4033 [Verbose] > │     let v77 : UH0 = UH0_0(v10, v46, v11, v47, v76)                           │

00:01:20 #4034 [Verbose] > │     let v78 : UH0 = UH0_0(v7, v43, v8, v45, v77)                             │

00:01:20 #4035 [Verbose] > │     let v79 : UH0 = UH0_0(v4, v40, v5, v42, v78)                             │

00:01:20 #4036 [Verbose] > │     let v80 : UH0 = UH0_0(v1, v37, v2, v39, v79)                             │

00:01:20 #4037 [Verbose] > │     let v81 : (struct ((int32 []) * int32 * int32 * US0) []) = method3(v80)  │

00:01:20 #4038 [Verbose] > │     let v82 : uint64 = System.Convert.ToUInt64 v81.Length                    │

00:01:20 #4039 [Verbose] > │     let v83 : (struct (string * string * string * (int64 [])) []) =          │

00:01:20 #4040 [Verbose] > │ Array.zeroCreate<struct (string * string * string * (int64 []))>             │

00:01:20 #4041 [Verbose] > │ (System.Convert.ToInt32(v82))                                                │

00:01:20 #4042 [Verbose] > │     let v84 : Mut1 = {l0 = 0UL} : Mut1                                       │

00:01:20 #4043 [Verbose] > │     while method6(v82, v84) do                                               │

00:01:20 #4044 [Verbose] > │         let v86 : uint64 = v84.l0                                            │

00:01:20 #4045 [Verbose] > │         let struct (v87 : (int32 []), v88 : int32, v89 : int32, v90 : US0) = │

00:01:20 #4046 [Verbose] > │ v81.[int v86]                                                                │

00:01:20 #4047 [Verbose] > │         let v91 : string = $"%A{struct (v87, v88, v89)}"                     │

00:01:20 #4048 [Verbose] > │         System.Console.WriteLine v35                                         │

00:01:20 #4049 [Verbose] > │         let v92 : string = $"Solution: {v91}  "                              │

00:01:20 #4050 [Verbose] > │         System.Console.WriteLine v92                                         │

00:01:20 #4051 [Verbose] > │         let v93 : int32 = 0                                                  │

00:01:20 #4052 [Verbose] > │         let v94 : string = "semi_open_1"                                     │

00:01:20 #4053 [Verbose] > │         let v95 : (struct ((int32 []) * int32 * int32) -> US0) = closure1()  │

00:01:20 #4054 [Verbose] > │         let v96 : int32 = 1                                                  │

00:01:20 #4055 [Verbose] > │         let v97 : string = "closed_1"                                        │

00:01:20 #4056 [Verbose] > │         let v98 : (struct ((int32 []) * int32 * int32) -> US0) = closure2()  │

00:01:20 #4057 [Verbose] > │         let v99 : int32 = 2                                                  │

00:01:20 #4058 [Verbose] > │         let v100 : string = "semi_open_2"                                    │

00:01:20 #4059 [Verbose] > │         let v101 : (struct ((int32 []) * int32 * int32) -> US0) = closure3() │

00:01:20 #4060 [Verbose] > │         let v102 : int32 = 3                                                 │

00:01:20 #4061 [Verbose] > │         let v103 : string = "closed_2"                                       │

00:01:20 #4062 [Verbose] > │         let v104 : (struct ((int32 []) * int32 * int32) -> US0) = closure4() │

00:01:20 #4063 [Verbose] > │         let v105 : UH1 = UH1_1                                               │

00:01:20 #4064 [Verbose] > │         let v106 : UH1 = UH1_0(v102, v103, v104, v105)                       │

00:01:20 #4065 [Verbose] > │         let v107 : UH1 = UH1_0(v99, v100, v101, v106)                        │

00:01:20 #4066 [Verbose] > │         let v108 : UH1 = UH1_0(v96, v97, v98, v107)                          │

00:01:20 #4067 [Verbose] > │         let v109 : UH1 = UH1_0(v93, v94, v95, v108)                          │

00:01:20 #4068 [Verbose] > │         let v110 : (struct (int32 * string * (struct ((int32 []) * int32 *   │

00:01:20 #4069 [Verbose] > │ int32) -> US0)) []) = method11(v109)                                         │

00:01:20 #4070 [Verbose] > │         let v111 : uint64 = System.Convert.ToUInt64 v110.Length              │

00:01:20 #4071 [Verbose] > │         let v112 : (struct (US0 * int64) []) = Array.zeroCreate<struct (US0  │

00:01:20 #4072 [Verbose] > │ * int64)> (System.Convert.ToInt32(v111))                                     │

00:01:20 #4073 [Verbose] > │         let v113 : Mut1 = {l0 = 0UL} : Mut1                                  │

00:01:20 #4074 [Verbose] > │         while method6(v111, v113) do                                         │

00:01:20 #4075 [Verbose] > │             let v115 : uint64 = v113.l0                                      │

00:01:20 #4076 [Verbose] > │             let struct (v116 : int32, v117 : string, v118 : (struct ((int32  │

00:01:20 #4077 [Verbose] > │ []) * int32 * int32) -> US0)) = v110.[int v115]                              │

00:01:20 #4078 [Verbose] > │             let mutable result = None                                        │

00:01:20 #4079 [Verbose] > │             #if FABLE_COMPILER_RUST                                          │

00:01:20 #4080 [Verbose] > │             #if !WASM                                                        │

00:01:20 #4081 [Verbose] > │             ()                                                               │

00:01:20 #4082 [Verbose] > │             #else                                                            │

00:01:20 #4083 [Verbose] > │             ()                                                               │

00:01:20 #4084 [Verbose] > │             #endif                                                           │

00:01:20 #4085 [Verbose] > │             #else                                                            │

00:01:20 #4086 [Verbose] > │             System.GC.Collect ()                                             │

00:01:20 #4087 [Verbose] > │             ()                                                               │

00:01:20 #4088 [Verbose] > │             #endif                                                           │

00:01:20 #4089 [Verbose] > │             |> fun x -> result <- Some x                                     │

00:01:20 #4090 [Verbose] > │             result |> Option.get                                             │

00:01:20 #4091 [Verbose] > │             let v119 : (unit -> System.Diagnostics.Stopwatch) =              │

00:01:20 #4092 [Verbose] > │ System.Diagnostics.Stopwatch                                                 │

00:01:20 #4093 [Verbose] > │             let v120 : System.Diagnostics.Stopwatch = v119 ()                │

00:01:20 #4094 [Verbose] > │             v120.Start ()                                                    │

00:01:20 #4095 [Verbose] > │             let v121 : int64 = v120.ElapsedMilliseconds                      │

00:01:20 #4096 [Verbose] > │             let v122 : (int32 []) = Array.zeroCreate<int32> (8000001)        │

00:01:20 #4097 [Verbose] > │             let v123 : Mut0 = {l0 = 0} : Mut0                                │

00:01:20 #4098 [Verbose] > │             while method14(v123) do                                          │

00:01:20 #4099 [Verbose] > │                 let v125 : int32 = v123.l0                                   │

00:01:20 #4100 [Verbose] > │                 v122.[int v125] <- v125                                      │

00:01:20 #4101 [Verbose] > │                 let v126 : int32 = v125 + 1                                  │

00:01:20 #4102 [Verbose] > │                 v123.l0 <- v126                                              │

00:01:20 #4103 [Verbose] > │                 ()                                                           │

00:01:20 #4104 [Verbose] > │             let v127 : (int32 -> US0) = closure5(v87, v88, v89, v118)        │

00:01:20 #4105 [Verbose] > │             let v128 : (US0 []) = v122 |> Array.Parallel.map v127            │

00:01:20 #4106 [Verbose] > │             let v129 : int32 = v128.Length                                   │

00:01:20 #4107 [Verbose] > │             let v130 : int32 = v129 - 1                                      │

00:01:20 #4108 [Verbose] > │             let v131 : US0 = v128.[int v130]                                 │

00:01:20 #4109 [Verbose] > │             let v132 : int64 = v120.ElapsedMilliseconds                      │

00:01:20 #4110 [Verbose] > │             let v133 : int64 = v132 - v121                                   │

00:01:20 #4111 [Verbose] > │             let v134 : string = $"Test case {v116 + 1}. {v117}. Time: {v133} │

00:01:20 #4112 [Verbose] > │ "                                                                            │

00:01:20 #4113 [Verbose] > │             System.Console.WriteLine v134                                    │

00:01:20 #4114 [Verbose] > │             v112.[int v115] <- struct (v131, v133)                           │

00:01:20 #4115 [Verbose] > │             let v135 : uint64 = v115 + 1UL                                   │

00:01:20 #4116 [Verbose] > │             v113.l0 <- v135                                                  │

00:01:20 #4117 [Verbose] > │             ()                                                               │

00:01:20 #4118 [Verbose] > │         let v136 : uint64 = System.Convert.ToUInt64 v112.Length              │

00:01:20 #4119 [Verbose] > │         let v137 : (US0 []) = Array.zeroCreate<US0>                          │

00:01:20 #4120 [Verbose] > │ (System.Convert.ToInt32(v136))                                               │

00:01:20 #4121 [Verbose] > │         let v138 : Mut1 = {l0 = 0UL} : Mut1                                  │

00:01:20 #4122 [Verbose] > │         while method6(v136, v138) do                                         │

00:01:20 #4123 [Verbose] > │             let v140 : uint64 = v138.l0                                      │

00:01:20 #4124 [Verbose] > │             let struct (v141 : US0, v142 : int64) = v112.[int v140]          │

00:01:20 #4125 [Verbose] > │             v137.[int v140] <- v141                                          │

00:01:20 #4126 [Verbose] > │             let v143 : uint64 = v140 + 1UL                                   │

00:01:20 #4127 [Verbose] > │             v138.l0 <- v143                                                  │

00:01:20 #4128 [Verbose] > │             ()                                                               │

00:01:20 #4129 [Verbose] > │         let v144 : uint64 = System.Convert.ToUInt64 v137.Length              │

00:01:20 #4130 [Verbose] > │         let v145 : bool = v144 <= 1UL                                        │

00:01:20 #4131 [Verbose] > │         if v145 then                                                         │

00:01:20 #4132 [Verbose] > │             ()                                                               │

00:01:20 #4133 [Verbose] > │         else                                                                 │

00:01:20 #4134 [Verbose] > │             let v146 : US0 = v137.[int 0UL]                                  │

00:01:20 #4135 [Verbose] > │             let v147 : uint64 = 0UL                                          │

00:01:20 #4136 [Verbose] > │             let v148 : bool = method15(v146, v137, v147)                     │

00:01:20 #4137 [Verbose] > │             if v148 then                                                     │

00:01:20 #4138 [Verbose] > │                 ()                                                           │

00:01:20 #4139 [Verbose] > │             else                                                             │

00:01:20 #4140 [Verbose] > │                 let v149 : string = $"Challenge error: {v137}"               │

00:01:20 #4141 [Verbose] > │                 failwith<unit> v149                                          │

00:01:20 #4142 [Verbose] > │         let v150 : string = $"%A{v90}"                                       │

00:01:20 #4143 [Verbose] > │         let v151 : (US0 []) = Array.zeroCreate<US0>                          │

00:01:20 #4144 [Verbose] > │ (System.Convert.ToInt32(v136))                                               │

00:01:20 #4145 [Verbose] > │         let v152 : Mut1 = {l0 = 0UL} : Mut1                                  │

00:01:20 #4146 [Verbose] > │         while method6(v136, v152) do                                         │

00:01:20 #4147 [Verbose] > │             let v154 : uint64 = v152.l0                                      │

00:01:20 #4148 [Verbose] > │             let struct (v155 : US0, v156 : int64) = v112.[int v154]          │

00:01:20 #4149 [Verbose] > │             v151.[int v154] <- v155                                          │

00:01:20 #4150 [Verbose] > │             let v157 : uint64 = v154 + 1UL                                   │

00:01:20 #4151 [Verbose] > │             v152.l0 <- v157                                                  │

00:01:20 #4152 [Verbose] > │             ()                                                               │

00:01:20 #4153 [Verbose] > │         let v158 : US0 = v151.[int 0UL]                                      │

00:01:20 #4154 [Verbose] > │         let v159 : string = $"%A{v158}"                                      │

00:01:20 #4155 [Verbose] > │         let v160 : (int64 []) = Array.zeroCreate<int64>                      │

00:01:20 #4156 [Verbose] > │ (System.Convert.ToInt32(v136))                                               │

00:01:20 #4157 [Verbose] > │         let v161 : Mut1 = {l0 = 0UL} : Mut1                                  │

00:01:20 #4158 [Verbose] > │         while method6(v136, v161) do                                         │

00:01:20 #4159 [Verbose] > │             let v163 : uint64 = v161.l0                                      │

00:01:20 #4160 [Verbose] > │             let struct (v164 : US0, v165 : int64) = v112.[int v163]          │

00:01:20 #4161 [Verbose] > │             v160.[int v163] <- v165                                          │

00:01:20 #4162 [Verbose] > │             let v166 : uint64 = v163 + 1UL                                   │

00:01:20 #4163 [Verbose] > │             v161.l0 <- v166                                                  │

00:01:20 #4164 [Verbose] > │             ()                                                               │

00:01:20 #4165 [Verbose] > │         v83.[int v86] <- struct (v150, v91, v159, v160)                      │

00:01:20 #4166 [Verbose] > │         let v167 : uint64 = v86 + 1UL                                        │

00:01:20 #4167 [Verbose] > │         v84.l0 <- v167                                                       │

00:01:20 #4168 [Verbose] > │         ()                                                                   │

00:01:20 #4169 [Verbose] > │     let v168 : uint64 = System.Convert.ToUInt64 v83.Length                   │

00:01:20 #4170 [Verbose] > │     let v169 : (struct (UH2 * US1) []) = Array.zeroCreate<struct (UH2 *      │

00:01:20 #4171 [Verbose] > │ US1)> (System.Convert.ToInt32(v168))                                         │

00:01:20 #4172 [Verbose] > │     let v170 : Mut1 = {l0 = 0UL} : Mut1                                      │

00:01:20 #4173 [Verbose] > │     while method6(v168, v170) do                                             │

00:01:20 #4174 [Verbose] > │         let v172 : uint64 = v170.l0                                          │

00:01:20 #4175 [Verbose] > │         let struct (v173 : string, v174 : string, v175 : string, v176 :      │

00:01:20 #4176 [Verbose] > │ (int64 [])) = v83.[int v172]                                                 │

00:01:20 #4177 [Verbose] > │         let v177 : uint64 = System.Convert.ToUInt64 v176.Length              │

00:01:20 #4178 [Verbose] > │         let v178 : UH3 = UH3_1                                               │

00:01:20 #4179 [Verbose] > │         let v179 : Mut2 = {l0 = 0UL; l1 = v178; l2 = 0L} : Mut2              │

00:01:20 #4180 [Verbose] > │         while method16(v177, v179) do                                        │

00:01:20 #4181 [Verbose] > │             let v181 : uint64 = v179.l0                                      │

00:01:20 #4182 [Verbose] > │             let struct (v182 : UH3, v183 : int64) = v179.l1, v179.l2         │

00:01:21 #4183 [Verbose] > │             let v184 : int64 = v176.[int v181]                               │

00:01:21 #4184 [Verbose] > │             let v185 : int64 = v183 + 1L                                     │

00:01:21 #4185 [Verbose] > │             let v186 : uint64 = v181 + 1UL                                   │

00:01:21 #4186 [Verbose] > │             let v187 : UH3 = UH3_0(v183, v184, v182)                         │

00:01:21 #4187 [Verbose] > │             v179.l0 <- v186                                                  │

00:01:21 #4188 [Verbose] > │             v179.l1 <- v187                                                  │

00:01:21 #4189 [Verbose] > │             v179.l2 <- v185                                                  │

00:01:21 #4190 [Verbose] > │             ()                                                               │

00:01:21 #4191 [Verbose] > │         let struct (v188 : UH3, v189 : int64) = v179.l1, v179.l2             │

00:01:21 #4192 [Verbose] > │         let v190 : UH3 = UH3_1                                               │

00:01:21 #4193 [Verbose] > │         let v191 : UH3 = method17(v188, v190)                                │

00:01:21 #4194 [Verbose] > │         let v192 : (struct (int64 * int64) []) = method18(v191)              │

00:01:21 #4195 [Verbose] > │         let v193 : int32 = v192.Length                                       │

00:01:21 #4196 [Verbose] > │         let v194 : (struct (int64 * int64) []) = Array.zeroCreate<struct     │

00:01:21 #4197 [Verbose] > │ (int64 * int64)> (v193)                                                      │

00:01:21 #4198 [Verbose] > │         let v195 : Mut0 = {l0 = 0} : Mut0                                    │

00:01:21 #4199 [Verbose] > │         while method21(v193, v195) do                                        │

00:01:21 #4200 [Verbose] > │             let v197 : int32 = v195.l0                                       │

00:01:21 #4201 [Verbose] > │             let struct (v198 : int64, v199 : int64) = v192.[int v197]        │

00:01:21 #4202 [Verbose] > │             let v200 : int64 = v198 + 1L                                     │

00:01:21 #4203 [Verbose] > │             v194.[int v197] <- struct (v200, v199)                           │

00:01:21 #4204 [Verbose] > │             let v201 : int32 = v197 + 1                                      │

00:01:21 #4205 [Verbose] > │             v195.l0 <- v201                                                  │

00:01:21 #4206 [Verbose] > │             ()                                                               │

00:01:21 #4207 [Verbose] > │         let v202 : (struct (int64 * int64) -> int64) = closure6()            │

00:01:21 #4208 [Verbose] > │         let v203 : (struct (int64 * int64) []) = v194 |> Array.sortBy v202   │

00:01:21 #4209 [Verbose] > │         let struct (v204 : int64, v205 : int64) = v203.[int 0]               │

00:01:21 #4210 [Verbose] > │         let v206 : string = $"%A{struct (v204, v205)}"                       │

00:01:21 #4211 [Verbose] > │         let v207 : bool = v173 = v175                                        │

00:01:21 #4212 [Verbose] > │         let v212 : US1 =                                                     │

00:01:21 #4213 [Verbose] > │             if v207 then                                                     │

00:01:21 #4214 [Verbose] > │                 let v208 : System.ConsoleColor =                             │

00:01:21 #4215 [Verbose] > │ System.ConsoleColor.DarkGreen                                                │

00:01:21 #4216 [Verbose] > │                 US1_1(v208)                                                  │

00:01:21 #4217 [Verbose] > │             else                                                             │

00:01:21 #4218 [Verbose] > │                 let v210 : System.ConsoleColor = System.ConsoleColor.DarkRed │

00:01:21 #4219 [Verbose] > │                 US1_1(v210)                                                  │

00:01:21 #4220 [Verbose] > │         let v213 : UH2 = UH2_1                                               │

00:01:21 #4221 [Verbose] > │         let v214 : UH2 = UH2_0(v206, v213)                                   │

00:01:21 #4222 [Verbose] > │         let v215 : UH2 = UH2_0(v175, v214)                                   │

00:01:21 #4223 [Verbose] > │         let v216 : UH2 = UH2_0(v173, v215)                                   │

00:01:21 #4224 [Verbose] > │         let v217 : UH2 = UH2_0(v174, v216)                                   │

00:01:21 #4225 [Verbose] > │         v169.[int v172] <- struct (v217, v212)                               │

00:01:21 #4226 [Verbose] > │         let v218 : uint64 = v172 + 1UL                                       │

00:01:21 #4227 [Verbose] > │         v170.l0 <- v218                                                      │

00:01:21 #4228 [Verbose] > │         ()                                                                   │

00:01:21 #4229 [Verbose] > │     let v219 : string = "Input"                                              │

00:01:21 #4230 [Verbose] > │     let v220 : string = "Expected"                                           │

00:01:21 #4231 [Verbose] > │     let v221 : string = "Result"                                             │

00:01:21 #4232 [Verbose] > │     let v222 : string = "Best"                                               │

00:01:21 #4233 [Verbose] > │     let v223 : UH2 = UH2_1                                                   │

00:01:21 #4234 [Verbose] > │     let v224 : UH2 = UH2_0(v222, v223)                                       │

00:01:21 #4235 [Verbose] > │     let v225 : UH2 = UH2_0(v221, v224)                                       │

00:01:21 #4236 [Verbose] > │     let v226 : UH2 = UH2_0(v220, v225)                                       │

00:01:21 #4237 [Verbose] > │     let v227 : UH2 = UH2_0(v219, v226)                                       │

00:01:21 #4238 [Verbose] > │     let v228 : US1 = US1_0                                                   │

00:01:21 #4239 [Verbose] > │     let v229 : string = "---"                                                │

00:01:21 #4240 [Verbose] > │     let v230 : UH2 = UH2_1                                                   │

00:01:21 #4241 [Verbose] > │     let v231 : UH2 = UH2_0(v229, v230)                                       │

00:01:21 #4242 [Verbose] > │     let v232 : UH2 = UH2_0(v229, v231)                                       │

00:01:21 #4243 [Verbose] > │     let v233 : UH2 = UH2_0(v229, v232)                                       │

00:01:21 #4244 [Verbose] > │     let v234 : UH2 = UH2_0(v229, v233)                                       │

00:01:21 #4245 [Verbose] > │     let v235 : US1 = US1_0                                                   │

00:01:21 #4246 [Verbose] > │     let v236 : UH4 = UH4_1                                                   │

00:01:21 #4247 [Verbose] > │     let v237 : UH4 = UH4_0(v234, v235, v236)                                 │

00:01:21 #4248 [Verbose] > │     let v238 : UH4 = UH4_0(v227, v228, v237)                                 │

00:01:21 #4249 [Verbose] > │     let v239 : (struct (UH2 * US1) []) = method22(v238)                      │

00:01:21 #4250 [Verbose] > │     let v240 : uint64 = System.Convert.ToUInt64 v239.Length                  │

00:01:21 #4251 [Verbose] > │     let v241 : uint64 = System.Convert.ToUInt64 v169.Length                  │

00:01:21 #4252 [Verbose] > │     let v242 : uint64 = v240 + v241                                          │

00:01:21 #4253 [Verbose] > │     let v243 : (struct (UH2 * US1) []) = Array.zeroCreate<struct (UH2 *      │

00:01:21 #4254 [Verbose] > │ US1)> (System.Convert.ToInt32(v242))                                         │

00:01:21 #4255 [Verbose] > │     let v244 : Mut1 = {l0 = 0UL} : Mut1                                      │

00:01:21 #4256 [Verbose] > │     while method6(v242, v244) do                                             │

00:01:21 #4257 [Verbose] > │         let v246 : uint64 = v244.l0                                          │

00:01:21 #4258 [Verbose] > │         let v247 : bool = v246 < v240                                        │

00:01:21 #4259 [Verbose] > │         let struct (v253 : UH2, v254 : US1) =                                │

00:01:21 #4260 [Verbose] > │             if v247 then                                                     │

00:01:21 #4261 [Verbose] > │                 let struct (v248 : UH2, v249 : US1) = v239.[int v246]        │

00:01:21 #4262 [Verbose] > │                 struct (v248, v249)                                          │

00:01:21 #4263 [Verbose] > │             else                                                             │

00:01:21 #4264 [Verbose] > │                 let v250 : uint64 = v246 - v240                              │

00:01:21 #4265 [Verbose] > │                 let struct (v251 : UH2, v252 : US1) = v169.[int v250]        │

00:01:21 #4266 [Verbose] > │                 struct (v251, v252)                                          │

00:01:21 #4267 [Verbose] > │         v243.[int v246] <- struct (v253, v254)                               │

00:01:21 #4268 [Verbose] > │         let v255 : uint64 = v246 + 1UL                                       │

00:01:21 #4269 [Verbose] > │         v244.l0 <- v255                                                      │

00:01:21 #4270 [Verbose] > │         ()                                                                   │

00:01:21 #4271 [Verbose] > │     let v256 : uint64 = System.Convert.ToUInt64 v243.Length                  │

00:01:21 #4272 [Verbose] > │     let v257 : ((string []) []) = Array.zeroCreate<(string [])>              │

00:01:21 #4273 [Verbose] > │ (System.Convert.ToInt32(v256))                                               │

00:01:21 #4274 [Verbose] > │     let v258 : Mut1 = {l0 = 0UL} : Mut1                                      │

00:01:21 #4275 [Verbose] > │     while method6(v256, v258) do                                             │

00:01:21 #4276 [Verbose] > │         let v260 : uint64 = v258.l0                                          │

00:01:21 #4277 [Verbose] > │         let struct (v261 : UH2, v262 : US1) = v243.[int v260]                │

00:01:21 #4278 [Verbose] > │         let v263 : (string []) = method25(v261)                              │

00:01:21 #4279 [Verbose] > │         v257.[int v260] <- v263                                              │

00:01:21 #4280 [Verbose] > │         let v264 : uint64 = v260 + 1UL                                       │

00:01:21 #4281 [Verbose] > │         v258.l0 <- v264                                                      │

00:01:21 #4282 [Verbose] > │         ()                                                                   │

00:01:21 #4283 [Verbose] > │     let v265 : ((string []) []) = v257 |> Array.transpose                    │

00:01:21 #4284 [Verbose] > │     let v266 : uint64 = System.Convert.ToUInt64 v265.Length                  │

00:01:21 #4285 [Verbose] > │     let v267 : (int64 []) = Array.zeroCreate<int64>                          │

00:01:21 #4286 [Verbose] > │ (System.Convert.ToInt32(v266))                                               │

00:01:21 #4287 [Verbose] > │     let v268 : Mut1 = {l0 = 0UL} : Mut1                                      │

00:01:21 #4288 [Verbose] > │     while method6(v266, v268) do                                             │

00:01:21 #4289 [Verbose] > │         let v270 : uint64 = v268.l0                                          │

00:01:21 #4290 [Verbose] > │         let v271 : (string []) = v265.[int v270]                             │

00:01:21 #4291 [Verbose] > │         let v272 : uint64 = System.Convert.ToUInt64 v271.Length              │

00:01:21 #4292 [Verbose] > │         let v273 : (int64 []) = Array.zeroCreate<int64>                      │

00:01:21 #4293 [Verbose] > │ (System.Convert.ToInt32(v272))                                               │

00:01:21 #4294 [Verbose] > │         let v274 : Mut1 = {l0 = 0UL} : Mut1                                  │

00:01:21 #4295 [Verbose] > │         while method6(v272, v274) do                                         │

00:01:21 #4296 [Verbose] > │             let v276 : uint64 = v274.l0                                      │

00:01:21 #4297 [Verbose] > │             let v277 : string = v271.[int v276]                              │

00:01:21 #4298 [Verbose] > │             let v278 : int64 = System.Convert.ToInt64 v277.Length            │

00:01:21 #4299 [Verbose] > │             v273.[int v276] <- v278                                          │

00:01:21 #4300 [Verbose] > │             let v279 : uint64 = v276 + 1UL                                   │

00:01:21 #4301 [Verbose] > │             v274.l0 <- v279                                                  │

00:01:21 #4302 [Verbose] > │             ()                                                               │

00:01:21 #4303 [Verbose] > │         let v280 : (int64 []) = v273 |> Array.sortDescending                 │

00:01:21 #4304 [Verbose] > │         let v281 : int64 option = v280 |> Array.tryItem 0                    │

00:01:21 #4305 [Verbose] > │         let v282 : (int64 -> US2) = closure7()                               │

00:01:21 #4306 [Verbose] > │         let v283 : US2 = US2_0                                               │

00:01:21 #4307 [Verbose] > │         let v284 : US2 = v281 |> Option.map v282 |> Option.defaultValue v283 │

00:01:21 #4308 [Verbose] > │         let v287 : int64 =                                                   │

00:01:21 #4309 [Verbose] > │             match v284 with                                                  │

00:01:21 #4310 [Verbose] > │             | US2_0 -> (* None *)                                            │

00:01:21 #4311 [Verbose] > │                 0L                                                           │

00:01:21 #4312 [Verbose] > │             | US2_1(v285) -> (* Some *)                                      │

00:01:21 #4313 [Verbose] > │                 v285                                                         │

00:01:21 #4314 [Verbose] > │         v267.[int v270] <- v287                                              │

00:01:21 #4315 [Verbose] > │         let v288 : uint64 = v270 + 1UL                                       │

00:01:21 #4316 [Verbose] > │         v268.l0 <- v288                                                      │

00:01:21 #4317 [Verbose] > │         ()                                                                   │

00:01:21 #4318 [Verbose] > │     let v289 : uint64 = System.Convert.ToUInt64 v267.Length                  │

00:01:21 #4319 [Verbose] > │     let v290 : UH5 = UH5_1                                                   │

00:01:21 #4320 [Verbose] > │     let v291 : Mut3 = {l0 = 0UL; l1 = v290; l2 = 0} : Mut3                   │

00:01:21 #4321 [Verbose] > │     while method28(v289, v291) do                                            │

00:01:21 #4322 [Verbose] > │         let v293 : uint64 = v291.l0                                          │

00:01:21 #4323 [Verbose] > │         let struct (v294 : UH5, v295 : int32) = v291.l1, v291.l2             │

00:01:21 #4324 [Verbose] > │         let v296 : int64 = v267.[int v293]                                   │

00:01:21 #4325 [Verbose] > │         let v297 : int32 = v295 + 1                                          │

00:01:21 #4326 [Verbose] > │         let v298 : uint64 = v293 + 1UL                                       │

00:01:21 #4327 [Verbose] > │         let v299 : UH5 = UH5_0(v295, v296, v294)                             │

00:01:21 #4328 [Verbose] > │         v291.l0 <- v298                                                      │

00:01:21 #4329 [Verbose] > │         v291.l1 <- v299                                                      │

00:01:21 #4330 [Verbose] > │         v291.l2 <- v297                                                      │

00:01:21 #4331 [Verbose] > │         ()                                                                   │

00:01:21 #4332 [Verbose] > │     let struct (v300 : UH5, v301 : int32) = v291.l1, v291.l2                 │

00:01:21 #4333 [Verbose] > │     let v302 : UH5 = UH5_1                                                   │

00:01:21 #4334 [Verbose] > │     let v303 : UH5 = method29(v300, v302)                                    │

00:01:21 #4335 [Verbose] > │     let v304 : (struct (int32 * int64) []) = method30(v303)                  │

00:01:21 #4336 [Verbose] > │     let v305 : Map<int32, int64> = v304 |> Array.map (fun (struct (a, b)) -> │

00:01:21 #4337 [Verbose] > │ a, b) |> Map.ofArray                                                         │

00:01:21 #4338 [Verbose] > │     let v306 : (struct ((string []) * US1) []) = Array.zeroCreate<struct     │

00:01:21 #4339 [Verbose] > │ ((string []) * US1)> (System.Convert.ToInt32(v256))                          │

00:01:21 #4340 [Verbose] > │     let v307 : Mut1 = {l0 = 0UL} : Mut1                                      │

00:01:21 #4341 [Verbose] > │     while method6(v256, v307) do                                             │

00:01:21 #4342 [Verbose] > │         let v309 : uint64 = v307.l0                                          │

00:01:21 #4343 [Verbose] > │         let struct (v310 : UH2, v311 : US1) = v243.[int v309]                │

00:01:21 #4344 [Verbose] > │         let v312 : UH6 = UH6_1                                               │

00:01:21 #4345 [Verbose] > │         let v313 : int32 = 0                                                 │

00:01:21 #4346 [Verbose] > │         let struct (v314 : UH6, v315 : int32) = method33(v310, v312, v313)   │

00:01:21 #4347 [Verbose] > │         let v316 : UH6 = UH6_1                                               │

00:01:21 #4348 [Verbose] > │         let v317 : UH6 = method34(v314, v316)                                │

00:01:21 #4349 [Verbose] > │         let v318 : UH2 = UH2_1                                               │

00:01:21 #4350 [Verbose] > │         let v319 : UH2 = method35(v305, v317, v318)                          │

00:01:21 #4351 [Verbose] > │         let v320 : (string []) = method36(v319)                              │

00:01:21 #4352 [Verbose] > │         v306.[int v309] <- struct (v320, v311)                               │

00:01:21 #4353 [Verbose] > │         let v321 : uint64 = v309 + 1UL                                       │

00:01:21 #4354 [Verbose] > │         v307.l0 <- v321                                                      │

00:01:21 #4355 [Verbose] > │         ()                                                                   │

00:01:21 #4356 [Verbose] > │     System.Console.WriteLine v35                                             │

00:01:21 #4357 [Verbose] > │     let v322 : uint64 = System.Convert.ToUInt64 v306.Length                  │

00:01:21 #4358 [Verbose] > │     let v323 : Mut1 = {l0 = 0UL} : Mut1                                      │

00:01:21 #4359 [Verbose] > │     while method6(v322, v323) do                                             │

00:01:21 #4360 [Verbose] > │         let v325 : uint64 = v323.l0                                          │

00:01:21 #4361 [Verbose] > │         let struct (v326 : (string []), v327 : US1) = v306.[int v325]        │

00:01:21 #4362 [Verbose] > │         match v327 with                                                      │

00:01:21 #4363 [Verbose] > │         | US1_0 -> (* None *)                                                │

00:01:21 #4364 [Verbose] > │             let mutable result = None                                        │

00:01:21 #4365 [Verbose] > │             #if FABLE_COMPILER_RUST                                          │

00:01:21 #4366 [Verbose] > │             #if !WASM                                                        │

00:01:21 #4367 [Verbose] > │             ()                                                               │

00:01:21 #4368 [Verbose] > │             #else                                                            │

00:01:21 #4369 [Verbose] > │             ()                                                               │

00:01:21 #4370 [Verbose] > │             #endif                                                           │

00:01:21 #4371 [Verbose] > │             #else                                                            │

00:01:21 #4372 [Verbose] > │             System.Console.ResetColor ()                                     │

00:01:21 #4373 [Verbose] > │             ()                                                               │

00:01:21 #4374 [Verbose] > │             #endif                                                           │

00:01:21 #4375 [Verbose] > │             |> fun x -> result <- Some x                                     │

00:01:21 #4376 [Verbose] > │             result |> Option.get                                             │

00:01:21 #4377 [Verbose] > │             ()                                                               │

00:01:21 #4378 [Verbose] > │         | US1_1(v328) -> (* Some *)                                          │

00:01:21 #4379 [Verbose] > │             let mutable result = None                                        │

00:01:21 #4380 [Verbose] > │             #if FABLE_COMPILER_RUST                                          │

00:01:21 #4381 [Verbose] > │             #if !WASM                                                        │

00:01:21 #4382 [Verbose] > │             ()                                                               │

00:01:21 #4383 [Verbose] > │             #else                                                            │

00:01:21 #4384 [Verbose] > │             ()                                                               │

00:01:21 #4385 [Verbose] > │             #endif                                                           │

00:01:21 #4386 [Verbose] > │             #else                                                            │

00:01:21 #4387 [Verbose] > │             System.Console.ForegroundColor <- v328                           │

00:01:21 #4388 [Verbose] > │             ()                                                               │

00:01:21 #4389 [Verbose] > │             #endif                                                           │

00:01:21 #4390 [Verbose] > │             |> fun x -> result <- Some x                                     │

00:01:21 #4391 [Verbose] > │             result |> Option.get                                             │

00:01:21 #4392 [Verbose] > │             ()                                                               │

00:01:21 #4393 [Verbose] > │         let v329 : string = "\t| "                                           │

00:01:21 #4394 [Verbose] > │         let v330 : string = System.String.Join (v329, v326)                  │

00:01:21 #4395 [Verbose] > │         System.Console.WriteLine v330                                        │

00:01:21 #4396 [Verbose] > │         let mutable result = None                                            │

00:01:21 #4397 [Verbose] > │         #if FABLE_COMPILER_RUST                                              │

00:01:21 #4398 [Verbose] > │         #if !WASM                                                            │

00:01:21 #4399 [Verbose] > │         ()                                                                   │

00:01:21 #4400 [Verbose] > │         #else                                                                │

00:01:21 #4401 [Verbose] > │         ()                                                                   │

00:01:21 #4402 [Verbose] > │         #endif                                                               │

00:01:21 #4403 [Verbose] > │         #else                                                                │

00:01:21 #4404 [Verbose] > │         System.Console.ResetColor ()                                         │

00:01:21 #4405 [Verbose] > │         ()                                                                   │

00:01:21 #4406 [Verbose] > │         #endif                                                               │

00:01:21 #4407 [Verbose] > │         |> fun x -> result <- Some x                                         │

00:01:21 #4408 [Verbose] > │         result |> Option.get                                                 │

00:01:21 #4409 [Verbose] > │         let v331 : uint64 = v325 + 1UL                                       │

00:01:21 #4410 [Verbose] > │         v323.l0 <- v331                                                      │

00:01:21 #4411 [Verbose] > │         ()                                                                   │

00:01:21 #4412 [Verbose] > │     let v332 : ((float []) []) = Array.zeroCreate<(float [])>                │

00:01:21 #4413 [Verbose] > │ (System.Convert.ToInt32(v168))                                               │

00:01:21 #4414 [Verbose] > │     let v333 : Mut1 = {l0 = 0UL} : Mut1                                      │

00:01:21 #4415 [Verbose] > │     while method6(v168, v333) do                                             │

00:01:21 #4416 [Verbose] > │         let v335 : uint64 = v333.l0                                          │

00:01:21 #4417 [Verbose] > │         let struct (v336 : string, v337 : string, v338 : string, v339 :      │

00:01:21 #4418 [Verbose] > │ (int64 [])) = v83.[int v335]                                                 │

00:01:21 #4419 [Verbose] > │         let v340 : (int64 -> float) = float                                  │

00:01:21 #4420 [Verbose] > │         let v341 : uint64 = System.Convert.ToUInt64 v339.Length              │

00:01:21 #4421 [Verbose] > │         let v342 : (float []) = Array.zeroCreate<float>                      │

00:01:21 #4422 [Verbose] > │ (System.Convert.ToInt32(v341))                                               │

00:01:21 #4423 [Verbose] > │         let v343 : Mut1 = {l0 = 0UL} : Mut1                                  │

00:01:21 #4424 [Verbose] > │         while method6(v341, v343) do                                         │

00:01:21 #4425 [Verbose] > │             let v345 : uint64 = v343.l0                                      │

00:01:21 #4426 [Verbose] > │             let v346 : int64 = v339.[int v345]                               │

00:01:21 #4427 [Verbose] > │             let v347 : float = v340 v346                                     │

00:01:21 #4428 [Verbose] > │             v342.[int v345] <- v347                                          │

00:01:21 #4429 [Verbose] > │             let v348 : uint64 = v345 + 1UL                                   │

00:01:21 #4430 [Verbose] > │             v343.l0 <- v348                                                  │

00:01:21 #4431 [Verbose] > │             ()                                                               │

00:01:21 #4432 [Verbose] > │         v332.[int v335] <- v342                                              │

00:01:21 #4433 [Verbose] > │         let v349 : uint64 = v335 + 1UL                                       │

00:01:21 #4434 [Verbose] > │         v333.l0 <- v349                                                      │

00:01:21 #4435 [Verbose] > │         ()                                                                   │

00:01:21 #4436 [Verbose] > │     let v350 : ((float []) []) = v332 |> Array.transpose                     │

00:01:21 #4437 [Verbose] > │     let v351 : uint64 = System.Convert.ToUInt64 v350.Length                  │

00:01:21 #4438 [Verbose] > │     let v352 : (float []) = Array.zeroCreate<float>                          │

00:01:21 #4439 [Verbose] > │ (System.Convert.ToInt32(v351))                                               │

00:01:21 #4440 [Verbose] > │     let v353 : Mut1 = {l0 = 0UL} : Mut1                                      │

00:01:21 #4441 [Verbose] > │     while method6(v351, v353) do                                             │

00:01:21 #4442 [Verbose] > │         let v355 : uint64 = v353.l0                                          │

00:01:21 #4443 [Verbose] > │         let v356 : (float []) = v350.[int v355]                              │

00:01:21 #4444 [Verbose] > │         let v357 : float = v356 |> Array.average                             │

00:01:21 #4445 [Verbose] > │         v352.[int v355] <- v357                                              │

00:01:21 #4446 [Verbose] > │         let v358 : uint64 = v355 + 1UL                                       │

00:01:21 #4447 [Verbose] > │         v353.l0 <- v358                                                      │

00:01:21 #4448 [Verbose] > │         ()                                                                   │

00:01:21 #4449 [Verbose] > │     let v359 : (float -> int64) = int64                                      │

00:01:21 #4450 [Verbose] > │     let v360 : uint64 = System.Convert.ToUInt64 v352.Length                  │

00:01:21 #4451 [Verbose] > │     let v361 : (int64 []) = Array.zeroCreate<int64>                          │

00:01:21 #4452 [Verbose] > │ (System.Convert.ToInt32(v360))                                               │

00:01:21 #4453 [Verbose] > │     let v362 : Mut1 = {l0 = 0UL} : Mut1                                      │

00:01:21 #4454 [Verbose] > │     while method6(v360, v362) do                                             │

00:01:21 #4455 [Verbose] > │         let v364 : uint64 = v362.l0                                          │

00:01:21 #4456 [Verbose] > │         let v365 : float = v352.[int v364]                                   │

00:01:21 #4457 [Verbose] > │         let v366 : int64 = v359 v365                                         │

00:01:21 #4458 [Verbose] > │         v361.[int v364] <- v366                                              │

00:01:21 #4459 [Verbose] > │         let v367 : uint64 = v364 + 1UL                                       │

00:01:21 #4460 [Verbose] > │         v362.l0 <- v367                                                      │

00:01:21 #4461 [Verbose] > │         ()                                                                   │

00:01:21 #4462 [Verbose] > │     let v368 : uint64 = System.Convert.ToUInt64 v361.Length                  │

00:01:21 #4463 [Verbose] > │     let v369 : UH5 = UH5_1                                                   │

00:01:21 #4464 [Verbose] > │     let v370 : Mut3 = {l0 = 0UL; l1 = v369; l2 = 0} : Mut3                   │

00:01:21 #4465 [Verbose] > │     while method28(v368, v370) do                                            │

00:01:21 #4466 [Verbose] > │         let v372 : uint64 = v370.l0                                          │

00:01:21 #4467 [Verbose] > │         let struct (v373 : UH5, v374 : int32) = v370.l1, v370.l2             │

00:01:21 #4468 [Verbose] > │         let v375 : int64 = v361.[int v372]                                   │

00:01:21 #4469 [Verbose] > │         let v376 : int32 = v374 + 1                                          │

00:01:21 #4470 [Verbose] > │         let v377 : uint64 = v372 + 1UL                                       │

00:01:21 #4471 [Verbose] > │         let v378 : UH5 = UH5_0(v374, v375, v373)                             │

00:01:21 #4472 [Verbose] > │         v370.l0 <- v377                                                      │

00:01:21 #4473 [Verbose] > │         v370.l1 <- v378                                                      │

00:01:21 #4474 [Verbose] > │         v370.l2 <- v376                                                      │

00:01:21 #4475 [Verbose] > │         ()                                                                   │

00:01:21 #4476 [Verbose] > │     let struct (v379 : UH5, v380 : int32) = v370.l1, v370.l2                 │

00:01:21 #4477 [Verbose] > │     let v381 : UH5 = UH5_1                                                   │

00:01:21 #4478 [Verbose] > │     let v382 : UH5 = method29(v379, v381)                                    │

00:01:21 #4479 [Verbose] > │     let v383 : (struct (int32 * int64) []) = method39(v382)                  │

00:01:21 #4480 [Verbose] > │     System.Console.WriteLine v35                                             │

00:01:21 #4481 [Verbose] > │     let v384 : string = "Average Ranking  "                                  │

00:01:21 #4482 [Verbose] > │     System.Console.WriteLine v384                                            │

00:01:21 #4483 [Verbose] > │     let v385 : (struct (int32 * int64) -> int64) = closure8()                │

00:01:21 #4484 [Verbose] > │     let v386 : (struct (int32 * int64) []) = v383 |> Array.sortBy v385       │

00:01:21 #4485 [Verbose] > │     let v387 : uint64 = System.Convert.ToUInt64 v386.Length                  │

00:01:21 #4486 [Verbose] > │     let v388 : Mut1 = {l0 = 0UL} : Mut1                                      │

00:01:21 #4487 [Verbose] > │     while method6(v387, v388) do                                             │

00:01:21 #4488 [Verbose] > │         let v390 : uint64 = v388.l0                                          │

00:01:21 #4489 [Verbose] > │         let struct (v391 : int32, v392 : int64) = v386.[int v390]            │

00:01:21 #4490 [Verbose] > │         let v393 : string = $"Test case %d{v391 + 1}. Average Time: %A{v392} │

00:01:21 #4491 [Verbose] > │ "                                                                            │

00:01:21 #4492 [Verbose] > │         System.Console.WriteLine v393                                        │

00:01:21 #4493 [Verbose] > │         let v394 : uint64 = v390 + 1UL                                       │

00:01:21 #4494 [Verbose] > │         v388.l0 <- v394                                                      │

00:01:21 #4495 [Verbose] > │         ()                                                                   │

00:01:21 #4496 [Verbose] > │     ()                                                                       │

00:01:21 #4497 [Verbose] > │ method0()                                                                    │

00:01:21 #4498 [Verbose] > │                                                                              │

00:01:21 #4499 [Verbose] > │                                                                              │

00:01:21 #4500 [Verbose] > │                                                                              │

00:01:21 #4501 [Verbose] > │ Test: v33                                                                    │

00:01:21 #4502 [Verbose] > │                                                                              │

00:01:21 #4503 [Verbose] > │ Solution: struct ([|1; 3; 4; 6; 8; 9; 11|], 6, 7)                            │

00:01:21 #4504 [Verbose] > │ Test case 1. semi_open_1. Time: 570                                          │

00:01:21 #4505 [Verbose] > │ Test case 2. closed_1. Time: 507                                             │

00:01:21 #4506 [Verbose] > │ Test case 3. semi_open_2. Time: 439                                          │

00:01:21 #4507 [Verbose] > │ Test case 4. closed_2. Time: 508                                             │

00:01:21 #4508 [Verbose] > │                                                                              │

00:01:21 #4509 [Verbose] > │ Solution: struct ([|1; 3; 4; 6; 8; 9; 11|], 1, 7)                            │

00:01:21 #4510 [Verbose] > │ Test case 1. semi_open_1. Time: 530                                          │

00:01:21 #4511 [Verbose] > │ Test case 2. closed_1. Time: 450                                             │

00:01:21 #4512 [Verbose] > │ Test case 3. semi_open_2. Time: 449                                          │

00:01:21 #4513 [Verbose] > │ Test case 4. closed_2. Time: 436                                             │

00:01:21 #4514 [Verbose] > │                                                                              │

00:01:21 #4515 [Verbose] > │ Solution: struct ([|1; 3; 4; 6; 8; 9; 11|], 11, 7)                           │

00:01:21 #4516 [Verbose] > │ Test case 1. semi_open_1. Time: 479                                          │

00:01:21 #4517 [Verbose] > │ Test case 2. closed_1. Time: 444                                             │

00:01:21 #4518 [Verbose] > │ Test case 3. semi_open_2. Time: 434                                          │

00:01:21 #4519 [Verbose] > │ Test case 4. closed_2. Time: 448                                             │

00:01:21 #4520 [Verbose] > │                                                                              │

00:01:21 #4521 [Verbose] > │ Solution: struct ([|1; 3; 4; 6; 8; 9; 11|], 12, 7)                           │

00:01:21 #4522 [Verbose] > │ Test case 1. semi_open_1. Time: 461                                          │

00:01:21 #4523 [Verbose] > │ Test case 2. closed_1. Time: 461                                             │

00:01:21 #4524 [Verbose] > │ Test case 3. semi_open_2. Time: 438                                          │

00:01:21 #4525 [Verbose] > │ Test case 4. closed_2. Time: 442                                             │

00:01:21 #4526 [Verbose] > │                                                                              │

00:01:21 #4527 [Verbose] > │ Solution: struct ([|1; 2; 3; 4; 5; 6; 7; 8; 9; 10; 11; 12; 13; 14; 15; 16;   │

00:01:21 #4528 [Verbose] > │ 17; 18; 19; 20;                                                              │

00:01:21 #4529 [Verbose] > │           21; 22; 23; 24; 25; 26; 27; 28; 29; 30; 31; 32; 33; 34; 35; 36;    │

00:01:21 #4530 [Verbose] > │ 37; 38;                                                                      │

00:01:21 #4531 [Verbose] > │           39; 40; 41; 42; 43; 44; 45; 46; 47; 48; 49; 50; 51; 52; 53; 54;    │

00:01:21 #4532 [Verbose] > │ 55; 56;                                                                      │

00:01:21 #4533 [Verbose] > │           57; 58; 59; 60; 61; 62; 63; 64; 65; 66; 67; 68; 69; 70; 71; 72;    │

00:01:21 #4534 [Verbose] > │ 73; 74;                                                                      │

00:01:21 #4535 [Verbose] > │           75; 76; 77; 78; 79; 80; 81; 82; 83; 84; 85; 86; 87; 88; 89; 90;    │

00:01:21 #4536 [Verbose] > │ 91; 92;                                                                      │

00:01:21 #4537 [Verbose] > │           93; 94; 95; 96; 97; 98; 99; 100|], 60, 100)                        │

00:01:21 #4538 [Verbose] > │ Test case 1. semi_open_1. Time: 454                                          │

00:01:21 #4539 [Verbose] > │ Test case 2. closed_1. Time: 448                                             │

00:01:21 #4540 [Verbose] > │ Test case 3. semi_open_2. Time: 458                                          │

00:01:21 #4541 [Verbose] > │ Test case 4. closed_2. Time: 465                                             │

00:01:21 #4542 [Verbose] > │                                                                              │

00:01:21 #4543 [Verbose] > │ Solution: struct ([|1; 3; 4; 6; 8; 9; 11|], 6, 7)                            │

00:01:21 #4544 [Verbose] > │ Test case 1. semi_open_1. Time: 425                                          │

00:01:21 #4545 [Verbose] > │ Test case 2. closed_1. Time: 441                                             │

00:01:21 #4546 [Verbose] > │ Test case 3. semi_open_2. Time: 447                                          │

00:01:21 #4547 [Verbose] > │ Test case 4. closed_2. Time: 436                                             │

00:01:21 #4548 [Verbose] > │                                                                              │

00:01:21 #4549 [Verbose] > │ Solution: struct ([|1; 3; 4; 6; 8; 9; 11|], 1, 7)                            │

00:01:21 #4550 [Verbose] > │ Test case 1. semi_open_1. Time: 475                                          │

00:01:21 #4551 [Verbose] > │ Test case 2. closed_1. Time: 465                                             │

00:01:21 #4552 [Verbose] > │ Test case 3. semi_open_2. Time: 446                                          │

00:01:21 #4553 [Verbose] > │ Test case 4. closed_2. Time: 455                                             │

00:01:21 #4554 [Verbose] > │                                                                              │

00:01:21 #4555 [Verbose] > │ Solution: struct ([|1; 3; 4; 6; 8; 9; 11|], 11, 7)                           │

00:01:21 #4556 [Verbose] > │ Test case 1. semi_open_1. Time: 466                                          │

00:01:21 #4557 [Verbose] > │ Test case 2. closed_1. Time: 459                                             │

00:01:21 #4558 [Verbose] > │ Test case 3. semi_open_2. Time: 446                                          │

00:01:21 #4559 [Verbose] > │ Test case 4. closed_2. Time: 452                                             │

00:01:21 #4560 [Verbose] > │                                                                              │

00:01:21 #4561 [Verbose] > │ Solution: struct ([|1; 3; 4; 6; 8; 9; 11|], 12, 7)                           │

00:01:21 #4562 [Verbose] > │ Test case 1. semi_open_1. Time: 459                                          │

00:01:21 #4563 [Verbose] > │ Test case 2. closed_1. Time: 444                                             │

00:01:21 #4564 [Verbose] > │ Test case 3. semi_open_2. Time: 439                                          │

00:01:21 #4565 [Verbose] > │ Test case 4. closed_2. Time: 441                                             │

00:01:21 #4566 [Verbose] > │                                                                              │

00:01:21 #4567 [Verbose] > │ Solution: struct ([|1; 2; 3; 4; 5; 6; 7; 8; 9; 10; 11; 12; 13; 14; 15; 16;   │

00:01:21 #4568 [Verbose] > │ 17; 18; 19; 20;                                                              │

00:01:21 #4569 [Verbose] > │           21; 22; 23; 24; 25; 26; 27; 28; 29; 30; 31; 32; 33; 34; 35; 36;    │

00:01:21 #4570 [Verbose] > │ 37; 38;                                                                      │

00:01:21 #4571 [Verbose] > │           39; 40; 41; 42; 43; 44; 45; 46; 47; 48; 49; 50; 51; 52; 53; 54;    │

00:01:21 #4572 [Verbose] > │ 55; 56;                                                                      │

00:01:21 #4573 [Verbose] > │           57; 58; 59; 60; 61; 62; 63; 64; 65; 66; 67; 68; 69; 70; 71; 72;    │

00:01:21 #4574 [Verbose] > │ 73; 74;                                                                      │

00:01:21 #4575 [Verbose] > │           75; 76; 77; 78; 79; 80; 81; 82; 83; 84; 85; 86; 87; 88; 89; 90;    │

00:01:21 #4576 [Verbose] > │ 91; 92;                                                                      │

00:01:21 #4577 [Verbose] > │           93; 94; 95; 96; 97; 98; 99; 100|], 60, 100)                        │

00:01:21 #4578 [Verbose] > │ Test case 1. semi_open_1. Time: 470                                          │

00:01:21 #4579 [Verbose] > │ Test case 2. closed_1. Time: 457                                             │

00:01:21 #4580 [Verbose] > │ Test case 3. semi_open_2. Time: 464                                          │

00:01:21 #4581 [Verbose] > │ Test case 4. closed_2. Time: 456                                             │

00:01:21 #4582 [Verbose] > │                                                                              │

00:01:21 #4583 [Verbose] > │ Input                                                                        │

00:01:21 #4584 [Verbose] > │                                                                              │

00:01:21 #4585 [Verbose] > │                                                                              │

00:01:21 #4586 [Verbose] > │                                                                              │

00:01:21 #4587 [Verbose] > │  	| Expected	| Result  	| Best                                                     │

00:01:21 #4588 [Verbose] > │ ---                                                                          │

00:01:21 #4589 [Verbose] > │                                                                              │

00:01:21 #4590 [Verbose] > │                                                                              │

00:01:21 #4591 [Verbose] > │                                                                              │

00:01:21 #4592 [Verbose] > │    	| ---     	| ---     	| ---                                                    │

00:01:21 #4593 [Verbose] > │ struct ([|1; 3; 4; 6; 8; 9; 11|], 6, 7)                                      │

00:01:21 #4594 [Verbose] > │                                                                              │

00:01:21 #4595 [Verbose] > │                                                                              │

00:01:21 #4596 [Verbose] > │                                                                              │

00:01:21 #4597 [Verbose] > │ | US0_1 3 	| US0_1 3 	| struct (3L, 439L)                                        │

00:01:21 #4598 [Verbose] > │ struct ([|1; 3; 4; 6; 8; 9; 11|], 1, 7)                                      │

00:01:21 #4599 [Verbose] > │                                                                              │

00:01:21 #4600 [Verbose] > │                                                                              │

00:01:21 #4601 [Verbose] > │                                                                              │

00:01:21 #4602 [Verbose] > │ | US0_1 0 	| US0_1 0 	| struct (4L, 436L)                                        │

00:01:21 #4603 [Verbose] > │ struct ([|1; 3; 4; 6; 8; 9; 11|], 11, 7)                                     │

00:01:21 #4604 [Verbose] > │                                                                              │

00:01:21 #4605 [Verbose] > │                                                                              │

00:01:21 #4606 [Verbose] > │                                                                              │

00:01:21 #4607 [Verbose] > │ | US0_1 6 	| US0_1 6 	| struct (3L, 434L)                                        │

00:01:21 #4608 [Verbose] > │ struct ([|1; 3; 4; 6; 8; 9; 11|], 12, 7)                                     │

00:01:21 #4609 [Verbose] > │                                                                              │

00:01:21 #4610 [Verbose] > │                                                                              │

00:01:21 #4611 [Verbose] > │                                                                              │

00:01:21 #4612 [Verbose] > │ | US0_0   	| US0_0   	| struct (3L, 438L)                                        │

00:01:21 #4613 [Verbose] > │ struct ([|1; 2; 3; 4; 5; 6; 7; 8; 9; 10; 11; 12; 13; 14; 15; 16; 17; 18; 19; │

00:01:21 #4614 [Verbose] > │ 20;                                                                          │

00:01:21 #4615 [Verbose] > │           21; 22; 23; 24; 25; 26; 27; 28; 29; 30; 31; 32; 33; 34; 35; 36;    │

00:01:21 #4616 [Verbose] > │ 37; 38;                                                                      │

00:01:21 #4617 [Verbose] > │           39; 40; 41; 42; 43; 44; 45; 46; 47; 48; 49; 50; 51; 52; 53; 54;    │

00:01:21 #4618 [Verbose] > │ 55; 56;                                                                      │

00:01:21 #4619 [Verbose] > │           57; 58; 59; 60; 61; 62; 63; 64; 65; 66; 67; 68; 69; 70; 71; 72;    │

00:01:21 #4620 [Verbose] > │ 73; 74;                                                                      │

00:01:21 #4621 [Verbose] > │           75; 76; 77; 78; 79; 80; 81; 82; 83; 84; 85; 86; 87; 88; 89; 90;    │

00:01:21 #4622 [Verbose] > │ 91; 92;                                                                      │

00:01:21 #4623 [Verbose] > │           93; 94; 95; 96; 97; 98; 99; 100|], 60, 100)	| US0_1 59	| US0_1 59	|      │

00:01:21 #4624 [Verbose] > │ struct (2L, 448L)                                                            │

00:01:21 #4625 [Verbose] > │ struct ([|1; 3; 4; 6; 8; 9; 11|], 6, 7)                                      │

00:01:21 #4626 [Verbose] > │                                                                              │

00:01:21 #4627 [Verbose] > │                                                                              │

00:01:21 #4628 [Verbose] > │                                                                              │

00:01:21 #4629 [Verbose] > │ | US0_1 3 	| US0_1 3 	| struct (1L, 425L)                                        │

00:01:21 #4630 [Verbose] > │ struct ([|1; 3; 4; 6; 8; 9; 11|], 1, 7)                                      │

00:01:21 #4631 [Verbose] > │                                                                              │

00:01:21 #4632 [Verbose] > │                                                                              │

00:01:21 #4633 [Verbose] > │                                                                              │

00:01:21 #4634 [Verbose] > │ | US0_1 0 	| US0_1 0 	| struct (3L, 446L)                                        │

00:01:21 #4635 [Verbose] > │ struct ([|1; 3; 4; 6; 8; 9; 11|], 11, 7)                                     │

00:01:21 #4636 [Verbose] > │                                                                              │

00:01:21 #4637 [Verbose] > │                                                                              │

00:01:21 #4638 [Verbose] > │                                                                              │

00:01:21 #4639 [Verbose] > │ | US0_1 6 	| US0_1 6 	| struct (3L, 446L)                                        │

00:01:21 #4640 [Verbose] > │ struct ([|1; 3; 4; 6; 8; 9; 11|], 12, 7)                                     │

00:01:21 #4641 [Verbose] > │                                                                              │

00:01:21 #4642 [Verbose] > │                                                                              │

00:01:21 #4643 [Verbose] > │                                                                              │

00:01:21 #4644 [Verbose] > │ | US0_0   	| US0_0   	| struct (3L, 439L)                                        │

00:01:21 #4645 [Verbose] > │ struct ([|1; 2; 3; 4; 5; 6; 7; 8; 9; 10; 11; 12; 13; 14; 15; 16; 17; 18; 19; │

00:01:21 #4646 [Verbose] > │ 20;                                                                          │

00:01:21 #4647 [Verbose] > │           21; 22; 23; 24; 25; 26; 27; 28; 29; 30; 31; 32; 33; 34; 35; 36;    │

00:01:21 #4648 [Verbose] > │ 37; 38;                                                                      │

00:01:21 #4649 [Verbose] > │           39; 40; 41; 42; 43; 44; 45; 46; 47; 48; 49; 50; 51; 52; 53; 54;    │

00:01:21 #4650 [Verbose] > │ 55; 56;                                                                      │

00:01:21 #4651 [Verbose] > │           57; 58; 59; 60; 61; 62; 63; 64; 65; 66; 67; 68; 69; 70; 71; 72;    │

00:01:21 #4652 [Verbose] > │ 73; 74;                                                                      │

00:01:21 #4653 [Verbose] > │           75; 76; 77; 78; 79; 80; 81; 82; 83; 84; 85; 86; 87; 88; 89; 90;    │

00:01:21 #4654 [Verbose] > │ 91; 92;                                                                      │

00:01:21 #4655 [Verbose] > │           93; 94; 95; 96; 97; 98; 99; 100|], 60, 100)	| US0_1 59	| US0_1 59	|      │

00:01:21 #4656 [Verbose] > │ struct (4L, 456L)                                                            │

00:01:21 #4657 [Verbose] > │                                                                              │

00:01:21 #4658 [Verbose] > │ Average Ranking                                                              │

00:01:21 #4659 [Verbose] > │ Test case 3. Average Time: 446L                                              │

00:01:21 #4660 [Verbose] > │ Test case 4. Average Time: 453L                                              │

00:01:21 #4661 [Verbose] > │ Test case 2. Average Time: 457L                                              │

00:01:21 #4662 [Verbose] > │ Test case 1. Average Time: 478L                                              │

00:01:21 #4663 [Verbose] > │                                                                              │

00:01:21 #4664 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:01:21 #4665 [Verbose] >

00:01:21 #4666 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────

00:01:21 #4667 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮

00:01:21 #4668 [Verbose] > │ ## returnLettersWithOddCountTests                                            │

00:01:21 #4669 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:01:21 #4670 [Verbose] >

00:01:21 #4671 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────

00:01:21 #4672 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮

00:01:21 #4673 [Verbose] > │ Test: ReturnLettersWithOddCount                                              │

00:01:21 #4674 [Verbose] > │                                                                              │

00:01:21 #4675 [Verbose] > │ Solution: 1                                                                  │

00:01:21 #4676 [Verbose] > │ Test case 1. A. Time: 645L                                                   │

00:01:21 #4677 [Verbose] > │                                                                              │

00:01:21 #4678 [Verbose] > │ Solution: 2                                                                  │

00:01:21 #4679 [Verbose] > │ Test case 1. A. Time: 663L                                                   │

00:01:21 #4680 [Verbose] > │                                                                              │

00:01:21 #4681 [Verbose] > │ Solution: 3                                                                  │

00:01:21 #4682 [Verbose] > │ Test case 1. A. Time: 680L                                                   │

00:01:21 #4683 [Verbose] > │                                                                              │

00:01:21 #4684 [Verbose] > │ Solution: 9                                                                  │

00:01:21 #4685 [Verbose] > │ Test case 1. A. Time: 730L                                                   │

00:01:21 #4686 [Verbose] > │                                                                              │

00:01:21 #4687 [Verbose] > │ Solution: 10                                                                 │

00:01:21 #4688 [Verbose] > │ Test case 1. A. Time: 815L                                                   │

00:01:21 #4689 [Verbose] > │                                                                              │

00:01:21 #4690 [Verbose] > │ Input   | Expected        | Result          | Best                           │

00:01:21 #4691 [Verbose] > │ ---     | ---             | ---             | ---                            │

00:01:21 #4692 [Verbose] > │ 1       | a               | a               | (1, 645)                       │

00:01:21 #4693 [Verbose] > │ 2       | ba              | ba              | (1, 663)                       │

00:01:21 #4694 [Verbose] > │ 3       | aaa             | aaa             | (1, 680)                       │

00:01:21 #4695 [Verbose] > │ 9       | aaaaaaaaa       | aaaaaaaaa       | (1, 730)                       │

00:01:21 #4696 [Verbose] > │ 10      | baaaaaaaaa      | baaaaaaaaa      | (1, 815)                       │

00:01:21 #4697 [Verbose] > │                                                                              │

00:01:21 #4698 [Verbose] > │ Averages                                                                     │

00:01:21 #4699 [Verbose] > │ Test case 1. Average Time: 706L                                              │

00:01:21 #4700 [Verbose] > │                                                                              │

00:01:21 #4701 [Verbose] > │ Ranking                                                                      │

00:01:21 #4702 [Verbose] > │ Test case 1. Average Time: 706L                                              │

00:01:21 #4703 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:01:21 #4704 [Verbose] >

00:01:21 #4705 [Verbose] > ── fsharp ──────────────────────────────────────────────────────────────────────

00:01:21 #4706 [Verbose] > //// test

00:01:21 #4707 [Verbose] >

00:01:21 #4708 [Verbose] > let solutions = [[

00:01:21 #4709 [Verbose] >     "A",

00:01:21 #4710 [Verbose] >     fun n ->

00:01:21 #4711 [Verbose] >         let mutable _builder = StringBuilder (new string('a', n))

00:01:21 #4712 [Verbose] >         if n % 2 = 0 then

00:01:21 #4713 [Verbose] >             _builder.[[0]] <- 'b'

00:01:21 #4714 [Verbose] >

00:01:21 #4715 [Verbose] >         _builder.ToString ()

00:01:21 #4716 [Verbose] > ]]

00:01:21 #4717 [Verbose] > let testCases = seq {

00:01:21 #4718 [Verbose] >     1, "a"

00:01:21 #4719 [Verbose] >     2, "ba"

00:01:21 #4720 [Verbose] >     3, "aaa"

00:01:21 #4721 [Verbose] >     9, "aaaaaaaaa"

00:01:21 #4722 [Verbose] >     10, "baaaaaaaaa"

00:01:21 #4723 [Verbose] > }

00:01:21 #4724 [Verbose] > let rec returnLettersWithOddCountTests =

00:01:21 #4725 [Verbose] >     runAll (nameof returnLettersWithOddCountTests) _count solutions testCases

00:01:21 #4726 [Verbose] > returnLettersWithOddCountTests

00:01:21 #4727 [Verbose] > |> sortResultList

00:01:21 #4728 [Verbose] >

00:01:21 #4729 [Verbose] > ╭─[ 714.79ms - stdout ]────────────────────────────────────────────────────────╮

00:01:21 #4730 [Verbose] > │                                                                              │

00:01:21 #4731 [Verbose] > │                                                                              │

00:01:21 #4732 [Verbose] > │ Test: returnLettersWithOddCountTests                                         │

00:01:21 #4733 [Verbose] > │                                                                              │

00:01:21 #4734 [Verbose] > │ Solution: 1                                                                  │

00:01:21 #4735 [Verbose] > │ Test case 1. A. Time: 0L                                                     │

00:01:21 #4736 [Verbose] > │                                                                              │

00:01:21 #4737 [Verbose] > │ Solution: 2                                                                  │

00:01:21 #4738 [Verbose] > │ Test case 1. A. Time: 0L                                                     │

00:01:21 #4739 [Verbose] > │                                                                              │

00:01:21 #4740 [Verbose] > │ Solution: 3                                                                  │

00:01:21 #4741 [Verbose] > │ Test case 1. A. Time: 0L                                                     │

00:01:21 #4742 [Verbose] > │                                                                              │

00:01:21 #4743 [Verbose] > │ Solution: 9                                                                  │

00:01:21 #4744 [Verbose] > │ Test case 1. A. Time: 0L                                                     │

00:01:21 #4745 [Verbose] > │                                                                              │

00:01:21 #4746 [Verbose] > │ Solution: 10                                                                 │

00:01:21 #4747 [Verbose] > │ Test case 1. A. Time: 1L                                                     │

00:01:21 #4748 [Verbose] > │                                                                              │

00:01:21 #4749 [Verbose] > │ Input	| Expected  	| Result    	| Best                                             │

00:01:21 #4750 [Verbose] > │ ---  	| ---       	| ---       	| ---                                              │

00:01:21 #4751 [Verbose] > │ 1    	| a         	| a         	| (1, 0)                                           │

00:01:21 #4752 [Verbose] > │ 2    	| ba        	| ba        	| (1, 0)                                           │

00:01:21 #4753 [Verbose] > │ 3    	| aaa       	| aaa       	| (1, 0)                                           │

00:01:21 #4754 [Verbose] > │ 9    	| aaaaaaaaa 	| aaaaaaaaa 	| (1, 0)                                           │

00:01:21 #4755 [Verbose] > │ 10   	| baaaaaaaaa	| baaaaaaaaa	| (1, 1)                                           │

00:01:21 #4756 [Verbose] > │                                                                              │

00:01:21 #4757 [Verbose] > │ Average Ranking                                                              │

00:01:21 #4758 [Verbose] > │ Test case 1. Average Time: 0L                                                │

00:01:21 #4759 [Verbose] > │                                                                              │

00:01:21 #4760 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:01:21 #4761 [Verbose] >

00:01:21 #4762 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────

00:01:21 #4763 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮

00:01:21 #4764 [Verbose] > │ ## hasAnyPairCloseToEachotherTests                                           │

00:01:21 #4765 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:01:21 #4766 [Verbose] >

00:01:21 #4767 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────

00:01:21 #4768 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮

00:01:21 #4769 [Verbose] > │ Test: HasAnyPairCloseToEachother                                             │

00:01:21 #4770 [Verbose] > │                                                                              │

00:01:21 #4771 [Verbose] > │ Solution: 0                                                                  │

00:01:21 #4772 [Verbose] > │ Test case 1. A. Time: 137L                                                   │

00:01:21 #4773 [Verbose] > │                                                                              │

00:01:21 #4774 [Verbose] > │ Solution: 1,2                                                                │

00:01:21 #4775 [Verbose] > │ Test case 1. A. Time: 186L                                                   │

00:01:21 #4776 [Verbose] > │                                                                              │

00:01:21 #4777 [Verbose] > │ Solution: 3,5                                                                │

00:01:21 #4778 [Verbose] > │ Test case 1. A. Time: 206L                                                   │

00:01:21 #4779 [Verbose] > │                                                                              │

00:01:21 #4780 [Verbose] > │ Solution: 3,4,6                                                              │

00:01:21 #4781 [Verbose] > │ Test case 1. A. Time: 149L                                                   │

00:01:21 #4782 [Verbose] > │                                                                              │

00:01:21 #4783 [Verbose] > │ Solution: 2,4,6                                                              │

00:01:21 #4784 [Verbose] > │ Test case 1. A. Time: 150L                                                   │

00:01:21 #4785 [Verbose] > │                                                                              │

00:01:21 #4786 [Verbose] > │ Input   | Expected        | Result  | Best                                   │

00:01:21 #4787 [Verbose] > │ ---     | ---             | ---     | ---                                    │

00:01:21 #4788 [Verbose] > │ 0       | False           | False   | (1, 137)                               │

00:01:21 #4789 [Verbose] > │ 1,2     | True            | True    | (1, 186)                               │

00:01:21 #4790 [Verbose] > │ 3,5     | False           | False   | (1, 206)                               │

00:01:21 #4791 [Verbose] > │ 3,4,6   | True            | True    | (1, 149)                               │

00:01:21 #4792 [Verbose] > │ 2,4,6   | False           | False   | (1, 150)                               │

00:01:21 #4793 [Verbose] > │                                                                              │

00:01:21 #4794 [Verbose] > │ Averages                                                                     │

00:01:21 #4795 [Verbose] > │ Test case 1. Average Time: 165L                                              │

00:01:21 #4796 [Verbose] > │                                                                              │

00:01:21 #4797 [Verbose] > │ Ranking                                                                      │

00:01:21 #4798 [Verbose] > │ Test case 1. Average Time: 165L                                              │

00:01:21 #4799 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:01:21 #4800 [Verbose] >

00:01:21 #4801 [Verbose] > ── fsharp ──────────────────────────────────────────────────────────────────────

00:01:21 #4802 [Verbose] > //// test

00:01:21 #4803 [Verbose] >

00:01:21 #4804 [Verbose] > let solutions = [[

00:01:21 #4805 [Verbose] >     "A",

00:01:21 #4806 [Verbose] >     fun (a: int[[]]) ->

00:01:21 #4807 [Verbose] >         let indices = System.Linq.Enumerable.Range(0, a.Length) |>

00:01:21 #4808 [Verbose] > System.Linq.Enumerable.ToArray

00:01:21 #4809 [Verbose] >         System.Array.Sort (a, indices)

00:01:21 #4810 [Verbose] >

00:01:21 #4811 [Verbose] >         indices

00:01:21 #4812 [Verbose] >         |> Array.take (a.Length - 1)

00:01:21 #4813 [Verbose] >         |> Array.exists (fun i -> a.[[i + 1]] - a.[[i]] = 1)

00:01:21 #4814 [Verbose] > ]]

00:01:21 #4815 [Verbose] > let testCases = seq {

00:01:21 #4816 [Verbose] >     [[| 0 |]], false

00:01:21 #4817 [Verbose] >     [[| 1; 2 |]], true

00:01:21 #4818 [Verbose] >     [[| 3; 5 |]], false

00:01:21 #4819 [Verbose] >     [[| 3; 4; 6 |]], true

00:01:21 #4820 [Verbose] >     [[| 2; 4; 6 |]], false

00:01:21 #4821 [Verbose] > }

00:01:21 #4822 [Verbose] > let rec hasAnyPairCloseToEachotherTests =

00:01:21 #4823 [Verbose] >     runAll (nameof hasAnyPairCloseToEachotherTests) _count solutions testCases

00:01:21 #4824 [Verbose] > hasAnyPairCloseToEachotherTests

00:01:21 #4825 [Verbose] > |> sortResultList

00:01:22 #4826 [Verbose] >

00:01:22 #4827 [Verbose] > ╭─[ 653.69ms - stdout ]────────────────────────────────────────────────────────╮

00:01:22 #4828 [Verbose] > │                                                                              │

00:01:22 #4829 [Verbose] > │                                                                              │

00:01:22 #4830 [Verbose] > │ Test: hasAnyPairCloseToEachotherTests                                        │

00:01:22 #4831 [Verbose] > │                                                                              │

00:01:22 #4832 [Verbose] > │ Solution: 0                                                                  │

00:01:22 #4833 [Verbose] > │ Test case 1. A. Time: 2L                                                     │

00:01:22 #4834 [Verbose] > │                                                                              │

00:01:22 #4835 [Verbose] > │ Solution: 1,2                                                                │

00:01:22 #4836 [Verbose] > │ Test case 1. A. Time: 0L                                                     │

00:01:22 #4837 [Verbose] > │                                                                              │

00:01:22 #4838 [Verbose] > │ Solution: 3,5                                                                │

00:01:22 #4839 [Verbose] > │ Test case 1. A. Time: 0L                                                     │

00:01:22 #4840 [Verbose] > │                                                                              │

00:01:22 #4841 [Verbose] > │ Solution: 3,4,6                                                              │

00:01:22 #4842 [Verbose] > │ Test case 1. A. Time: 0L                                                     │

00:01:22 #4843 [Verbose] > │                                                                              │

00:01:22 #4844 [Verbose] > │ Solution: 2,4,6                                                              │

00:01:22 #4845 [Verbose] > │ Test case 1. A. Time: 0L                                                     │

00:01:22 #4846 [Verbose] > │                                                                              │

00:01:22 #4847 [Verbose] > │ Input	| Expected	| Result	| Best                                                   │

00:01:22 #4848 [Verbose] > │ ---  	| ---     	| ---   	| ---                                                    │

00:01:22 #4849 [Verbose] > │ 0    	| False   	| False 	| (1, 2)                                                 │

00:01:22 #4850 [Verbose] > │ 1,2  	| True    	| True  	| (1, 0)                                                 │

00:01:22 #4851 [Verbose] > │ 3,5  	| False   	| False 	| (1, 0)                                                 │

00:01:22 #4852 [Verbose] > │ 3,4,6	| True    	| True  	| (1, 0)                                                 │

00:01:22 #4853 [Verbose] > │ 2,4,6	| False   	| False 	| (1, 0)                                                 │

00:01:22 #4854 [Verbose] > │                                                                              │

00:01:22 #4855 [Verbose] > │ Average Ranking                                                              │

00:01:22 #4856 [Verbose] > │ Test case 1. Average Time: 0L                                                │

00:01:22 #4857 [Verbose] > │                                                                              │

00:01:22 #4858 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:01:22 #4859 [Verbose] >

00:01:22 #4860 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────

00:01:22 #4861 [Verbose] > // // test

00:01:22 #4862 [Verbose] >

00:01:22 #4863 [Verbose] > ()

00:01:22 #4864 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231130-0917-1264-6473-601541ea3c93\main.spi

00:01:22 #4865 [Verbose] >

00:01:22 #4866 [Verbose] > ╭─[ 183.39ms - stdout ]────────────────────────────────────────────────────────╮

00:01:22 #4867 [Verbose] > │ let rec method0 () : unit =                                                  │

00:01:22 #4868 [Verbose] > │     ()                                                                       │

00:01:22 #4869 [Verbose] > │ method0()                                                                    │

00:01:22 #4870 [Verbose] > │                                                                              │

00:01:22 #4871 [Verbose] > │                                                                              │

00:01:22 #4872 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯

00:01:24 #4873 [Verbose] > [NbConvertApp] Converting notebook Perf.dib.ipynb to html

00:01:24 #4874 [Verbose] > C:\Users\i574n\scoop\apps\python\current\Lib\site-packages\nbformat\__init__.py:93: MissingIDFieldWarning: Code cell is missing an id field, this will become a hard error in future nbformat versions. You may want to use `normalize()` on your notebooks before validations (available since nbformat 5.1.4). Previous versions of nbformat are fixing this issue transparently, and will stop doing so in the future.

00:01:24 #4875 [Verbose] >   validate(nb)

00:01:25 #4876 [Verbose] > C:\Users\i574n\scoop\apps\python\current\Lib\site-packages\nbconvert\filters\highlight.py:71: UserWarning: IPython3 lexer unavailable, falling back on Python 3

00:01:25 #4877 [Verbose] >   return _pygments_highlight(

00:01:26 #4878 [Verbose] > [NbConvertApp] Writing 554989 bytes to Perf.dib.html

00:01:26 #4879 [Debug] executeAsync / exitCode: 0 / output.Length: 344418

00:01:26 #4880 [Debug] main / executeCommand / exitCode: 0

00:00:00 #1 [Debug] writeDibCode / output: Fs / path: Perf.dib

00:00:00 #2 [Debug] parseDibCode / output: Fs / file: Perf.dib

In [ ]:
{ . "$ScriptDir/../apps/dir-tree-html/build.ps1" } | Invoke-Block

── markdown ────────────────────────────────────────────────────────────────────

╭──────────────────────────────────────────────────────────────────────────────╮

│ # DirTreeHtml (Polyglot)                                                     │

╰──────────────────────────────────────────────────────────────────────────────╯



── fsharp ──────────────────────────────────────────────────────────────────────

#!import ../../lib/fsharp/Testing.dib



── fsharp - import ─────────────────────────────────────────────────────────────

#r 

"C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.A

spNetCore.Html.Abstractions.dll"

#r 

"C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D

otNet.Interactive.dll"

#r 

"C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D

otNet.Interactive.FSharp.dll"

#r 

"C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D

otNet.Interactive.Formatting.dll"

open System

open System.IO

open System.Text

open Microsoft.DotNet.Interactive.Formatting



── fsharp - import ─────────────────────────────────────────────────────────────

#r 

"C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D

otNet.Interactive.FSharp.dll"

open Microsoft.DotNet.Interactive.FSharp.FSharpKernelHelpers

#r 

"C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D

otNet.Interactive.dll"

open type Microsoft.DotNet.Interactive.Kernel



── fsharp - import ─────────────────────────────────────────────────────────────

#r @"../../../../../../../.nuget/packages/expecto/10.1.0/lib/net6.0/Expecto.dll"



── fsharp - import ─────────────────────────────────────────────────────────────

//// test



Formatter.ListExpansionLimit <- 100



── fsharp - import ─────────────────────────────────────────────────────────────

//// test



type AssertExceptionFormatter (ex) =

    member _.Text =

        ex.ToString()

            .Replace("32m", "<span style=\"color: green;\">")

            .Replace("36m", "</span>")

            .Replace("31m", "<span style=\"color: red;\">")

            .Replace("\n", "<br/>\n")





Formatter.Register<AssertExceptionFormatter> ((fun (x : 

AssertExceptionFormatter) -> x.Text), "text/html")



── fsharp - import ─────────────────────────────────────────────────────────────

//// test



let inline __expect fn log expected actual =

    if log then printfn $"{actual.ToDisplayString ()}"

    try

        "Testing.__expect" |> fn actual expected

    with :? Expecto.AssertException as ex ->

        AssertExceptionFormatter(ex).Display () |> ignore

        failwith (ex.GetType().FullName)



let inline __contains log expected actual = __expect Expecto.Expect.contains log

expected actual

let inline _contains expected actual = __contains true expected actual



let inline __equal log expected actual = __expect Expecto.Expect.equal log 

expected actual

let inline _equal expected actual = __equal true expected actual



let inline __isGreaterThan log expected actual = __expect 

Expecto.Expect.isGreaterThan log expected actual

let ...



── fsharp - import ─────────────────────────────────────────────────────────────

//// test



let inline __isBetween log a b actual =

    let inline isBetween actual (a, b) _ =

        __isGreaterThanOrEqual log a actual

        __isLessThanOrEqual log b actual

    __expect isBetween log (a, b) actual

let inline _isBetween a b actual = __isBetween true a b actual



── fsharp ──────────────────────────────────────────────────────────────────────

#r 

@"../../../../../../../.nuget/packages/fsharp.control.asyncseq/3.2.1/lib/netstan

dard2.1/FSharp.Control.AsyncSeq.dll"

#r 

@"../../../../../../../.nuget/packages/system.reactive/6.0.1-preview.1/lib/net6.

0/System.Reactive.dll"

#r 

@"../../../../../../../.nuget/packages/system.reactive.linq/6.0.1-preview.1/lib/

netstandard2.0/System.Reactive.Linq.dll"

#r 

@"../../../../../../../.nuget/packages/argu/6.1.1/lib/netstandard2.0/Argu.dll"

#r 

@"../../../../../../../.nuget/packages/system.commandline/2.0.0-beta4.22272.1/li

b/net6.0/System.CommandLine.dll"

#r 

@"../../../../../../../.nuget/packages/falco.markup/1.0.2/lib/netstandard2.0/Fal

co.Markup.dll"



── fsharp ──────────────────────────────────────────────────────────────────────

#!import ../../lib/fsharp/Common.fs

#!import ../../lib/fsharp/CommonFSharp.fs

#!import ../../lib/fsharp/Async.fs

#!import ../../lib/fsharp/AsyncSeq.fs

#!import ../../lib/fsharp/Networking.fs

#!import ../../lib/fsharp/Runtime.fs

#!import ../../lib/fsharp/FileSystem.fs



── fsharp - import ─────────────────────────────────────────────────────────────

#if !INTERACTIVE

namespace Polyglot

#endif



module Common =



    let nl = System.Environment.NewLine

    let q = @""""



    let inline cons head tail = head :: tail



    module String =

        let inline contains (value : string) (input : string) =

            input.Contains value



        let inline endsWith (value : string) (input : string) =

            input.EndsWith value



        let inline padLeft totalWidth paddingChar (input : string) =

            input.PadLeft (totalWidth, paddingChar)



        let inline replace (oldValue : string) (newValue : string) (input : 

string) =

            input.Replace (oldValue, newValue)



        let inline split separator (input : string) =

            input.Split separator



        let inline spli...



── fsharp - import ─────────────────────────────────────────────────────────────

#if !INTERACTIVE

namespace Polyglot

#endif



module CommonFSharp =



    open Common



    /// ## getUnionCaseName



    let inline getUnionCaseName<'T> (x: 'T) =

        match Reflection.FSharpValue.GetUnionFields(x, typeof<'T>) with

        | case, _ -> case.Name





── fsharp - import ─────────────────────────────────────────────────────────────

#if !INTERACTIVE

namespace Polyglot

#endif



module Async =



    open Common



    /// ## choice



    let inline choice asyncs = async {

        let e = Event<_> ()

        use cts = new System.Threading.CancellationTokenSource ()

        let fn =

            asyncs

            |> Seq.map (fun a -> async {

                let! x = a

                e.Trigger x

            })

            |> Async.Parallel

            |> Async.Ignore

        Async.Start (fn, cts.Token)

        let! result = Async.AwaitEvent e.Publish

        cts.Cancel ()

        return result

    }



    /// ## map



    let inline map fn a = async {

        let! x = a

        return fn x

    }



    /// ## catch



    let inline catch a =

        a

        |> Async.Catch

        ...



── fsharp - import ─────────────────────────────────────────────────────────────

#if !INTERACTIVE

namespace Polyglot

#endif



module AsyncSeq =



    open Common



    /// ## subscribeEvent



    let inline subscribeEvent (event: IEvent<'H, 'A>) map =

        let observable = System.Reactive.Linq.Observable.FromEventPattern<'H, 

'A>(event.AddHandler, event.RemoveHandler)

        System.Reactive.Linq.Observable.Select (observable, fun event -> map 

event.EventArgs)

        |> FSharp.Control.AsyncSeq.ofObservableBuffered



    let subscribeToken (token : System.Threading.CancellationToken) =

        let tcs = new System.Threading.Tasks.TaskCompletionSource ()

        System.Action tcs.SetResult |> token.Register |> ignore

        let start = System.DateTime.Now.Ticks

        FSharp.Control.AsyncSeq.unfoldAsync

            (fun (...



── fsharp - import ─────────────────────────────────────────────────────────────

#if !INTERACTIVE

namespace Polyglot

#endif



module Networking =



    open Common



    /// ## testPortOpen



    let inline testPortOpen port = async {

        let! ct = Async.CancellationToken

        use client = new System.Net.Sockets.TcpClient ()

        try

            do! client.ConnectAsync ("127.0.0.1", port, ct) |> 

Async.awaitValueTaskUnit

            return true

        with ex ->

            trace Verbose (fun () -> $"testPortOpen / ex: {ex |> 

printException}") getLocals

            return false

    }



    let inline testPortOpenTimeout timeout port = async {

        let! result =

            testPortOpen port

            |> Async.runWithTimeoutAsync timeout

        return

            match result with

            | None -> false

 ...



── fsharp - import ─────────────────────────────────────────────────────────────

#if !INTERACTIVE

namespace Polyglot

#endif



module Runtime =



    open Common



    /// ## isWindows



    let isWindows =

        fun () ->

            System.Runtime.InteropServices.RuntimeInformation.IsOSPlatform

                System.Runtime.InteropServices.OSPlatform.Windows

        |> memoize



    /// ## getExecutableSuffix



    let inline getExecutableSuffix () =

        if isWindows ()

        then ".exe"

        else ""



    /// ## splitCommand



    type private CommandParseStep =

        | Start

        | Path of quoted: bool

        | Arguments



    let splitCommand (command: string) =

        let rec loop (path, args) chars step =

            match chars, step with

            | ('"' | '\'') :: tail, _ when path = "" -> loop (pat...



── fsharp - import ─────────────────────────────────────────────────────────────

#if !INTERACTIVE

namespace Polyglot

#endif



module FileSystem =



    open Common



    /// ## Operators



    module Operators =

        let inline (</>) a b =

            System.IO.Path.Combine (a, b)



    open Operators



    /// ## createTempDirectoryName



    let inline createTempDirectoryName () =

        let root = System.Reflection.Assembly.GetEntryAssembly().GetName().Name



        System.IO.Path.GetTempPath ()

        </> $"!{root}"

        </> string (newGuidFromDateTime System.DateTime.Now)



    /// ## createTempDirectory



    let inline createTempDirectory () =

        let tempFolder = createTempDirectoryName ()

        let result = System.IO.Directory.CreateDirectory tempFolder



        if not result.Exists then

            let ge...



── fsharp ──────────────────────────────────────────────────────────────────────

open FileSystem.Operators

open Falco.Markup



── fsharp ──────────────────────────────────────────────────────────────────────

type FileSystemNode =

    | File of string * string * int64

    | Folder of string * string * FileSystemNode list

    | Root of FileSystemNode list



let rec scanDirectory isRoot (basePath : string) (path : string) =

    let relativePath = path.Replace(basePath, "").Replace("\\", 

"/").Replace("//", "/").TrimStart '/'



    let directories =

        path

        |> System.IO.Directory.GetDirectories

        |> Array.toList

        |> List.sort

        |> List.map (scanDirectory false basePath)

    let files =

        path

        |> System.IO.Directory.GetFiles

        |> Array.toList

        |> List.sort

        |> List.map (fun f -> File (System.IO.Path.GetFileName f, relativePath, 

System.IO.FileInfo(f).Length))



    let children = directories @ files

    if isRoot

    then Root children

    else Folder (path |> System.IO.Path.GetFileName, relativePath, children)



let rec generateHtml fsNode =

    let sizeLabel size =

        match float size with

        | size when size > 1024.0 * 1024.0 -> $"%.2f{size / 1024.0 / 1024.0} MB"

        | size when size > 1024.0 -> $"%.2f{size / 1024.0} KB"

        | size -> $"%.2f{size} B"

    match fsNode with

    | File (fileName, relativePath, size) ->

        Elem.div [[]] [[

            Text.raw "&#128196; "

            Elem.a [[

                Attr.href $"""{relativePath}{if relativePath = "" then "" else 

"/"}{fileName}"""

            ]] [[

                Text.raw fileName

            ]]

            Elem.span [[]] [[

                Text.raw $" ({size |> sizeLabel})"

            ]]

        ]]

    | Folder (folderName, relativePath, children) ->

        let size =

            let rec loop children =

                children

                |> List.sumBy (function

                    | File (_, _, size) -> size

                    | Folder (_, _, children)

                    | Root children -> loop children

                )

            loop children

        Elem.details [[

            Attr.open' "true"

        ]] [[

            Elem.summary [[]] [[

                Text.raw "&#128194; "

                Elem.a [[

                    Attr.href relativePath

                ]] [[

                    Text.raw folderName

                ]]

                Elem.span [[]] [[

                    Text.raw $" ({size |> sizeLabel})"

                ]]

            ]]

            Elem.div [[]] [[

                yield! children |> List.map generateHtml

            ]]

        ]]

    | Root children ->

        Elem.div [[]] [[

            yield! children |> List.map generateHtml

        ]]



let generateHtmlForFileSystem root =

    $"""<!DOCTYPE html>

<html lang="en">

<head>

  <meta charset="UTF-8">

  <style>

body {{

    background-color: #222;

    color: #ccc;

}}

a {{

  color: #777;

  font-size: 15px;

}}

span {{

  font-size: 11px;

}}

div > div {{

  padding-left: 10px;

}}

details > div {{

  padding-left: 19px;

}}

  </style>

</head>

<body>

  {root |> generateHtml |> renderNode}

</body>

</html>

"""



── fsharp ──────────────────────────────────────────────────────────────────────

//// test



let tempFolder = FileSystem.createTempDirectory ()

let rec loop d n = async {

    if n >= 0 then

        tempFolder </> d |> System.IO.Directory.CreateDirectory |> ignore

        do!

            n

            |> string

            |> String.replicate (n + 1)

            |> FileSystem.writeAllTextAsync (tempFolder </> d </> $"file.txt")

        do! loop $"{d}/{n}" (n - 1)

}

loop "_.root" 3

|> Async.RunSynchronously



let html =

    scanDirectory true tempFolder tempFolder

    |> generateHtmlForFileSystem



html

|> _equal """<!DOCTYPE html>

<html lang="en">

<head>

  <meta charset="UTF-8">

  <style>

body {

    background-color: #222;

    color: #ccc;

}

a {

  color: #777;

  font-size: 15px;

}

span {

  font-size: 11px;

}

div > div {

  padding-left: 10px;

}

details > div {

  padding-left: 19px;

}

  </style>

</head>

<body>

  <div><details open="true"><summary>&#128194; <a href="_.root">_.root</a><span>

(10.00 B)</span></summary><div><details open="true"><summary>&#128194; <a 

href="_.root/3">3</a><span> (6.00 B)</span></summary><div><details 

open="true"><summary>&#128194; <a href="_.root/3/2">2</a><span> (3.00 

B)</span></summary><div><details open="true"><summary>&#128194; <a 

href="_.root/3/2/1">1</a><span> (1.00 B)</span></summary><div><div>&#128196; <a 

href="_.root/3/2/1/file.txt">file.txt</a><span> (1.00 

B)</span></div></div></details><div>&#128196; <a 

href="_.root/3/2/file.txt">file.txt</a><span> (2.00 

B)</span></div></div></details><div>&#128196; <a 

href="_.root/3/file.txt">file.txt</a><span> (3.00 

B)</span></div></div></details><div>&#128196; <a 

href="_.root/file.txt">file.txt</a><span> (4.00 

B)</span></div></div></details></div>

</body>

</html>

"""



html |> Microsoft.DotNet.Interactive.Formatting.Html.ToHtmlContent



╭─[ 224.73ms - return value ]──────────────────────────────────────────────────╮

│ <!DOCTYPE html>                                                              │

│ <html lang="en">                                                             │

│ <head>                                                                       │

│   <meta charset="UTF-8">                                                     │

│   <style>                                                                    │

│ body {                                                                       │

│     background-color: #222;                                                  │

│     color: #ccc;                                                             │

│ }                                                                            │

│ a {                                                                          │

│   color: #777;                                                               │

│   font-size: 15px;                                                           │

│ }                                                                            │

│ span {                                                                       │

│   font-size: 11px;                                                           │

│ }                                                                            │

│ div > div {                                                                  │

│   padding-left: 10px;                                                        │

│ }                                                                            │

│ details > div {                                                              │

│   padding-left: 19px;                                                        │

│ }                                                                            │

│   </style>                                                                   │

│ </head>                                                                      │

│ <body>                                                                       │

│   <div><details open="true"><summary>&#128194; <a                            │

│ href="_.root">_.root</a><span> (10.00 B)</span></summary><div><details       │

│ open="true"><summary>&#128194; <a href="_.root/3">3</a><span> (6.00          │

│ B)</span></summary><div><details open="true"><summary>&#128194; <a           │

│ href="_.root/3/2">2</a><span> (3.00 B)</span></summary><div><details         │

│ open="true"><summary>&#128194; <a href="_.root/3/2/1">1</a><span> (1.00      │

│ B)</span></summary><div><div>&#128196; <a href="_.root...                    │

╰──────────────────────────────────────────────────────────────────────────────╯



╭─[ 239.38ms - stdout ]────────────────────────────────────────────────────────╮

│ <!DOCTYPE html>                                                              │

│ <html lang="en">                                                             │

│ <head>                                                                       │

│   <meta charset="UTF-8">                                                     │

│   <style>                                                                    │

│ body {                                                                       │

│     background-color: #222;                                                  │

│     color: #ccc;                                                             │

│ }                                                                            │

│ a {                                                                          │

│   color: #777;                                                               │

│   font-size: 15px;                                                           │

│ }                                                                            │

│ span {                                                                       │

│   font-size: 11px;                                                           │

│ }                                                                            │

│ div > div {                                                                  │

│   padding-left: 10px;                                                        │

│ }                                                                            │

│ details > div {                                                              │

│   padding-left: 19px;                                                        │

│ }                                                                            │

│   </style>                                                                   │

│ </head>                                                                      │

│ <body>                                                                       │

│   <div><details open="true"><summary>&#128194; <a                            │

│ href="_.root">_.root</a><span> (10.00 B)</span></summary><div><details       │

│ open="true"><summary>&#128194; <a href="_.root/3">3</a><span> (6.00          │

│ B)</span></summary><div><details open="true"><summary>&#128194; <a           │

│ href="_.root/3/2">2</a><span> (3.00 B)</span></summary><div><details         │

│ open="true"><summary>&#128194; <a href="_.root/3/2/1">1</a><span> (1.00      │

│ B)</span></summary><div><div>&#128196; <a                                    │

│ href="_.root/3/2/1/file.txt">file.txt</a><span> (1.00                        │

│ B)</span></div></div></details><div>&#128196; <a                             │

│ href="_.root/3/2/file.txt">file.txt</a><span> (2.00                          │

│ B)</span></div></div></details><div>&#128196; <a                             │

│ href="_.root/3/file.txt">file.txt</a><span> (3.00                            │

│ B)</span></div></div></details><div>&#128196; <a                             │

│ href="_.root/file.txt">file.txt</a><span> (4.00                              │

│ B)</span></div></div></details></div>                                        │

│ </body>                                                                      │

│ </html>                                                                      │

│                                                                              │

│                                                                              │

╰──────────────────────────────────────────────────────────────────────────────╯



── markdown ────────────────────────────────────────────────────────────────────

╭──────────────────────────────────────────────────────────────────────────────╮

│ ## Arguments                                                                 │

╰──────────────────────────────────────────────────────────────────────────────╯



── fsharp ──────────────────────────────────────────────────────────────────────

[[<RequireQualifiedAccess>]]

type Arguments =

    | [[<Argu.ArguAttributes.ExactlyOnce>]] Dir of string

    | [[<Argu.ArguAttributes.ExactlyOnce>]] Html of string



    interface Argu.IArgParserTemplate with

        member s.Usage =

            match s with

            | Dir _ -> nameof Dir

            | Html _ -> nameof Html



── fsharp ──────────────────────────────────────────────────────────────────────

//// test



Argu.ArgumentParser.Create<Arguments>().PrintUsage ()



╭─[ 136.09ms - return value ]──────────────────────────────────────────────────╮

│ USAGE: dotnet.exe [--help] --dir <string> --html <string>                    │

│                                                                              │

│ OPTIONS:                                                                     │

│                                                                              │

│     --dir <string>        Dir                                                │

│     --html <string>       Html                                               │

│     --help                display this list of options.                      │

│                                                                              │

╰──────────────────────────────────────────────────────────────────────────────╯



── markdown ────────────────────────────────────────────────────────────────────

╭──────────────────────────────────────────────────────────────────────────────╮

│ ## main                                                                      │

╰──────────────────────────────────────────────────────────────────────────────╯



── fsharp ──────────────────────────────────────────────────────────────────────

let main args =

    let argsMap = args |> Runtime.parseArgsMap<Arguments>



    let dir =

        match argsMap.[[nameof Arguments.Dir]] with

        | [[ Arguments.Dir dir ]] -> Some dir

        | _ -> None

        |> Option.get



    let htmlPath =

        match argsMap.[[nameof Arguments.Html]] with

        | [[ Arguments.Html html ]] -> Some html

        | _ -> None

        |> Option.get



    let fileSystem = scanDirectory true dir dir

    let html = generateHtmlForFileSystem fileSystem



    html |> FileSystem.writeAllTextAsync htmlPath

    |> Async.runWithTimeout 30000

    |> function

        | Some () -> 0

        | None -> 1



── fsharp ──────────────────────────────────────────────────────────────────────

//// test



let args =

    System.Environment.GetEnvironmentVariable "ARGS"

    |> Runtime.splitArgs

    |> Seq.toArray



match args with

| [[||]] -> 0

| args -> if main args = 0 then 0 else failwith "main failed"



╭─[ 87.25ms - return value ]───────────────────────────────────────────────────╮

│ <div class="dni-plaintext"><pre>0</pre></div><style>                         │

│ .dni-code-hint {                                                             │

│     font-style: italic;                                                      │

│     overflow: hidden;                                                        │

│     white-space: nowrap;                                                     │

│ }                                                                            │

│ .dni-treeview {                                                              │

│     white-space: nowrap;                                                     │

│ }                                                                            │

│ .dni-treeview td {                                                           │

│     vertical-align: top;                                                     │

│     text-align: start;                                                       │

│ }                                                                            │

│ details.dni-treeview {                                                       │

│     padding-left: 1em;                                                       │

│ }                                                                            │

│ table td {                                                                   │

│     text-align: start;                                                       │

│ }                                                                            │

│ table tr {                                                                   │

│     vertical-align: top;                                                     │

│     margin: 0em 0px;                                                         │

│ }                                                                            │

│ table tr td pre                                                              │

│ {                                                                            │

│     vertical-align: top !important;                                          │

│     margin: 0em 0px !important;                                              │

│ }                                                                            │

│ table th {                                                                   │

│     text-align: start;                                                       │

│ }                                                                            │

│ </style>                                                                     │

╰──────────────────────────────────────────────────────────────────────────────╯

[NbConvertApp] Converting notebook DirTreeHtml.dib.ipynb to html

C:\Users\i574n\scoop\apps\python\current\Lib\site-packages\nbformat\__init__.py:93: MissingIDFieldWarning: Code cell is missing an id field, this will become a hard error in future nbformat versions. You may want to use `normalize()` on your notebooks before validations (available since nbformat 5.1.4). Previous versions of nbformat are fixing this issue transparently, and will stop doing so in the future.

  validate(nb)

C:\Users\i574n\scoop\apps\python\current\Lib\site-packages\nbconvert\filters\highlight.py:71: UserWarning: IPython3 lexer unavailable, falling back on Python 3

  return _pygments_highlight(

[NbConvertApp] Writing 307592 bytes to DirTreeHtml.dib.html

00:00:00 #1 [Debug] writeDibCode / output: Fs / path: DirTreeHtml.dib

00:00:00 #2 [Debug] parseDibCode / output: Fs / file: DirTreeHtml.dib

00:00:00 #1 [Debug] persistCodeProject / packages: [Argu; Falco.Markup; FSharp.Control.AsyncSeq; ... ] / modules: [lib/fsharp/Common.fs; lib/fsharp/CommonFSharp.fs; lib/fsharp/Async.fs; ... ] / name: DirTreeHtml / code.Length: 4478

00:00:00 #2 [Debug] buildProject / fullPath: C:\home\git\polyglot\target\polyglot\builder\DirTreeHtml\DirTreeHtml.fsproj

00:00:00 #3 [Debug] executeAsync / options: { Command =

   "dotnet publish "C:\home\git\polyglot\target/polyglot/builder\DirTreeHtml\DirTreeHtml.fsproj" --configuration Release --output "C:\home\git\polyglot\apps\dir-tree-html\dist" --runtime linux-x64"

  WorkingDirectory =

   Some "C:\home\git\polyglot\target\polyglot\builder\DirTreeHtml"

  CancellationToken = None

  OnLine = None }

00:00:01 #4 [Verbose] > MSBuild version 17.8.3+195e7f5a3 for .NET

00:00:03 #5 [Verbose] >   Determining projects to restore...

00:00:07 #6 [Verbose] >   Paket version 8.0.0-alpha002+6339fce88f07b4d959d03b78330fdb5a6d936483

00:00:07 #7 [Verbose] >   The last full restore is still up to date. Nothing left to do.

00:00:07 #8 [Verbose] >   Total time taken: 0 milliseconds

00:00:09 #9 [Verbose] >   Paket version 8.0.0-alpha002+6339fce88f07b4d959d03b78330fdb5a6d936483

00:00:10 #10 [Verbose] >   Restoring C:\home\git\polyglot\target\polyglot\builder\DirTreeHtml\DirTreeHtml.fsproj

00:00:11 #11 [Verbose] >   Starting restore process.

00:00:12 #12 [Verbose] >   Total time taken: 0 milliseconds

00:00:14 #13 [Verbose] >   Restored C:\home\git\polyglot\target\polyglot\builder\DirTreeHtml\DirTreeHtml.fsproj (in 1.24 sec).

00:00:26 #14 [Verbose] >   DirTreeHtml -> C:\home\git\polyglot\target\polyglot\builder\DirTreeHtml\bin\Release\net8.0\linux-x64\DirTreeHtml.dll

00:00:28 #15 [Verbose] >   DirTreeHtml -> C:\home\git\polyglot\apps\dir-tree-html\dist\

00:00:28 #16 [Debug] executeAsync / exitCode: 0 / output.Length: 757

00:00:28 #17 [Debug] executeAsync / options: { Command =

   "dotnet publish "C:\home\git\polyglot\target/polyglot/builder\DirTreeHtml\DirTreeHtml.fsproj" --configuration Release --output "C:\home\git\polyglot\apps\dir-tree-html\dist" --runtime win-x64"

  WorkingDirectory =

   Some "C:\home\git\polyglot\target\polyglot\builder\DirTreeHtml"

  CancellationToken = None

  OnLine = None }

00:00:28 #18 [Verbose] > MSBuild version 17.8.3+195e7f5a3 for .NET

00:00:29 #19 [Verbose] >   Determining projects to restore...

00:00:30 #20 [Verbose] >   Restored C:\home\git\polyglot\target\polyglot\builder\DirTreeHtml\DirTreeHtml.fsproj (in 579 ms).

00:00:40 #21 [Verbose] >   DirTreeHtml -> C:\home\git\polyglot\target\polyglot\builder\DirTreeHtml\bin\Release\net8.0\win-x64\DirTreeHtml.dll

00:00:55 #22 [Verbose] >   DirTreeHtml -> C:\home\git\polyglot\apps\dir-tree-html\dist\

00:00:55 #23 [Debug] executeAsync / exitCode: 0 / output.Length: 358

In [ ]:
{ . "$ScriptDir/../apps/ipfs/build.ps1" } | Invoke-Block
Lockfile is up to date, resolution step is skipped

Packages: +7

+++++++



Done in 3s

In [ ]:
{ . "$ScriptDir/outdated.ps1" } | Invoke-Block
Paket version 8.0.0-alpha002+6339fce88f07b4d959d03b78330fdb5a6d936483

Resolving dependency graph...

Outdated packages found:

  Group: Main

    * Expecto.FsCheck 10.1.0-fscheck3 -> 10.1.0

    * FsCheck 3.0.0-rc1 -> 2.16.6

    * Microsoft.AspNetCore.Connections.Abstractions 7.0 -> 8.0.0

    * Microsoft.AspNetCore.Http.Connections.Client 7.0 -> 8.0.0

    * Microsoft.AspNetCore.Http.Connections.Common 7.0 -> 8.0.0

    * Microsoft.AspNetCore.SignalR.Client 7.0 -> 8.0.0

    * Microsoft.AspNetCore.SignalR.Client.Core 7.0 -> 8.0.0

    * Microsoft.AspNetCore.SignalR.Common 7.0 -> 8.0.0

    * Microsoft.AspNetCore.SignalR.Protocols.Json 7.0 -> 8.0.0

    * Microsoft.Extensions.Features 7.0 -> 8.0.0

Total time taken: 45 seconds


CheckToml / toml: C:\home\git\polyglot\Cargo.toml

chat_contract_tests

================

Name                        Project                        Compat   Latest   Kind    Platform

----                        -------                        ------   ------   ----    --------

ahash                       0.7.7                          0.8.6    ---      Normal  ---

ahash                       0.8.6                          ---      0.7.7    Normal  ---

allocator-api2              0.2.16                         ---      Removed  Normal  ---

autocfg                     1.1.0                          Removed  ---      Build   ---

bumpalo                     3.14.0                         Removed  ---      Normal  ---

cfg-if                      1.0.0                          ---      Removed  Normal  ---

cfg-if                      1.0.0                          Removed  ---      Normal  ---

equivalent                  1.0.1                          ---      Removed  Normal  ---

getrandom                   0.2.11                         Removed  ---      Normal  cfg(any(target_os = "linux", target_os = "android", target_os = "windows", target_os = "macos", target_os = "ios", target_os = "freebsd", target_os = "openbsd", target_os = "netbsd", target_os = "dragonfly", target_os = "solaris", target_os = "illumos", target_os = "fuchsia", target_os = "redox", target_os = "cloudabi", target_os = "haiku", target_os = "vxworks", target_os = "emscripten", target_os = "wasi"))

hashbrown                   0.12.3                         0.14.3   ---      Normal  ---

hashbrown                   0.14.3                         ---      0.12.3   Normal  ---

indexmap                    1.9.3                          2.1.0    ---      Normal  ---

indexmap                    2.1.0                          ---      1.9.3    Normal  ---

js-sys                      0.3.66                         Removed  ---      Normal  cfg(all(any(target_arch = "wasm32", target_arch = "wasm64"), target_os = "unknown"))

libc                        0.2.150                        Removed  ---      Normal  cfg(unix)

log                         0.4.20                         Removed  ---      Normal  ---

once_cell                   1.18.0                         Removed  ---      Normal  ---

proc-macro2                 1.0.70                         ---      Removed  Normal  ---

proc-macro2                 1.0.70                         Removed  ---      Normal  ---

quote                       1.0.33                         ---      Removed  Normal  ---

quote                       1.0.33                         Removed  ---      Normal  ---

syn                         2.0.39                         ---      Removed  Normal  ---

syn                         2.0.39                         Removed  ---      Normal  ---

unicode-ident               1.0.12                         ---      Removed  Normal  ---

unicode-ident               1.0.12                         Removed  ---      Normal  ---

wasi                        0.11.0+wasi-snapshot-preview1  Removed  ---      Normal  cfg(target_os = "wasi")

wasm-bindgen                0.2.89                         Removed  ---      Normal  ---

wasm-bindgen                0.2.89                         Removed  ---      Normal  cfg(all(any(target_arch = "wasm32", target_arch = "wasm64"), target_os = "unknown"))

wasm-bindgen-backend        0.2.89                         Removed  ---      Normal  ---

wasm-bindgen-macro          0.2.89                         Removed  ---      Normal  ---

wasm-bindgen-macro-support  0.2.89                         Removed  ---      Normal  ---

wasm-bindgen-shared         0.2.89                         Removed  ---      Normal  ---

zerocopy                    0.7.26                         ---      Removed  Normal  ---

zerocopy-derive             0.7.26                         ---      Removed  Normal  ---



dice_contract_tests

================

Name                        Project                        Compat   Latest   Kind    Platform

----                        -------                        ------   ------   ----    --------

ahash                       0.7.7                          0.8.6    ---      Normal  ---

ahash                       0.8.6                          ---      0.7.7    Normal  ---

allocator-api2              0.2.16                         ---      Removed  Normal  ---

autocfg                     1.1.0                          Removed  ---      Build   ---

bumpalo                     3.14.0                         Removed  ---      Normal  ---

cfg-if                      1.0.0                          ---      Removed  Normal  ---

cfg-if                      1.0.0                          Removed  ---      Normal  ---

equivalent                  1.0.1                          ---      Removed  Normal  ---

getrandom                   0.2.11                         Removed  ---      Normal  cfg(any(target_os = "linux", target_os = "android", target_os = "windows", target_os = "macos", target_os = "ios", target_os = "freebsd", target_os = "openbsd", target_os = "netbsd", target_os = "dragonfly", target_os = "solaris", target_os = "illumos", target_os = "fuchsia", target_os = "redox", target_os = "cloudabi", target_os = "haiku", target_os = "vxworks", target_os = "emscripten", target_os = "wasi"))

hashbrown                   0.12.3                         0.14.3   ---      Normal  ---

hashbrown                   0.14.3                         ---      0.12.3   Normal  ---

indexmap                    1.9.3                          2.1.0    ---      Normal  ---

indexmap                    2.1.0                          ---      1.9.3    Normal  ---

js-sys                      0.3.66                         Removed  ---      Normal  cfg(all(any(target_arch = "wasm32", target_arch = "wasm64"), target_os = "unknown"))

libc                        0.2.150                        Removed  ---      Normal  cfg(unix)

log                         0.4.20                         Removed  ---      Normal  ---

once_cell                   1.18.0                         Removed  ---      Normal  ---

proc-macro2                 1.0.70                         ---      Removed  Normal  ---

proc-macro2                 1.0.70                         Removed  ---      Normal  ---

quote                       1.0.33                         ---      Removed  Normal  ---

quote                       1.0.33                         Removed  ---      Normal  ---

syn                         2.0.39                         ---      Removed  Normal  ---

syn                         2.0.39                         Removed  ---      Normal  ---

unicode-ident               1.0.12                         ---      Removed  Normal  ---

unicode-ident               1.0.12                         Removed  ---      Normal  ---

wasi                        0.11.0+wasi-snapshot-preview1  Removed  ---      Normal  cfg(target_os = "wasi")

wasm-bindgen                0.2.89                         Removed  ---      Normal  ---

wasm-bindgen                0.2.89                         Removed  ---      Normal  cfg(all(any(target_arch = "wasm32", target_arch = "wasm64"), target_os = "unknown"))

wasm-bindgen-backend        0.2.89                         Removed  ---      Normal  ---

wasm-bindgen-macro          0.2.89                         Removed  ---      Normal  ---

wasm-bindgen-macro-support  0.2.89                         Removed  ---      Normal  ---

wasm-bindgen-shared         0.2.89                         Removed  ---      Normal  ---

zerocopy                    0.7.26                         ---      Removed  Normal  ---

zerocopy-derive             0.7.26                         ---      Removed  Normal  ---


CheckToml / toml: C:\home\git\polyglot\apps\chat\contract\Cargo.toml

All dependencies are up to date, yay!


CheckToml / toml: C:\home\git\polyglot\apps\chat\contract\tests\Cargo.toml

Name                                              Project                        Compat   Latest   Kind    Platform

----                                              -------                        ------   ------   ----    --------

ahash->cfg-if                                     1.0.0                          ---      Removed  Normal  ---

ahash->getrandom                                  0.2.11                         Removed  ---      Normal  cfg(any(target_os = "linux", target_os = "android", target_os = "windows", target_os = "macos", target_os = "ios", target_os = "freebsd", target_os = "openbsd", target_os = "netbsd", target_os = "dragonfly", target_os = "solaris", target_os = "illumos", target_os = "fuchsia", target_os = "redox", target_os = "cloudabi", target_os = "haiku", target_os = "vxworks", target_os = "emscripten", target_os = "wasi"))

ahash->zerocopy                                   0.7.26                         ---      Removed  Normal  ---

getrandom->cfg-if                                 1.0.0                          Removed  ---      Normal  ---

getrandom->js-sys                                 0.3.66                         Removed  ---      Normal  cfg(all(any(target_arch = "wasm32", target_arch = "wasm64"), target_os = "unknown"))

getrandom->libc                                   0.2.150                        Removed  ---      Normal  cfg(unix)

getrandom->wasi                                   0.11.0+wasi-snapshot-preview1  Removed  ---      Normal  cfg(target_os = "wasi")

getrandom->wasm-bindgen                           0.2.89                         Removed  ---      Normal  cfg(all(any(target_arch = "wasm32", target_arch = "wasm64"), target_os = "unknown"))

hashbrown->ahash                                  0.7.7                          0.8.6    ---      Normal  ---

hashbrown->ahash                                  0.8.6                          ---      0.7.7    Normal  ---

hashbrown->allocator-api2                         0.2.16                         ---      Removed  Normal  ---

indexmap->autocfg                                 1.1.0                          Removed  ---      Build   ---

indexmap->equivalent                              1.0.1                          ---      Removed  Normal  ---

indexmap->hashbrown                               0.12.3                         0.14.3   ---      Normal  ---

indexmap->hashbrown                               0.14.3                         ---      0.12.3   Normal  ---

js-sys->wasm-bindgen                              0.2.89                         Removed  ---      Normal  ---

proc-macro2->unicode-ident                        1.0.12                         ---      Removed  Normal  ---

proc-macro2->unicode-ident                        1.0.12                         Removed  ---      Normal  ---

quote->proc-macro2                                1.0.70                         ---      Removed  Normal  ---

quote->proc-macro2                                1.0.70                         Removed  ---      Normal  ---

serde_with->indexmap                              1.9.3                          2.1.0    ---      Normal  ---

serde_with->indexmap                              2.1.0                          ---      1.9.3    Normal  ---

syn->proc-macro2                                  1.0.70                         ---      Removed  Normal  ---

syn->proc-macro2                                  1.0.70                         Removed  ---      Normal  ---

syn->quote                                        1.0.33                         ---      Removed  Normal  ---

syn->quote                                        1.0.33                         Removed  ---      Normal  ---

syn->unicode-ident                                1.0.12                         ---      Removed  Normal  ---

syn->unicode-ident                                1.0.12                         Removed  ---      Normal  ---

wasm-bindgen->cfg-if                              1.0.0                          Removed  ---      Normal  ---

wasm-bindgen->wasm-bindgen-macro                  0.2.89                         Removed  ---      Normal  ---

wasm-bindgen-backend->bumpalo                     3.14.0                         Removed  ---      Normal  ---

wasm-bindgen-backend->log                         0.4.20                         Removed  ---      Normal  ---

wasm-bindgen-backend->once_cell                   1.18.0                         Removed  ---      Normal  ---

wasm-bindgen-backend->proc-macro2                 1.0.70                         Removed  ---      Normal  ---

wasm-bindgen-backend->quote                       1.0.33                         Removed  ---      Normal  ---

wasm-bindgen-backend->syn                         2.0.39                         Removed  ---      Normal  ---

wasm-bindgen-backend->wasm-bindgen-shared         0.2.89                         Removed  ---      Normal  ---

wasm-bindgen-macro->quote                         1.0.33                         Removed  ---      Normal  ---

wasm-bindgen-macro->wasm-bindgen-macro-support    0.2.89                         Removed  ---      Normal  ---

wasm-bindgen-macro-support->proc-macro2           1.0.70                         Removed  ---      Normal  ---

wasm-bindgen-macro-support->quote                 1.0.33                         Removed  ---      Normal  ---

wasm-bindgen-macro-support->syn                   2.0.39                         Removed  ---      Normal  ---

wasm-bindgen-macro-support->wasm-bindgen-backend  0.2.89                         Removed  ---      Normal  ---

wasm-bindgen-macro-support->wasm-bindgen-shared   0.2.89                         Removed  ---      Normal  ---

zerocopy->zerocopy-derive                         0.7.26                         ---      Removed  Normal  ---

zerocopy-derive->proc-macro2                      1.0.70                         ---      Removed  Normal  ---

zerocopy-derive->quote                            1.0.33                         ---      Removed  Normal  ---

zerocopy-derive->syn                              2.0.39                         ---      Removed  Normal  ---


CheckToml / toml: C:\home\git\polyglot\apps\dice\Cargo.toml

All dependencies are up to date, yay!


CheckToml / toml: C:\home\git\polyglot\apps\dice\fsharp\Cargo.toml

All dependencies are up to date, yay!


CheckToml / toml: C:\home\git\polyglot\apps\dice\contract\Cargo.toml

All dependencies are up to date, yay!


CheckToml / toml: C:\home\git\polyglot\apps\dice\contract\tests\Cargo.toml

Name                                              Project                        Compat   Latest   Kind    Platform

----                                              -------                        ------   ------   ----    --------

ahash->cfg-if                                     1.0.0                          Removed  ---      Normal  ---

ahash->getrandom                                  0.2.11                         ---      Removed  Normal  cfg(any(target_os = "linux", target_os = "android", target_os = "windows", target_os = "macos", target_os = "ios", target_os = "freebsd", target_os = "openbsd", target_os = "netbsd", target_os = "dragonfly", target_os = "solaris", target_os = "illumos", target_os = "fuchsia", target_os = "redox", target_os = "cloudabi", target_os = "haiku", target_os = "vxworks", target_os = "emscripten", target_os = "wasi"))

ahash->zerocopy                                   0.7.26                         Removed  ---      Normal  ---

getrandom->cfg-if                                 1.0.0                          ---      Removed  Normal  ---

getrandom->js-sys                                 0.3.66                         ---      Removed  Normal  cfg(all(any(target_arch = "wasm32", target_arch = "wasm64"), target_os = "unknown"))

getrandom->libc                                   0.2.150                        ---      Removed  Normal  cfg(unix)

getrandom->wasi                                   0.11.0+wasi-snapshot-preview1  ---      Removed  Normal  cfg(target_os = "wasi")

getrandom->wasm-bindgen                           0.2.89                         ---      Removed  Normal  cfg(all(any(target_arch = "wasm32", target_arch = "wasm64"), target_os = "unknown"))

hashbrown->ahash                                  0.7.7                          ---      0.8.6    Normal  ---

hashbrown->ahash                                  0.8.6                          0.7.7    ---      Normal  ---

hashbrown->allocator-api2                         0.2.16                         Removed  ---      Normal  ---

indexmap->autocfg                                 1.1.0                          ---      Removed  Build   ---

indexmap->equivalent                              1.0.1                          Removed  ---      Normal  ---

indexmap->hashbrown                               0.12.3                         ---      0.14.3   Normal  ---

indexmap->hashbrown                               0.14.3                         0.12.3   ---      Normal  ---

js-sys->wasm-bindgen                              0.2.89                         ---      Removed  Normal  ---

proc-macro2->unicode-ident                        1.0.12                         ---      Removed  Normal  ---

proc-macro2->unicode-ident                        1.0.12                         Removed  ---      Normal  ---

quote->proc-macro2                                1.0.70                         ---      Removed  Normal  ---

quote->proc-macro2                                1.0.70                         Removed  ---      Normal  ---

serde_with->indexmap                              1.9.3                          ---      2.1.0    Normal  ---

serde_with->indexmap                              2.1.0                          1.9.3    ---      Normal  ---

syn->proc-macro2                                  1.0.70                         ---      Removed  Normal  ---

syn->proc-macro2                                  1.0.70                         Removed  ---      Normal  ---

syn->quote                                        1.0.33                         ---      Removed  Normal  ---

syn->quote                                        1.0.33                         Removed  ---      Normal  ---

syn->unicode-ident                                1.0.12                         ---      Removed  Normal  ---

syn->unicode-ident                                1.0.12                         Removed  ---      Normal  ---

wasm-bindgen->cfg-if                              1.0.0                          ---      Removed  Normal  ---

wasm-bindgen->wasm-bindgen-macro                  0.2.89                         ---      Removed  Normal  ---

wasm-bindgen-backend->bumpalo                     3.14.0                         ---      Removed  Normal  ---

wasm-bindgen-backend->log                         0.4.20                         ---      Removed  Normal  ---

wasm-bindgen-backend->once_cell                   1.18.0                         ---      Removed  Normal  ---

wasm-bindgen-backend->proc-macro2                 1.0.70                         ---      Removed  Normal  ---

wasm-bindgen-backend->quote                       1.0.33                         ---      Removed  Normal  ---

wasm-bindgen-backend->syn                         2.0.39                         ---      Removed  Normal  ---

wasm-bindgen-backend->wasm-bindgen-shared         0.2.89                         ---      Removed  Normal  ---

wasm-bindgen-macro->quote                         1.0.33                         ---      Removed  Normal  ---

wasm-bindgen-macro->wasm-bindgen-macro-support    0.2.89                         ---      Removed  Normal  ---

wasm-bindgen-macro-support->proc-macro2           1.0.70                         ---      Removed  Normal  ---

wasm-bindgen-macro-support->quote                 1.0.33                         ---      Removed  Normal  ---

wasm-bindgen-macro-support->syn                   2.0.39                         ---      Removed  Normal  ---

wasm-bindgen-macro-support->wasm-bindgen-backend  0.2.89                         ---      Removed  Normal  ---

wasm-bindgen-macro-support->wasm-bindgen-shared   0.2.89                         ---      Removed  Normal  ---

zerocopy->zerocopy-derive                         0.7.26                         Removed  ---      Normal  ---

zerocopy-derive->proc-macro2                      1.0.70                         Removed  ---      Normal  ---

zerocopy-derive->quote                            1.0.33                         Removed  ---      Normal  ---

zerocopy-derive->syn                              2.0.39                         Removed  ---      Normal  ---


CheckToml / toml: C:\home\git\polyglot\apps\dice\ui\Cargo.toml

All dependencies are up to date, yay!


CheckToml / toml: C:\home\git\polyglot\apps\plot\Cargo.toml

All dependencies are up to date, yay!


C:\home\git\polyglot



> polyglot@ outdated-pre C:\home\git\polyglot

> npm-check-updates --target greatest



Using pnpm

Checking C:\home\git\polyglot\package.json





All dependencies match the greatest package versions :)


C:\home\git\polyglot\apps\dice\ui



> dice_ui@ outdated-pre C:\home\git\polyglot\apps\dice\ui

> npm-check-updates --target greatest



Using pnpm

Checking C:\home\git\polyglot\apps\dice\ui\package.json





All dependencies match the greatest package versions :)


C:\home\git\polyglot\apps\dice\ui\e2e



> e2e@ outdated-pre C:\home\git\polyglot\apps\dice\ui\e2e

> npm-check-updates --target greatest



Using pnpm

Checking C:\home\git\polyglot\apps\dice\ui\e2e\package.json





 @playwright/test  1.40.0  →  1.41.0-alpha-nov-29-2023



Run ncu --target greatest -u to upgrade package.json


C:\home\git\polyglot\apps\ipfs



> ipfs@ outdated-pre C:\home\git\polyglot\apps\ipfs

> npm-check-updates --target greatest



Using pnpm

Checking C:\home\git\polyglot\apps\ipfs\package.json





All dependencies match the greatest package versions :)


C:\home\git\polyglot\apps\spiral\temp\extension



> polyglot@ outdated-pre C:\home\git\polyglot\apps\spiral\temp\extension

> npm-check-updates --target greatest



Using pnpm

Checking C:\home\git\polyglot\apps\spiral\temp\extension\package.json





 @playwright/test  1.40.0  →  1.41.0-alpha-nov-29-2023



Run ncu --target greatest -u to upgrade package.json